(for PR #28291)

2025-08-05 10:42.00: New job: build archive-lwt.3.7.2+6, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28291/head (3e46e7fdc64d91bd792acd6d282116b1fe84d312)
                              on ubuntu-24.04-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/28291/head" && git reset --hard 3e46e7fd
git fetch origin master
git merge --no-edit 0b62dc9c3c8e5f6da32ee7f298eb968ef86189ed
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fdd689a2173f04fb74405bff0b2feb060f6078bb1eb21eaa33a07163cc961f49
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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+6 3.7.2+6
RUN opam reinstall archive-lwt.3.7.2+6; \
    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 "\"ubuntu-24.04\""; 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+6' && 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-05 10:42.00: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fdd689a2173f04fb74405bff0b2feb060f6078bb1eb21eaa33a07163cc961f49-archive-lwt.3.7.2+6-3e46e7fdc64d91bd792acd6d282116b1fe84d312"
2025-08-05 10:42.00: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fdd689a2173f04fb74405bff0b2feb060f6078bb1eb21eaa33a07163cc961f49)
 (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 "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+6 3.7.2+6"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall archive-lwt.3.7.2+6;\
             \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 \"\\\"ubuntu-24.04\\\"\"; 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+6' && 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-05 10:42.00: Waiting for resource in pool OCluster
2025-08-05 10:42.01: Waiting for worker…
2025-08-05 10:42.02: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 0b62dc9c3c conf-clang: update alpine depext (#28290)
Merge made by the 'ort' strategy.
 packages/archive-lwt/archive-lwt.3.7.2+6/opam | 52 ++++++++++++++++++++
 packages/archive/archive.3.7.2+6/opam         | 69 +++++++++++++++++++++++++++
 2 files changed, 121 insertions(+)
 create mode 100644 packages/archive-lwt/archive-lwt.3.7.2+6/opam
 create mode 100644 packages/archive/archive.3.7.2+6/opam

(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fdd689a2173f04fb74405bff0b2feb060f6078bb1eb21eaa33a07163cc961f49)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:fdd689a2173f04fb74405bff0b2feb060f6078bb1eb21eaa33a07163cc961f49' locally
docker.io/ocaml/opam@sha256:fdd689a2173f04fb74405bff0b2feb060f6078bb1eb21eaa33a07163cc961f49: Pulling from ocaml/opam
cb028841ffad: Pulling fs layer
cb028841ffad: Verifying Checksum
cb028841ffad: Download complete
cb028841ffad: Pull complete
Digest: sha256:fdd689a2173f04fb74405bff0b2feb060f6078bb1eb21eaa33a07163cc961f49
Status: Downloaded newer image for ocaml/opam@sha256:fdd689a2173f04fb74405bff0b2feb060f6078bb1eb21eaa33a07163cc961f49
2025-08-05 10:44.25 ---> saved as "b0f026a896e9006a41fa77f383bafe27beaf98c97e572ac5ea6cc6b68621539a"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-05 10:44.25 ---> saved as "14941afcb1ee6eaa2e79be79e77cfb948c777ea34bd524bffaadd141bba2197b"

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

Continue? [y/n] y
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.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-05 10:44.46 ---> saved as "3308388217a87e5bdf79f752e4049fe50fb75f8a2c082b378f8bfc376887e399"

/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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=ubuntu os-version=24.04
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         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-08-05 10:44.46 ---> saved as "383c86af0c5122ee6026ef6102e33a334e50c0f603b61f9efe9b60dea816bb04"

/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-05 10:44.55 ---> saved as "d3bdc80efed64568870d345043565ccee7a21a8f63b6a6cd24e3c99c348db9e3"

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-05 10:45.00 ---> saved as "d0c6489e174800b00ad4f4acf89cc512453a5154e9570f2ddcd66d6f6114e4d6"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-05 10:45.17 ---> saved as "eb02a32719dcffe96f00422b81844a1bc38a4427468b874452de83aa371f7682"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1665 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1454 kB]
- Get:7 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1326 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1134 kB]
- Fetched 5958 kB in 2s (3871 kB/s)
- Reading package lists...
- 
2025-08-05 10:45.20 ---> saved as "04581a97cf6794574394e9b55c18b1d17aed0f89af6858a6f06cb827a82ae544"

