(for PR #27502)

2025-02-27 14:38.47: New job: test archive-lwt.3.7.2+5, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27502/head (e90d7362f65e9013b405e2247c943bdfccc0ac1e)
                              on debian-12-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:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
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 archive-lwt.3.7.2+5 3.7.2+5
RUN opam depext archive-lwt.3.7.2+5 && 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 "\"debian-12\""; 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 depext --with-test archive-lwt.3.7.2+5 && opam reinstall --with-test archive-lwt.3.7.2+5) || true
RUN opam depext --with-test archive-lwt.3.7.2+5 && 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 "\"debian-12\""; 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:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098-archive-lwt.3.7.2+5-e90d7362f65e9013b405e2247c943bdfccc0ac1e"
2025-02-27 14:38.47: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
 (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 archive-lwt.3.7.2+5 3.7.2+5"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext archive-lwt.3.7.2+5 && 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 \"\\\"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\" != '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 depext --with-test archive-lwt.3.7.2+5 && opam reinstall --with-test archive-lwt.3.7.2+5) || true"))
 (run (shell  "opam depext --with-test archive-lwt.3.7.2+5 && 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 \"\\\"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\" != '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:40.48: Waiting for worker…
2025-02-27 14:42.43: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  99% (22463/22507)
Updating files: 100% (22507/22507)
Updating files: 100% (22507/22507), done.
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:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
2025-02-27 14:43.11 ---> using "fd8c1dcac8c3a6cd3ee8edd679de5f3384de62d6f587d449e00238111470ab75" 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-02-27 14:43.11 ---> using "fba0de1c590f9809687e343def5a9a04f5b3b6f36ea340e6ebbcbbda15de6aa4" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
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-02-27 14:43.57 ---> saved as "8586f49ed0cf3ab83904740d6a203b59c45bff22f5b516d4247f953b80001f47"

/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              39
# repositories      1 (local), 1 (version-controlled)
# pinned            1 (version)
# current-switch    4.14
2025-02-27 14:43.58 ---> saved as "d41ba78b08d7ec90d1f2c711a345d8702e099575dfe89b197560120617885139"

/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.27 ---> saved as "ef3370465308269a4e181500ce3b5771fb4d2e5ff9b13748e245fee4b58ea113"

/home/opam: (copy (src .) (dst opam-repository/))
2025-02-27 14:44.46 ---> saved as "3317da9fb867e1f95ab5eaca3cfef4de900949c3dac04ddc3f547eb018e3a2a3"

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

/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 [246 kB]
Fetched 349 kB in 0s (1068 kB/s)
Reading package lists...
# OS package update successful
2025-02-27 14:45.20 ---> saved as "83105402e6cc61b85e44c0fec47c95d0f3409639a188cfa63850686905664ed0"

/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.20 ---> saved as "f039ab018a8c906e3f373a8466c55dca0384c731250888c3a7b41840cc810a63"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext archive-lwt.3.7.2+5 && 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 \"\\\"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\" != '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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
libarchive-dev
pkg-config
# The following system packages are needed:
The following command needs to be run through "sudo":
    apt-get install -qq -yy libarchive-dev pkg-config
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libicu72: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 ... 18745 files and directories currently installed.)
Preparing to unpack .../0-libicu72_72.1-3_amd64.deb ...
Unpacking libicu72:amd64 (72.1-3) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../1-libxml2_2.9.14+dfsg-1.3~deb12u1_amd64.deb ...
Unpacking libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../2-libarchive13_3.6.2-1+deb12u2_amd64.deb ...
Unpacking libarchive13:amd64 (3.6.2-1+deb12u2) ...
Selecting previously unselected package libarchive-dev:amd64.
Preparing to unpack .../3-libarchive-dev_3.6.2-1+deb12u2_amd64.deb ...
Unpacking libarchive-dev:amd64 (3.6.2-1+deb12u2) ...
Selecting previously unselected package libpkgconf3:amd64.
Preparing to unpack .../4-libpkgconf3_1.8.1-1_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-1) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../5-pkgconf-bin_1.8.1-1_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-1) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../6-pkgconf_1.8.1-1_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-1) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../7-pkg-config_1.8.1-1_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-1) ...
Setting up libicu72:amd64 (72.1-3) ...
Setting up libpkgconf3:amd64 (1.8.1-1) ...
Setting up pkgconf-bin (1.8.1-1) ...
Setting up libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
Setting up libarchive13:amd64 (3.6.2-1+deb12u2) ...
Setting up pkgconf:amd64 (1.8.1-1) ...
Setting up pkg-config:amd64 (1.8.1-1) ...
Setting up libarchive-dev:amd64 (3.6.2-1+deb12u2) ...
Processing triggers for libc-bin (2.36-9+deb12u9) ...
# OS packages installation successful
archive-lwt.3.7.2+5 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install ocamlfind         1.9.8    [required by base-bytes]
  - install conf-pkg-config   4        [required by archive]
  - install dune              3.17.2   [required by archive-lwt]
  - install base-bytes        base     [required by ocplib-endian]
  - install fileutils         0.6.6    [required by archive]
  - install dune-configurator 2.7.0    [required by archive, lwt]
  - install cppo              1.8.0    [required by lwt]
  - install archive           3.7.2+5  [required by archive-lwt]
  - install ocplib-endian     1.2      [required by lwt]
  - install lwt               5.9.0    [required by archive-lwt]
  - install archive-lwt       3.7.2+5*
