- github
- ocaml
- opam-repository
- 59daf0
- compilers,4.14,ppxlib.0.36.1,revdeps,reason.3.16.0
(not at the head of any monitored branch or PR)
2025-07-10 14:07.11: New job: test reason.3.16.0 with ppxlib.0.36.1, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28160/head (59daf02f9ccd528dc0bf8b0c2f0fd35b56a81ffb)
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/28160/head" && git reset --hard 59daf02f
git fetch origin master
git merge --no-edit 64169c3d1d6774ef4ce0fcc471269bb09cd215f5
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:143576507f5c7de2dab1a2bc4748de0e63d8dc0c9524de1e8ea0b273ddd270ab
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 ppxlib.0.36.1 0.36.1
RUN opam reinstall ppxlib.0.36.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" != 'ppxlib.0.36.1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall reason.3.16.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" != 'reason.3.16.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 reason.3.16.0) || true
RUN opam reinstall --with-test --verbose reason.3.16.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" != 'reason.3.16.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-07-10 14:07.11: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:143576507f5c7de2dab1a2bc4748de0e63d8dc0c9524de1e8ea0b273ddd270ab-ppxlib.0.36.1-reason.3.16.0-59daf02f9ccd528dc0bf8b0c2f0fd35b56a81ffb"
2025-07-10 14:07.11: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:143576507f5c7de2dab1a2bc4748de0e63d8dc0c9524de1e8ea0b273ddd270ab)
(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 ppxlib.0.36.1 0.36.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib.0.36.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\" != 'ppxlib.0.36.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 reason.3.16.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\" != 'reason.3.16.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 reason.3.16.0) || true"))
(run (shell "opam reinstall --with-test --verbose reason.3.16.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\" != 'reason.3.16.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-07-10 14:07.11: Waiting for resource in pool OCluster
2025-07-10 14:38.52: Waiting for worker…
2025-07-10 14:41.53: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
HEAD is now at 64169c3d1d Merge pull request #28149 from dbuenzli/b0-publish-logs.0.9.0
Updating 64169c3d1d..59daf02f9c
Fast-forward
packages/ppxlib-bench/ppxlib-bench.0.36.1/opam | 44 ++++++++++++++++++
packages/ppxlib-tools/ppxlib-tools.0.36.1/opam | 46 ++++++++++++++++++
packages/ppxlib/ppxlib.0.36.1/opam | 64 ++++++++++++++++++++++++++
3 files changed, 154 insertions(+)
create mode 100644 packages/ppxlib-bench/ppxlib-bench.0.36.1/opam
create mode 100644 packages/ppxlib-tools/ppxlib-tools.0.36.1/opam
create mode 100644 packages/ppxlib/ppxlib.0.36.1/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:143576507f5c7de2dab1a2bc4748de0e63d8dc0c9524de1e8ea0b273ddd270ab)
2025-07-10 14:41.56 ---> using "cbce109115830ce8e290fcb66720c8f15adbd56f7256c117251ab82bc5715165" 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-07-10 14:41.56 ---> using "859f467b8f1e0997453778978cb05314781fcf229a7a46a3e2828bd1d8ec2d14" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-10 14:41.56 ---> using "65b30b61870eb9a225634d1fd8d6da8812c6a382d9e1c357506f34e87afd200b" 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 71
# 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-07-10 14:41.56 ---> using "7b77f5c2c4be7cc4a239111e315b4dceecb1805f8f7c4dfe948fd7a5daead8a6" 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-07-10 14:41.56 ---> using "38b75597606ef9e6851c1727ab267ec48baaf3349adaf4a26ef88742d1f9a941" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-07-10 14:41.57 ---> using "fd51bb13e9d6dbbcea1658d9532051ee87bb428601a2a25181327fdadd2850d0" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-07-10 14:41.57 ---> using "483b3e0640e8b4c17ad011b9c01e5d9bd90947cae9f2ee01c6db47e7a27503db" 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 [272 kB]
- Fetched 375 kB in 1s (412 kB/s)
- Reading package lists...
-
2025-07-10 14:41.57 ---> using "a33f528d791123de076a26507e9532f9146b458f48bb51b0ccfdef67021f5463" from cache
/home/opam: (run (shell "opam pin add -k version -yn ppxlib.0.36.1 0.36.1"))
ppxlib is now pinned to version 0.36.1
2025-07-10 14:41.57 ---> using "562231917d0d34746330e37512e6d30a080da7bcfe50a3518f1f02cd636d1bf2" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib.0.36.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\" != 'ppxlib.0.36.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppxlib.0.36.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 6 packages
- install dune 3.19.1 [required by ppxlib]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.36.1 (pinned)
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.19.1 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.36.1 (https://github.com/ocaml-ppx/ppxlib/releases/download/0.36.1/ppxlib-0.36.1.tbz)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed dune.3.19.1
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppxlib.0.36.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-10 14:41.57 ---> using "71dc881ea28b5baa4cb8587a40549e98af17ec8ebc76801b63b040527fd74bc9" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall reason.3.16.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\" != 'reason.3.16.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
reason.3.16.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 10 packages
- install cppo 1.8.0 [required by reason]
- install dune-build-info 3.19.1 [required by reason]
- install fix 20250428 [required by reason]
- install menhir 20240715 [required by reason]
- install menhirCST 20240715 [required by menhir]
- install menhirLib 20240715 [required by menhir]
- install menhirSdk 20240715 [required by menhir]
- install merlin-extend 0.6.2 [required by reason]
- install ocamlfind 1.9.8 [required by reason]
- install reason 3.16.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0 (cached)
-> retrieved dune-build-info.3.19.1 (cached)
-> installed cppo.1.8.0
-> retrieved fix.20250428 (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715 (cached)
-> installed fix.20250428
-> retrieved merlin-extend.0.6.2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> installed menhirCST.20240715
-> retrieved reason.3.16.0 (cached)
-> installed menhirSdk.20240715
-> installed merlin-extend.0.6.2
-> installed menhirLib.20240715
-> installed dune-build-info.3.19.1
-> installed ocamlfind.1.9.8
-> installed menhir.20240715
-> installed reason.3.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-10 14:42.59 ---> saved as "f0ad510f7f09b40db71ded6f2e2186917e6ec8addf5787e06274e9442dc4ec60"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test reason.3.16.0) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile reason 3.16.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved reason.3.16.0 (https://opam.ocaml.org/cache)
-> removed reason.3.16.0
-> installed reason.3.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-10 14:43.31 ---> saved as "b8ba55663dc2001c38f3cb800b8912792c7aa8d223b2e2cda429a33d95bc5fce"
/home/opam: (run (shell "opam reinstall --with-test --verbose reason.3.16.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\" != 'reason.3.16.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 reason 3.16.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [reason.3.16.0: extract]
-> retrieved reason.3.16.0 (cached)
Processing 2/4: [reason: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "reason" "-j" "71" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/reason.3.16.0)
- (cd _build/default/src/refmt && /usr/bin/bash -e -u -o pipefail -c 'echo let version = \"$(git rev-parse --verify HEAD)\"') > _build/default/src/refmt/git_commit.ml
- fatal: not a git repository (or any parent up to mount point /)
- Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
- (cd _build/default/src/refmt && /usr/bin/bash -e -u -o pipefail -c 'echo let short_version = \"$(git rev-parse --short HEAD)\"') > _build/default/src/refmt/git_commit.ml
- fatal: not a git repository (or any parent up to mount point /)
- Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
-> compiled reason.3.16.0
-> removed reason.3.16.0
-> installed reason.3.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-10 14:43.58 ---> saved as "6c9e08fbaeceddbe0affedd7f62cfd3066523edc8ec1f8c1ef9c652084cf8f54"
Job succeeded
2025-07-10 14:44.05: Job succeeded