(for PR #28521)

2025-11-10 11:00.49: New job: test pgn_parser.1.0.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28521/head (d524ea6c8a2ed6050068c8cedb293e595330dc67)
                              on archlinux-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/28521/head" && git reset --hard d524ea6c
git fetch origin master
git merge --no-edit 21f97b2e6d7c617fc0a79cc8e59b2e10690960e1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5
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 pgn_parser.1.0.2 1.0.2
RUN opam reinstall pgn_parser.1.0.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 "\"archlinux\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'pgn_parser.1.0.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 pgn_parser.1.0.2) || true
RUN opam reinstall --with-test --verbose pgn_parser.1.0.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 "\"archlinux\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'pgn_parser.1.0.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-10 11:00.49: Using cache hint "ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5-pgn_parser.1.0.2-d524ea6c8a2ed6050068c8cedb293e595330dc67"
2025-11-10 11:00.49: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5)
 (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 pgn_parser.1.0.2 1.0.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall pgn_parser.1.0.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 \"\\\"archlinux\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'pgn_parser.1.0.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 pgn_parser.1.0.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose pgn_parser.1.0.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 \"\\\"archlinux\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'pgn_parser.1.0.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-10 11:00.49: Waiting for resource in pool OCluster
2025-11-10 11:43.02: Waiting for worker…
2025-11-10 11:46.22: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  92% (17247/18705)
Updating files:  93% (17396/18705)
Updating files:  94% (17583/18705)
Updating files:  95% (17770/18705)
Updating files:  96% (17957/18705)
Updating files:  97% (18144/18705)
Updating files:  98% (18331/18705)
Updating files:  99% (18518/18705)
Updating files: 100% (18705/18705)
Updating files: 100% (18705/18705), done.
HEAD is now at 21f97b2e6d Merge pull request #28836 from dbuenzli/b0-publish-bytesrw.0.3.0
Merge made by the 'ort' strategy.
 packages/chess_com_api/chess_com_api.1.0.2/opam | 45 ++++++++++++++++++++
 packages/lichess_api/lichess_api.1.0.2/opam     | 45 ++++++++++++++++++++
 packages/pgn_parser/pgn_parser.1.0.2/opam       | 55 +++++++++++++++++++++++++
 3 files changed, 145 insertions(+)
 create mode 100644 packages/chess_com_api/chess_com_api.1.0.2/opam
 create mode 100644 packages/lichess_api/lichess_api.1.0.2/opam
 create mode 100644 packages/pgn_parser/pgn_parser.1.0.2/opam

(from ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5)
Unable to find image 'ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5' locally
docker.io/ocaml/opam@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5: Pulling from ocaml/opam
a59b1e251b85: Already exists
849b0775ea0f: Already exists
9d20c098ec76: Already exists
06eb9f7865f2: Already exists
c240908bead2: Already exists
1ecf1bb05538: Already exists
ed893cc754b7: Already exists
edacf2579914: Already exists
05c577939763: Already exists
ef8936ed2115: Already exists
03d88b820e0f: Already exists
7ad98e89cb6f: Already exists
d5de02ff18c6: Already exists
a039df7c27db: Already exists
4f4fb700ef54: Already exists
6a3e38ba2bef: Already exists
fbffc84d36db: Already exists
576b77c89595: Already exists
3481805c55c1: Already exists
42630e11cdf2: Already exists
b5fc415bc313: Already exists
737547a67ea4: Already exists
9cc4ccf31d95: Already exists
b438a2bfeb52: Already exists
acb0748395fb: Already exists
0ab398869fe3: Already exists
6c1375743e2c: Already exists
c88d9a06b9a9: Already exists
83e3b1e13251: Already exists
99dce37e928a: Already exists
152d026b0425: Already exists
01cfea535c66: Already exists
134d5afae458: Already exists
7586886147fa: Pulling fs layer
993e4a7f2b9f: Pulling fs layer
903a29eb42a8: Pulling fs layer
a5286c1e9d59: Pulling fs layer
2876c66b29b6: Pulling fs layer
a5286c1e9d59: Waiting
2876c66b29b6: Waiting
903a29eb42a8: Download complete
7586886147fa: Download complete
7586886147fa: Pull complete
a5286c1e9d59: Verifying Checksum
a5286c1e9d59: Download complete
2876c66b29b6: Verifying Checksum
2876c66b29b6: Download complete
993e4a7f2b9f: Verifying Checksum
993e4a7f2b9f: Download complete
993e4a7f2b9f: Pull complete
903a29eb42a8: Pull complete
a5286c1e9d59: Pull complete
2876c66b29b6: Pull complete
Digest: sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5
Status: Downloaded newer image for ocaml/opam@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5
2025-11-10 11:47.36 ---> saved as "c5ec08e9b846f91b986ff2383fc30f6338b1567641a5ad9a2c1c32527aa4f09c"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-10 11:47.36 ---> saved as "8a9067b27012d2ba6b4516e93d0c793ee0e0592a932401de368b7e2f165df9dd"

/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-10 11:48.04 ---> saved as "10b8b707aef33fdbd36331cf185a6fa41045dcc827c8af884a875491d600a5a5"

/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~alpha1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=arch os-version=20251019.0.436919
# 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-11-10 11:48.05 ---> saved as "4ac6b250fe85f17d5f68eada31b34e0dc15e2e80550508216edaadde034fc5db"

/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-10 11:48.25 ---> saved as "8862006d5282ef4e8d32a6939b65b6e6b807dbcea8fb01bc93817277c0ba4bb6"

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 11:48.46 ---> saved as "e8d6d559049e84570987e1a96698c692e66e8af13233b21b86fbff5e0b95f4cf"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 11:49.10 ---> saved as "db26ed4625bd448ef3ec5906d017738a7c510ee07df755761948adf6619c2654"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2025-11-10 11:49.16 ---> saved as "f3fc883c6230e680dee9fbcff0ddb98c8869f7173e1004b9b77f451ee42747d5"

/home/opam: (run (shell "opam pin add -k version -yn pgn_parser.1.0.2 1.0.2"))
pgn_parser is now pinned to version 1.0.2
2025-11-10 11:49.18 ---> saved as "495306faa2d150d63856bcf0f8d7de46ddbfe71d02b59677bc69d315664e46d8"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall pgn_parser.1.0.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 \"\\\"archlinux\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'pgn_parser.1.0.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
pgn_parser.1.0.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 67 packages
  ∗ angstrom                0.16.1         [required by uri]
  ∗ asn1-combinators        0.3.2          [required by x509]
  ∗ astring                 0.8.5          [required by conduit]
  ∗ base                    v0.17.3        [required by ppx_sexp_conv]
  ∗ base-bytes              base           [required by ocplib-endian]
  ∗ base64                  3.5.2          [required by cohttp]
  ∗ bigstringaf             0.10.0         [required by angstrom]
  ∗ bos                     0.2.1          [required by ca-certs]
  ∗ ca-certs                1.0.1          [required by conduit-lwt-unix]
  ∗ cmdliner                2.0.0          [required by cohttp-lwt-unix]
  ∗ cohttp                  6.1.1          [required by cohttp-lwt-unix]
  ∗ cohttp-lwt              6.1.1          [required by cohttp-lwt-unix]
  ∗ cohttp-lwt-unix         6.1.1          [required by pgn_parser]
  ∗ conduit                 8.0.0          [required by conduit-lwt]
  ∗ conduit-lwt             8.0.0          [required by cohttp-lwt-unix]
  ∗ conduit-lwt-unix        8.0.0          [required by cohttp-lwt-unix]
  ∗ conf-gmp                5              [required by conf-gmp-powm-sec, zarith]
  ∗ conf-gmp-powm-sec       4              [required by mirage-crypto-pk]
  ∗ conf-pkg-config         4              [required by zarith]
  ∗ cppo                    1.8.0          [required by lwt]
  ∗ csexp                   1.5.2          [required by dune-configurator]
  ∗ digestif                1.3.0          [required by ca-certs]
  ∗ domain-name             0.5.0          [required by ipaddr]
  ∗ dune                    3.20.2         [required by pgn_parser]
  ∗ dune-configurator       3.20.2         [required by base, lwt, mirage-crypto]
  ∗ duration                0.2.1          [required by mirage-crypto-rng]
  ∗ eqaf                    0.10           [required by digestif, mirage-crypto]
  ∗ fmt                     0.11.0         [required by cohttp-lwt-unix]
  ∗ fpath                   0.7.3          [required by ca-certs]
  ∗ gmap                    0.3.0          [required by x509]
  ∗ http                    6.1.1          [required by cohttp-lwt-unix]
  ∗ ipaddr                  5.6.1          [required by cohttp-lwt, conduit-lwt-unix]
  ∗ ipaddr-sexp             5.6.1          [required by conduit-lwt-unix]
  ∗ kdf                     1.0.0          [required by x509]
  ∗ logs                    0.10.0         [required by cohttp-lwt-unix]
  ∗ lwt                     5.9.2          [required by pgn_parser]
  ∗ lwt_ppx                 5.9.2          [required by pgn_parser]
  ∗ macaddr                 5.6.1          [required by ipaddr]
  ∗ magic-mime              1.3.1          [required by cohttp-lwt-unix]
  ∗ mirage-crypto           2.0.2          [required by ca-certs]
  ∗ mirage-crypto-ec        2.0.2          [required by x509]
  ∗ mirage-crypto-pk        2.0.2          [required by x509]
  ∗ mirage-crypto-rng       2.0.2          [required by x509]
  ∗ ocaml-compiler-libs     v0.17.0        [required by ppxlib]
  ∗ ocaml-syntax-shims      1.0.0          [required by angstrom]
  ∗ ocaml_intrinsics_kernel v0.17.1        [required by base]
  ∗ ocamlbuild              0.16.1         [required by logs]
  ∗ ocamlfind               1.9.8          [required by logs]
  ∗ ocplib-endian           1.2            [required by lwt]
  ∗ ohex                    0.2.0          [required by ca-certs]
  ∗ pgn_parser              1.0.2 (pinned)
  ∗ ppx_derivers            1.2.1          [required by ppxlib]
  ∗ ppx_sexp_conv           v0.17.1        [required by cohttp-lwt-unix]
  ∗ ppxlib                  0.37.0         [required by lwt_ppx]
  ∗ ppxlib_jane             v0.17.4        [required by ppx_sexp_conv]
  ∗ ptime                   1.2.0          [required by ca-certs]
  ∗ re                      1.14.0         [required by cohttp]
  ∗ rresult                 0.7.0          [required by bos]
  ∗ sexplib0                v0.17.0        [required by cohttp-lwt, cohttp, conduit-lwt]
  ∗ stdlib-shims            0.3.0          [required by ppxlib]
  ∗ stringext               1.6.0          [required by cohttp]
  ∗ topkg                   1.1.1          [required by logs]
  ∗ uri                     4.4.0          [required by cohttp-lwt, cohttp, conduit-lwt-unix]
  ∗ uri-sexp                4.4.0          [required by cohttp]
  ∗ x509                    1.0.6          [required by ca-certs]
  ∗ yojson                  3.0.0          [required by pgn_parser]
  ∗ zarith                  1.14           [required by mirage-crypto-pk]

The following system packages will first need to be installed:
    pkgconf

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run pacman to install them (may need root/sudo access)
  2. Display the recommended pacman command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/sbin/sudo "pacman" "-Su" "--noconfirm" "pkgconf"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
- 
- Package (7)              Old Version  New Version  Net Change  Download Size
- 
- core/icu                 76.1-1       78.1-1         1.47 MiB      11.71 MiB
- core/libxcrypt           4.5.0-1      4.5.1-1        0.00 MiB       0.09 MiB
- core/libxml2             2.15.1-1     2.15.1-3       0.00 MiB       0.75 MiB
- core/systemd             258.1-1      258.2-1        0.01 MiB       9.23 MiB
- core/systemd-libs        258.1-1      258.2-1        0.00 MiB       1.24 MiB
- core/systemd-sysvcompat  258.1-1      258.2-1        0.00 MiB       0.01 MiB
- core/pkgconf                          2.5.1-1        0.20 MiB       0.07 MiB
- 
- Total Download Size:   23.09 MiB
- Total Installed Size:  85.09 MiB
- Net Upgrade Size:       1.68 MiB
- 
- :: Proceed with installation? [Y/n] 
- :: Retrieving packages...
-  icu-78.1-1-x86_64 downloading...
-  systemd-258.2-1-x86_64 downloading...
-  systemd-libs-258.2-1-x86_64 downloading...
-  libxml2-2.15.1-3-x86_64 downloading...
-  libxcrypt-4.5.1-1-x86_64 downloading...
-  pkgconf-2.5.1-1-x86_64 downloading...
-  systemd-sysvcompat-258.2-1-x86_64 downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- installing pkgconf...
- upgrading icu...
- upgrading libxcrypt...
- upgrading libxml2...
- upgrading systemd-libs...
- upgrading systemd...
- upgrading systemd-sysvcompat...
- :: Running post-transaction hooks...
- ( 1/11) Creating system user accounts...
- ( 2/11) Updating journal message catalog...
- ( 3/11) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- ( 4/11) Reloading user manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- ( 5/11) Updating udev hardware database...
- ( 6/11) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- ( 7/11) Applying kernel sysctl settings...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- ( 8/11) Creating temporary files...
- /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
- All rules containing unresolvable specifiers will be skipped.
- ( 9/11) Reloading device manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (10/11) Arming ConditionNeedsUpdate...
- (11/11) Reloading system bus configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved angstrom.0.16.1  (cached)
⬇ retrieved asn1-combinators.0.3.2  (cached)
⬇ retrieved astring.0.8.5  (cached)
⬇ retrieved base.v0.17.3  (cached)
⬇ retrieved base64.3.5.2  (cached)
⬇ retrieved bigstringaf.0.10.0  (cached)
⬇ retrieved bos.0.2.1  (cached)
⬇ retrieved ca-certs.1.0.1  (cached)
⬇ retrieved cmdliner.2.0.0  (cached)
⬇ retrieved cohttp.6.1.1, cohttp-lwt.6.1.1, cohttp-lwt-unix.6.1.1, http.6.1.1  (cached)
⬇ retrieved conduit.8.0.0, conduit-lwt.8.0.0, conduit-lwt-unix.8.0.0  (cached)
⬇ retrieved conf-gmp.5  (cached)
⬇ retrieved conf-gmp-powm-sec.4  (cached)
⬇ retrieved cppo.1.8.0  (cached)
⬇ retrieved csexp.1.5.2  (cached)
∗ installed conf-gmp.5
∗ installed conf-pkg-config.4
∗ installed conf-gmp-powm-sec.4
⬇ retrieved digestif.1.3.0  (cached)
⬇ retrieved domain-name.0.5.0  (cached)
⬇ retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
⬇ retrieved duration.0.2.1  (cached)
⬇ retrieved eqaf.0.10  (cached)
⬇ retrieved fmt.0.11.0  (cached)
⬇ retrieved fpath.0.7.3  (cached)
⬇ retrieved gmap.0.3.0  (cached)
⬇ retrieved ipaddr.5.6.1, ipaddr-sexp.5.6.1, macaddr.5.6.1  (cached)
⬇ retrieved kdf.1.0.0  (cached)
⬇ retrieved logs.0.10.0  (cached)
⬇ retrieved lwt.5.9.2, lwt_ppx.5.9.2  (cached)
⬇ retrieved magic-mime.1.3.1  (cached)
∗ installed cmdliner.2.0.0
⬇ retrieved mirage-crypto.2.0.2, mirage-crypto-ec.2.0.2, mirage-crypto-pk.2.0.2, mirage-crypto-rng.2.0.2  (cached)
⬇ retrieved ocaml-compiler-libs.v0.17.0  (cached)
⬇ retrieved ocaml-syntax-shims.1.0.0  (cached)
⬇ retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
⬇ retrieved ocamlbuild.0.16.1  (cached)
⬇ retrieved ocamlfind.1.9.8  (cached)
⬇ retrieved ocplib-endian.1.2  (cached)
⬇ retrieved ohex.0.2.0  (cached)
⬇ retrieved pgn_parser.1.0.2  (cached)
⬇ retrieved ppx_derivers.1.2.1  (cached)
⬇ retrieved ppx_sexp_conv.v0.17.1  (cached)
⬇ retrieved ppxlib.0.37.0  (cached)
⬇ retrieved ppxlib_jane.v0.17.4  (cached)
⬇ retrieved ptime.1.2.0  (cached)
⬇ retrieved re.1.14.0  (cached)
⬇ retrieved rresult.0.7.0  (cached)
⬇ retrieved sexplib0.v0.17.0  (cached)
⬇ retrieved stdlib-shims.0.3.0  (cached)
⬇ retrieved stringext.1.6.0  (cached)
⬇ retrieved topkg.1.1.1  (cached)
⬇ retrieved uri.4.4.0, uri-sexp.4.4.0  (cached)
⬇ retrieved x509.1.0.6  (cached)
⬇ retrieved yojson.3.0.0  (cached)
⬇ retrieved zarith.1.14  (cached)
∗ installed ocamlfind.1.9.8
∗ installed base-bytes.base
∗ installed ocamlbuild.0.16.1
∗ installed zarith.1.14
∗ installed topkg.1.1.1
∗ installed rresult.0.7.0
∗ installed fmt.0.11.0
∗ installed ptime.1.2.0
∗ installed astring.0.8.5
∗ installed fpath.0.7.3
∗ installed dune.3.20.2
∗ installed domain-name.0.5.0
∗ installed gmap.0.3.0
∗ installed csexp.1.5.2
∗ installed asn1-combinators.0.3.2
∗ installed base64.3.5.2
∗ installed duration.0.2.1
∗ installed eqaf.0.10
∗ installed http.6.1.1
∗ installed macaddr.5.6.1
∗ installed cppo.1.8.0
∗ installed magic-mime.1.3.1
∗ installed ocaml-syntax-shims.1.0.0
∗ installed ocaml_intrinsics_kernel.v0.17.1
∗ installed ohex.0.2.0
∗ installed ppx_derivers.1.2.1
∗ installed sexplib0.v0.17.0
∗ installed re.1.14.0
∗ installed ocaml-compiler-libs.v0.17.0
∗ installed stdlib-shims.0.3.0
∗ installed stringext.1.6.0
∗ installed yojson.3.0.0
∗ installed ocplib-endian.1.2
∗ installed ipaddr.5.6.1
∗ installed digestif.1.3.0
∗ installed dune-configurator.3.20.2
∗ installed bigstringaf.0.10.0
∗ installed angstrom.0.16.1
∗ installed mirage-crypto.2.0.2
∗ installed kdf.1.0.0
∗ installed uri.4.4.0
∗ installed lwt.5.9.2
∗ installed logs.0.10.0
∗ installed mirage-crypto-rng.2.0.2
∗ installed mirage-crypto-pk.2.0.2
∗ installed base.v0.17.3
∗ installed bos.0.2.1
∗ installed mirage-crypto-ec.2.0.2
∗ installed x509.1.0.6
∗ installed ca-certs.1.0.1
∗ installed ppxlib.0.37.0
∗ installed ppxlib_jane.v0.17.4
∗ installed lwt_ppx.5.9.2
∗ installed ppx_sexp_conv.v0.17.1
∗ installed uri-sexp.4.4.0
∗ installed ipaddr-sexp.5.6.1
∗ installed conduit.8.0.0
∗ installed cohttp.6.1.1
∗ installed conduit-lwt.8.0.0
∗ installed cohttp-lwt.6.1.1
∗ installed conduit-lwt-unix.8.0.0
∗ installed cohttp-lwt-unix.6.1.1
∗ installed pgn_parser.1.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-10 11:51.21 ---> saved as "1b2ecc547a3acdf2b690f3e9f65b091beecb44fff08cd586037dcaab7f23b9d8"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test pgn_parser.1.0.2) || true"))
The following actions will be performed:
=== recompile 1 package
  ↻ pgn_parser   1.0.2 (pinned)
