(for PR #28907)

2025-11-18 22:24.32: New job: test crowbar.0.2.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28907/head (fdb37fd425316c3f17ff1a672f38d79e17f64d31)
                              on debian-13-ocaml-4.09/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/28907/head" && git reset --hard fdb37fd4
git fetch origin master
git merge --no-edit 5b6623e1a6044ddcc5808644cab9ba88dfd5e8c3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.09@sha256:c1c0d1c705ef46681ff75ec5ef9af8bddc556e3cf8ffb6d377b8de8c24d17b31
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 crowbar.0.2.2 0.2.2
RUN opam reinstall crowbar.0.2.2; \
    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" != 'crowbar.0.2.2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test crowbar.0.2.2) || true
RUN opam reinstall --with-test --verbose crowbar.0.2.2; \
    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" != 'crowbar.0.2.2' && 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-11-18 22:24.32: Using cache hint "ocaml/opam:debian-13-ocaml-4.09@sha256:c1c0d1c705ef46681ff75ec5ef9af8bddc556e3cf8ffb6d377b8de8c24d17b31-crowbar.0.2.2-fdb37fd425316c3f17ff1a672f38d79e17f64d31"
2025-11-18 22:24.32: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:c1c0d1c705ef46681ff75ec5ef9af8bddc556e3cf8ffb6d377b8de8c24d17b31)
 (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 crowbar.0.2.2 0.2.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall crowbar.0.2.2;\
             \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\" != 'crowbar.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test crowbar.0.2.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose crowbar.0.2.2;\
             \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\" != 'crowbar.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-11-18 22:24.32: Waiting for resource in pool OCluster
2025-11-18 22:24.33: Waiting for worker…
2025-11-18 22:24.47: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  45% (8624/18772)
Updating files:  46% (8636/18772)
Updating files:  47% (8823/18772)
Updating files:  48% (9011/18772)
Updating files:  49% (9199/18772)
Updating files:  50% (9386/18772)
Updating files:  51% (9574/18772)
Updating files:  52% (9762/18772)
Updating files:  53% (9950/18772)
Updating files:  54% (10137/18772)
Updating files:  55% (10325/18772)
Updating files:  56% (10513/18772)
Updating files:  57% (10701/18772)
Updating files:  58% (10888/18772)
Updating files:  59% (11076/18772)
Updating files:  60% (11264/18772)
Updating files:  61% (11451/18772)
Updating files:  62% (11639/18772)
Updating files:  63% (11827/18772)
Updating files:  64% (12015/18772)
Updating files:  65% (12202/18772)
Updating files:  66% (12390/18772)
Updating files:  67% (12578/18772)
Updating files:  68% (12765/18772)
Updating files:  69% (12953/18772)
Updating files:  70% (13141/18772)
Updating files:  71% (13329/18772)
Updating files:  72% (13516/18772)
Updating files:  73% (13704/18772)
Updating files:  74% (13892/18772)
Updating files:  75% (14079/18772)
Updating files:  76% (14267/18772)
Updating files:  77% (14455/18772)
Updating files:  78% (14643/18772)
Updating files:  79% (14830/18772)
Updating files:  80% (15018/18772)
Updating files:  81% (15206/18772)
Updating files:  82% (15394/18772)
Updating files:  83% (15581/18772)
Updating files:  84% (15769/18772)
Updating files:  85% (15957/18772)
Updating files:  86% (16144/18772)
Updating files:  87% (16332/18772)
Updating files:  88% (16520/18772)
Updating files:  89% (16708/18772)
Updating files:  90% (16895/18772)
Updating files:  91% (17083/18772)
Updating files:  92% (17271/18772)
Updating files:  93% (17458/18772)
Updating files:  93% (17596/18772)
Updating files:  94% (17646/18772)
Updating files:  95% (17834/18772)
Updating files:  96% (18022/18772)
Updating files:  97% (18209/18772)
Updating files:  98% (18397/18772)
Updating files:  99% (18585/18772)
Updating files: 100% (18772/18772)
Updating files: 100% (18772/18772), done.
HEAD is now at 5b6623e1a6 Merge pull request #28905 from lindig/expr
Merge made by the 'ort' strategy.
 packages/crowbar/crowbar.0.2.2/opam | 50 +++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 packages/crowbar/crowbar.0.2.2/opam

(from ocaml/opam:debian-13-ocaml-4.09@sha256:c1c0d1c705ef46681ff75ec5ef9af8bddc556e3cf8ffb6d377b8de8c24d17b31)
2025-11-18 22:25.11 ---> saved as "9ff148375578430c3cf91e3aae2412092cf28cd1a7418a218351635636fe8495"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-18 22:25.11 ---> saved as "b5240b5f7abe88675f9bb9093bc0e11519aab6f1e7e0b1aa764481b76aca5b7b"

/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-11-18 22:25.47 ---> saved as "79c1d9189caae16702c311bf3673ec49bd1f6169d2b7a90901261556f775b865"

/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~beta1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# 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.09
# invariant            ["ocaml-base-compiler" {= "4.09.1"}]
# compiler-packages    ocaml-base-compiler.4.09.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.09/lib/ocaml/stublibs:/home/opam/.opam/4.09/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.09.1
2025-11-18 22:25.49 ---> saved as "d709f656decd4372a56ffa0c98814f75d2204adbe66e5f58088f6573f631da7d"

/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-11-18 22:25.57 ---> saved as "02c77e015da04c42d95d96994635283cdcb9c5c9442cf2f3ec4bbfe79fd420a9"

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-18 22:26.08 ---> saved as "164432e88cb38f31ddb009dd3ae1551544936bf2138ccada93e15e21c5534520"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-18 22:26.30 ---> saved as "e84de5e97cf3e5d1e482c25352c7d3a7beaebdd95148af84053fca4f541085f1"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/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 [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [71.8 kB]
- Fetched 9973 kB in 5s (1816 kB/s)
- Reading package lists...
- 
2025-11-18 22:26.37 ---> saved as "4fb29bb8fe4b0a38fc37995089362138383a10bd6badbabc732a78e98db9caf7"

/home/opam: (run (shell "opam pin add -k version -yn crowbar.0.2.2 0.2.2"))
crowbar is now pinned to version 0.2.2
2025-11-18 22:26.38 ---> saved as "b05274da633b8681ee4b06a37dd10249a43f548caa7ce7d5692845a0814f6332"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall crowbar.0.2.2;\
                        \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\" != 'crowbar.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
crowbar.0.2.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
  - install afl-persistent 1.4            [required by crowbar]
  - install cmdliner       2.0.0          [required by crowbar]
  - install crowbar        0.2.2 (pinned)
  - install dune           3.20.2         [required by crowbar]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved afl-persistent.1.4  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved crowbar.0.2.2  (cached)
-> retrieved dune.3.20.2  (cached)
-> installed cmdliner.2.0.0
-> installed dune.3.20.2
-> installed afl-persistent.1.4
-> installed crowbar.0.2.2
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 4.09.1+afl ocaml-variants.4.09.1+options ocaml-option-afl
# To update the current shell environment, run: eval $(opam env)
2025-11-18 22:27.15 ---> saved as "8061d4d1059d6aef425c043005cfb8b83cd99d347384bd298b99f0666860c48e"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test crowbar.0.2.2) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile crowbar    0.2.2 (pinned)
=== install 12 packages
  - install   astring    0.8.5          [required by fpath]
  - install   calendar   3.0.0          [required by crowbar]
  - install   fpath      0.7.3          [required by crowbar]
  - install   ocamlbuild 0.16.1         [required by fpath, uucp]
  - install   ocamlfind  1.9.8          [required by fpath, uucp]
  - install   pprint     20230830       [required by crowbar]
  - install   re         1.11.0         [required by calendar]
  - install   seq        base           [required by re]
  - install   topkg      1.1.1          [required by fpath, uucp]
  - install   uucp       15.0.0         [required by crowbar]
  - install   uunf       15.0.0         [required by crowbar]
  - install   uutf       1.0.4          [required by crowbar]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (https://opam.ocaml.org/cache)
-> retrieved calendar.3.0.0  (https://opam.ocaml.org/cache)
-> retrieved crowbar.0.2.2  (https://github.com/stedolan/crowbar/archive/v0.2.2.tar.gz)
-> retrieved fpath.0.7.3  (https://opam.ocaml.org/cache)
-> retrieved ocamlbuild.0.16.1  (https://opam.ocaml.org/cache)
-> retrieved ocamlfind.1.9.8  (https://opam.ocaml.org/cache)
-> retrieved pprint.20230830  (https://opam.ocaml.org/cache)
-> retrieved re.1.11.0  (https://opam.ocaml.org/cache)
-> retrieved seq.base  (2 extra sources)
-> retrieved seq.base  (2 extra sources)
-> installed seq.base
-> retrieved topkg.1.1.1  (https://opam.ocaml.org/cache)
-> installed pprint.20230830
-> retrieved uucp.15.0.0  (https://opam.ocaml.org/cache)
-> retrieved uunf.15.0.0  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed re.1.11.0
-> installed calendar.3.0.0
-> installed ocamlfind.1.9.8
-> removed   crowbar.0.2.2
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed uunf.15.0.0
-> installed uucp.15.0.0
-> installed crowbar.0.2.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-18 22:28.04 ---> saved as "e1a6e4de0b1f540a417f2b95706f5935ec9d7e2be962a9a9eb8cdc340529a09c"

/home/opam: (run (shell  "opam reinstall --with-test --verbose crowbar.0.2.2;\
                        \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\" != 'crowbar.0.2.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile crowbar 0.2.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [crowbar.0.2.2: extract]
-> retrieved crowbar.0.2.2  (cached)
Processing  2/4: [crowbar: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "crowbar" "-j" "71" "--promote-install-files=false" "@install" "@runtest" (CWD=/home/opam/.opam/4.09/.opam-switch/build/crowbar.0.2.2)
- (cd _build/default/examples/map && ./test_map.exe)
- map: PASS
- 
- (cd _build/default/examples/fpath && ./test_fpath.exe)
- segs: PASS
- 
- (cd _build/default/examples/serializer && ./test_serializer.exe)
- pairs: PASS
- 
- (cd _build/default/examples/pprint && ./test_pprint.exe)
- pprint: PASS
- 
- (cd _build/default/examples/uunf && ./test_uunf.exe)
- uunf: PASS
- 
Processing  2/4: [crowbar: dune install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "crowbar" "--create-install-files" "crowbar" (CWD=/home/opam/.opam/4.09/.opam-switch/build/crowbar.0.2.2)
-> compiled  crowbar.0.2.2
-> removed   crowbar.0.2.2
-> installed crowbar.0.2.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-18 22:28.11 ---> saved as "6cbc87faba2f41a8dd40631d66d43ae592ffae27551203a94196beb556375e69"
Job succeeded
2025-11-18 22:28.18: Job succeeded