- github
- ocaml
- opam-repository
- 1dd343
- compilers,5.3,ppx_sexp_conv.v0.17.1,revdeps,jwto.0.2.0
(not at the head of any monitored branch or PR)
2025-06-10 20:50.18: New job: test jwto.0.2.0 with ppx_sexp_conv.v0.17.1, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27958/head (1dd34381f83a9902bfe6fd2d4f81a09c9e42b450)
on debian-12-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/27958/head" && git reset --hard 1dd34381
git fetch origin master
git merge --no-edit 6db96b377f993aa0c7ffb5c06737929e583f3305
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e
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 ppx_sexp_conv.v0.17.1 v0.17.1
RUN opam reinstall ppx_sexp_conv.v0.17.1; \
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" != 'ppx_sexp_conv.v0.17.1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall jwto.0.2.0; \
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" != 'jwto.0.2.0' && 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 jwto.0.2.0) || true
RUN opam reinstall --with-test --verbose jwto.0.2.0; \
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" != 'jwto.0.2.0' && 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-06-10 20:50.18: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e-ppx_sexp_conv.v0.17.1-jwto.0.2.0-1dd34381f83a9902bfe6fd2d4f81a09c9e42b450"
2025-06-10 20:50.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e)
(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 ppx_sexp_conv.v0.17.1 v0.17.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_sexp_conv.v0.17.1;\
\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\" != 'ppx_sexp_conv.v0.17.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall jwto.0.2.0;\
\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\" != 'jwto.0.2.0' && 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 jwto.0.2.0) || true"))
(run (shell "opam reinstall --with-test --verbose jwto.0.2.0;\
\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\" != 'jwto.0.2.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-06-10 20:50.18: Waiting for resource in pool OCluster
2025-06-11 00:33.35: Waiting for worker…
2025-06-11 00:35.44: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files: 97% (22749/23235)
Updating files: 98% (22771/23235)
Updating files: 99% (23003/23235)
Updating files: 100% (23235/23235)
Updating files: 100% (23235/23235), done.
HEAD is now at 6db96b377f Merge pull request #28003 from punchagan/opam-publish-opam-ci-check-lint.0.1
Merge made by the 'ort' strategy.
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
warning: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log
Automatic cleanup will not be performed until the file is removed.
warning: There are too many unreachable loose objects; run 'git prune' to remove them.
.../base_quickcheck/base_quickcheck.v0.17.1/opam | 38 ++++++++++++++++++++++
packages/hardcaml/hardcaml.v0.17.0/opam | 2 +-
packages/ppx_bench/ppx_bench.v0.17.1/opam | 30 +++++++++++++++++
packages/ppx_bin_prot/ppx_bin_prot.v0.17.1/opam | 33 +++++++++++++++++++
.../ppx_derive_at_runtime.v0.17.0/opam | 2 +-
packages/ppx_diff/ppx_diff.v0.17.1/opam | 35 ++++++++++++++++++++
packages/ppx_expect/ppx_expect.v0.17.3/opam | 37 +++++++++++++++++++++
packages/ppx_globalize/ppx_globalize.v0.17.0/opam | 2 +-
packages/ppx_globalize/ppx_globalize.v0.17.2/opam | 31 ++++++++++++++++++
.../ppx_inline_test/ppx_inline_test.v0.17.1/opam | 31 ++++++++++++++++++
.../ppx_jsonaf_conv/ppx_jsonaf_conv.v0.17.0/opam | 2 +-
packages/ppx_let/ppx_let.v0.17.1/opam | 31 ++++++++++++++++++
packages/ppx_optcomp/ppx_optcomp.v0.17.1/opam | 31 ++++++++++++++++++
.../ppx_quick_test/ppx_quick_test.v0.17.0/opam | 2 +-
packages/ppx_sexp_conv/ppx_sexp_conv.v0.17.1/opam | 32 ++++++++++++++++++
packages/ppx_stable/ppx_stable.v0.17.1/opam | 31 ++++++++++++++++++
packages/ppx_tydi/ppx_tydi.v0.17.1/opam | 30 +++++++++++++++++
.../ppx_typed_fields/ppx_typed_fields.v0.17.0/opam | 2 +-
.../ppx_typerep_conv/ppx_typerep_conv.v0.17.1/opam | 31 ++++++++++++++++++
.../ppx_variants_conv.v0.17.1/opam | 31 ++++++++++++++++++
packages/ppxlib_jane/ppxlib_jane.v0.17.3/opam | 29 +++++++++++++++++
packages/streamable/streamable.v0.17.0/opam | 2 +-
22 files changed, 488 insertions(+), 7 deletions(-)
create mode 100644 packages/base_quickcheck/base_quickcheck.v0.17.1/opam
create mode 100644 packages/ppx_bench/ppx_bench.v0.17.1/opam
create mode 100644 packages/ppx_bin_prot/ppx_bin_prot.v0.17.1/opam
create mode 100644 packages/ppx_diff/ppx_diff.v0.17.1/opam
create mode 100644 packages/ppx_expect/ppx_expect.v0.17.3/opam
create mode 100644 packages/ppx_globalize/ppx_globalize.v0.17.2/opam
create mode 100644 packages/ppx_inline_test/ppx_inline_test.v0.17.1/opam
create mode 100644 packages/ppx_let/ppx_let.v0.17.1/opam
create mode 100644 packages/ppx_optcomp/ppx_optcomp.v0.17.1/opam
create mode 100644 packages/ppx_sexp_conv/ppx_sexp_conv.v0.17.1/opam
create mode 100644 packages/ppx_stable/ppx_stable.v0.17.1/opam
create mode 100644 packages/ppx_tydi/ppx_tydi.v0.17.1/opam
create mode 100644 packages/ppx_typerep_conv/ppx_typerep_conv.v0.17.1/opam
create mode 100644 packages/ppx_variants_conv/ppx_variants_conv.v0.17.1/opam
create mode 100644 packages/ppxlib_jane/ppxlib_jane.v0.17.3/opam
(from ocaml/opam:debian-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e' locally
docker.io/ocaml/opam@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e: Pulling from ocaml/opam
2f15651b245f: Already exists
7af69155b711: Pulling fs layer
950d7c007df1: Pulling fs layer
a1da54f6a123: Pulling fs layer
1a6aafee6f7b: Pulling fs layer
5721507f5594: Pulling fs layer
0d768aeb1818: Pulling fs layer
02bc3cf8b29c: Pulling fs layer
02bc3cf8b29c: Waiting
1a6aafee6f7b: Waiting
0d768aeb1818: Waiting
950d7c007df1: Verifying Checksum
950d7c007df1: Download complete
7af69155b711: Verifying Checksum
7af69155b711: Download complete
7af69155b711: Pull complete
950d7c007df1: Pull complete
a1da54f6a123: Verifying Checksum
a1da54f6a123: Download complete
a1da54f6a123: Pull complete
5721507f5594: Verifying Checksum
5721507f5594: Download complete
0d768aeb1818: Verifying Checksum
0d768aeb1818: Download complete
02bc3cf8b29c: Download complete
1a6aafee6f7b: Verifying Checksum
1a6aafee6f7b: Download complete
1a6aafee6f7b: Pull complete
5721507f5594: Pull complete
0d768aeb1818: Pull complete
02bc3cf8b29c: Pull complete
Digest: sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e
Status: Downloaded newer image for ocaml/opam@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e
2025-06-11 00:38.34 ---> using "96697d8e79983291d560edbf731c893ea129e422e8dda14986eae24c3f7015ce" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-11 00:38.34 ---> using "e3a18b487bc80c5d46fdcff41f782a076b8a4d608450f2a3ff6f2a93409eb9a3" from cache
/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 71 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=71 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-11 00:38.34 ---> using "d9c94bbceca06b3e6032ad8e53e6b3d8813c03bb73ba5208d29a1d43c75f8516" from cache
/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=debian os-version=12
# 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 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-06-11 00:38.34 ---> using "8603a9eb54f1b33a3bf7930c43df09e3d144466f3cd5c263952d7944e32b7159" from cache
/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-06-11 00:38.34 ---> using "1b895692452f1db712d5d5de9cdfc09bdc7a6afc7fbdcf2accf449998b966ec7" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-11 00:38.36 ---> using "9d104a0f23963a7f2d4e480209b55df84939c241f489926c1d2a8c3695b99264" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-11 00:38.36 ---> using "2bd2254740a544743596d98c64cf6717ede651f1a71cab21305a04f98cff2a64" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/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 [266 kB]
- Fetched 369 kB in 0s (1001 kB/s)
- Reading package lists...
2025-06-11 00:38.36 ---> using "e28bc7b3d45735b293a949ef52a82bedbd3e1dee4390400cdf12c2c55aea687d" from cache
/home/opam: (run (shell "opam pin add -k version -yn ppx_sexp_conv.v0.17.1 v0.17.1"))
ppx_sexp_conv is now pinned to version v0.17.1
2025-06-11 00:38.36 ---> using "06350fb62f8b5d8937e7737b6fa8f96ffca375e3623d33a2b15039e444f5b70d" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppx_sexp_conv.v0.17.1;\
\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\" != 'ppx_sexp_conv.v0.17.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppx_sexp_conv.v0.17.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 12 packages
- install base v0.17.2 [required by ppx_sexp_conv]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.19.0 [required by ppx_sexp_conv]
- install dune-configurator 3.19.0 [required by base]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_sexp_conv v0.17.1 (pinned)
- install ppxlib 0.36.0 [required by ppx_sexp_conv]
- install ppxlib_jane v0.17.3 [required by ppx_sexp_conv]
- install sexplib0 v0.17.0 [required by ppx_sexp_conv]
- install stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.2 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> retrieved ppxlib.0.36.0 (cached)
-> retrieved ppxlib_jane.v0.17.3 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.19.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.19.0
-> installed base.v0.17.2
-> installed ppxlib.0.36.0
-> installed ppxlib_jane.v0.17.3
-> installed ppx_sexp_conv.v0.17.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-11 00:38.36 ---> using "7d94bdd0862037478f33f97fe4adf69a71a741ecef4ce9f04fc95c931bdd31ec" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall jwto.0.2.0;\
\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\" != 'jwto.0.2.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
jwto.0.2.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 17 packages
- install base64 3.5.1 [required by jwto]
- install conf-gmp 5 [required by conf-gmp-powm-sec, zarith]
- install conf-gmp-powm-sec 4 [required by cryptokit]
- install conf-pkg-config 4 [required by conf-zlib, zarith]
- install conf-zlib 1 [required by cryptokit]
- install cppo 1.8.0 [required by ppx_deriving]
- install cryptokit 1.20 [required by jwto]
- install fmt 0.10.0 [required by jwto]
- install jwto 0.2.0
- install ocamlbuild 0.16.1 [required by fmt]
- install ocamlfind 1.9.8 [required by fmt, ppx_deriving]
- install ppx_deriving 6.1.0 [required by jwto]
- install re 1.12.0 [required by jwto]
- install seq base [required by re]
- install topkg 1.0.8 [required by fmt]
- install yojson 3.0.0 [required by jwto]
- install zarith 1.14 [required by cryptokit]
The following system packages will first need to be installed:
libgmp-dev pkg-config zlib1g-dev
<><> 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" "libgmp-dev" "pkg-config" "zlib1g-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl: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 ... 18776 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../6-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base64.3.5.1 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved cryptokit.1.20 (cached)
-> installed conf-gmp.5
-> retrieved fmt.0.10.0 (cached)
-> retrieved jwto.0.2.0 (cached)
-> installed conf-pkg-config.4
-> retrieved ocamlbuild.0.16.1 (cached)
-> installed conf-gmp-powm-sec.4
-> retrieved ocamlfind.1.9.8 (cached)
-> installed conf-zlib.1
-> retrieved ppx_deriving.6.1.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved topkg.1.0.8 (cached)
-> retrieved yojson.3.0.0 (cached)
-> retrieved zarith.1.14 (cached)
-> installed base64.3.5.1
-> installed cppo.1.8.0
-> installed re.1.12.0
-> installed yojson.3.0.0
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed zarith.1.14
-> installed ppx_deriving.6.1.0
-> installed cryptokit.1.20
-> installed topkg.1.0.8
-> installed fmt.0.10.0
-> installed jwto.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-11 00:39.07 ---> saved as "0531af15955bc3910d7f8ccbc23353a2273d11d74d7fb583eef97a392c6a5b3c"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test jwto.0.2.0) || true"))
The following actions will be performed:
=== recompile 2 packages
- recompile fmt 0.10.0 [uses cmdliner]
- recompile jwto 0.2.0
=== install 5 packages
- install alcotest 1.9.0 [required by jwto]
- install astring 0.8.5 [required by alcotest]
- install cmdliner 1.3.0 [required by alcotest]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
- install uutf 1.0.4 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.9.0 (https://opam.ocaml.org/cache)
-> retrieved astring.0.8.5 (https://opam.ocaml.org/cache)
-> retrieved cmdliner.1.3.0 (https://opam.ocaml.org/cache)
-> retrieved fmt.0.10.0 (https://opam.ocaml.org/cache)
-> retrieved jwto.0.2.0 (https://opam.ocaml.org/cache)
-> retrieved ocaml-syntax-shims.1.0.0 (https://opam.ocaml.org/cache)
-> retrieved uutf.1.0.4 (https://opam.ocaml.org/cache)
-> installed astring.0.8.5
-> installed ocaml-syntax-shims.1.0.0
-> removed jwto.0.2.0
-> removed fmt.0.10.0
-> installed cmdliner.1.3.0
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed alcotest.1.9.0
-> installed jwto.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-11 00:39.22 ---> saved as "dce55c7230d3b6a17cb01cb7e29171944d5c5d1e735617c1495c0cb748639194"
/home/opam: (run (shell "opam reinstall --with-test --verbose jwto.0.2.0;\
\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\" != 'jwto.0.2.0' && 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
- recompile jwto 0.2.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [jwto.0.2.0: extract]
-> retrieved jwto.0.2.0 (cached)
Processing 2/4: [jwto: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "jwto" "-j" "255" (CWD=/home/opam/.opam/5.3/.opam-switch/build/jwto.0.2.0)
Processing 2/4: [jwto: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "jwto" "-j" "255" (CWD=/home/opam/.opam/5.3/.opam-switch/build/jwto.0.2.0)
- (cd _build/default/lib-test && ./test_jwto.exe)
- Testing `JWT'.
- This run has ID `3W12CCH1'.
-
- [OK] Encode header 0 Encodes the header.
- [OK] Encode payload 0 Empty payload.
- [OK] Encode payload 1 With payload.
- [OK] Encode JWT 0 It encodes HS256.
- [OK] Encode JWT 1 It encodes HS512.
- [OK] Decode token 0 It decodes HS256.
- [OK] Decode token 1 It can fail to decode.
- [OK] Decode token 2 It decodes HS512.
- [OK] Decode token 3 It can fail to decode.
- [OK] Validate JWT 0 HS256 true when valid.
- [OK] Validate JWT 1 HS256 false when invalid.
- [OK] Validate JWT 2 HS512 true when valid.
- [OK] Validate JWT 3 HS512 false when invalid.
- [OK] Decode and verify 0 HS256 decode when valid.
- [OK] Decode and verify 1 HS256 fails when invalid.
- [OK] Decode and verify 2 HS512 decode when valid.
- [OK] Decode and verify 3 HS512 fails when invalid.
-
- Full test results in `~/.opam/5.3/.opam-switch/build/jwto.0.2.0/_build/default/lib-test/_build/_tests/JWT'.
- Test Successful in 0.001s. 17 tests run.
-> compiled jwto.0.2.0
-> removed jwto.0.2.0
-> installed jwto.0.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-11 00:39.29 ---> saved as "da44a613a3ba143597de0e206aaa464fb10ebe394780d8e129823cb3a44552d9"
Job succeeded
2025-06-11 00:39.54: Job succeeded