===== 11 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[archive.3.7.2+5] found in cache
[archive-lwt.3.7.2+5] found in cache
[cppo.1.8.0] found in cache
[dune.3.17.2] found in cache
[dune-configurator.2.7.0] found in cache
[fileutils.0.6.6] found in cache
[lwt.5.9.0] found in cache
[ocamlfind.1.9.8] found in cache
[ocplib-endian.1.2] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.17.2
-> installed cppo.1.8.0
-> installed fileutils.0.6.6
-> installed dune-configurator.2.7.0
-> installed ocplib-endian.1.2
-> installed archive.3.7.2+5
-> installed lwt.5.9.0
-> installed archive-lwt.3.7.2+5
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-27 14:46.05 ---> saved as "7e16575cffc535565abb6c747a198de54f096a549489b6d087d61c7f53213b74"

/home/opam: (run (network host)
                 (shell "(opam depext --with-test archive-lwt.3.7.2+5 && opam reinstall --with-test archive-lwt.3.7.2+5) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
libarchive-dev
pkg-config
# The following system packages are needed:
# All required OS packages found.
The following actions will be performed:
  - install   seq          base     [required by ounit2]
  - install   extlib       1.8.0    [required by archive-lwt]
  - install   stdlib-shims 0.3.0    [required by ounit2]
  - install   ounit2       2.2.7    [required by archive-lwt]
  - recompile archive-lwt  3.7.2+5*
===== 4 to install | 1 to recompile =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[extlib.1.8.0] downloaded from https://github.com/ygrek/ocaml-extlib/releases/download/1.8.0/extlib-1.8.0.tar.gz
[ounit2.2.2.7] downloaded from https://github.com/gildor478/ounit/releases/download/v2.2.7/ounit-2.2.7.tbz
[seq.base/META.seq] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/seq/META.seq
[seq.base/seq.install] downloaded from https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/seq/seq.install
[stdlib-shims.0.3.0] downloaded from https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed extlib.1.8.0
-> 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.
# Run eval $(opam env) to update the current shell environment
2025-02-27 14:46.33 ---> saved as "43afec9097ee5e1708a2ab2f2d03ed79516fe1eb5d9f44fba69aa7c6cb15f078"

/home/opam: (run (shell  "opam depext --with-test archive-lwt.3.7.2+5 && 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 \"\\\"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\" != '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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libarchive-dev
pkg-config
# All required OS packages found.
The following actions will be performed:
  - recompile archive-lwt 3.7.2+5*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [archive-lwt: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "archive-lwt" "-j" "39" "@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.02 seconds.
- OK
-> compiled  archive-lwt.3.7.2+5
-> removed   archive-lwt.3.7.2+5
-> installed archive-lwt.3.7.2+5
Done.
# Run eval $(opam env) to update the current shell environment
2025-02-27 14:46.49 ---> saved as "3a857faed19c559ee11918e881489519fde2f157039f54a4adff54fd6efb92d9"
Job succeeded
2025-02-27 14:48.10: Job succeeded