2025-11-14 10:12.26: New job: test ahrefs/ocannl https://github.com/ahrefs/ocannl.git#refs/heads/claude/issue-370-20250825-1504 (fcc772b65eae28d7bb4b1d243ebe49e5998b4e6a) (linux-x86_64:(lint-fmt))Base: ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321ocamlformat version: version 0.27.0 (from opam)To reproduce locally:git clone --recursive "https://github.com/ahrefs/ocannl.git" -b "claude/issue-370-20250825-1504" && cd "ocannl" && git reset --hard fcc772b6cat > Dockerfile <<'END-OF-DOCKERFILE'FROM ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321USER 1000:1000RUN 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 -uRUN opam depext -i duneWORKDIR /srcRUN opam depext -i ocamlformat=0.27.0COPY --chown=1000:1000 . /src/RUN opam exec -- dune build @fmt --ignore-promoted-rules || (echo "dune build @fmt failed"; exit 2)END-OF-DOCKERFILEdocker build .END-REPRO-BLOCK2025-11-14 10:12.26: Using cache hint "ahrefs/ocannl-ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321-debian-13-4.08_opam-2.4-ocamlformat-991c7a1514e7da747afe448ae9a046af3bc2497e"2025-11-14 10:12.26: Using OBuilder spec:((from ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321)(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-11-14 10:12.26: Waiting for resource in pool OCluster2025-11-14 10:12.42: Waiting for worker…2025-11-14 10:12.42: Got resource from pool OClusterBuilding on cleteAll commits already cachedHEAD is now at fcc772b6 Support heterogeneous precision for primitive operations(from ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321)2025-11-14 10:12.27 ---> using "d458486dd7823c592e7ea9c88366c5f90e1939c3b51f3abbd6760272096f8a3e" 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] Initialiseddefault (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 environment2025-11-14 10:13.32 ---> saved as "0cba893c19758cdd11a465def08f1bb6db972fa8fab56ed39dbca9172b4bae4d"/: (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 packagesThe 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.2Done.# Run eval $(opam env) to update the current shell environment2025-11-14 10:14.34 ---> saved as "d469ce955883adaa71fb4c03382524961d0dc6303999af7ebd9162477cc1d84e"/: (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 packagesThe 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 cmdliner.1.3.0-> installed menhirCST.20250912-> installed menhirLib.20250912-> installed menhirSdk.20250912-> 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.0Done.<><> 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 environment2025-11-14 10:16.03 ---> saved as "ed0fce8cc139e208f1def1b42710e45a4e42678df0f303e92c9cbe66681de96b"/src: (copy (src .) (dst /src/))2025-11-14 10:16.05 ---> saved as "5efb810dd609b8996bc42f8fbe53d7999b6b8d790637336a7988dde76bcc4c4a"/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))File "arrayjit/lib/dune", line 7, characters 30-51:7 | (libraries base stdio pprint ppx_minidebug.runtime)^^^^^^^^^^^^^^^^^^^^^Error: Library "ppx_minidebug.runtime" not found.-> required by library "arrayjit.utils" in _build/default/arrayjit/lib-> required by executable ocannl_read_config in test/operations/config/dune:5-> required by _build/default/test/operations/config/ocannl_read_config.exe-> required by %{dep:ocannl_read_config.exe} at test/operations/dune:22-> required by _build/default/test/operations/config/ocannl_backend.txt-> required by %{read:config/ocannl_backend.txt} at test/operations/dune:36-> required by Computing directory contents of _build/default/test/operationsWarning: Invalid documentation comment:File "lib/operation.ml", line 404, characters 63-63:End of text is not allowed in '[...]' (code).File "arrayjit/lib/ops.ml", line 1, characters 0-0:diff --git a/_build/default/arrayjit/lib/ops.ml b/_build/default/arrayjit/lib/.formatted/ops.mlindex ae0d452..5005186 100644--- a/_build/default/arrayjit/lib/ops.ml+++ b/_build/default/arrayjit/lib/.formatted/ops.ml@@ -811,27 +811,27 @@ external fp8_to_uint4x32 : int -> int array = "arrayjit_fp8_to_uint4x32_ocaml"(** {2 *** Precision homogeneity classification ***} *)-(** Returns true if the unary operation is homogeneous in precision, meaning- its argument should be converted to the result precision. *)+(** Returns true if the unary operation is homogeneous in precision, meaning its argument should be+ converted to the result precision. *)let is_homogeneous_prec_unop = function- | Uint4x32_to_prec_uniform1 -> false (* Heterogeneous: argument must be uint4x32 *)- | _ -> true (* All other unary operations are homogeneous *)+ | Uint4x32_to_prec_uniform1 -> false (* Heterogeneous: argument must be uint4x32 *)+ | _ -> true (* All other unary operations are homogeneous *)-(** Returns true if the vec_unop operation is homogeneous in precision, meaning- its argument should be converted to the result precision. *)+(** Returns true if the vec_unop operation is homogeneous in precision, meaning its argument should+ be converted to the result precision. *)let is_homogeneous_prec_vec_unop = function- | Uint4x32_to_prec_uniform -> false (* Heterogeneous: argument must be uint4x32 *)+ | Uint4x32_to_prec_uniform -> false (* Heterogeneous: argument must be uint4x32 *)-(** Returns true if the binary operation is homogeneous in precision, meaning- its arguments should be converted to the result precision. *)+(** Returns true if the binary operation is homogeneous in precision, meaning its arguments should+ be converted to the result precision. *)let is_homogeneous_prec_binop = function- | _ -> true (* All binary operations are currently homogeneous *)+ | _ -> true (* All binary operations are currently homogeneous *)-(** Returns true if the ternary operation is homogeneous in precision, meaning- its arguments should be converted to the result precision. *)+(** Returns true if the ternary operation is homogeneous in precision, meaning its arguments should+ be converted to the result precision. *)let is_homogeneous_prec_ternop = function- | Where -> false (* Heterogeneous: condition can have different precision *)- | FMA -> true (* FMA is homogeneous *)+ | Where -> false (* Heterogeneous: condition can have different precision *)+ | FMA -> true (* FMA is homogeneous *)let () =(* Ensure that the functions are linked in *)File "arrayjit/lib/c_syntax.ml", line 1, characters 0-0:diff --git a/_build/default/arrayjit/lib/c_syntax.ml b/_build/default/arrayjit/lib/.formatted/c_syntax.mlindex 16fafe3..d567d76 100644--- a/_build/default/arrayjit/lib/c_syntax.ml+++ b/_build/default/arrayjit/lib/.formatted/c_syntax.ml@@ -404,8 +404,8 @@ module C_syntax (B : C_syntax_config) = structlet prec = Lazy.force tn.prec in(* Determine argument precision based on operation homogeneity *)let arg_prec =- if Ops.is_homogeneous_prec_vec_unop vec_unop then- prec (* Homogeneous: argument uses result precision *)+ if Ops.is_homogeneous_prec_vec_unop vec_unop then prec+ (* Homogeneous: argument uses result precision *)else(* Heterogeneous: argument needs specific precision *)match vec_unop with@@ -588,9 +588,12 @@ module C_syntax (B : C_syntax_config) = struct(* For Where: condition keeps its precision, then/else use result precision *)(* Note: we evaluate condition without precision conversion, but then/elseneed to match the result precision for the final assignment *)- let d1, e1 = pp_scalar Ops.Void_prec v1 in (* condition: no conversion *)- let d2, e2 = pp_scalar prec v2 in (* then: result precision *)- let d3, e3 = pp_scalar prec v3 in (* else: result precision *)+ let d1, e1 = pp_scalar Ops.Void_prec v1 in+ (* condition: no conversion *)+ let d2, e2 = pp_scalar prec v2 in+ (* then: result precision *)+ let d3, e3 = pp_scalar prec v3 in+ (* else: result precision *)(d1, e1, d2, e2, d3, e3)| _ ->(* Other heterogeneous ternary ops would go here *)@@ -621,13 +624,13 @@ module C_syntax (B : C_syntax_config) = struct(defs, expr)| Unop (op, v) ->let arg_prec =- if Ops.is_homogeneous_prec_unop op then- prec (* Homogeneous: argument uses result precision *)+ if Ops.is_homogeneous_prec_unop op then prec+ (* Homogeneous: argument uses result precision *)else(* Heterogeneous: argument needs specific precision *)match op with| Ops.Uint4x32_to_prec_uniform1 -> Ops.uint4x32- | _ -> Ops.Void_prec (* No conversion for other heterogeneous ops *)+ | _ -> Ops.Void_prec (* No conversion for other heterogeneous ops *)inlet defs, expr_v = pp_scalar arg_prec v inlet expr = group (B.unop_syntax prec op expr_v) in@@ -705,9 +708,12 @@ module C_syntax (B : C_syntax_config) = struct(* Heterogeneous: handle based on operation *)match op with| Ops.Where ->- let v1_doc, idcs1 = debug_float Ops.Void_prec v1 in (* condition: no conversion *)- let v2_doc, idcs2 = debug_float prec v2 in (* then: result precision *)- let v3_doc, idcs3 = debug_float prec v3 in (* else: result precision *)+ let v1_doc, idcs1 = debug_float Ops.Void_prec v1 in+ (* condition: no conversion *)+ let v2_doc, idcs2 = debug_float prec v2 in+ (* then: result precision *)+ let v3_doc, idcs3 = debug_float prec v3 in+ (* else: result precision *)(v1_doc, idcs1, v2_doc, idcs2, v3_doc, idcs3)| _ ->let v1_doc, idcs1 = debug_float prec v1 in@@ -732,13 +738,13 @@ module C_syntax (B : C_syntax_config) = struct(B.binop_syntax prec op v1_doc v2_doc, idcs1 @ idcs2)| Unop (op, v) ->let arg_prec =- if Ops.is_homogeneous_prec_unop op then- prec (* Homogeneous: argument uses result precision *)+ if Ops.is_homogeneous_prec_unop op then prec+ (* Homogeneous: argument uses result precision *)else(* Heterogeneous: argument needs specific precision *)match op with| Ops.Uint4x32_to_prec_uniform1 -> Ops.uint4x32- | _ -> Ops.Void_prec (* No conversion for other heterogeneous ops *)+ | _ -> Ops.Void_prec (* No conversion for other heterogeneous ops *)inlet v_doc, idcs = debug_float arg_prec v in(B.unop_syntax prec op v_doc, idcs)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 22025-11-14 10:16.07: Job failed: Failed: Build failed