Organisationspatricoferrisjsoo-code-mirror8f451a ()(lint-fmt)

(lint-fmt)

Logs

Show full logs
2025-12-14 10:12.54: New job: test patricoferris/jsoo-code-mirror https://github.com/patricoferris/jsoo-code-mirror.git#refs/heads/oxcaml (8f451a1c536463fe48248c67366d8e76bf9f4b51) (linux-x86_64:(lint-fmt))
Base: ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44
ocamlformat version: version 0.21.0 (from opam)

To reproduce locally:

git clone --recursive "https://github.com/patricoferris/jsoo-code-mirror.git" -b "oxcaml" && cd "jsoo-code-mirror" && git reset --hard 8f451a1c
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.21.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:12.54: Using cache hint "patricoferris/jsoo-code-mirror-ocaml/opam:debian-13-ocaml-4.08@sha256:6fadef23b5069dc945f3a454c49421fd09e8c17aa57d3f9ad27d3879fce6aa44-debian-13-4.08_opam-2.4-ocamlformat-991c7a1514e7da747afe448ae9a046af3bc2497e"
2025-12-14 10:12.54: 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.21.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:12.54: Waiting for resource in pool OCluster
2025-12-14 10:14.09: Waiting for worker…
2025-12-14 10:16.47: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 8f451a1 Updates for oxcaml

