(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 ubuntu-25.04-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/28907/head" && git reset --hard fdb37fd4
git fetch origin master
git merge --no-edit 5b6623e1a6044ddcc5808644cab9ba88dfd5e8c3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:7c7585492eba0339fb24708fb053bea0f65f084e15266226d6c3844c4c7ed5a6
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 "\"ubuntu-25.04\""; 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 "\"ubuntu-25.04\""; 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:ubuntu-25.04-ocaml-4.14@sha256:7c7585492eba0339fb24708fb053bea0f65f084e15266226d6c3844c4c7ed5a6-crowbar.0.2.2-fdb37fd425316c3f17ff1a672f38d79e17f64d31"
2025-11-18 22:24.32: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:7c7585492eba0339fb24708fb053bea0f65f084e15266226d6c3844c4c7ed5a6)
 (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 \"\\\"ubuntu-25.04\\\"\"; 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 \"\\\"ubuntu-25.04\\\"\"; 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:25.30: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  68% (12932/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:  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:ubuntu-25.04-ocaml-4.14@sha256:7c7585492eba0339fb24708fb053bea0f65f084e15266226d6c3844c4c7ed5a6)
2025-11-18 22:25.37 ---> using "6834c49114b4513a632c0d56f728a5ce85123316e2649dbbcc82536bb821f2bd" 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-11-18 22:25.37 ---> using "9f5b6e86b98b04d808e0eeb7ba464433e4297e2eb0967fa38d732b52abaf0433" 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-11-18 22:25.37 ---> using "7d878ae14e9cf720b3a82fab2adec0be753acb71a6149935d24e6fd45f35c93d" 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~beta1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=ubuntu os-version=25.04
# 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-11-18 22:25.37 ---> using "312a1de9ae028620a6118605ffeb44f5716a384192c423f68d5fcacc254a4e9e" 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-11-18 22:25.37 ---> using "4684843ddf998018d6673075dcbe50ece6c2664072644721b5bab1e920ed75a4" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [363 kB]
- Get:5 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [521 kB]
- Get:7 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [236 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [315 kB]
- Fetched 1813 kB in 1s (1959 kB/s)
- Reading package lists...
- 
2025-11-18 22:26.24 ---> saved as "84a6fac561d445cd7b4edffe926177dd512f894b013f993bba358beaee191609"

/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.25 ---> saved as "dada75a1b0ae4802981aaa9b524ac67341d4df1ab17ef2f33b80f48ecda913dc"

/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 \"\\\"ubuntu-25.04\\\"\"; 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  (https://github.com/stedolan/crowbar/archive/v0.2.2.tar.gz)
-> 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.14.2+afl ocaml-variants.4.14.2+options ocaml-option-afl
# To update the current shell environment, run: eval $(opam env)
2025-11-18 22:27.05 ---> saved as "cf1d07a71b1422b10f9e7ba2bf06434ee39fbcb3c5b8530d67e742fe6e36df89"

/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 11 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.14.0         [required by calendar]
  - install   topkg      1.1.1          [required by fpath, uucp]
  - install   uucp       17.0.0         [required by crowbar]
  - install   uunf       17.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.14.0  (https://opam.ocaml.org/cache)
-> retrieved topkg.1.1.1  (https://opam.ocaml.org/cache)
-> installed pprint.20230830
-> retrieved uucp.17.0.0  (https://opam.ocaml.org/cache)
-> retrieved uunf.17.0.0  (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4  (https://opam.ocaml.org/cache)
-> installed re.1.14.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.17.0.0
-> installed uucp.17.0.0
-> installed crowbar.0.2.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-18 22:28.22 ---> saved as "131efdab73c811b1d242dc5591e4a26197e0da9220d33ec6ced94ccb63e77012"

/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 \"\\\"ubuntu-25.04\\\"\"; 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.14/.opam-switch/build/crowbar.0.2.2)
- (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/map && ./test_map.exe)
- map: 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.14/.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.33 ---> saved as "b1a9bbcdcc0cac7ec58a9f357c0c84c6fe845f5b5af01e3c0e08770faf740940"
Job succeeded
2025-11-18 22:28.44: Job succeeded