(for PR #27694)

2025-08-28 14:04.51: New job: build pds.6.55, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27694/head (95c70e7638f27c185540b2efc1bb6fe8f64dcdfa)
                              on debian-12-ocaml-5.3/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/27694/head" && git reset --hard 95c70e76
git fetch origin master
git merge --no-edit f2cd184cfc6f3b25d3bda0873beb3e8b254806ec
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746
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 pds.6.55 6.55
RUN opam depext pds.6.55 && opam reinstall pds.6.55; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'pds.6.55' && 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-08-28 14:04.51: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746-pds.6.55-95c70e7638f27c185540b2efc1bb6fe8f64dcdfa"
2025-08-28 14:04.51: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746)
 (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 pds.6.55 6.55"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext pds.6.55 && opam reinstall pds.6.55;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'pds.6.55' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-08-28 14:04.51: Waiting for resource in pool OCluster
2025-08-28 14:04.51: Waiting for worker…
2025-08-28 14:04.52: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at f2cd184cfc Merge pull request #28399 from filipeom/opam-publish-smtml.0.10.0
Merge made by the 'ort' strategy.
 packages/pds/pds.6.55/opam | 53 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100644 packages/pds/pds.6.55/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:ce109ed7a40b6b1bb0ad44021720e8dfea08fdd83f1f42dd0dbcf019bc7bf746)
2025-08-28 14:05.47 ---> using "15aa1cf9b6eab837810155e26b0481282547cd1c9774850777b777a01817a556" 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"))
2025-08-28 14:05.47 ---> using "9ed7bc2da9ea6d32af34f742a00bc6c2b9bf662b6bc53771019b4f4c0df57d78" from cache

/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)

2025-08-28 14:05.47 ---> using "a489bbeae282f819aa3df80b761a6663f0942c783370577ba4c475db3427a9a9" from cache

/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=12
# 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.3
2025-08-28 14:05.47 ---> using "ac0ad020c2dfa15a2dc7a72ae1a8ec1a000ad1b309df5ddf5c7e309eb0f5d389" 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-08-28 14:05.47 ---> using "557ab8e652fddc6097daaae4685d7c846ea4d2e99934b55d2440df9cc930faaf" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-28 14:05.54 ---> saved as "0bda743ea15bdde091b459e678769e7b1f28a3fce1ac9b8de96ab97434c690a0"

/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)

2025-08-28 14:06.07 ---> saved as "5558647b35fdb90a28eae5cc95e6e970bb26335ee5f9eebf8fdc8418be796256"

/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
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [277 kB]
Fetched 380 kB in 0s (1091 kB/s)
Reading package lists...
# OS package update successful
2025-08-28 14:06.09 ---> saved as "d732faff31de7eac95458b2b9a58fea510191bf2e9d0c788bd8aa3779e66af40"

