(for PR #27502)

2025-02-27 14:38.47: New job: test archive-lwt.3.7.2+5, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27502/head (e90d7362f65e9013b405e2247c943bdfccc0ac1e)
                              on archlinux-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/27502/head" && git reset --hard e90d7362
git fetch origin master
git merge --no-edit d9f0c12e04db180fadfffbfec66be4d5e8b39965
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-4.14@sha256:a1178a43a06a1355fcb3fb0987b22314be6920dd0ed479d6b7138d3118028cab
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 archive-lwt.3.7.2+5 3.7.2+5
RUN opam reinstall archive-lwt.3.7.2+5; \
    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" != 'archive-lwt.3.7.2+5' && 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 archive-lwt.3.7.2+5) || true
RUN opam reinstall --with-test --verbose archive-lwt.3.7.2+5; \
    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" != 'archive-lwt.3.7.2+5' && 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-02-27 14:38.47: Using cache hint "ocaml/opam:archlinux-ocaml-4.14@sha256:a1178a43a06a1355fcb3fb0987b22314be6920dd0ed479d6b7138d3118028cab-archive-lwt.3.7.2+5-e90d7362f65e9013b405e2247c943bdfccc0ac1e"
2025-02-27 14:38.47: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-4.14@sha256:a1178a43a06a1355fcb3fb0987b22314be6920dd0ed479d6b7138d3118028cab)
 (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 archive-lwt.3.7.2+5 3.7.2+5"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall archive-lwt.3.7.2+5;\
             \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\" != 'archive-lwt.3.7.2+5' && 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 archive-lwt.3.7.2+5) || true"))
 (run (shell  "opam reinstall --with-test --verbose archive-lwt.3.7.2+5;\
             \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\" != 'archive-lwt.3.7.2+5' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-02-27 14:38.47: Waiting for resource in pool OCluster
2025-02-27 14:38.50: Waiting for worker…
2025-02-27 14:42.35: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at d9f0c12e04 Merge pull request #27490 from gildor478/release-ocamlify-v0.1.0
Merge made by the 'ort' strategy.
 packages/archive-lwt/archive-lwt.3.7.2+5/opam | 52 ++++++++++++++++++++
 packages/archive/archive.3.7.2+5/opam         | 68 +++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)
 create mode 100644 packages/archive-lwt/archive-lwt.3.7.2+5/opam
 create mode 100644 packages/archive/archive.3.7.2+5/opam

(from ocaml/opam:archlinux-ocaml-4.14@sha256:a1178a43a06a1355fcb3fb0987b22314be6920dd0ed479d6b7138d3118028cab)
2025-02-27 14:43.29 ---> saved as "2923f567ef068765795ee8303487ff46a92c5870903f4697a70f1b9c2c3c7ba8"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-27 14:43.29 ---> saved as "90381e2e5fabc65c27f446a375556620bfec71385be4d318086363acd866902f"

/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 development 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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-27 14:44.29 ---> saved as "0d20ddb92ec522c35fd91ba0019d48cd7d59ed312774c1749faa67421202c605"

/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.4.0~alpha1~dev (7f62f012239c88b3ce08e800578ca1d88e602f8a)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=arch os-version=20250216.0.309127
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (local), 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-02-27 14:44.35 ---> saved as "e7c749dd21b3156ae6f19c0c221d973200c7333844e2df99daf83ea9b908dde0"

/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-02-27 14:44.43 ---> saved as "da0fafdd20c681c7e7d0fb2d2210700ae8e89e0dab3de8c4f700cc20f33c0473"

/home/opam: (copy (src .) (dst opam-repository/))
2025-02-27 14:44.51 ---> saved as "6507d7c2d3e193d32e69f6b729c0e02f447ea00e1c944f468ebffa68e5fe209a"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-27 14:45.32 ---> saved as "ae144529d838b17965b14ebd9957fe8a22b71dcfc3ae213f0dee9e54cfea0828"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2025-02-27 14:45.33 ---> saved as "43f4b50813e7a65cea66c74a3936499abd90aa88285b933bc99ecd10d6a546b3"

/home/opam: (run (shell "opam pin add -k version -yn archive-lwt.3.7.2+5 3.7.2+5"))
archive-lwt is now pinned to version 3.7.2+5
2025-02-27 14:45.34 ---> saved as "d7b1280726fd1c13778c9a60d099c4cc87cecdddaa55bd97bef1a3499ee2c75e"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall archive-lwt.3.7.2+5;\
                        \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\" != 'archive-lwt.3.7.2+5' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
archive-lwt.3.7.2+5 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 12 packages
  ∗ archive           3.7.2+5          [required by archive-lwt]
  ∗ archive-lwt       3.7.2+5 (pinned)
  ∗ base-bytes        base             [required by ocplib-endian]
  ∗ conf-pkg-config   4                [required by archive]
  ∗ cppo              1.8.0            [required by lwt]
  ∗ csexp             1.5.2            [required by dune-configurator]
  ∗ dune              3.17.2           [required by archive-lwt]
  ∗ dune-configurator 3.17.2           [required by archive, lwt]
  ∗ fileutils         0.6.6            [required by archive]
  ∗ lwt               5.9.0            [required by archive-lwt]
  ∗ ocamlfind         1.9.8            [required by base-bytes]
  ∗ ocplib-endian     1.2              [required by lwt]

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 (11)     Old Version          New Version          Net Change  Download Size
- 
- core/coreutils   9.6-2                9.6-3                  0.06 MiB       2.76 MiB
- core/diffutils   3.10-1               3.11-1                 0.01 MiB       0.33 MiB
- core/gettext     0.23.1-2             0.24-1                 1.09 MiB       2.32 MiB
- core/kmod        33-3                 34-1                   0.04 MiB       0.13 MiB
- core/libnghttp3  1.7.0-1              1.8.0-1                0.00 MiB       0.07 MiB
- core/libxml2     2.13.6-2             2.13.6-3               0.00 MiB       0.80 MiB
- core/pacman      7.0.0.r6.gc685ae6-1  7.0.0.r6.gc685ae6-2    0.00 MiB       0.90 MiB
- core/pcre2       10.44-1              10.45-1                0.42 MiB       1.58 MiB
- core/shadow      4.16.0-1             4.17.3-1               0.09 MiB       1.22 MiB
- core/zstd        1.5.6-1              1.5.7-2                0.04 MiB       0.50 MiB
- core/pkgconf                          2.3.0-1                0.16 MiB       0.06 MiB
- 
- Total Download Size:   10.66 MiB
- Total Installed Size:  47.52 MiB
- Net Upgrade Size:       1.91 MiB
- 
- :: Proceed with installation? [Y/n] 
- :: Retrieving packages...
-  coreutils-9.6-3-x86_64 downloading...
-  gettext-0.24-1-x86_64 downloading...
-  pcre2-10.45-1-x86_64 downloading...
-  shadow-4.17.3-1-x86_64 downloading...
-  pacman-7.0.0.r6.gc685ae6-2-x86_64 downloading...
-  libxml2-2.13.6-3-x86_64 downloading...
-  zstd-1.5.7-2-x86_64 downloading...
-  diffutils-3.11-1-x86_64 downloading...
-  kmod-34-1-x86_64 downloading...
-  libnghttp3-1.8.0-1-x86_64 downloading...
-  pkgconf-2.3.0-1-x86_64 downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- installing pkgconf...
- upgrading zstd...
- upgrading coreutils...
- upgrading diffutils...
- upgrading libxml2...
- upgrading gettext...
- upgrading kmod...
- upgrading libnghttp3...
- upgrading pcre2...
- upgrading shadow...
- upgrading pacman...
- :: Running post-transaction hooks...
- (1/5) Creating system user accounts...
- (2/5) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (3/5) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (4/5) 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.
- (5/5) Arming ConditionNeedsUpdate...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved archive.3.7.2+5, archive-lwt.3.7.2+5  (cached)
⬇ retrieved cppo.1.8.0  (cached)
⬇ retrieved csexp.1.5.2  (cached)
∗ installed conf-pkg-config.4
⬇ retrieved dune.3.17.2, dune-configurator.3.17.2  (cached)
⬇ retrieved fileutils.0.6.6  (cached)
⬇ retrieved lwt.5.9.0  (cached)
⬇ retrieved ocamlfind.1.9.8  (cached)
⬇ retrieved ocplib-endian.1.2  (cached)
∗ installed ocamlfind.1.9.8
∗ installed base-bytes.base
∗ installed dune.3.17.2
∗ installed csexp.1.5.2
∗ installed cppo.1.8.0
∗ installed fileutils.0.6.6
∗ installed ocplib-endian.1.2
∗ installed dune-configurator.3.17.2
∗ installed archive.3.7.2+5
∗ installed lwt.5.9.0
∗ installed archive-lwt.3.7.2+5
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-27 14:46.26 ---> saved as "d3bb7c785ca0904d230e1922cea4ed66b19424776cd2f6c11f2c1833fdaaa07b"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test archive-lwt.3.7.2+5) || true"))
The following actions will be performed:
=== recompile 1 package
  ↻ archive-lwt  3.7.2+5 (pinned)
