Organisationsmirageocaml-cohttpf5ca1b ()(lint-fmt)

(lint-fmt)

Link Copied
Code Copied

Logs

2025-12-14 10:13.04: New job: test mirage/ocaml-cohttp https://github.com/mirage/ocaml-cohttp.git#refs/pull/1130/head (f5ca1be1388e164d88bf5cf3240c20519bab7cd1) (linux-x86_64:(lint-fmt))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44
ocamlformat version: version 0.27.0 (from opam)


To reproduce locally:


git clone --recursive "https://github.com/mirage/ocaml-cohttp.git" && cd "ocaml-cohttp" && git fetch origin "refs/pull/1130/head" && git reset --hard f5ca1be1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44
USER 1000:1000
RUN cd ~/opam-repository && (git cat-file -e 991c7a1514e7da747afe448ae9a046af3bc2497e || git fetch origin master) && git reset -q --hard 991c7a1514e7da747afe448ae9a046af3bc2497e && git log --no-decorate -n1 --oneline && opam update -u
RUN opam depext -i dune
WORKDIR /src
RUN opam depext -i ocamlformat=0.27.0
COPY --chown=1000:1000 . /src/
RUN opam exec -- dune build @fmt --ignore-promoted-rules || (echo "dune build @fmt failed"; exit 2)


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-12-14 10:13.04: Using cache hint "mirage/ocaml-cohttp-ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44-debian-13-4.08_opam-2.4-ocamlformat-991c7a1514e7da747afe448ae9a046af3bc2497e"
2025-12-14 10:13.04: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44)
(user (uid 1000) (gid 1000))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 991c7a1514e7da747afe448ae9a046af3bc2497e || git fetch origin master) && git reset -q --hard 991c7a1514e7da747afe448ae9a046af3bc2497e && git log --no-decorate -n1 --oneline && opam update -u"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext -i dune"))
(workdir /src)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext -i ocamlformat=0.27.0"))
(copy (src .) (dst /src/))
(run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
)


2025-12-14 10:13.04: Waiting for resource in pool OCluster
2025-12-14 10:22.00: Waiting for worker…
2025-12-14 10:23.35: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at f5ca1be1 Use connection cache in client


