2025-11-29 15:01.47: New job: test ahrefs/ocannl https://github.com/ahrefs/ocannl.git#refs/heads/master (4d02f53a3c0dfc30f2c5ed7644d1f9a9579a8024) (linux-x86_64:(lint-fmt))Base: ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321ocamlformat version: version 0.28.1 (from opam)To reproduce locally:git clone --recursive "https://github.com/ahrefs/ocannl.git" -b "master" && cd "ocannl" && git reset --hard 4d02f53acat > Dockerfile <<'END-OF-DOCKERFILE'FROM ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321USER 1000:1000RUN cd ~/opam-repository && (git cat-file -e 6c1b38620288b5bf349067f089a7b1fc91185d94 || git fetch origin master) && git reset -q --hard 6c1b38620288b5bf349067f089a7b1fc91185d94 && git log --no-decorate -n1 --oneline && opam update -uRUN opam depext -i duneWORKDIR /srcRUN opam depext -i ocamlformat=0.28.1COPY --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-29 15:01.47: Using cache hint "ahrefs/ocannl-ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321-debian-13-4.08_opam-2.4-ocamlformat-6c1b38620288b5bf349067f089a7b1fc91185d94"2025-11-29 15:01.47: 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 6c1b38620288b5bf349067f089a7b1fc91185d94 || git fetch origin master) && git reset -q --hard 6c1b38620288b5bf349067f089a7b1fc91185d94 && 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.28.1"))(copy (src .) (dst /src/))(run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)")))2025-11-29 15:01.47: Waiting for resource in pool OCluster2025-11-29 15:01.47: Waiting for worker…2025-11-29 15:01.47: Got resource from pool OClusterBuilding on bremusa.ocamllabs.ioAll commits already cachedHEAD is now at 4d02f53a Refactor Conv_input to Affine with optional convolution(from ocaml/opam:debian-13-ocaml-4.08@sha256:e3cc4e8fe5c00f48c72a719e3551b1d8a51c2862349a0f7507e8aa29fdf72321)2025-11-29 15:01.48 ---> 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 6c1b38620288b5bf349067f089a7b1fc91185d94 || git fetch origin master) && git reset -q --hard 6c1b38620288b5bf349067f089a7b1fc91185d94 && git log --no-decorate -n1 --oneline && opam update -u"))6c1b386202 Merge pull request #28774 from Julow/release-ocamlformat-0.28.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-29 15:02.48 ---> saved as "a7d3c7d9f6aff7dc059c465a33e7ef3fda4b4a1ee9c79bef8645b5cd4da72b96"/: (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-29 15:03.14 ---> saved as "b8799a0f87a66bd49a9341889a0027044c03db80ad17a5edb3adaf72f166d8fd"/: (workdir /src)/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))(network host)(shell "opam depext -i ocamlformat=0.28.1"))# 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 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 cmdliner 2.0.0 [required by ocamlformat]- 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.28.1 [required by ocamlformat]- install ocamlformat 0.28.1===== 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.2.0.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.28.1] found in cache[ocamlformat-lib.0.28.1] 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.2.0.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.28.1-> installed ocamlformat.0.28.1Done.<><> 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-29 15:04.10 ---> saved as "7b71439e6ac9917292b28dc59ecc075d01d03dd2ef11c372809a6cf99e594a22"/src: (copy (src .) (dst /src/))2025-11-29 15:04.11 ---> saved as "f020ff80d061eb553396c9283479b08387e38f77fe8971f70198e1673c102eeb"/src: (run (shell "opam exec -- dune build @fmt --ignore-promoted-rules || (echo \"dune build @fmt failed\"; exit 2)"))File "tensor/row.mli", line 1, characters 0-0:diff --git a/_build/default/tensor/row.mli b/_build/default/tensor/.formatted/row.mliindex b0e346d..0c26718 100644--- a/_build/default/tensor/row.mli+++ b/_build/default/tensor/.formatted/row.mli@@ -36,8 +36,8 @@ and dim =| Dim of solved_dim| Affine of { stride : int; over : dim; conv : convolution option; stride_offset : int }(** An affine transformation of a dimension. When [conv] is [None], this is a simple strided- dimension. When [conv] is [Some], this includes convolution parameters.- Invariants: [stride > 0], [dilation > 0] (when present), [0 <= stride_offset < stride]. *)+ dimension. When [conv] is [Some], this includes convolution parameters. Invariants:+ [stride > 0], [dilation > 0] (when present), [0 <= stride_offset < stride]. *)[@@deriving equal, hash, compare, sexp]val get_dim : d:int -> ?label:string -> ?proj_id:int -> unit -> dimWarning: Invalid documentation comment:File "tensor/shape.ml", line 24, characters 0-0:End of text is not allowed in '[...]' (code).File "tensor/row.ml", line 1, characters 0-0:diff --git a/_build/default/tensor/row.ml b/_build/default/tensor/.formatted/row.mlindex f4f6155..78b73a8 100644--- a/_build/default/tensor/row.ml+++ b/_build/default/tensor/.formatted/row.ml@@ -124,13 +124,13 @@ let rec dim_to_string style = function| Dim solved_dim -> solved_dim_to_string style solved_dim| Var { id; name = Some n } -> [%string "$%{id#Int}:%{n}"]| Var { id; name = None } -> "$" ^ Int.to_string id- | Affine { stride; over; conv; stride_offset } ->+ | Affine { stride; over; conv; stride_offset } -> (let over_str = dim_to_string style over inlet stride_str = if stride = 1 then over_str else Int.to_string stride ^ "*" ^ over_str inlet offset_str =if stride_offset = 0 then stride_str else [%string "%{stride_str}+%{stride_offset#Int}"]in- (match conv with+ match conv with| None -> offset_str| Some { dilation; kernel; use_padding = _ } ->let kernel_str = dim_to_string style kernel in@@ -828,7 +828,9 @@ let%track5_sexp rec apply_dim_constraint ~(source : source) ~(stage : stage) (dilet d_min = d_min - (dilation * d_k) inif d_min <= 0 then ([], Unconstrained_dim)else- let quotient = if d_min % stride = 0 then d_min / stride else (d_min / stride) + 1 in+ let quotient =+ if d_min % stride = 0 then d_min / stride else (d_min / stride) + 1+ inapply_dim_constraint ~source ~stage over (At_least_dim quotient) env| _ -> apply_dim_constraint ~source ~stage over (At_least_dim quotient) env)| Var v, _ -> (@@ -1566,10 +1568,8 @@ let%debug5_sexp rec unify_dim ~stage origin (eq : dim * dim) env : constraint_ l("solved dimensions for axis: different labels", [ Dim_mismatch [ dim1; dim2 ] ])| Dim { d = d1; _ }, Dim { d = d2; _ } when d1 = d2 -> ([], env)| Var v1, Var v2 when equal_dim_var v1 v2 -> ([], env)- | ( Affine { stride = 1; over; conv = Some { use_padding = true; _ }; stride_offset = 0 },- dim )- | ( dim,- Affine { stride = 1; over; conv = Some { use_padding = true; _ }; stride_offset = 0 } ) ->+ | Affine { stride = 1; over; conv = Some { use_padding = true; _ }; stride_offset = 0 }, dim+ | dim, Affine { stride = 1; over; conv = Some { use_padding = true; _ }; stride_offset = 0 } ->unify_dim ~stage origin (over, dim) env| Affine { stride = 1; over; conv = None; stride_offset = 0 }, dim| dim, Affine { stride = 1; over; conv = None; stride_offset = 0 } ->@@ -1600,18 +1600,14 @@ let%debug5_sexp rec unify_dim ~stage origin (eq : dim * dim) env : constraint_ l},if stride1 > stride2 then over2 else over1 )env- | ( Affine { stride; over = Dim s; conv = Some { use_padding = true; _ }; stride_offset },- dim )- | ( dim,- Affine { stride; over = Dim s; conv = Some { use_padding = true; _ }; stride_offset } ) ->+ | Affine { stride; over = Dim s; conv = Some { use_padding = true; _ }; stride_offset }, dim+ | dim, Affine { stride; over = Dim s; conv = Some { use_padding = true; _ }; stride_offset } ->unify_dim ~stage origin (get_dim ~d:((stride * s.d) + stride_offset) (), dim) env| Affine { stride; over = Dim s; conv = None; stride_offset }, dim| dim, Affine { stride; over = Dim s; conv = None; stride_offset } ->unify_dim ~stage origin (get_dim ~d:((stride * s.d) + stride_offset) (), dim) env- | ( Affine { stride; over; conv = Some { use_padding = true; _ }; stride_offset },- Dim s )- | ( Dim s,- Affine { stride; over; conv = Some { use_padding = true; _ }; stride_offset } ) ->+ | Affine { stride; over; conv = Some { use_padding = true; _ }; stride_offset }, Dim s+ | Dim s, Affine { stride; over; conv = Some { use_padding = true; _ }; stride_offset } ->let d = s.d - stride_offset inif d >= 0 && d % stride = 0 thenunify_dim ~stage origin (get_dim ~d:(d / stride) (), over) env@@ -1648,12 +1644,21 @@ let%debug5_sexp rec unify_dim ~stage origin (eq : dim * dim) env : constraint_ llet offset_adjusted = offset - (offset % stride) inunify_dim ~stage origin (get_dim ~d:((stride * s.d) + offset_adjusted) (), dim) env| ( Affine- { stride; over; conv = Some { dilation; kernel = Dim k; use_padding = false }; stride_offset },+ {+ stride;+ over;+ conv = Some { dilation; kernel = Dim k; use_padding = false };+ stride_offset;+ },Dim s )| ( Dim s,Affine- { stride; over; conv = Some { dilation; kernel = Dim k; use_padding = false }; stride_offset }- ) ->+ {+ stride;+ over;+ conv = Some { dilation; kernel = Dim k; use_padding = false };+ stride_offset;+ } ) ->let offset = (dilation * k.d) + stride_offset inlet offset_adjusted = offset - (offset % stride) inif (s.d - offset_adjusted) % stride = 0 then@@ -1718,7 +1723,11 @@ let%debug5_sexp rec unify_dim ~stage origin (eq : dim * dim) env : constraint_ llet new_offset = (offset1_adjusted - offset2_adjusted) / s2 in( [Dim_eq- { d1 = o2; d2 = Affine { stride; over = o1; conv = None; stride_offset = new_offset }; origin };+ {+ d1 = o2;+ d2 = Affine { stride; over = o1; conv = None; stride_offset = new_offset };+ origin;+ };],env )else if s2 >= s1 && s2 % s1 = 0 then@@ -1726,7 +1735,11 @@ let%debug5_sexp rec unify_dim ~stage origin (eq : dim * dim) env : constraint_ llet new_offset = (offset2_adjusted - offset1_adjusted) / s1 in( [Dim_eq- { d1 = o1; d2 = Affine { stride; over = o2; conv = None; stride_offset = new_offset }; origin };+ {+ d1 = o1;+ d2 = Affine { stride; over = o2; conv = None; stride_offset = new_offset };+ origin;+ };],env )else@@ -3438,8 +3451,7 @@ let%track4_sexp get_proj_equations (inequalities : constraint_ list) proj_axis_e[] )| Affine { stride; over; conv = None; stride_offset } ->(* Strided iteration: no convolution *)- Conv_input- { stride; over = to_proj over; conv = None; stride_offset; target_id = None }+ Conv_input { stride; over = to_proj over; conv = None; stride_offset; target_id = None }| Affine { stride; over; conv = Some { dilation; kernel; use_padding = _ }; stride_offset } ->let kernel_size =match subst_dim ~keep_affine:true env kernel with@@ -3527,7 +3539,9 @@ let%track4_sexp get_proj_equations (inequalities : constraint_ list) proj_axis_econstr = Total_elems { numerator = Strided_var { coeff; var; denom }; divided_by };origin = _;} -> (- let divided_by = List.map divided_by ~f:(fun v -> subst_dim ~keep_affine:true env (Var v)) in+ let divided_by =+ List.map divided_by ~f:(fun v -> subst_dim ~keep_affine:true env (Var v))+ inmatch collect_factors divided_by with| Some (known_product, residual_vars) ->assert (List.is_empty residual_vars);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-29 15:04.13: Job failed: Failed: Build failed