=== install 4 packages
  ∗ extlib       1.8.0            [required by archive-lwt]
  ∗ ounit2       2.2.7            [required by archive-lwt]
  ∗ seq          base             [required by ounit2]
  ∗ stdlib-shims 0.3.0            [required by ounit2]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved extlib.1.8.0  (https://github.com/ygrek/ocaml-extlib/releases/download/1.8.0/extlib-1.8.0.tar.gz)
⬇ retrieved ounit2.2.2.7  (https://github.com/gildor478/ounit/releases/download/v2.2.7/ounit-2.2.7.tbz)
⬇ retrieved seq.base  (2 extra sources)
⬇ retrieved seq.base  (2 extra sources)
∗ installed seq.base
∗ installed extlib.1.8.0
⬇ retrieved stdlib-shims.0.3.0  (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz)
⊘ removed   archive-lwt.3.7.2+5
∗ installed stdlib-shims.0.3.0
∗ installed ounit2.2.2.7
∗ installed archive-lwt.3.7.2+5
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-27 14:46.41 ---> saved as "a79680d0f75a1e6fc06c6f2bf7ad2a389955b44b3d954cec143d410552dfee96"

/home/opam: (run (shell  "opam reinstall --with-test --verbose archive-lwt.3.7.2+5;\
                        \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\" != 'archive-lwt.3.7.2+5' && 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
  ↻ archive-lwt 3.7.2+5 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  2/4: [archive-lwt: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "archive-lwt" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/archive-lwt.3.7.2+5)
- (cd _build/default/test && ./test.exe)
- ....
- Ran: 4 tests in: 0.01 seconds.
- OK
λ compiled  archive-lwt.3.7.2+5
⊘ removed   archive-lwt.3.7.2+5
∗ installed archive-lwt.3.7.2+5
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-27 14:46.51 ---> saved as "d0d3f35d7b92793087c135b052b917dd91cf95fe040dd882740723168751347c"
Job succeeded
2025-02-27 14:47.02: Job succeeded