(from ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44' locally
docker.io/ocaml/opam@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44: Pulling from ocaml/opam
2981f7e8980b: Pulling fs layer
9c63e1c4ba84: Pulling fs layer
02578b9c9f1b: Pulling fs layer
3801cb7ba5e6: Pulling fs layer
1c4cdedd39f1: Pulling fs layer
40f6006c5f5a: Pulling fs layer
c451a17216ec: Pulling fs layer
e4104b8f72ee: Pulling fs layer
7c7dbc5e7919: Pulling fs layer
1c4cdedd39f1: Waiting
aa82be714e7c: Pulling fs layer
40f6006c5f5a: Waiting
922520f12384: Pulling fs layer
c451a17216ec: Waiting
9bfea042cef8: Pulling fs layer
e4104b8f72ee: Waiting
1244979f7c21: Pulling fs layer
7583a0e34f94: Pulling fs layer
7c7dbc5e7919: Waiting
aa82be714e7c: Waiting
14bef3f2665a: Pulling fs layer
9bfea042cef8: Waiting
3a4b42ce6cb5: Pulling fs layer
922520f12384: Waiting
3801cb7ba5e6: Waiting
b0a08a900877: Pulling fs layer
7583a0e34f94: Waiting
1244979f7c21: Waiting
14bef3f2665a: Waiting
16ac87e68d60: Pulling fs layer
3a4b42ce6cb5: Waiting
74ac6e8c9b82: Pulling fs layer
b41290a57dc5: Pulling fs layer
592e5bcb7159: Pulling fs layer
16ac87e68d60: Waiting
4f4fb700ef54: Pulling fs layer
b41290a57dc5: Waiting
1db0705661a3: Pulling fs layer
592e5bcb7159: Waiting
76bb8e35b9cc: Pulling fs layer
4f4fb700ef54: Waiting
1db0705661a3: Waiting
3bc9d98c3b49: Pulling fs layer
7096ef42e6c0: Pulling fs layer
3bc9d98c3b49: Waiting
cd0e70de8125: Pulling fs layer
7096ef42e6c0: Waiting
23ffab57f98e: Pulling fs layer
cd0e70de8125: Waiting
b974353d8023: Pulling fs layer
c74fba566723: Pulling fs layer
5ad399846f45: Pulling fs layer
c74fba566723: Waiting
b974353d8023: Waiting
3e7203fa3980: Pulling fs layer
0b8915d2a92b: Pulling fs layer
e68c7a56c438: Pulling fs layer
3e7203fa3980: Waiting
9024d680a167: Pulling fs layer
3c7c73421b6e: Pulling fs layer
7134fa9b4278: Pulling fs layer
9d94fb523099: Pulling fs layer
20d06dbdae7e: Pulling fs layer
3c7c73421b6e: Waiting
7134fa9b4278: Waiting
b9a45e537661: Pulling fs layer
20d06dbdae7e: Waiting
d013a1d2f205: Pulling fs layer
b9e11c34eba5: Pulling fs layer
b9a45e537661: Waiting
e0af6a95398b: Pulling fs layer
d013a1d2f205: Waiting
b559598791bf: Pulling fs layer
e0af6a95398b: Waiting
02578b9c9f1b: Download complete
9c63e1c4ba84: Download complete
1c4cdedd39f1: Download complete
3801cb7ba5e6: Verifying Checksum
3801cb7ba5e6: Download complete
2981f7e8980b: Download complete
c451a17216ec: Verifying Checksum
c451a17216ec: Download complete
e4104b8f72ee: Verifying Checksum
e4104b8f72ee: Download complete
7c7dbc5e7919: Verifying Checksum
7c7dbc5e7919: Download complete
922520f12384: Download complete
9bfea042cef8: Download complete
aa82be714e7c: Verifying Checksum
aa82be714e7c: Download complete
7583a0e34f94: Verifying Checksum
7583a0e34f94: Download complete
14bef3f2665a: Verifying Checksum
14bef3f2665a: Download complete
1244979f7c21: Verifying Checksum
1244979f7c21: Download complete
3a4b42ce6cb5: Verifying Checksum
3a4b42ce6cb5: Download complete
b0a08a900877: Verifying Checksum
b0a08a900877: Download complete
40f6006c5f5a: Verifying Checksum
40f6006c5f5a: Download complete
16ac87e68d60: Verifying Checksum
16ac87e68d60: Download complete
2981f7e8980b: Pull complete
74ac6e8c9b82: Verifying Checksum
74ac6e8c9b82: Download complete
9c63e1c4ba84: Pull complete
02578b9c9f1b: Pull complete
b41290a57dc5: Verifying Checksum
b41290a57dc5: Download complete
592e5bcb7159: Verifying Checksum
592e5bcb7159: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
1db0705661a3: Verifying Checksum
1db0705661a3: Download complete
76bb8e35b9cc: Verifying Checksum
76bb8e35b9cc: Download complete
3bc9d98c3b49: Download complete
7096ef42e6c0: Download complete
cd0e70de8125: Verifying Checksum
cd0e70de8125: Download complete
23ffab57f98e: Verifying Checksum
23ffab57f98e: Download complete
b974353d8023: Verifying Checksum
b974353d8023: Download complete
c74fba566723: Download complete
3801cb7ba5e6: Pull complete
5ad399846f45: Download complete
1c4cdedd39f1: Pull complete
3e7203fa3980: Download complete
0b8915d2a92b: Download complete
e68c7a56c438: Verifying Checksum
e68c7a56c438: Download complete
3c7c73421b6e: Verifying Checksum
3c7c73421b6e: Download complete
9d94fb523099: Verifying Checksum
9d94fb523099: Download complete
20d06dbdae7e: Verifying Checksum
20d06dbdae7e: Download complete
b9a45e537661: Download complete
9024d680a167: Verifying Checksum
9024d680a167: Download complete
b9e11c34eba5: Verifying Checksum
b9e11c34eba5: Download complete
7134fa9b4278: Verifying Checksum
7134fa9b4278: Download complete
e0af6a95398b: Verifying Checksum
e0af6a95398b: Download complete
d013a1d2f205: Verifying Checksum
d013a1d2f205: Download complete
b559598791bf: Download complete
40f6006c5f5a: Pull complete
c451a17216ec: Pull complete
e4104b8f72ee: Pull complete
7c7dbc5e7919: Pull complete
aa82be714e7c: Pull complete
922520f12384: Pull complete
9bfea042cef8: Pull complete
1244979f7c21: Pull complete
7583a0e34f94: Pull complete
14bef3f2665a: Pull complete
3a4b42ce6cb5: Pull complete
b0a08a900877: Pull complete
16ac87e68d60: Pull complete
74ac6e8c9b82: Pull complete
b41290a57dc5: Pull complete
592e5bcb7159: Pull complete
4f4fb700ef54: Pull complete
1db0705661a3: Pull complete
76bb8e35b9cc: Pull complete
3bc9d98c3b49: Pull complete
7096ef42e6c0: Pull complete
cd0e70de8125: Pull complete
23ffab57f98e: Pull complete
b974353d8023: Pull complete
c74fba566723: Pull complete
5ad399846f45: Pull complete
3e7203fa3980: Pull complete
0b8915d2a92b: Pull complete
e68c7a56c438: Pull complete
9024d680a167: Pull complete
3c7c73421b6e: Pull complete
7134fa9b4278: Pull complete
9d94fb523099: Pull complete
20d06dbdae7e: Pull complete
b9a45e537661: Pull complete
d013a1d2f205: Pull complete
b9e11c34eba5: Pull complete
e0af6a95398b: Pull complete
b559598791bf: Pull complete
Digest: sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44
Status: Downloaded newer image for ocaml/opam@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44
2025-12-14 10:23.37 ---> using "c557567380599a9d74e9cba757661af503505628fe0a86c2e1639761275a17b1" from cache


/: (user (uid 1000) (gid 1000))


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 991c7a1514e7da747afe448ae9a046af3bc2497e || git fetch origin master) && git reset -q --hard 991c7a1514e7da747afe448ae9a046af3bc2497e && git log --no-decorate -n1 --oneline && opam update -u"))
991c7a1514 Merge pull request #28718 from ocaml/mseri-patch-1


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# Run eval $(opam env) to update the current shell environment
2025-12-14 10:23.37 ---> using "48334a0274a4cda6e745afa064f35b53a7edab2808d8c06488698439abe9b851" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext -i dune"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
# Now letting opam install the packages
The following actions will be performed:
- install dune 3.20.2