(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
3801cb7ba5e6: Waiting
40f6006c5f5a: Pulling fs layer
1c4cdedd39f1: Waiting
c451a17216ec: Pulling fs layer
40f6006c5f5a: Waiting
e4104b8f72ee: Pulling fs layer
7c7dbc5e7919: Pulling fs layer
c451a17216ec: Waiting
e4104b8f72ee: Waiting
aa82be714e7c: Pulling fs layer
922520f12384: Pulling fs layer
7c7dbc5e7919: Waiting
aa82be714e7c: Waiting
9bfea042cef8: Pulling fs layer
922520f12384: Waiting
1244979f7c21: Pulling fs layer
7583a0e34f94: Pulling fs layer
9bfea042cef8: Waiting
14bef3f2665a: Pulling fs layer
1244979f7c21: Waiting
7583a0e34f94: Waiting
3a4b42ce6cb5: Pulling fs layer
14bef3f2665a: Waiting
b0a08a900877: Pulling fs layer
16ac87e68d60: Pulling fs layer
3a4b42ce6cb5: Waiting
b0a08a900877: Waiting
74ac6e8c9b82: Pulling fs layer
16ac87e68d60: Waiting
b41290a57dc5: Pulling fs layer
74ac6e8c9b82: Waiting
592e5bcb7159: Pulling fs layer
b41290a57dc5: Waiting
4f4fb700ef54: Pulling fs layer
592e5bcb7159: Waiting
1db0705661a3: Pulling fs layer
76bb8e35b9cc: Pulling fs layer
4f4fb700ef54: Waiting
1db0705661a3: Waiting
3bc9d98c3b49: Pulling fs layer
76bb8e35b9cc: Waiting
7096ef42e6c0: Pulling fs layer
3bc9d98c3b49: Waiting
cd0e70de8125: Pulling fs layer
7096ef42e6c0: Waiting
23ffab57f98e: Pulling fs layer
cd0e70de8125: Waiting
b974353d8023: Pulling fs layer
23ffab57f98e: Waiting
c74fba566723: Pulling fs layer
b974353d8023: Waiting
5ad399846f45: Pulling fs layer
3e7203fa3980: Pulling fs layer
c74fba566723: Waiting
5ad399846f45: Waiting
0b8915d2a92b: Pulling fs layer
e68c7a56c438: Pulling fs layer
3e7203fa3980: Waiting
9024d680a167: Pulling fs layer
0b8915d2a92b: Waiting
e68c7a56c438: Waiting
3c7c73421b6e: Pulling fs layer
7134fa9b4278: Pulling fs layer
3c7c73421b6e: Waiting
7134fa9b4278: Waiting
9d94fb523099: Pulling fs layer
9d94fb523099: Waiting
20d06dbdae7e: Pulling fs layer
b9a45e537661: Pulling fs layer
20d06dbdae7e: Waiting
b9a45e537661: Waiting
d013a1d2f205: Pulling fs layer
b9e11c34eba5: Pulling fs layer
d013a1d2f205: Waiting
e0af6a95398b: Pulling fs layer
b9e11c34eba5: Waiting
b559598791bf: Pulling fs layer
e0af6a95398b: Waiting
b559598791bf: Waiting
9c63e1c4ba84: Verifying Checksum
9c63e1c4ba84: Download complete
02578b9c9f1b: Verifying Checksum
1c4cdedd39f1: Verifying Checksum
1c4cdedd39f1: Download complete
3801cb7ba5e6: Verifying Checksum
3801cb7ba5e6: Download complete
2981f7e8980b: Verifying Checksum
2981f7e8980b: Download complete
e4104b8f72ee: Verifying Checksum
e4104b8f72ee: Download complete
c451a17216ec: Verifying Checksum
c451a17216ec: Download complete
7c7dbc5e7919: Verifying Checksum
7c7dbc5e7919: Download complete
aa82be714e7c: Verifying Checksum
aa82be714e7c: Download complete
922520f12384: Verifying Checksum
922520f12384: Download complete
40f6006c5f5a: Verifying Checksum
40f6006c5f5a: Download complete
9bfea042cef8: Verifying Checksum
9bfea042cef8: Download complete
1244979f7c21: Verifying Checksum
1244979f7c21: Download complete
14bef3f2665a: Verifying Checksum
14bef3f2665a: Download complete
7583a0e34f94: Verifying Checksum
7583a0e34f94: Download complete
3a4b42ce6cb5: Verifying Checksum
3a4b42ce6cb5: Download complete
b0a08a900877: Verifying Checksum
b0a08a900877: Download complete
16ac87e68d60: Download complete
74ac6e8c9b82: Download complete
b41290a57dc5: Verifying Checksum
b41290a57dc5: Download complete
592e5bcb7159: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
2981f7e8980b: Pull complete
1db0705661a3: Verifying Checksum
1db0705661a3: Download complete
76bb8e35b9cc: Verifying Checksum
76bb8e35b9cc: Download complete
9c63e1c4ba84: Pull complete
02578b9c9f1b: Pull complete
3bc9d98c3b49: Verifying Checksum
3bc9d98c3b49: Download complete
cd0e70de8125: Verifying Checksum
cd0e70de8125: Download complete
7096ef42e6c0: Verifying Checksum
7096ef42e6c0: Download complete
23ffab57f98e: Download complete
3801cb7ba5e6: Pull complete
1c4cdedd39f1: Pull complete
b974353d8023: Download complete
c74fba566723: Verifying Checksum
c74fba566723: Download complete
5ad399846f45: Verifying Checksum
5ad399846f45: Download 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
7134fa9b4278: Verifying Checksum
7134fa9b4278: Download complete
b9e11c34eba5: Verifying Checksum
b9e11c34eba5: Download complete
d013a1d2f205: Verifying Checksum
d013a1d2f205: Download complete
e0af6a95398b: Download complete
b559598791bf: Verifying Checksum
b559598791bf: Download complete
9024d680a167: Verifying Checksum
9024d680a167: 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:16.40 ---> 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:17.43 ---> saved as "48334a0274a4cda6e745afa064f35b53a7edab2808d8c06488698439abe9b851"

/: (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:19.11 ---> saved as "fcdaf03ddf3ca48837f128e47a2e53ac4a1c0800def4e13084ece1bb4817789b"

/: (workdir /src)

/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam depext -i ocamlformat=0.21.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 ocaml-version     3.5.0    [required by ocamlformat]
  - install sexplib0          v0.14.0  [required by base]
  - install ocamlbuild        0.16.1   [required by fpath, uuseg]
  - install cmdliner          1.3.0    [required by ocamlformat]
  - install either            1.0.0    [required by ocamlformat]
  - install menhirLib         20250912 [required by ocamlformat]
  - install csexp             1.5.2    [required by dune-configurator]
  - install result            1.5      [required by odoc-parser]
  - install camlp-streams     5.0.1    [required by odoc-parser]
  - install seq               base     [required by re]
  - install menhirSdk         20250912 [required by ocamlformat]
  - install fix               20250919 [required by ocamlformat]
  - install menhirCST         20250912 [required by menhir]
  - install ocamlfind         1.9.8    [required by ocp-indent, fpath, uuseg]
  - install dune-build-info   3.20.2   [required by ocamlformat]
  - install dune-configurator 3.20.2   [required by base]
  - install re                1.11.0   [required by ocamlformat]
  - install menhir            20250912 [required by ocamlformat]
  - install topkg             1.1.1    [required by fpath, uuseg]
  - install ocp-indent        1.9.0    [required by ocamlformat]
  - install base              v0.14.3  [required by ocamlformat]
  - install uutf              1.0.4    [required by ocamlformat]
  - install astring           0.8.5    [required by fpath, odoc-parser]
  - install stdio             v0.14.0  [required by ocamlformat]
  - install uucp              15.0.0   [required by uuseg]
  - install odoc-parser       1.0.1    [required by ocamlformat]
  - install fpath             0.7.3    [required by ocamlformat]
  - install uuseg             15.0.0   [required by ocamlformat]
  - install ocamlformat       0.21.0
===== 29 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.3.5.0] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[ocamlformat.0.21.0] found in cache
[ocp-indent.1.9.0] found in cache
[odoc-parser.1.0.1] found in cache
[re.1.11.0] found in cache
[result.1.5] 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.3.5.0
-> installed re.1.11.0
-> installed result.1.5
-> 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 menhir.20250912
-> installed odoc-parser.1.0.1
-> installed fpath.0.7.3
-> installed uucp.15.0.0
-> installed uuseg.15.0.0
-> installed ocamlformat.0.21.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:21.34 ---> saved as "8bfab4ea8f422a8f012775e694f635df6763eedef0955d3729dea111e56dbcea"

/src: (copy (src .) (dst /src/))
2025-12-14 10:21.35 ---> saved as "05ee6ae4a296613303ec28112d7380bc5a16dca8b81cdd6fc66d1c0c383d96bf"

/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))
File "src/editor.ml", line 1, characters 0-0:
diff --git a/_build/default/src/editor.ml b/_build/default/src/.formatted/editor.ml
index 138e53e..00e023e 100644
--- a/_build/default/src/editor.ml
+++ b/_build/default/src/.formatted/editor.ml
@@ -1,18 +1,20 @@
 module Selection = struct
