Build:
  1. 0
2024-11-29 20:28.38: New job: test ocamlformat-rpc-lib.0.27.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26998/head (27916977327321391ddd0aadb9e4d7c2d461e743)
                              on debian-12-ocaml-5.2/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/26998/head" && git reset --hard 27916977
git fetch origin master
git merge --no-edit 03f40ffaa72302dd690b44668fc40ebe51186b2b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:e9344e3b179e13bcdf14778ddbf1d0bcde4a761eb8b8bc13ad148b54c2c405b5
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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 ocamlformat-rpc-lib.0.27.0 0.27.0
RUN opam reinstall ocamlformat-rpc-lib.0.27.0; \
    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" != 'ocamlformat-rpc-lib.0.27.0' && 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 ocamlformat-rpc-lib.0.27.0) || true
RUN opam reinstall --with-test --verbose ocamlformat-rpc-lib.0.27.0; \
    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" != 'ocamlformat-rpc-lib.0.27.0' && 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 .

2024-11-29 20:28.38: Using cache hint "ocaml/opam:debian-12-ocaml-5.2@sha256:e9344e3b179e13bcdf14778ddbf1d0bcde4a761eb8b8bc13ad148b54c2c405b5-ocamlformat-rpc-lib.0.27.0-27916977327321391ddd0aadb9e4d7c2d461e743"
2024-11-29 20:28.38: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:e9344e3b179e13bcdf14778ddbf1d0bcde4a761eb8b8bc13ad148b54c2c405b5)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 1000)
 (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 ocamlformat-rpc-lib.0.27.0 0.27.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocamlformat-rpc-lib.0.27.0;\
             \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\" != 'ocamlformat-rpc-lib.0.27.0' && 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 ocamlformat-rpc-lib.0.27.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose ocamlformat-rpc-lib.0.27.0;\
             \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\" != 'ocamlformat-rpc-lib.0.27.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-11-29 20:28.38: Waiting for resource in pool OCluster
2024-11-29 20:32.22: Waiting for worker…
2024-11-29 20:48.06: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
Updating files:  54% (17831/32808)
Updating files:  55% (18045/32808)
Updating files:  56% (18373/32808)
Updating files:  57% (18701/32808)
Updating files:  58% (19029/32808)
Updating files:  59% (19357/32808)
Updating files:  60% (19685/32808)
Updating files:  61% (20013/32808)
Updating files:  62% (20341/32808)
Updating files:  63% (20670/32808)
Updating files:  64% (20998/32808)
Updating files:  65% (21326/32808)
Updating files:  66% (21654/32808)
Updating files:  67% (21982/32808)
Updating files:  68% (22310/32808)
Updating files:  69% (22638/32808)
Updating files:  70% (22966/32808)
Updating files:  71% (23294/32808)
Updating files:  72% (23622/32808)
Updating files:  73% (23950/32808)
Updating files:  74% (24278/32808)
Updating files:  75% (24606/32808)
Updating files:  76% (24935/32808)
Updating files:  77% (25263/32808)
Updating files:  78% (25591/32808)
Updating files:  79% (25919/32808)
Updating files:  80% (26247/32808)
Updating files:  81% (26575/32808)
Updating files:  82% (26903/32808)
Updating files:  83% (27231/32808)
Updating files:  84% (27559/32808)
Updating files:  85% (27887/32808)
Updating files:  86% (28215/32808)
Updating files:  87% (28543/32808)
Updating files:  88% (28872/32808)
Updating files:  89% (29200/32808)
Updating files:  90% (29528/32808)
Updating files:  91% (29856/32808)
Updating files:  92% (30184/32808)
Updating files:  93% (30512/32808)
Updating files:  94% (30840/32808)
Updating files:  95% (31168/32808)
Updating files:  96% (31496/32808)
Updating files:  96% (31561/32808)
Updating files:  97% (31824/32808)
Updating files:  98% (32152/32808)
Updating files:  99% (32480/32808)
Updating files: 100% (32808/32808)
Updating files: 100% (32808/32808), done.
HEAD is now at 03f40ffaa7 Merge pull request #26984 from paurkedal/release-mariadb-1.2.0
Merge made by the 'ort' strategy.
 .../ocamlformat-lib/ocamlformat-lib.0.27.0/opam    | 68 ++++++++++++++++++++++
 .../ocamlformat-rpc-lib.0.27.0/opam                | 49 ++++++++++++++++
 packages/ocamlformat/ocamlformat.0.27.0/opam       | 59 +++++++++++++++++++
 3 files changed, 176 insertions(+)
 create mode 100644 packages/ocamlformat-lib/ocamlformat-lib.0.27.0/opam
 create mode 100644 packages/ocamlformat-rpc-lib/ocamlformat-rpc-lib.0.27.0/opam
 create mode 100644 packages/ocamlformat/ocamlformat.0.27.0/opam

(from ocaml/opam:debian-12-ocaml-5.2@sha256:e9344e3b179e13bcdf14778ddbf1d0bcde4a761eb8b8bc13ad148b54c2c405b5)
2024-11-29 20:48.12 ---> using "9848e08157aa894f922c1b3d44d9dd35a1fbf94f875991893443c68f830bae62" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-11-29 20:48.12 ---> using "94414a328797d8e070a4a5c3b65d46092c5dbefaa5cd76443bda8712983549a1" 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] synchronised from file:///home/opam/opam-repository
2024-11-29 20:48.12 ---> using "ab1ceefd1248c23756103fdab8bc697e32a4c2319be8b261613b25dffbde879f" from cache

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 5.2.1
2.3.0
2024-11-29 20:48.12 ---> using "b323a1ff1423e257c2565944954a6da21a28842d839efb0da72619cc43d6fc34" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 1000)