=== install 5 packages
  ∗ ounit2       2.2.7          [required by qcheck-ounit]
  ∗ qcheck       0.27           [required by pgn_parser]
  ∗ qcheck-core  0.27           [required by qcheck]
  ∗ qcheck-ounit 0.27           [required by qcheck]
  ∗ seq          base           [required by ounit2]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved ounit2.2.2.7  (https://opam.ocaml.org/cache)
⬇ retrieved qcheck.0.27, qcheck-core.0.27, qcheck-ounit.0.27  (https://opam.ocaml.org/cache)
⬇ retrieved seq.base  (2 extra sources)
⬇ retrieved seq.base  (2 extra sources)
∗ installed seq.base
∗ installed ounit2.2.2.7
⊘ removed   pgn_parser.1.0.2
∗ installed qcheck-core.0.27
∗ installed qcheck-ounit.0.27
∗ installed qcheck.0.27
∗ installed pgn_parser.1.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-10 11:51.31 ---> saved as "61d62c5681ef5e3c61eac8bef7218da20b61a2570b3e9b0041e02cbcff968a29"

/home/opam: (run (shell  "opam reinstall --with-test --verbose pgn_parser.1.0.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 \"\\\"archlinux\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'pgn_parser.1.0.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
  ↻ pgn_parser 1.0.2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [pgn_parser: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "pgn_parser" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/5.4/.opam-switch/build/pgn_parser.1.0.2)
- (cd _build/default/test && ./test_zobrist.exe)
- === Comprehensive Zobrist Hash Tests ===
- 
- Hash1: 5973866749138151475, Hash2: 5973866749138151475, Hash3: 5973866749138151475
- ✓ Hash determinism test passed
- ✓ Hash uniqueness test passed
- ✓ Move integrity test passed
- ✓ Castling test passed
- ✓ Promotion test passed
- ✓ Transposition test passed
- ✓ Board visualization test passed
- ✓ Parsing board consistency test passed
- Generated 6 positions, 6 unique hashes
- Position 0: 5973866749138151475
- Position 1: 0
- Position 2: 4102231131927469148
- Position 3: 6062934264345594682
- Position 4: 3729644824639999795
- Position 5: 7169190867319171561
- ✓ Hash collision resistance test passed
- 
- === Testing Zobrist Hash with Fixed Piece Positions ===
- Starting position hash: 5973866749138151475
- ✅ Knight to e3: Ne3 -> from c4 to e3 (VALID)
-    Hash: 5528355590083076651
- ✅ Bishop to g7: Bg7 -> from f6 to g7 (VALID)
-    Hash: 9206269617448157711
- ✅ Knight to f3: Nf3 -> from d4 to f3 (VALID)
-    Hash: 7688626286539919417
- ✅ Bishop to e4: Be4 -> from d5 to e4 (VALID)
-    Hash: 8015949090927842022
- ✅ Knight captures on e4: Nxe4 -> from c3 to e4 (VALID)
-    Hash: 2729069438004083103
- ✅ Bishop captures on f7: Bxf7 -> from e6 to f7 (VALID)
-    Hash: 6533094332387490985
- ✓ Fixed piece positions Zobrist test passed
- ✅ All position hashes are unique
- 
- === Testing Hash Consistency for Move Sequences ===
- ✅ Knight to e3: Hash changed from 5973866749138151475 to 5528355590083076651
- ✅ Bishop to g7: Hash changed from 5528355590083076651 to 7033751008051185687
- ✅ Knight to f3: Hash changed from 7033751008051185687 to 6469680013774630941
- ✅ Bishop to e4: Hash changed from 6469680013774630941 to 7210760686190725832
- ✅ Knight captures on e4: Hash changed from 7210760686190725832 to 3382205142446449073
- ✅ Bishop captures on f7: Hash changed from 3382205142446449073 to 2791465608862135595
- ✓ Hash consistency for move sequences test passed
- 
- === All Zobrist tests passed! ===
- (cd _build/default/test && ./test_pgn_parser.exe)
- === Running Property-Based Tests ===
- 
- 
random seed: 124973411
- generated error fail pass / total     time test name
- 
[ ]    0    0    0    0 /  100     0.0s piece_generation
[✓]  100    0    0  100 /  100     0.0s piece_generation
- 
[ ]    0    0    0    0 /  100     0.0s square_generation
[✓]  100    0    0  100 /  100     0.0s square_generation
- 
[ ]    0    0    0    0 /  100     0.0s result_generation
[✓]  100    0    0  100 /  100     0.0s result_generation
- 
[ ]    0    0    0    0 /  100     0.0s simple_move_generation
[✓]  100    0    0  100 /  100     0.0s simple_move_generation
- 
[ ]    0    0    0    0 /   50     0.0s generated_pgn_structure
[✓]   50    0    0   50 /   50     0.0s generated_pgn_structure
- 
[ ]    0    0    0    0 /   30     0.0s generated_pgn_parsing
[✓]   30    0    0   30 /   30     0.0s generated_pgn_parsing
- 
[ ]    0    0    0    0 /   20     0.0s roundtrip_property
[✓]   20    0    0   20 /   20     0.0s roundtrip_property
- 
[ ]    0    0    0    0 /   50     0.0s parser_robustness
[✓]   50    0    0   50 /   50     0.0s parser_robustness
- 
[ ]    0    0    0    0 /  100     0.0s move_properties
[✓]  100    0    0  100 /  100     0.0s move_properties
- ================================================================================
- success (ran 9 tests)
- 
- 🎉 Property-based tests completed!
λ compiled  pgn_parser.1.0.2
⊘ removed   pgn_parser.1.0.2
∗ installed pgn_parser.1.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-10 11:51.39 ---> saved as "2e9502252b8b6776c98fa831eb0e71a1bfd8495c9377f8a50aed1862985c5ee7"
Job succeeded
2025-11-10 11:51.54: Job succeeded