- github
- ocaml
- opam-repository
- 1fe86a
- compilers,4.14,ocamlfind.1.9.7,revdeps,cohttp.1.2.0
(not at the head of any monitored branch or PR)
2024-11-13 14:03.31: New job: test cohttp.1.2.0 with ocamlfind.1.9.7, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26864/head (1fe86a030d1aa680aac111c48a41dca97d43900a)
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/26864/head" && git reset --hard 1fe86a03
git fetch origin master
git merge --no-edit d4c6a480805e2a9eafb47afe89128b65244cbdac
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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 ocamlfind.1.9.7 1.9.7
RUN opam reinstall ocamlfind.1.9.7; \
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" != 'ocamlfind.1.9.7' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam option solver=builtin-0install
RUN opam reinstall cohttp.1.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" != 'cohttp.1.2.0' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam option solver=builtin-0install
RUN (opam reinstall --with-test cohttp.1.2.0) || true
RUN opam reinstall --with-test --verbose cohttp.1.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" != 'cohttp.1.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 .
2024-11-13 14:03.31: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3-ocamlfind.1.9.7-cohttp.1.2.0-1fe86a030d1aa680aac111c48a41dca97d43900a"
2024-11-13 14:03.31: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3)
(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 "uname -rs && opam exec -- ocaml -version && opam --version"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMSOLVERTIMEOUT 1000)
(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 ocamlfind.1.9.7 1.9.7"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlfind.1.9.7;\
\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\" != 'ocamlfind.1.9.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (shell "opam option solver=builtin-0install"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall cohttp.1.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\" != 'cohttp.1.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 (shell "opam option solver=builtin-0install"))
(run (network host)
(shell "(opam reinstall --with-test cohttp.1.2.0) || true"))
(run (shell "opam reinstall --with-test --verbose cohttp.1.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\" != 'cohttp.1.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"))
)
2024-11-13 14:03.31: Waiting for resource in pool OCluster
2024-11-13 18:27.40: Waiting for worker…
2024-11-13 18:30.52: Got resource from pool OCluster
Building on x86-bm-c17.sw.ocaml.org
All commits already cached
Updating files: 52% (17304/32662)
Updating files: 53% (17311/32662)
Updating files: 54% (17638/32662)
Updating files: 55% (17965/32662)
Updating files: 56% (18291/32662)
Updating files: 57% (18618/32662)
Updating files: 58% (18944/32662)
Updating files: 59% (19271/32662)
Updating files: 60% (19598/32662)
Updating files: 61% (19924/32662)
Updating files: 62% (20251/32662)
Updating files: 63% (20578/32662)
Updating files: 64% (20904/32662)
Updating files: 65% (21231/32662)
Updating files: 66% (21557/32662)
Updating files: 67% (21884/32662)
Updating files: 68% (22211/32662)
Updating files: 69% (22537/32662)
Updating files: 70% (22864/32662)
Updating files: 71% (23191/32662)
Updating files: 72% (23517/32662)
Updating files: 73% (23844/32662)
Updating files: 74% (24170/32662)
Updating files: 75% (24497/32662)
Updating files: 76% (24824/32662)
Updating files: 77% (25150/32662)
Updating files: 78% (25477/32662)
Updating files: 79% (25803/32662)
Updating files: 80% (26130/32662)
Updating files: 81% (26457/32662)
Updating files: 82% (26783/32662)
Updating files: 83% (27110/32662)
Updating files: 84% (27437/32662)
Updating files: 85% (27763/32662)
Updating files: 86% (28090/32662)
Updating files: 87% (28416/32662)
Updating files: 88% (28743/32662)
Updating files: 89% (29070/32662)
Updating files: 90% (29396/32662)
Updating files: 91% (29723/32662)
Updating files: 92% (30050/32662)
Updating files: 93% (30376/32662)
Updating files: 94% (30703/32662)
Updating files: 95% (31029/32662)
Updating files: 96% (31356/32662)
Updating files: 97% (31683/32662)
Updating files: 98% (32009/32662)
Updating files: 99% (32336/32662)
Updating files: 100% (32662/32662)
Updating files: 100% (32662/32662), done.
HEAD is now at d4c6a48080 Merge pull request #26854 from balat/opam-publish-ocsigen-toolkit.4.1.0
Merge made by the 'ort' strategy.
packages/ocamlfind/ocamlfind.1.9.7/opam | 44 +++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 packages/ocamlfind/ocamlfind.1.9.7/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3' locally
docker.io/ocaml/opam@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3: Pulling from ocaml/opam
7a69ec65e8dc: Pulling fs layer
7a69ec65e8dc: Download complete
7a69ec65e8dc: Pull complete
Digest: sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3
Status: Downloaded newer image for ocaml/opam@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3
2024-11-13 18:30.55 ---> using "7865c6821c42776ca70a19318cc19a6071e65fe0e7c3e659c00e7a03ce2b6d64" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-13 18:30.55 ---> using "ad3e9629360f3a2c8223d5886ac7195207ee1803fcb4aa7b290336801b8943d0" 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 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-13 18:30.55 ---> using "a1480828f57ce587531365e53376a0f63d7958ebe9ac0f519aa1dec70633d5fb" from cache
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-11-13 18:30.55 ---> using "4b810995688cec25d712717079f5c0d0bea9418fcf6146699f0e15656c1f450c" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMSOLVERTIMEOUT 1000)
/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/"))
2024-11-13 18:30.55 ---> using "b03bc4d602c48017fed87683a2f42534210f76d9d4239618ddee445f3c2c744c" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-13 18:30.57 ---> using "8376eea1500819381c6957535148b236d06f96a1c966cf70c1756c5e924d6e08" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-13 18:30.57 ---> using "cdf93fcdf4d21905426b1830e2b9d9392afca75e342c5970167d6fa37b42de23" 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 [204 kB]
- Fetched 307 kB in 0s (1296 kB/s)
- Reading package lists...
2024-11-13 18:30.57 ---> using "d5a42b1adc5254f2ad81c2a8689df64e8f1d546280b55b3d1d01ac94bddf3aeb" from cache
/home/opam: (run (shell "opam pin add -k version -yn ocamlfind.1.9.7 1.9.7"))
ocamlfind is now pinned to version 1.9.7
2024-11-13 18:30.57 ---> using "5bbf101f923e28e6142584c7552c417f6c3c91bd767fefdc02c264c262f8a027" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlfind.1.9.7;\
\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\" != 'ocamlfind.1.9.7' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocamlfind.1.9.7 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
- install ocamlfind 1.9.7 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.7 (cached)
-> installed ocamlfind.1.9.7
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 18:30.57 ---> using "72cc581d8a90b904d6c5e369683fafbe8d811187160b071745aa753de520bc73" from cache
/home/opam: (run (shell "opam option solver=builtin-0install"))
Set to 'builtin-0install' the field solver in global configuration
2024-11-13 18:30.57 ---> using "38932eedab7e9427581ff0ed4b4254b16caccb91e6c228e08c034f683188374e" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall cohttp.1.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\" != 'cohttp.1.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"))
cohttp.1.2.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 23 packages
- install base v0.14.3 [required by ppx_fields_conv, fieldslib, ppx_sexp_conv]
- install base-bytes base [required by base64]
- install base64 2.3.0 [required by cohttp]
- install cohttp 1.2.0
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.16.1 [required by cohttp]
- install dune-configurator 3.16.1 [required by base]
- install fieldslib v0.14.0 [required by cohttp]
- install jsonm 1.0.2 [required by cohttp]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ocamlbuild 0.15.0 [required by jsonm]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_fields_conv v0.14.2 [required by cohttp]
- install ppx_sexp_conv v0.14.3 [required by cohttp]
- install ppxlib 0.25.1 [required by ppx_fields_conv, ppx_sexp_conv]
- install re 1.12.0 [required by cohttp]
- install seq base [required by re]
- install sexplib0 v0.14.0 [required by cohttp]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install stringext 1.6.0 [required by cohttp]
- install topkg 1.0.7 [required by jsonm]
- install uri 2.2.1 [required by cohttp]
- install uutf 1.0.3 [required by jsonm]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.14.3 (cached)
-> installed base-bytes.base
-> retrieved base64.2.3.0 (cached)
-> retrieved cohttp.1.2.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.16.1, dune-configurator.3.16.1 (cached)
-> retrieved fieldslib.v0.14.0 (cached)
-> retrieved jsonm.1.0.2 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_fields_conv.v0.14.2 (cached)
-> retrieved ppx_sexp_conv.v0.14.3 (cached)
-> retrieved ppxlib.0.25.1 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.14.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved uri.2.2.1 (cached)
-> retrieved uutf.1.0.3 (cached)
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed jsonm.1.0.2
-> installed dune.3.16.1
-> installed ppx_derivers.1.2.1
-> installed base64.2.3.0
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.12.0
-> installed sexplib0.v0.14.0
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed dune-configurator.3.16.1
-> installed base.v0.14.3
-> installed fieldslib.v0.14.0
-> installed ppxlib.0.25.1
-> installed ppx_fields_conv.v0.14.2
-> installed ppx_sexp_conv.v0.14.3
-> installed uri.2.2.1
-> installed cohttp.1.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 18:32.24 ---> saved as "17f36447da994410e09fc4873eec401a2cbd12358d7da156222a10fe558fd338"
/home/opam: (run (shell "opam option solver=builtin-0install"))
No modification in global configuration
2024-11-13 18:32.24 ---> saved as "9fd799bf244b5f67d5da455593001f0db550aa94778a49714928257da5e21d3e"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test cohttp.1.2.0) || true"))
The following actions will be performed:
=== recompile 3 packages
- recompile cohttp 1.2.0
- recompile jsonm 1.0.2 [uses uutf]
- recompile uutf 1.0.3 [uses cmdliner]
=== install 5 packages
- install alcotest 1.8.0 [required by cohttp]
- install astring 0.8.5 [required by alcotest]
- install cmdliner 1.3.0 [required by alcotest]
- install fmt 0.9.0 [required by cohttp]
- install ocaml-syntax-shims 1.0.0 [required by alcotest]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alcotest.1.8.0 (https://github.com/mirage/alcotest/releases/download/1.8.0/alcotest-1.8.0.tbz)
-> retrieved astring.0.8.5 (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
-> retrieved cmdliner.1.3.0 (https://erratique.ch/software/cmdliner/releases/cmdliner-1.3.0.tbz)
-> retrieved cohttp.1.2.0 (https://github.com/mirage/ocaml-cohttp/releases/download/v1.2.0/cohttp-v1.2.0.tbz)
-> retrieved fmt.0.9.0 (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
-> retrieved jsonm.1.0.2 (https://erratique.ch/software/jsonm/releases/jsonm-1.0.2.tbz)
-> installed astring.0.8.5
-> retrieved ocaml-syntax-shims.1.0.0 (https://github.com/ocaml-ppx/ocaml-syntax-shims/releases/download/1.0.0/ocaml-syntax-shims-1.0.0.tbz)
-> retrieved uutf.1.0.3 (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
-> installed ocaml-syntax-shims.1.0.0
-> removed cohttp.1.2.0
-> removed jsonm.1.0.2
-> removed uutf.1.0.3
-> installed cmdliner.1.3.0
-> installed fmt.0.9.0
-> installed uutf.1.0.3
-> installed alcotest.1.8.0
-> installed jsonm.1.0.2
-> installed cohttp.1.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 18:32.55 ---> saved as "5b39be31363ab3b9e21a9b84d1b6b2af356abd1693aeb26ddf4ba4d8c9fb437b"
/home/opam: (run (shell "opam reinstall --with-test --verbose cohttp.1.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\" != 'cohttp.1.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 cohttp 1.2.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [cohttp.1.2.0: extract]
-> retrieved cohttp.1.2.0 (cached)
Processing 2/4: [cohttp: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "cohttp" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/cohttp.1.2.0)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I cohttp/src/.cohttp.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/fieldslib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/re/posix -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uri/sexp -intf-suffix .ml -no-alias-deps -open Cohttp__ -o cohttp/src/.cohttp.objs/byte/cohttp__Connection.cmo -c -impl cohttp/src/connection.pp.ml)
- File "cohttp/src/connection.ml", line 29, characters 26-44:
- 29 | let compare (a:t) (b:t) = Pervasives.compare a b
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I cohttp/src/.cohttp.objs/byte -I cohttp/src/.cohttp.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/fieldslib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/re/posix -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uri/sexp -intf-suffix .ml -no-alias-deps -open Cohttp__ -o cohttp/src/.cohttp.objs/native/cohttp__Connection.cmx -c -impl cohttp/src/connection.pp.ml)
- File "cohttp/src/connection.ml", line 29, characters 26-44:
- 29 | let compare (a:t) (b:t) = Pervasives.compare a b
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I cohttp/src/.cohttp.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/fieldslib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/re/posix -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uri/sexp -intf-suffix .ml -no-alias-deps -open Cohttp__ -o cohttp/src/.cohttp.objs/byte/cohttp__Header.cmo -c -impl cohttp/src/header.pp.ml)
- File "cohttp/src/header.ml", line 36, characters 32-50:
- 36 | let compare = StringMap.compare Pervasives.compare
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "cohttp/src/header.ml", line 176, characters 24-34:
- 176 | let (start, stop) = Re.get_ofs subs 1 in
- ^^^^^^^^^^
- Alert deprecated: Re.get_ofs
- Use Group.offset
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I cohttp/src/.cohttp.objs/byte -I cohttp/src/.cohttp.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/base64 -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/fieldslib -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/re -I /home/opam/.opam/4.14/lib/re/posix -I /home/opam/.opam/4.14/lib/seq -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stringext -I /home/opam/.opam/4.14/lib/uri -I /home/opam/.opam/4.14/lib/uri/sexp -intf-suffix .ml -no-alias-deps -open Cohttp__ -o cohttp/src/.cohttp.objs/native/cohttp__Header.cmx -c -impl cohttp/src/header.pp.ml)
- File "cohttp/src/header.ml", line 36, characters 32-50:
- 36 | let compare = StringMap.compare Pervasives.compare
- ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Stdlib.Pervasives
- Use Stdlib instead.
-
- If you need to stay compatible with OCaml < 4.07, you can use the
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "cohttp/src/header.ml", line 176, characters 24-34:
- 176 | let (start, stop) = Re.get_ofs subs 1 in
- ^^^^^^^^^^
- Alert deprecated: Re.get_ofs
- Use Group.offset
Processing 2/4: [cohttp: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "cohttp" "-j" "31" (CWD=/home/opam/.opam/4.14/.opam-switch/build/cohttp.1.2.0)
- (cd _build/default/cohttp/test && ./test_request.exe)
- Testing `test_request'.
- This run has ID `5BJAJTP6'.
-
- [OK] Auth 0 header has auth.
- [OK] Auth 1 URI has user info.
- [OK] Auth 2 from URI - do not override.
- [OK] Auth 3 from URI.
- [OK] Parse URI 0 simple.
- [OK] Parse URI 1 with host.
- [OK] Parse URI 2 with host and port.
- [OK] Parse URI 3 double slash.
- [OK] Parse URI 4 double slash with host.
- [OK] Parse URI 5 triple slash.
- [OK] Parse URI 6 triple slash with host.
- [OK] Parse URI 7 no slash.
- [OK] Parse URI 8 no slash with host.
- [OK] Parse URI 9 empty.
- [OK] Parse URI 10 empty with host.
- [OK] Parse URI 11 path like scheme.
- [OK] Parse URI 12 path like scheme with host.
- [OK] Parse URI 13 path like host:port.
- [OK] Parse URI 14 path like host:port with host.
- [OK] Parse URI 15 with query string.
- [OK] Parse URI 16 with query with host.
- [OK] Parse URI 17 no slash with query string.
- [OK] Parse URI 18 no slash with query with host.
- [OK] Parse URI 19 CONNECT.
- [OK] Parse URI 20 CONNECT with host.
- [OK] Parse URI 21 OPTIONS.
- [OK] Parse URI 22 OPTIONS with host.
- [OK] Parse URI 23 parent traversal.
- [OK] Parse URI 24 parent traversal with host.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/cohttp.1.2.0/_build/default/cohttp/test/_build/_tests/test_request'.
- Test Successful in 0.003s. 29 tests run.
- (cd _build/default/cohttp/test && ./test_accept.exe)
- Testing `test_accept'.
- This run has ID `VU19Q7CU'.
-
- [OK] valid string to media range 0 text/plain.
- [OK] valid string to media range 1 text/*.
- [OK] valid string to media range 2 */*.
- [OK] valid string to media range 3 */*;q=1.
- [OK] valid string to media range 4 */*;q=0.
- [OK] valid string to media range 5 */*;q=1.
- [OK] valid string to media range 6 */*;q=1.0.
- [OK] valid string to media range 7 */*;q=.0.
- [OK] valid string to media range 8 */*;q=0.
- [OK] valid string to media range 9 */*;q=0.1.
- [OK] valid string to media range 10 image/*,text/*.
- [OK] valid string to media range 11 text/plain; q=0.8;...
- [OK] valid string to media range 12 text/*;foo="bar".
- [OK] valid string to media range 13 */*;qu="\"".
- [OK] valid string to media range 14 */*;f=";q=0,text/p...
- [OK] invalid string to media range 0 */*;q=.
- [OK] valid media range to string 0 */*;q=1.
- [OK] valid media range to string 1 */*;q=0.000.
- [OK] valid media range to string 2 */*;q=0.353.
- [OK] valid media range to string 3 */*;q=0.025.
- [OK] valid media range to string 4 */*;q=0.001.
- [OK] invalid media range to string 0
- [OK] invalid media range to string 1
- [OK] valid string to charset 0 utf-8.
- [OK] valid string to charset 1 UTF-8.
- [OK] valid string to charset 2 iso-8859-1.
- [OK] valid string to charset 3 ISO-8859-1; q = 0....
- [OK] valid string to encoding 0 compress, gzip.
- [OK] valid string to encoding 1
- [OK] valid string to encoding 2 *.
- [OK] valid string to encoding 3 compress;q=0.5, gz...
- [OK] valid string to encoding 4 Gzip;q=1.0, identi...
- [OK] valid string to language 0 en.
- [OK] valid string to language 1 en-US.
- [OK] valid string to language 2 en-cockney.
- [OK] valid string to language 3 i-cherokee.
- [OK] valid string to language 4 x-pig-latin.
- [OK] valid string to language 5 da, en-gb;q=0.8, e...
- [OK] valid string to language 6 en-US, *;q=0.9.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/cohttp.1.2.0/_build/default/cohttp/test/_build/_tests/test_accept'.
- Test Successful in 0.003s. 39 tests run.
- (cd _build/default/cohttp/test && ./test_header.exe)
- Testing `test_header'.
- This run has ID `2ZNEQJH5'.
-
- [OK] Link 0 simple.
- [OK] Link 1 multiple rels.
- [OK] Link 2 multiple lines.
- [OK] Link 3 multiheader.
- [OK] Link 4 rel uri.
- [OK] Link 5 anchor.
- [OK] Link 6 rev.
- [OK] Link 7 media.
- [OK] Link 8 media complex.
- [OK] Link 9 title.
- [OK] Link 10 title star.
- [OK] Link 11 type token.
- [OK] Link 12 type quoted.
- [OK] Link 13 extension.
- [OK] Link 14 extension star.
- [OK] Media Type 0 Media Type.
- [OK] Auth 0 Valid Auth.
- [OK] Cookie 0 Valid Set-Cookie.
- [OK] Cookie 1 Valid Cookie.
- [OK] Cookie 2 Cookie with =.
- [OK] Content Range 0 none.
- [OK] Content Range 1 content-length.
- [OK] Content Range 2 content-range.
- [OK] Cache Control 0 concat.
- [OK] Header 0 get list valued.
- [OK] Header 1 trim whitespace.
- [OK] Header 2 large header.
- [OK] Header 3 many headers.
-
- Full test results in `~/.opam/4.14/.opam-switch/build/cohttp.1.2.0/_build/default/cohttp/test/_build/_tests/test_header'.
- Test Successful in 9.135s. 28 tests run.
-> compiled cohttp.1.2.0
-> removed cohttp.1.2.0
-> installed cohttp.1.2.0
Done.
# To update the current shell environment, run: eval $(opam env)
2024-11-13 18:33.20 ---> saved as "c521385886fbabf2ac2d7668027dac44cb4c9b10eb04194ab3201dc794f7ac53"
Job succeeded
2024-11-13 18:33.32: Job succeeded