/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/"))
2024-11-29 20:48.12 ---> using "a60cf7541eb94d65bb2829dcc049762f559f610b15415888f3cc2526ac09951e" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-11-29 20:48.20 ---> saved as "9655c4acf9b54e1cfdc2ab7d9614583d26fd16d56e8a688765a83714cd5cccf8"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-29 20:49.19 ---> saved as "4ab82a71b8b7ce03901296e2837bddf482d58ddeb28da6c44b859f2d01b54872"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/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 bookworm-updates/main amd64 Packages.diff/Index [12.8 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [206 kB]
- Fetched 322 kB in 0s (1279 kB/s)
- Reading package lists...
2024-11-29 20:49.20 ---> saved as "6e9e5e091cddd0f75d18619e4200b07e61096de23de524abf531e01f3d16d049"

/home/opam: (run (shell "opam pin add -k version -yn ocamlformat-rpc-lib.0.27.0 0.27.0"))
ocamlformat-rpc-lib is now pinned to version 0.27.0
2024-11-29 20:49.21 ---> saved as "028d3c6a7f419ac283311f913ebc831391977ab264e84435b4cc5fd584ffba2f"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocamlformat-rpc-lib.0.27.0;\
                        \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\" != 'ocamlformat-rpc-lib.0.27.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocamlformat-rpc-lib.0.27.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 3 packages
  - install csexp               1.5.2           [required by ocamlformat-rpc-lib]
  - install dune                3.17.0          [required by ocamlformat-rpc-lib]
  - install ocamlformat-rpc-lib 0.27.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.17.0  (cached)
-> retrieved ocamlformat-rpc-lib.0.27.0  (cached)
-> installed dune.3.17.0
-> installed csexp.1.5.2
-> installed ocamlformat-rpc-lib.0.27.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-29 20:50.15 ---> saved as "58fb280ca215c7f06fb690655ef96d869c68bd06108544deaf6598567dda0b3b"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test ocamlformat-rpc-lib.0.27.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile ocamlformat-rpc-lib 0.27.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> removed   ocamlformat-rpc-lib.0.27.0
-> installed ocamlformat-rpc-lib.0.27.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-29 20:50.42 ---> saved as "2ba276cd3c773b1abd279238d6e6c8b252785ca5917fbd5d69efd31137d2eb0c"

/home/opam: (run (shell  "opam reinstall --with-test --verbose ocamlformat-rpc-lib.0.27.0;\
                        \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\" != 'ocamlformat-rpc-lib.0.27.0' && 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 ocamlformat-rpc-lib 0.27.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [ocamlformat-rpc-lib: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocamlformat-rpc-lib" "-j" "39" "@install" "@runtest" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlformat-rpc-lib.0.27.0)
-> compiled  ocamlformat-rpc-lib.0.27.0
-> removed   ocamlformat-rpc-lib.0.27.0
-> installed ocamlformat-rpc-lib.0.27.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-29 20:51.02 ---> saved as "108d3ee03876ad1cac78257755713db8f4c7bd4bd98212945636a18b0dd08bc1"
Job succeeded
2024-11-29 20:51.09: Job succeeded