/home/opam: (run (shell "opam pin add -k version -yn archive-lwt.3.7.2+6 3.7.2+6"))
archive-lwt is now pinned to version 3.7.2+6
2025-08-05 10:45.21 ---> saved as "ebc904352262bac39f67721fc5b7c87505b352b6fe3b5794dfcb5da3101400df"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall archive-lwt.3.7.2+6;\
                        \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 \"\\\"ubuntu-24.04\\\"\"; 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+6' && 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+6 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 12 packages
  - install archive           3.7.2+6          [required by archive-lwt]
  - install archive-lwt       3.7.2+6 (pinned)
  - install base-bytes        base             [required by ocplib-endian]
  - install conf-pkg-config   4                [required by archive]
  - install cppo              1.8.0            [required by lwt]
  - install csexp             1.5.2            [required by dune-configurator]
  - install dune              3.19.1           [required by archive-lwt]
  - install dune-configurator 3.19.1           [required by archive, lwt]
  - install fileutils         0.6.6            [required by archive]
  - install lwt               5.9.1            [required by archive-lwt]
  - install ocamlfind         1.9.8            [required by base-bytes]
  - install ocplib-endian     1.2              [required by lwt]

The following system packages will first need to be installed:
    libarchive-dev pkg-config

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get 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/bin/sudo "apt-get" "install" "-qq" "-yy" "libarchive-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libicu74: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 ... 16335 files and directories currently installed.)
- Preparing to unpack .../00-libicu74_74.2-1ubuntu3.1_amd64.deb ...
- Unpacking libicu74:amd64 (74.2-1ubuntu3.1) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../01-libxml2_2.9.14+dfsg-1.3ubuntu3.3_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.14+dfsg-1.3ubuntu3.3) ...
- Selecting previously unselected package bzip2-doc.
- Preparing to unpack .../02-bzip2-doc_1.0.8-5.1build0.1_all.deb ...
- Unpacking bzip2-doc (1.0.8-5.1build0.1) ...
- Selecting previously unselected package icu-devtools.
- Preparing to unpack .../03-icu-devtools_74.2-1ubuntu3.1_amd64.deb ...
- Unpacking icu-devtools (74.2-1ubuntu3.1) ...
- Selecting previously unselected package libarchive13t64:amd64.
- Preparing to unpack .../04-libarchive13t64_3.7.2-2ubuntu0.5_amd64.deb ...
- Unpacking libarchive13t64:amd64 (3.7.2-2ubuntu0.5) ...
- Selecting previously unselected package libbz2-dev:amd64.
- Preparing to unpack .../05-libbz2-dev_1.0.8-5.1build0.1_amd64.deb ...
- Unpacking libbz2-dev:amd64 (1.0.8-5.1build0.1) ...
- Selecting previously unselected package liblz4-dev:amd64.
- Preparing to unpack .../06-liblz4-dev_1.9.4-1build1.1_amd64.deb ...
- Unpacking liblz4-dev:amd64 (1.9.4-1build1.1) ...
- Selecting previously unselected package liblzma-dev:amd64.
- Preparing to unpack .../07-liblzma-dev_5.6.1+really5.4.5-1ubuntu0.2_amd64.deb ...
- Unpacking liblzma-dev:amd64 (5.6.1+really5.4.5-1ubuntu0.2) ...
- Selecting previously unselected package libicu-dev:amd64.
- Preparing to unpack .../08-libicu-dev_74.2-1ubuntu3.1_amd64.deb ...
- Unpacking libicu-dev:amd64 (74.2-1ubuntu3.1) ...
- Selecting previously unselected package libxml2-dev:amd64.
- Preparing to unpack .../09-libxml2-dev_2.9.14+dfsg-1.3ubuntu3.3_amd64.deb ...
- Unpacking libxml2-dev:amd64 (2.9.14+dfsg-1.3ubuntu3.3) ...
- Selecting previously unselected package libzstd-dev:amd64.
- Preparing to unpack .../10-libzstd-dev_1.5.5+dfsg2-2build1.1_amd64.deb ...
- Unpacking libzstd-dev:amd64 (1.5.5+dfsg2-2build1.1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../11-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu2.1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg-3.1ubuntu2.1) ...
- Selecting previously unselected package libattr1-dev:amd64.
- Preparing to unpack .../12-libattr1-dev_1%3a2.5.2-1build1.1_amd64.deb ...
- Unpacking libattr1-dev:amd64 (1:2.5.2-1build1.1) ...
- Selecting previously unselected package libacl1-dev:amd64.
- Preparing to unpack .../13-libacl1-dev_2.3.2-1build1.1_amd64.deb ...
- Unpacking libacl1-dev:amd64 (2.3.2-1build1.1) ...
- Selecting previously unselected package comerr-dev:amd64.
- Preparing to unpack .../14-comerr-dev_2.1-1.47.0-2.4~exp1ubuntu4.1_amd64.deb ...
- Unpacking comerr-dev:amd64 (2.1-1.47.0-2.4~exp1ubuntu4.1) ...
- Selecting previously unselected package libext2fs-dev.
- Preparing to unpack .../15-libext2fs-dev_1.47.0-2.4~exp1ubuntu4.1_amd64.deb ...
- Unpacking libext2fs-dev (1.47.0-2.4~exp1ubuntu4.1) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../16-libgmpxx4ldbl_2%3a6.3.0+dfsg-2ubuntu6.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-2ubuntu6.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../17-libgmp-dev_2%3a6.3.0+dfsg-2ubuntu6.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-2ubuntu6.1) ...
- Selecting previously unselected package nettle-dev:amd64.
- Preparing to unpack .../18-nettle-dev_3.9.1-2.2build1.1_amd64.deb ...
- Unpacking nettle-dev:amd64 (3.9.1-2.2build1.1) ...
- Selecting previously unselected package libarchive-dev:amd64.
- Preparing to unpack .../19-libarchive-dev_3.7.2-2ubuntu0.5_amd64.deb ...
- Unpacking libarchive-dev:amd64 (3.7.2-2ubuntu0.5) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../20-libpkgconf3_1.8.1-2build1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../21-pkgconf-bin_1.8.1-2build1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../22-pkgconf_1.8.1-2build1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-2build1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../23-pkg-config_1.8.1-2build1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-2build1) ...
- Setting up bzip2-doc (1.0.8-5.1build0.1) ...
- Setting up libzstd-dev:amd64 (1.5.5+dfsg2-2build1.1) ...
- Setting up libattr1-dev:amd64 (1:2.5.2-1build1.1) ...
- Setting up libpkgconf3:amd64 (1.8.1-2build1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-2ubuntu6.1) ...
- Setting up comerr-dev:amd64 (2.1-1.47.0-2.4~exp1ubuntu4.1) ...
- Setting up liblz4-dev:amd64 (1.9.4-1build1.1) ...
- Setting up pkgconf-bin (1.8.1-2build1) ...
- Setting up liblzma-dev:amd64 (5.6.1+really5.4.5-1ubuntu0.2) ...
- Setting up libicu74:amd64 (74.2-1ubuntu3.1) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg-3.1ubuntu2.1) ...
- Setting up libext2fs-dev (1.47.0-2.4~exp1ubuntu4.1) ...
- Setting up libxml2:amd64 (2.9.14+dfsg-1.3ubuntu3.3) ...
- Setting up libacl1-dev:amd64 (2.3.2-1build1.1) ...
- Setting up libbz2-dev:amd64 (1.0.8-5.1build0.1) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-2ubuntu6.1) ...
- Setting up nettle-dev:amd64 (3.9.1-2.2build1.1) ...
- Setting up pkgconf:amd64 (1.8.1-2build1) ...
- Setting up icu-devtools (74.2-1ubuntu3.1) ...
- Setting up pkg-config:amd64 (1.8.1-2build1) ...
- Setting up libarchive13t64:amd64 (3.7.2-2ubuntu0.5) ...
- Setting up libicu-dev:amd64 (74.2-1ubuntu3.1) ...
- Setting up libxml2-dev:amd64 (2.9.14+dfsg-1.3ubuntu3.3) ...
- Setting up libarchive-dev:amd64 (3.7.2-2ubuntu0.5) ...
- Processing triggers for libc-bin (2.39-0ubuntu8.5) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved archive.3.7.2+6, archive-lwt.3.7.2+6  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> retrieved dune.3.19.1, dune-configurator.3.19.1  (cached)
-> retrieved fileutils.0.6.6  (cached)
-> retrieved lwt.5.9.1  (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.19.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed fileutils.0.6.6
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.19.1
-> installed archive.3.7.2+6
-> installed lwt.5.9.1
-> installed archive-lwt.3.7.2+6
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-05 10:45.56 ---> saved as "0b51456060aa132654e38cb2b18819dbabcd460f10b2721395647dcf39fe83a8"
Job succeeded
2025-08-05 10:46.02: Job succeeded