<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.20.2] found in cache


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.20.2
Done.
# Run eval $(opam env) to update the current shell environment
2025-12-14 10:23.37 ---> using "fcdaf03ddf3ca48837f128e47a2e53ac4a1c0800def4e13084ece1bb4817789b" from cache


/: (workdir /src)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext -i ocamlformat=0.27.0"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
# Now letting opam install the packages
The following actions will be performed:
- install sexplib0          v0.14.0  [required by base]
- install ocamlbuild        0.16.1   [required by fpath, astring, uuseg]
- install cmdliner          1.3.0    [required by ocamlformat]
- install either            1.0.0    [required by ocamlformat-lib]
- install menhirLib         20250912 [required by ocamlformat-lib]
- install csexp             1.5.2    [required by ocamlformat]
- install camlp-streams     5.0.1    [required by ocamlformat-lib]
- install seq               base     [required by re]
- install menhirSdk         20250912 [required by ocamlformat-lib]
- install fix               20250919 [required by ocamlformat-lib]
- install menhirCST         20250912 [required by menhir]
- install ocamlfind         1.9.8    [required by ocp-indent, astring, fpath, uuseg]
- install dune-build-info   3.20.2   [required by ocamlformat-lib]
- install ocaml-version     4.0.3    [required by ocamlformat-lib]
- install dune-configurator 3.20.2   [required by base]
- install re                1.11.0   [required by ocamlformat]
- install menhir            20250912 [required by ocamlformat-lib]
- install topkg             1.1.1    [required by fpath, astring, uuseg]
- install ocp-indent        1.9.0    [required by ocamlformat-lib]
- install base              v0.14.3  [required by ocamlformat-lib]
- install uutf              1.0.4    [required by ocamlformat-lib]
- install astring           0.8.5    [required by ocamlformat-lib]
- install stdio             v0.14.0  [required by ocamlformat-lib]
- install uucp              15.0.0   [required by uuseg]
- install fpath             0.7.3    [required by ocamlformat-lib]
- install uuseg             15.0.0   [required by ocamlformat-lib]
- install ocamlformat-lib   0.27.0   [required by ocamlformat]
- install ocamlformat       0.27.0
===== 28 to install =====


