- github
- ocaml
- opam-repository
- 567635
- distributions,alpine-3.21-ocaml-4.14,caqti-lwt.2.2.2
(not at the head of any monitored branch or PR)
2025-03-25 15:01.27: New job: build caqti-lwt.2.2.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27655/head (567635cc1911b41a3acedae0e4192d0ce0027f4c)
on alpine-3.21-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/27655/head" && git reset --hard 567635cc
git fetch origin master
git merge --no-edit 48e47466f5898fbf475b71788bcf587634373afa
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:facb23419cc3499025e73b2a25f067c92cfcd489132bc04c1ed5820838d233a1
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 caqti-lwt.2.2.2 2.2.2
RUN opam reinstall caqti-lwt.2.2.2; \
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 "\"alpine-3.21\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'caqti-lwt.2.2.2' && 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-03-25 15:01.27: Using cache hint "ocaml/opam:alpine-3.21-ocaml-4.14@sha256:facb23419cc3499025e73b2a25f067c92cfcd489132bc04c1ed5820838d233a1-caqti-lwt.2.2.2-567635cc1911b41a3acedae0e4192d0ce0027f4c"
2025-03-25 15:01.27: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:facb23419cc3499025e73b2a25f067c92cfcd489132bc04c1ed5820838d233a1)
(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 caqti-lwt.2.2.2 2.2.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall caqti-lwt.2.2.2;\
\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 \"\\\"alpine-3.21\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'caqti-lwt.2.2.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-03-25 15:01.27: Waiting for resource in pool OCluster
2025-03-25 15:19.11: Waiting for worker…
2025-03-25 15:24.52: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
Updating files: 69% (15735/22711)
Updating files: 70% (15898/22711)
Updating files: 71% (16125/22711)
Updating files: 72% (16352/22711)
Updating files: 73% (16580/22711)
Updating files: 74% (16807/22711)
Updating files: 75% (17034/22711)
Updating files: 76% (17261/22711)
Updating files: 77% (17488/22711)
Updating files: 78% (17715/22711)
Updating files: 79% (17942/22711)
Updating files: 80% (18169/22711)
Updating files: 81% (18396/22711)
Updating files: 82% (18624/22711)
Updating files: 83% (18851/22711)
Updating files: 84% (19078/22711)
Updating files: 85% (19305/22711)
Updating files: 86% (19532/22711)
Updating files: 87% (19759/22711)
Updating files: 88% (19986/22711)
Updating files: 89% (20213/22711)
Updating files: 90% (20440/22711)
Updating files: 91% (20668/22711)
Updating files: 92% (20895/22711)
Updating files: 93% (21122/22711)
Updating files: 94% (21349/22711)
Updating files: 95% (21576/22711)
Updating files: 96% (21803/22711)
Updating files: 97% (22030/22711)
Updating files: 98% (22257/22711)
Updating files: 99% (22484/22711)
Updating files: 100% (22711/22711)
Updating files: 100% (22711/22711), done.
HEAD is now at 48e47466f5 Merge pull request #27676 from mtelvers/opam-publish-ocaml-version.4.0.0
Updating 48e47466f5..567635cc19
Fast-forward
packages/caqti-async/caqti-async.2.1.2/opam | 2 +-
.../caqti-driver-mariadb.2.2.2/opam | 32 ++++++++++
.../caqti-driver-pgx/caqti-driver-pgx.2.2.2/opam | 32 ++++++++++
.../caqti-driver-postgresql.2.2.2/opam | 36 +++++++++++
.../caqti-driver-sqlite3.2.2.2/opam | 32 ++++++++++
packages/caqti-eio/caqti-eio.2.1.2/opam | 2 +-
packages/caqti-lwt/caqti-lwt.2.2.2/opam | 38 ++++++++++++
packages/caqti-miou/caqti-miou.2.2.2/opam | 35 +++++++++++
packages/caqti-mirage/caqti-mirage.2.2.2/opam | 42 +++++++++++++
packages/caqti-tls/caqti-tls.2.1.2/opam | 2 +-
packages/caqti/caqti.2.2.2/opam | 69 ++++++++++++++++++++++
11 files changed, 319 insertions(+), 3 deletions(-)
create mode 100644 packages/caqti-driver-mariadb/caqti-driver-mariadb.2.2.2/opam
create mode 100644 packages/caqti-driver-pgx/caqti-driver-pgx.2.2.2/opam
create mode 100644 packages/caqti-driver-postgresql/caqti-driver-postgresql.2.2.2/opam
create mode 100644 packages/caqti-driver-sqlite3/caqti-driver-sqlite3.2.2.2/opam
create mode 100644 packages/caqti-lwt/caqti-lwt.2.2.2/opam
create mode 100644 packages/caqti-miou/caqti-miou.2.2.2/opam
create mode 100644 packages/caqti-mirage/caqti-mirage.2.2.2/opam
create mode 100644 packages/caqti/caqti.2.2.2/opam
(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:facb23419cc3499025e73b2a25f067c92cfcd489132bc04c1ed5820838d233a1)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-4.14@sha256:facb23419cc3499025e73b2a25f067c92cfcd489132bc04c1ed5820838d233a1' locally
docker.io/ocaml/opam@sha256:facb23419cc3499025e73b2a25f067c92cfcd489132bc04c1ed5820838d233a1: Pulling from ocaml/opam
076ee61cf1dd: Pulling fs layer
076ee61cf1dd: Verifying Checksum
076ee61cf1dd: Download complete
076ee61cf1dd: Pull complete
Digest: sha256:facb23419cc3499025e73b2a25f067c92cfcd489132bc04c1ed5820838d233a1
Status: Downloaded newer image for ocaml/opam@sha256:facb23419cc3499025e73b2a25f067c92cfcd489132bc04c1ed5820838d233a1
2025-03-25 15:26.34 ---> saved as "564b8dfe9ad4f39bbde2aa43fa8974bb4cfe52191d953d3ae68455130266123a"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-03-25 15:26.34 ---> saved as "314a362ffbb955f483a03470e59bab22d59a64bd570abc7de615ff59a5f46279"
/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-03-25 15:28.02 ---> saved as "695bd994fcc0904bf154c431433377a3c15e7c669fe76a8e01af73812fd089d2"
/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 (fcce0c8d871702aabac0a216e45212ff004cfe79)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=alpine os-version=3.21.3
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 39
# 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-03-25 15:28.04 ---> saved as "159a321d3535cef32d488180dca84329bf45e8bd2659797426884dfdba4953b9"
/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-03-25 15:28.11 ---> saved as "9d71bf598db224d04f02102947cf6b58488a07f47ad4f6670af601ece58707ef"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-25 15:28.17 ---> saved as "154950f721fcc4d6373ffac36a627a7a05f84de0e7d9302ed0f820c7fde9b187"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-25 15:29.02 ---> saved as "42efba5b461be2eb70076ef169c099eb0e968c4823ee33c29ef3e46d8e90fdaa"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-228-gc4a545b4457 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-227-g2377fbbb1be [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-4605-ge1f13fdb2d2 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-4610-g38808aaaff7 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-4605-ge1f13fdb2d2 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 57331 distinct packages available
2025-03-25 15:29.06 ---> saved as "b50406424cd7f72d870e8d523ddd5c97b506f21560b10801e37210d510f1b74a"
/home/opam: (run (shell "opam pin add -k version -yn caqti-lwt.2.2.2 2.2.2"))
caqti-lwt is now pinned to version 2.2.2
2025-03-25 15:29.07 ---> saved as "17e6511f0d7fd7855da6e5d82cc8676f8c0b4ff46ff0a0544656e099f178056b"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall caqti-lwt.2.2.2;\
\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 \"\\\"alpine-3.21\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'caqti-lwt.2.2.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
caqti-lwt.2.2.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 52 packages
- install angstrom 0.16.1 [required by caqti]
- install asn1-combinators 0.3.2 [required by x509]
- install base-bytes base [required by ocplib-endian]
- install base64 3.5.1 [required by x509]
- install bigstringaf 0.10.0 [required by caqti]
- install caqti 2.2.2 [required by caqti-lwt]
- install caqti-lwt 2.2.2 (pinned)
- install conf-gmp 4 [required by conf-gmp-powm-sec, zarith]
- install conf-gmp-powm-sec 3 [required by mirage-crypto-pk]
- install conf-pkg-config 4 [required by zarith]
- install cppo 1.8.0 [required by lwt]
- install csexp 1.5.2 [required by dune-private-libs]
- install digestif 1.2.0 [required by tls]
- install domain-name 0.4.1 [required by caqti-lwt]
- install dune 3.17.2 [required by caqti-lwt]
- install dune-configurator 3.17.2 [required by lwt, bigstringaf, mirage-crypto-ec]
- install dune-private-libs 3.17.2 [required by dune-site]
- install dune-site 3.17.2 [required by caqti]
- install duration 0.2.1 [required by mirage-crypto-rng]
- install dyn 3.17.2 [required by dune-private-libs]
- install eqaf 0.10 [required by mirage-crypto-ec, digestif, mirage-crypto-pk]
- install fmt 0.10.0 [required by logs, tls]
- install gmap 0.3.0 [required by x509]
- install ipaddr 5.6.0 [required by caqti-lwt]
- install kdf 1.0.0 [required by tls]
- install logs 0.8.0 [required by caqti-lwt]
- install lru 0.3.1 [required by caqti]
- install lwt 5.9.1 [required by caqti-lwt]
- install lwt-dllist 1.0.1 [required by caqti]
- install macaddr 5.6.0 [required by ipaddr]
- install mirage-crypto 2.0.0 [required by tls]
- install mirage-crypto-ec 2.0.0 [required by tls]
- install mirage-crypto-pk 2.0.0 [required by tls]
- install mirage-crypto-rng 2.0.0 [required by tls]
- install mtime 2.1.0 [required by caqti-lwt]
- install ocaml-syntax-shims 1.0.0 [required by angstrom]
- install ocamlbuild 0.16.1 [required by mtime, logs, ptime]
- install ocamlfind 1.9.8 [required by mtime, logs, ptime]
- install ocplib-endian 1.2 [required by lwt]
- install ohex 0.2.0 [required by tls]
- install ordering 3.17.2 [required by dyn, stdune]
- install pp 2.0.0 [required by dune-private-libs]
- install psq 0.2.1 [required by lru]
- install ptime 1.2.0 [required by caqti]
- install seq base [required by psq]
- install stdune 3.17.2 [required by dune-private-libs]
- install stringext 1.6.0 [required by uri]
- install tls 2.0.0 [required by caqti]
- install topkg 1.0.8 [required by mtime, logs, ptime]
- install uri 4.4.0 [required by caqti]
- install x509 1.0.5 [required by caqti]
- install zarith 1.14 [required by mirage-crypto-pk]
The following system packages will first need to be installed:
gmp-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apk to install them (may need root/sudo access)
2. Display the recommended apk 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 "apk" "add" "gmp-dev"
- (1/2) Installing libgmpxx (6.3.0-r2)
- (2/2) Installing gmp-dev (6.3.0-r2)
- OK: 310 MiB in 103 packages
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1 (cached)
-> retrieved asn1-combinators.0.3.2 (cached)
-> retrieved base64.3.5.1 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved caqti.2.2.2, caqti-lwt.2.2.2 (cached)
-> retrieved conf-gmp.4 (cached)
-> retrieved conf-gmp-powm-sec.3 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> installed conf-gmp.4
-> installed conf-gmp-powm-sec.3
-> retrieved digestif.1.2.0 (cached)
-> retrieved domain-name.0.4.1 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2, dune-private-libs.3.17.2, dune-site.3.17.2, dyn.3.17.2, ordering.3.17.2, stdune.3.17.2 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved ipaddr.5.6.0, macaddr.5.6.0 (cached)
-> retrieved kdf.1.0.0 (cached)
-> retrieved logs.0.8.0 (cached)
-> retrieved lru.0.3.1 (cached)
-> retrieved lwt.5.9.1 (cached)
-> retrieved lwt-dllist.1.0.1 (cached)
-> retrieved mirage-crypto.2.0.0, mirage-crypto-ec.2.0.0, mirage-crypto-pk.2.0.0, mirage-crypto-rng.2.0.0 (cached)
-> retrieved mtime.2.1.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ohex.0.2.0 (cached)
-> retrieved pp.2.0.0 (cached)
-> retrieved psq.0.2.1 (cached)
-> retrieved ptime.1.2.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved stringext.1.6.0 (cached)
-> retrieved tls.2.0.0 (cached)
-> retrieved topkg.1.0.8 (cached)
-> retrieved uri.4.4.0 (cached)
-> retrieved x509.1.0.5 (cached)
-> retrieved zarith.1.14 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.0.8
-> installed fmt.0.10.0
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed dune.3.17.2
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed domain-name.0.4.1
-> installed duration.0.2.1
-> installed eqaf.0.10
-> installed gmap.0.3.0
-> installed lwt-dllist.1.0.1
-> installed macaddr.5.6.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ohex.0.2.0
-> installed pp.2.0.0
-> installed psq.0.2.1
-> installed stringext.1.6.0
-> installed ocplib-endian.1.2
-> installed lru.0.3.1
-> installed ipaddr.5.6.0
-> installed digestif.1.2.0
-> installed ordering.3.17.2
-> installed dune-configurator.3.17.2
-> installed bigstringaf.0.10.0
-> installed dyn.3.17.2
-> installed angstrom.0.16.1
-> installed lwt.5.9.1
-> installed mirage-crypto.2.0.0
-> installed kdf.1.0.0
-> installed uri.4.4.0
-> installed logs.0.8.0
-> installed stdune.3.17.2
-> installed mirage-crypto-rng.2.0.0
-> installed mirage-crypto-pk.2.0.0
-> installed dune-private-libs.3.17.2
-> installed dune-site.3.17.2
-> installed mirage-crypto-ec.2.0.0
-> installed x509.1.0.5
-> installed tls.2.0.0
-> installed caqti.2.2.2
-> installed caqti-lwt.2.2.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-25 15:30.36 ---> saved as "25ac82c5e6f685e3b59509a46586f8d145c6befca3a36fc313515ce7fdb3bf2b"
Job succeeded
2025-03-25 15:30.42: Job succeeded