- github
- ocaml
- opam-repository
- 567635
- distributions,alpine-3.21-ocaml-5.3,caqti-eio.2.1.2
(not at the head of any monitored branch or PR)
2025-03-25 15:01.27: New job: build caqti-eio.2.1.2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27655/head (567635cc1911b41a3acedae0e4192d0ce0027f4c)
on alpine-3.21-ocaml-5.3/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-5.3@sha256:68e1582e2341bb27a6efd0b73acedfc6a99b3f97a734ad87019c3e015db9cc8d
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-eio.2.1.2 2.1.2
RUN opam reinstall caqti-eio.2.1.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-eio.2.1.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-5.3@sha256:68e1582e2341bb27a6efd0b73acedfc6a99b3f97a734ad87019c3e015db9cc8d-caqti-eio.2.1.2-567635cc1911b41a3acedae0e4192d0ce0027f4c"
2025-03-25 15:01.27: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:68e1582e2341bb27a6efd0b73acedfc6a99b3f97a734ad87019c3e015db9cc8d)
(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-eio.2.1.2 2.1.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall caqti-eio.2.1.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-eio.2.1.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:12.13: Waiting for worker…
2025-03-25 15:16.24: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files: 99% (22555/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-5.3@sha256:68e1582e2341bb27a6efd0b73acedfc6a99b3f97a734ad87019c3e015db9cc8d)
2025-03-25 15:16.40 ---> saved as "180588459b9dde4e9d3386fa5b9b22fffdfcc3bb837eadc2bc0529419a50163d"
/: (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:16.40 ---> saved as "12db570e50534748cba3de334c94068b94037a02691e48c10701b98843507071"
/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:18.00 ---> saved as "c79e3b6ac7e5ec225f906cedc37002a8770ec4ab49f27a63c3d9c1abeffee491"
/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 71
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-03-25 15:18.02 ---> saved as "2e0174f270d1d62e74b45828db23f5906428c4e65b12cf793103507f6d146bba"
/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:18.08 ---> saved as "eddffb616a8d2edf904e088a24d52398664bb3a9d3bbfee5a4c529daad61a55f"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-25 15:18.23 ---> saved as "38c05943d74b3acb7a6694e930d99b6ad169d7ae6dad80ed11dbb98cf70c363d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-25 15:19.09 ---> saved as "b476f7863e431bd054c243c28ce31e9e7741e1e4b26069faf4e52f6e655d8a54"
/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:20.06 ---> saved as "1330c85aadb410d7253287631ee7cb7a82c7377072c8bd27b557772fc078be9c"
/home/opam: (run (shell "opam pin add -k version -yn caqti-eio.2.1.2 2.1.2"))
caqti-eio is now pinned to version 2.1.2
2025-03-25 15:20.07 ---> saved as "9deeff37ba9254d7baeb2248289529a7d29306aec0d5c3c5dae82354b89ea9b1"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall caqti-eio.2.1.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-eio.2.1.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-eio.2.1.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 54 packages
- install angstrom 0.16.1 [required by caqti]
- install asn1-combinators 0.3.2 [required by x509]
- install base64 3.5.1 [required by x509]
- install bigstringaf 0.10.0 [required by caqti, eio]
- install caqti 2.2.2 [required by caqti-eio]
- install caqti-eio 2.1.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 csexp 1.5.2 [required by dune-private-libs]
- install cstruct 6.2.0 [required by eio]
- install digestif 1.2.0 [required by tls]
- install domain-local-await 1.0.1 [required by eio]
- install domain-name 0.4.1 [required by caqti]
- install dune 3.17.2 [required by caqti-eio]
- install dune-configurator 3.17.2 [required by 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 eio 1.2 [required by caqti-eio]
- install eqaf 0.10 [required by mirage-crypto-ec, digestif, mirage-crypto-pk]
- install fmt 0.10.0 [required by eio]
- install gmap 0.3.0 [required by x509]
- install hmap 0.8.1 [required by eio]
- install ipaddr 5.6.0 [required by caqti]
- install kdf 1.0.0 [required by tls]
- install logs 0.8.0 [required by caqti-eio]
- install lru 0.3.1 [required by caqti]
- install lwt-dllist 1.0.1 [required by caqti, eio]
- 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, eio]
- install ocaml-syntax-shims 1.0.0 [required by angstrom]
- install ocamlbuild 0.16.1 [required by ptime, logs, mtime, hmap]
- install ocamlfind 1.9.8 [required by ptime, logs, mtime, hmap]
- install ohex 0.2.0 [required by tls]
- install optint 0.3.0 [required by eio]
- 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 eio]
- 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 thread-table 1.0.0 [required by domain-local-await]
- install tls 2.0.0 [required by caqti]
- install topkg 1.0.8 [required by ptime, logs, mtime, hmap]
- 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 104 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 (cached)
-> retrieved caqti-eio.2.1.2 (cached)
-> retrieved conf-gmp.4 (cached)
-> retrieved conf-gmp-powm-sec.3 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> retrieved cstruct.6.2.0 (cached)
-> installed conf-gmp.4
-> installed conf-gmp-powm-sec.3
-> retrieved digestif.1.2.0 (cached)
-> retrieved domain-local-await.1.0.1 (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 eio.1.2 (cached)
-> retrieved eqaf.0.10 (cached)
-> retrieved fmt.0.10.0 (cached)
-> retrieved gmap.0.3.0 (cached)
-> retrieved hmap.0.8.1 (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-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 ohex.0.2.0 (cached)
-> retrieved optint.0.3.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 thread-table.1.0.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 ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed topkg.1.0.8
-> installed hmap.0.8.1
-> installed fmt.0.10.0
-> installed mtime.2.1.0
-> installed ptime.1.2.0
-> installed logs.0.8.0
-> installed dune.3.17.2
-> installed asn1-combinators.0.3.2
-> installed base64.3.5.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> 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 optint.0.3.0
-> installed pp.2.0.0
-> installed psq.0.2.1
-> installed stringext.1.6.0
-> installed thread-table.1.0.0
-> installed lru.0.3.1
-> installed ipaddr.5.6.0
-> installed domain-local-await.1.0.1
-> installed ordering.3.17.2
-> installed digestif.1.2.0
-> installed dune-configurator.3.17.2
-> installed bigstringaf.0.10.0
-> installed dyn.3.17.2
-> installed angstrom.0.16.1
-> installed eio.1.2
-> installed mirage-crypto.2.0.0
-> installed kdf.1.0.0
-> installed mirage-crypto-rng.2.0.0
-> installed mirage-crypto-pk.2.0.0
-> installed uri.4.4.0
-> installed stdune.3.17.2
-> installed dune-private-libs.3.17.2
-> installed mirage-crypto-ec.2.0.0
-> installed dune-site.3.17.2
-> installed x509.1.0.5
-> installed tls.2.0.0
-> installed caqti.2.2.2
-> installed caqti-eio.2.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-03-25 15:21.57 ---> saved as "7795a07dea653712cc7c7f4383c1ccdfb0c69395620ff8fa15e87d5bcf77ecb7"
Job succeeded
2025-03-25 15:22.04: Job succeeded