<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5] found in cache
[base.v0.14.3] found in cache
[camlp-streams.5.0.1] found in cache
[cmdliner.1.3.0] found in cache
[csexp.1.5.2] found in cache
[dune-build-info.3.20.2] found in cache
[dune-configurator.3.20.2] found in cache
[either.1.0.0] found in cache
[fix.20250919] found in cache
[fpath.0.7.3] found in cache
[menhir.20250912] found in cache
[menhirCST.20250912] found in cache
[menhirLib.20250912] found in cache
[menhirSdk.20250912] found in cache
[ocaml-version.4.0.3] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[ocamlformat.0.27.0] found in cache
[ocamlformat-lib.0.27.0] found in cache
[ocp-indent.1.9.0] found in cache
[re.1.11.0] found in cache
[sexplib0.v0.14.0] found in cache
[stdio.v0.14.0] found in cache
[topkg.1.1.1] found in cache
[uucp.15.0.0] found in cache
[uuseg.15.0.0] found in cache
[uutf.1.0.4] found in cache


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed either.1.0.0
-> installed fix.20250919
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed cmdliner.1.3.0
-> installed ocaml-version.4.0.3
-> installed re.1.11.0
-> installed sexplib0.v0.14.0
-> installed dune-build-info.3.20.2
-> installed dune-configurator.3.20.2
-> installed ocamlfind.1.9.8
-> installed ocp-indent.1.9.0
-> installed ocamlbuild.0.16.1
-> installed base.v0.14.3
-> installed topkg.1.1.1
-> installed stdio.v0.14.0
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed menhir.20250912
-> installed uucp.15.0.0
-> installed uuseg.15.0.0
-> installed ocamlformat-lib.0.27.0
-> installed ocamlformat.0.27.0
Done.


<><> ocp-indent.1.9.0 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:


* for Emacs, add these lines to ~/.emacs:
(add-to-list 'load-path "/home/opam/.opam/4.08/share/emacs/site-lisp")
(require 'ocp-indent)


* for Vim, add this line to ~/.vimrc:
set rtp^="/home/opam/.opam/4.08/share/ocp-indent/vim"
# Run eval $(opam env) to update the current shell environment
2025-12-14 10:23.38 ---> using "d439aa2d1da4e665e89310af11cba4359b69baa4dda1cd4e50fd245f4d775276" from cache


/src: (copy (src .) (dst /src/))
2025-12-14 10:23.39 ---> saved as "8b38ec6fa44ccbf4d27c75183494571aed61b9dc1a46d3a97e15a06691a22a23"


/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
Warning: Invalid documentation comment:
File "cohttp-eio/src/client_connection_cache.mli", line 4, characters 4-8:
'{{1}': bad markup.
Suggestion: did you mean '{!{1}' or '[{1]'?
Warning: Invalid documentation comment:
File "cohttp-eio/src/client_connection_cache.mli", line 4, characters 18-19:
Unpaired '}' (end of markup).
Suggestion: try '\}'.
Warning: Invalid documentation comment:
File "cohttp-eio/src/client_connection_cache.mli", line 30, characters 4-8:
'{{2}': bad markup.
Suggestion: did you mean '{!{2}' or '[{2]'?
Warning: Invalid documentation comment:
File "cohttp-eio/src/client_connection_cache.mli", line 30, characters 22-23:
Unpaired '}' (end of markup).
Suggestion: try '\}'.
Warning: Invalid documentation comment:
File "cohttp-eio/src/client_connection_cache.mli", line 66, characters 4-8:
'{{3}': bad markup.
Suggestion: did you mean '{!{3}' or '[{3]'?
Warning: Invalid documentation comment:
File "cohttp-eio/src/client_connection_cache.mli", line 66, characters 52-53:
Unpaired '}' (end of markup).
Suggestion: try '\}'.
2025-12-14 10:23.43 ---> saved as "c123e106403e0edcaf6b97cd3731fb67d66035b39fba419cc69af51622b6c934"
Job succeeded
2025-12-14 10:23.44: Job succeeded