-   type t = Jv.t
-   include (Jv.Id : Jv.CONV with type t := t)
+  type t = Jv.t
+
+  include (Jv.Id : Jv.CONV with type t := t)
+
+  module Range = struct
+    type t = Jv.t
 
-   module Range = struct
-     type t = Jv.t
-     include (Jv.Id : Jv.CONV with type t := t)
+    include (Jv.Id : Jv.CONV with type t := t)
 
-     let head t = Jv.Int.get t "head"
-     let from t = Jv.Int.get t "from"
-     let to' t = Jv.Int.get t "to"
-     let anchor t = Jv.Int.get t "anchor"
-   end
+    let head t = Jv.Int.get t "head"
+    let from t = Jv.Int.get t "from"
+    let to' t = Jv.Int.get t "to"
+    let anchor t = Jv.Int.get t "anchor"
+  end
 
-   let main t = Jv.get t "main" |> Range.of_jv
+  let main t = Jv.get t "main" |> Range.of_jv
 end
 
 module State = struct
@@ -124,6 +126,7 @@ module View = struct
   module Plugin = struct
     type view = t
     type t
+
     include (Jv.Id : Jv.CONV with type t := t)
 
     let plugin = Jv.get Jv.global "__CM__ViewPlugin"
@@ -132,7 +135,6 @@ module View = struct
       let f' = Jv.callback ~arity:1 f in
       Jv.call plugin "define" [| f' |] |> of_jv
 
-    let to_extension t =
-      to_jv t |> Extension.of_jv
+    let to_extension t = to_jv t |> Extension.of_jv
   end
 end
File "src/editor.mli", line 1, characters 0-0:
diff --git a/_build/default/src/editor.mli b/_build/default/src/.formatted/editor.mli
index d3ac564..44f6685 100644
--- a/_build/default/src/editor.mli
+++ b/_build/default/src/.formatted/editor.mli
@@ -113,6 +113,7 @@ module View : sig
 
   module Plugin : sig
     type view := t
+
     type t
     (** A {{: https://codemirror.net/docs/ref/#view.ViewPlugin} view plugin} *)
 
File "src/tooltip/tooltip.ml", line 1, characters 0-0:
diff --git a/_build/default/src/tooltip/tooltip.ml b/_build/default/src/tooltip/.formatted/tooltip.ml
index 81c52dd..162d872 100644
--- a/_build/default/src/tooltip/tooltip.ml
+++ b/_build/default/src/tooltip/.formatted/tooltip.ml
@@ -40,7 +40,8 @@ module Tooltip_view = struct
     let get_coords =
       Option.map
         (fun get_coords ->
-          Jv.callback ~arity:1 (fun pos -> get_coords (Jv.to_int pos) |> coords_to_jv))
+          Jv.callback ~arity:1 (fun pos ->
+              get_coords (Jv.to_int pos) |> coords_to_jv))
         get_coords
     in
     let o = Jv.obj [||] in
@@ -50,14 +51,17 @@ module Tooltip_view = struct
     Jv.Bool.set_if_some o "overlap" overlap;
     Jv.set_if_some o "mount"
     @@ Option.map
-         (fun mount -> Jv.callback ~arity:1 (fun view -> mount (Editor.View.of_jv view)))
+         (fun mount ->
+           Jv.callback ~arity:1 (fun view -> mount (Editor.View.of_jv view)))
          mount;
     Jv.set_if_some o "update"
     @@ Option.map
          (fun update ->
-          Jv.callback ~arity:1 (fun view_up -> update (Editor.View.Update.of_jv view_up)))
+           Jv.callback ~arity:1 (fun view_up ->
+               update (Editor.View.Update.of_jv view_up)))
          update;
-    Jv.set_if_some o "positioned" @@ Option.map (Jv.callback ~arity:1) positioned;
+    Jv.set_if_some o "positioned"
+    @@ Option.map (Jv.callback ~arity:1) positioned;
     o
 end
 
dune build @fmt failed
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @fmt --ignore-promoted-rules || (echo "dune build @fmt failed"; exit 2)" failed with exit status 2
2025-12-14 10:21.37: Job failed: Failed: Build failed