/home/opam: (run (shell "opam pin add -k version -yn pds.6.55 6.55"))
pds is now pinned to version 6.55
2025-08-28 14:06.10 ---> saved as "9546feb835682826fa256af3a950facb870fff52b0e0c2ebd4d6f5147a5c2e3d"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext pds.6.55 && opam reinstall pds.6.55;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'pds.6.55' && 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
# The following system packages are needed:
libsqlite3-dev
pkg-config
The following command needs to be run through "sudo":
    apt-get install -qq -yy libsqlite3-dev pkg-config
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpkgconf3:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18778 files and directories currently installed.)
Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-1) ...
Selecting previously unselected package libsqlite3-dev:amd64.
Preparing to unpack .../libsqlite3-dev_3.40.1-2+deb12u1_amd64.deb ...
Unpacking libsqlite3-dev:amd64 (3.40.1-2+deb12u1) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-1) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-1) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-1) ...
Setting up libpkgconf3:amd64 (1.8.1-1) ...
Setting up libsqlite3-dev:amd64 (3.40.1-2+deb12u1) ...
Setting up pkgconf-bin (1.8.1-1) ...
Setting up pkgconf:amd64 (1.8.1-1) ...
Setting up pkg-config:amd64 (1.8.1-1) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...
# OS packages installation successful
pds.6.55 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install ocamlbuild          0.16.1   [required by logs, fmt, process]
  - install cmdliner            1.3.0    [required by pds]
  - install dune                3.20.1   [required by sqlite3, ppx_deriving, containers, etc.]
  - install conf-pkg-config     4        [required by conf-sqlite3]
  - install ocamlfind           1.9.8    [required by pds]
  - install stdlib-shims        0.3.0    [required by ppxlib]
  - install sexplib0            v0.17.0  [required by ppxlib]
  - install ppx_derivers        1.2.1    [required by ppx_deriving]
  - install ocaml-compiler-libs v0.17.0  [required by ppxlib]
  - install menhirSdk           20230608 [required by menhir]
  - install menhirLib           20230608 [required by menhir]
  - install either              1.0.0    [required by containers]
  - install csexp               1.5.2    [required by dune-configurator]
  - install cppo                1.8.0    [required by ppx_deriving]
  - install ISO8601             0.2.6    [required by toml]
  - install conf-sqlite3        1        [required by sqlite3]
  - install topkg               1.1.0    [required by fmt, logs]
  - install base-bytes          base     [required by process]
  - install ppxlib              0.36.0   [required by ppx_deriving, sedlex]
  - install menhir              20230608 [required by toml]
  - install dune-configurator   3.20.1   [required by containers, sqlite3]
  - install ptime               1.2.0    [required by crunch]
  - install fmt                 0.11.0   [required by pds]
  - install process             0.2.1    [required by pds]
  - install ppx_deriving        6.1.1    [required by pds]
  - install toml                7.1.0    [required by pds]
  - install sqlite3             5.3.1    [required by pds]
  - install gen                 0.5.3    [required by sedlex]
  - install containers          3.16     [required by pds]
  - install crunch              4.0.0    [required by pds]
  - install logs                0.9.0    [required by pds]
  - install sedlex              3.6      [required by pds]
  - install pds                 6.55*
===== 33 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[cmdliner.1.3.0] found in cache
[containers.3.16] found in cache
[cppo.1.8.0] found in cache
[crunch.4.0.0] found in cache
[csexp.1.5.2] found in cache
[dune.3.20.1] found in cache
[dune-configurator.3.20.1] found in cache
[either.1.0.0] found in cache
[fmt.0.11.0] found in cache
[gen.0.5.3] found in cache
[ISO8601.0.2.6] found in cache
[logs.0.9.0] found in cache
[menhir.20230608] found in cache
[menhirLib.20230608] found in cache
[menhirSdk.20230608] found in cache
[ocaml-compiler-libs.v0.17.0] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[pds.6.55] downloaded from http://acsl-pkgs.s3.amazonaws.com/pds-6.55.tar.gz
[ppx_derivers.1.2.1] found in cache
[ppx_deriving.6.1.1] found in cache
[ppxlib.0.36.0] found in cache
[process.0.2.1] found in cache
[ptime.1.2.0] found in cache
[sedlex.3.6] found in cache
[sexplib0.v0.17.0] found in cache
[sqlite3.5.3.1] found in cache
[stdlib-shims.0.3.0] found in cache
[toml.7.1.0] found in cache
[topkg.1.1.0] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> installed conf-sqlite3.1
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed process.0.2.1
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed logs.0.9.0
-> installed dune.3.20.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed crunch.4.0.0
-> installed either.1.0.0
-> installed ISO8601.0.2.6
-> installed cppo.1.8.0
-> installed menhirLib.20230608
-> installed menhirSdk.20230608
-> installed ocaml-compiler-libs.v0.17.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.20.1
-> installed gen.0.5.3
-> installed sqlite3.5.3.1
-> installed containers.3.16
-> installed menhir.20230608
-> installed toml.7.1.0
-> installed ppxlib.0.36.0
-> installed ppx_deriving.6.1.1
-> installed sedlex.3.6
-> installed pds.6.55
Done.
# Run eval $(opam env) to update the current shell environment
2025-08-28 14:07.32 ---> saved as "ac95bc69855d3c3b1b1fd57d32d13d95fb4df63f03a524381f6e5d05dee3409a"
Job succeeded
2025-08-28 14:07.36: Job succeeded