Organisationsahrefsocannl9afb61 ()windows-server-2022-amd64-5.3_opam-2.3

windows-server-2022-amd64-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-05-22 12:20.03: New job: test ahrefs/ocannl https://github.com/ahrefs/ocannl.git#refs/heads/master (9afb61d245b2724d2132450805c8b080ac7e0c9a) (windows-amd64:windows-server-2022-amd64-5.3_opam-2.3)
Base: windows-server-2022-amd64-ocaml-5.3
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/ocannl.git" -b "master" && cd "ocannl" && git reset --hard 9afb61d2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.3
# windows-server-2022-amd64-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 neural_nets_lib.opam arrayjit.opam /Users/opam/src/./
RUN opam pin add -yn neural_nets_lib.dev '/Users/opam/src/./' && \
opam pin add -yn arrayjit.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 backoff.0.1.1 base.v0.17.2 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.10.0 camlp-streams.5.0.1 cmdliner.1.3.0 conf-libffi.2.0.0 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libffi-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.18.2 dune-configurator.3.18.2 fieldslib.v0.17.0 flexdll.0.44 fmt.0.10.0 host-arch-x86_64.1 host-system-mingw.1 integers.0.7.0 jane-street-headers.v0.17.0 jst-config.v0.17.0 logs.0.8.0 mdx.2.5.0 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.1 num.1.5-1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 pprint.20230830 ppx_assert.v0.17.0 ppx_base.v0.17.0 ppx_cold.v0.17.0 ppx_compare.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_enumerate.v0.17.0 ppx_expect.v0.17.2 ppx_fields_conv.v0.17.0 ppx_globalize.v0.17.0 ppx_hash.v0.17.0 ppx_here.v0.17.0 ppx_inline_test.v0.17.0 ppx_minidebug.2.2.0 ppx_optcomp.v0.17.0 ppx_sexp_conv.v0.17.0 ppx_string.v0.17.0 ppx_variants_conv.v0.17.0 ppxlib.0.35.0 ppxlib_jane.v0.17.2 printbox.0.12 printbox-ext-plot.0.12 printbox-html.0.12 printbox-md.0.12 printbox-text.0.12 ptime.1.2.0 re.1.12.0 result.1.5 saturn_lockfree.0.5.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 thread-local-storage.0.2 time_now.v0.17.0 topkg.1.0.8 tyxml.4.6.0 uucp.16.0.0 uutf.1.0.4 variantslib.v0.17.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y neural_nets_lib.dev arrayjit.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /Users/opam/src
RUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


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


2025-05-22 12:20.03: Using cache hint "ahrefs/ocannl-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.3-16b2395c8300c42cb7dd379930af6440"
2025-05-22 12:20.03: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.3)
(comment windows-server-2022-amd64-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src neural_nets_lib.opam arrayjit.opam) (dst /Users/opam/src/./))
(run (network host)
(shell  "opam pin add -yn neural_nets_lib.dev '/Users/opam/src/./' && \
\nopam pin add -yn arrayjit.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 backoff.0.1.1 base.v0.17.2 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.10.0 camlp-streams.5.0.1 cmdliner.1.3.0 conf-libffi.2.0.0 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libffi-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.18.2 dune-configurator.3.18.2 fieldslib.v0.17.0 flexdll.0.44 fmt.0.10.0 host-arch-x86_64.1 host-system-mingw.1 integers.0.7.0 jane-street-headers.v0.17.0 jst-config.v0.17.0 logs.0.8.0 mdx.2.5.0 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.1 num.1.5-1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 pprint.20230830 ppx_assert.v0.17.0 ppx_base.v0.17.0 ppx_cold.v0.17.0 ppx_compare.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_enumerate.v0.17.0 ppx_expect.v0.17.2 ppx_fields_conv.v0.17.0 ppx_globalize.v0.17.0 ppx_hash.v0.17.0 ppx_here.v0.17.0 ppx_inline_test.v0.17.0 ppx_minidebug.2.2.0 ppx_optcomp.v0.17.0 ppx_sexp_conv.v0.17.0 ppx_string.v0.17.0 ppx_variants_conv.v0.17.0 ppxlib.0.35.0 ppxlib_jane.v0.17.2 printbox.0.12 printbox-ext-plot.0.12 printbox-html.0.12 printbox-md.0.12 printbox-text.0.12 ptime.1.2.0 re.1.12.0 result.1.5 saturn_lockfree.0.5.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 thread-local-storage.0.2 time_now.v0.17.0 topkg.1.0.8 tyxml.4.6.0 uucp.16.0.0 uutf.1.0.4 variantslib.v0.17.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y neural_nets_lib.dev arrayjit.dev $DEPS"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /Users/opam/src))
(run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-05-22 12:20.03: Waiting for resource in pool OCluster
2025-05-22 12:20.03: Waiting for worker…
2025-05-22 12:20.03: Got resource from pool OCluster
Building on odawa
HEAD is now at 657f596 Migrate `Staged_compilation` to `PPrint.document`
HEAD is now at 9afb61d In progress / broken: Format -> PPrint migration first pass by Claude


(from windows-server-2022-amd64-ocaml-5.3)
2025-05-22 12:20.04 ---> using "1d6ffeb5a52124df73b2e951323e99615c52ca4f9bdf0f65039be6146fabdaab" from cache


/: (comment windows-server-2022-amd64-5.3_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-22 12:20.04 ---> using "95d5d85ee56c2575e196f53fe7f940cc0731fb5c4485beb38b72a714de9d05bf" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.


<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>


opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.


How should opam obtain Unix tools?
> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)
2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)
3. Use Cygwin installation found in C:\cygwin64
4. Use another existing Cygwin/MSYS2 installation
5. Abort initialisation


[1/2/3/4/5] 1
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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file://C:/Users/opam/opam-repository
2025-05-22 12:20.04 ---> using "53bae75d46d214e65b51daece9ef873c6c6a891e203ec3d98bbd26c30834d1e2" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.5.5-1.x86_64
The OCaml toplevel, version 5.3.0
2.3.0
2025-05-22 12:20.04 ---> using "2b54922bf0d8d5ddbb1aea4afec4a959968c963bd87de7fe3038a742f957825c" from cache


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 || git fetch origin master) && git reset -q --hard c7d6d1d2aa1bf00c8e6ec9dff2030cd39d493e47 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f93eb7cb02..c7d6d1d2aa  master     -> origin/master
c7d6d1d2aa Merge pull request #27880 from MisterDA/os-family-fedora


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/opam/opam-repository


The following actions will be performed:
=== recompile 7 packages
- recompile base-domains        base           [uses ocaml]
- recompile base-effects        base           [uses ocaml]
- recompile base-nnp            base           [uses base-domains]
- recompile ocaml               5.3.0          [uses ocaml-base-compiler]
- recompile ocaml-base-compiler 5.3.0 (pinned) [uses ocaml-compiler]
- recompile ocaml-compiler      5.3.0          [uses flexdll]
- recompile ocaml-config        3              [uses ocaml-base-compiler]
=== upgrade 1 package
- upgrade   flexdll             0.43 to 0.44


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> retrieved flexdll.0.44  (cached)
-> removed   base-effects.base
-> removed   base-nnp.base
-> removed   base-domains.base
-> removed   ocaml.5.3.0
-> removed   ocaml-config.3
-> removed   ocaml-base-compiler.5.3.0
-> retrieved ocaml-compiler.5.3.0  (cached)
-> removed   ocaml-compiler.5.3.0
-> removed   flexdll.0.43
-> installed flexdll.0.44
-> installed ocaml-compiler.5.3.0
-> installed ocaml-base-compiler.5.3.0
-> installed ocaml-config.3
-> installed ocaml.5.3.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-22 12:20.04 ---> using "c79af19c40c356bda362c520a63c78f64f0b910f34be782b8d2e190f726576b4" from cache


/: (copy (src neural_nets_lib.opam arrayjit.opam) (dst /Users/opam/src/./))
2025-05-22 12:20.04 ---> using "329a3219db972df807cb2772f31a7fab93260b13f966fb3552025cfb931c5c8a" from cache


/: (run (network host)
(shell  "opam pin add -yn neural_nets_lib.dev '/Users/opam/src/./' && \
\nopam pin add -yn arrayjit.dev '/Users/opam/src/./'"))
[neural_nets_lib.dev] synchronised (file://C:/Users/opam/src/.)
neural_nets_lib is now pinned to file://C:/Users/opam/src/. (version dev)
[arrayjit.dev] synchronised (file://C:/Users/opam/src/.)
arrayjit is now pinned to file://C:/Users/opam/src/. (version dev)
2025-05-22 12:20.04 ---> using "5514589e60954b3bd61772f48e85213fe809b9aa8ce3af5f34d91808b59dce2a" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-05-22 12:20.04 ---> using "f2007872e2f9b7f215447a4fd7ca5638a1b1a1a7b0f790ddae3e99ac586fe60d" from cache


/: (env DEPS "angstrom.0.16.1 arch-x86_64.1 astring.0.8.5 backoff.0.1.1 base.v0.17.2 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 bigstringaf.0.10.0 camlp-streams.5.0.1 cmdliner.1.3.0 conf-libffi.2.0.0 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libffi-x86_64.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.18.2 dune-configurator.3.18.2 fieldslib.v0.17.0 flexdll.0.44 fmt.0.10.0 host-arch-x86_64.1 host-system-mingw.1 integers.0.7.0 jane-street-headers.v0.17.0 jst-config.v0.17.0 logs.0.8.0 mdx.2.5.0 mingw-w64-shims.0.2.0 mtime.2.1.0 multicore-magic.2.3.1 num.1.5-1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.0 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 pprint.20230830 ppx_assert.v0.17.0 ppx_base.v0.17.0 ppx_cold.v0.17.0 ppx_compare.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_enumerate.v0.17.0 ppx_expect.v0.17.2 ppx_fields_conv.v0.17.0 ppx_globalize.v0.17.0 ppx_hash.v0.17.0 ppx_here.v0.17.0 ppx_inline_test.v0.17.0 ppx_minidebug.2.2.0 ppx_optcomp.v0.17.0 ppx_sexp_conv.v0.17.0 ppx_string.v0.17.0 ppx_variants_conv.v0.17.0 ppxlib.0.35.0 ppxlib_jane.v0.17.2 printbox.0.12 printbox-ext-plot.0.12 printbox-html.0.12 printbox-md.0.12 printbox-text.0.12 ptime.1.2.0 re.1.12.0 result.1.5 saturn_lockfree.0.5.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 system-mingw.1 thread-local-storage.0.2 time_now.v0.17.0 topkg.1.0.8 tyxml.4.6.0 uucp.16.0.0 uutf.1.0.4 variantslib.v0.17.0")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y neural_nets_lib.dev arrayjit.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[arrayjit.dev] synchronised (file://C:/Users/opam/src/.)
[neural_nets_lib.dev] synchronised (file://C:/Users/opam/src/.)


[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).


The following system packages will first need to be installed:
mingw64-x86_64-libffi


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ C:\Users\opam\AppData\Local\opam\.cygwin\setup-x86_64.exe "--root" "C:\\cygwin64" "--quiet-mode" "unattended" "--no-shortcuts" "--no-startmenu" "--no-desktop" "--no-admin" "--no-version-check" "--no-write-registry" "--packages" "mingw64-x86_64-libffi"
- Starting cygwin install, version 2.933
- User has backup/restore rights
- User has symlink creation right
- Current Directory: C:\Windows\system32
- root: C:\cygwin64 system
- Changing gid to Administrators
- Selected local directory: C:\Windows\system32
- net: Preconfig
- site: https://cygwin.mirror.constant.com/
- solving: 1 tasks, update: no, use test packages: no
- solving: 1 tasks, update: no, use test packages: no
- Augmented Transaction List:
-    0 install mingw64-x86_64-libffi 3.2.1-2
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libffi/mingw64-x86_64-libffi-3.2.1-2.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libffi/mingw64-x86_64-libffi-3.2.1-2.tar.xz
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash"
- Ending cygwin install
- NOTE: you should run 'diskperf -y' to enable the disk statistics
- NOTE: you should run 'diskperf -y' to enable the disk statistics
2025-05-22 12:20.04 ---> using "424a32210837a3319fb8157c1e01d03e3c27ee7ddbbbfb07d172b7c5ac929554" from cache


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
=== recompile 1 package
- recompile mingw-w64-shims              0.2.0
=== install 76 packages
- install   angstrom                     0.16.1
- install   astring                      0.8.5
- install   backoff                      0.1.1
- install   base                         v0.17.2
- install   bigarray-compat              1.1.0
- install   bigstringaf                  0.10.0
- install   camlp-streams                5.0.1
- install   cmdliner                     1.3.0
- install   conf-libffi                  2.0.0
- install   conf-mingw-w64-libffi-x86_64 1
- install   conf-pkg-config              4
- install   cppo                         1.8.0
- install   csexp                        1.5.2
- install   ctypes                       0.23.0
- install   ctypes-foreign               0.23.0
- install   dune                         3.18.2
- install   dune-configurator            3.18.2
- install   fieldslib                    v0.17.0
- install   fmt                          0.10.0
- install   integers                     0.7.0
- install   jane-street-headers          v0.17.0
- install   jst-config                   v0.17.0
- install   logs                         0.8.0
- install   mdx                          2.5.0
- install   mtime                        2.1.0
- install   multicore-magic              2.3.1
- install   num                          1.5-1
- install   ocaml-compiler-libs          v0.17.0
- install   ocaml-syntax-shims           1.0.0
- install   ocaml-version                4.0.0
- install   ocaml_intrinsics_kernel      v0.17.1
- install   ocamlbuild                   0.16.1
- install   ocamlfind                    1.9.8
- install   parsexp                      v0.17.0
- install   pprint                       20230830
- install   ppx_assert                   v0.17.0
- install   ppx_base                     v0.17.0
- install   ppx_cold                     v0.17.0
- install   ppx_compare                  v0.17.0
- install   ppx_derivers                 1.2.1
- install   ppx_deriving                 6.0.3
- install   ppx_enumerate                v0.17.0
- install   ppx_expect                   v0.17.2
- install   ppx_fields_conv              v0.17.0
- install   ppx_globalize                v0.17.0
- install   ppx_hash                     v0.17.0
- install   ppx_here                     v0.17.0
- install   ppx_inline_test              v0.17.0
- install   ppx_minidebug                2.2.0
- install   ppx_optcomp                  v0.17.0
- install   ppx_sexp_conv                v0.17.0
- install   ppx_string                   v0.17.0
- install   ppx_variants_conv            v0.17.0
- install   ppxlib                       0.35.0
- install   ppxlib_jane                  v0.17.2
- install   printbox                     0.12
- install   printbox-ext-plot            0.12
- install   printbox-html                0.12
- install   printbox-md                  0.12
- install   printbox-text                0.12
- install   ptime                        1.2.0
- install   re                           1.12.0
- install   result                       1.5
- install   saturn_lockfree              0.5.0
- install   seq                          base
- install   sexplib                      v0.17.0
- install   sexplib0                     v0.17.0
- install   stdio                        v0.17.0
- install   stdlib-shims                 0.3.0
- install   thread-local-storage         0.2
- install   time_now                     v0.17.0
- install   topkg                        1.0.8
- install   tyxml                        4.6.0
- install   uucp                         16.0.0
- install   uutf                         1.0.4
- install   variantslib                  v0.17.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved backoff.0.1.1  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved base.v0.17.2  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0  (cached)
-> retrieved fieldslib.v0.17.0  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved jane-street-headers.v0.17.0  (cached)
-> retrieved jst-config.v0.17.0  (cached)
-> installed conf-pkg-config.4
-> retrieved logs.0.8.0  (cached)
-> installed conf-mingw-w64-libffi-x86_64.1
-> retrieved mingw-w64-shims.0.2.0  (cached)
-> removed   mingw-w64-shims.0.2.0
-> retrieved mdx.2.5.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved multicore-magic.2.3.1  (cached)
-> retrieved num.1.5-1  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml-version.4.0.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> installed conf-libffi.2.0.0
-> installed mingw-w64-shims.0.2.0
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved parsexp.v0.17.0  (cached)
-> retrieved dune.3.18.2, dune-configurator.3.18.2  (cached)
-> retrieved pprint.20230830  (cached)
-> retrieved ppx_assert.v0.17.0  (cached)
-> retrieved ppx_base.v0.17.0  (cached)
-> retrieved ppx_cold.v0.17.0  (cached)
-> retrieved ppx_compare.v0.17.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.0.3  (cached)
-> retrieved ppx_enumerate.v0.17.0  (cached)
-> retrieved ppx_expect.v0.17.2  (cached)
-> retrieved ppx_fields_conv.v0.17.0  (cached)
-> retrieved ppx_globalize.v0.17.0  (cached)
-> retrieved ppx_hash.v0.17.0  (cached)
-> retrieved ppx_here.v0.17.0  (cached)
-> retrieved ppx_inline_test.v0.17.0  (cached)
-> retrieved ppx_minidebug.2.2.0  (cached)
-> retrieved ppx_optcomp.v0.17.0  (cached)
-> retrieved ppx_sexp_conv.v0.17.0  (cached)
-> retrieved ppx_string.v0.17.0  (cached)
-> retrieved ppx_variants_conv.v0.17.0  (cached)
-> retrieved ppxlib_jane.v0.17.2  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved printbox.0.12, printbox-ext-plot.0.12, printbox-html.0.12, printbox-md.0.12, printbox-text.0.12  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (cached)
-> retrieved result.1.5  (cached)
-> retrieved saturn_lockfree.0.5.0  (cached)
-> retrieved sexplib.v0.17.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdio.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved thread-local-storage.0.2  (cached)
-> retrieved time_now.v0.17.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uucp.16.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved variantslib.v0.17.0  (cached)
-> installed cmdliner.1.3.0
-> installed num.1.5-1
-> installed seq.base
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind
[WARNING] .install file is missing .exe extension for src/findlib/ocamlfind_opt
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind.exe
[WARNING] Automatically adding .exe to C:\Users\opam\AppData\Local\opam\5.3.0\.opam-switch\build\ocamlfind.1.9.8\src\findlib\ocamlfind_opt.exe
[WARNING] C:\Users\opam\AppData\Local\opam\5.3.0\bin\safe_camlp4 is a script; the command won't be available
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed dune.3.18.2
-> installed fmt.0.10.0
-> installed backoff.0.1.1
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed jane-street-headers.v0.17.0
-> installed camlp-streams.5.0.1
-> installed cppo.1.8.0
-> installed mtime.2.1.0
-> installed multicore-magic.2.3.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-version.4.0.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed pprint.20230830
-> installed ppx_derivers.1.2.1
-> installed printbox.0.12
-> installed ptime.1.2.0
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed logs.0.8.0
-> installed sexplib0.v0.17.0
-> installed saturn_lockfree.0.5.0
-> installed re.1.12.0
-> installed integers.0.7.0
-> installed thread-local-storage.0.2
-> installed dune-configurator.3.18.2
-> installed parsexp.v0.17.0
-> installed bigstringaf.0.10.0
-> installed tyxml.4.6.0
-> installed sexplib.v0.17.0
-> installed mdx.2.5.0
-> installed angstrom.0.16.1
-> installed printbox-html.0.12
-> installed base.v0.17.2
-> installed fieldslib.v0.17.0
-> installed variantslib.v0.17.0
-> installed stdio.v0.17.0
-> installed ctypes.0.23.0
-> installed uucp.16.0.0
-> installed printbox-text.0.12
-> installed printbox-md.0.12
-> installed ppxlib.0.35.0
-> installed printbox-ext-plot.0.12
-> installed ctypes-foreign.0.23.0
-> installed ppx_optcomp.v0.17.0
-> installed ppxlib_jane.v0.17.2
-> installed ppx_cold.v0.17.0
-> installed ppx_here.v0.17.0
-> installed ppx_variants_conv.v0.17.0
-> installed ppx_fields_conv.v0.17.0
-> installed ppx_deriving.6.0.3
-> installed ppx_enumerate.v0.17.0
-> installed ppx_globalize.v0.17.0
-> installed ppx_compare.v0.17.0
-> installed ppx_sexp_conv.v0.17.0
-> installed ppx_hash.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed ppx_minidebug.2.2.0
-> installed ppx_base.v0.17.0
-> installed jst-config.v0.17.0
-> installed ppx_string.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_inline_test.v0.17.0
-> installed ppx_expect.v0.17.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-22 12:20.04 ---> using "c572ee6a8928d457f252cad51c0180093cd56eeb99bc93d3bb516eaaed4e3a55" from cache


/: (copy (src .) (dst /Users/opam/src))
2025-05-22 12:20.16 ---> saved as "c4255354ede95ae51be4318193c788b3933d09d801a343326db1f318b6ffa920"


/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test/config && ..\..\arrayjit\bin\read_config.exe --read=backend)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\default\test\config\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
Wrote value of 'backend' to ocannl_backend.txt
(cd _build/default/test_ppx && .\test_ppx_op.exe)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\default\test_ppx\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/default/test_ppx && .\test_ppx_op_expected.exe)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\default\test_ppx\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test && .tutorials.inline-tests\inline-test-runner.exe inline-test-runner tutorials -partition "Retrieving commandline, environment, or config file variable ocannl_log_level" -source-tree-root .. -diff-cmd -)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\21322a7f2280adbf3f25ad37e881684b\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test && .tutorials.inline-tests\inline-test-runner.exe inline-test-runner tutorials -partition "" -source-tree-root .. -diff-cmd -)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\21322a7f2280adbf3f25ad37e881684b\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test && .tutorials.inline-tests\inline-test-runner.exe inline-test-runner tutorials -partition "Found 0, in the config file" -source-tree-root .. -diff-cmd -)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\21322a7f2280adbf3f25ad37e881684b\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test && .tutorials.inline-tests\inline-test-runner.exe inline-test-runner tutorials -partition "Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\ad367de6dc56d51ee46796e78567e9c4\default\test\ocannl_config." -source-tree-root .. -diff-cmd -)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\21322a7f2280adbf3f25ad37e881684b\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
File "test/dune", lines 30-40, characters 0-281:
30 | (rule
31 |  (alias runtest)
32 |  (target
33 |   (dir log_files))
34 |  (action
35 |   (run
36 |    %{dep:micrograd_demo_logging.exe}
37 |    "--ocannl_debug_backend=text"
38 |    "--ocannl_log_file_stem=micrograd_demo_logging"
39 |    "--ocannl_log_main_domain_to_stdout=false"
40 |    "--ocannl_debug_log_to_stream_files=true")))
(cd _build/default/test && .\micrograd_demo_logging.exe --ocannl_debug_backend=text --ocannl_log_file_stem=micrograd_demo_logging --ocannl_log_main_domain_to_stdout=false --ocannl_debug_log_to_stream_files=true)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
Retrieving commandline, environment, or config file variable ocannl_backend
Found multicore_cc, in the config file
Retrieving commandline, environment, or config file variable ocannl_cd_ident_style
Not found, using default heuristic
Retrieving commandline, environment, or config file variable ocannl_ll_ident_style
Not found, using default heuristic
Retrieving commandline, environment, or config file variable ocannl_prefer_backend_uniformity
Found true, in the config file
Retrieving commandline, environment, or config file variable ocannl_debug_log_to_stream_files
Found true, commandline --ocannl_debug_log_to_stream_files=true
Retrieving commandline, environment, or config file variable ocannl_cc_backend_optimization_level
Not found, using default 3
Retrieving commandline, environment, or config file variable ocannl_cc_backend_compiler_command
Not found, using default x86_64-w64-mingw32-gcc
Fatal error: exception File "src/printbox-text/PrintBox_text.ml", line 212, characters 6-12: Assertion failed
Raised at PrintBox_text.Output.Make_out.to_buf_aux_ in file "src/printbox-text/PrintBox_text.ml", line 212, characters 6-50
Called from Stdlib__Map.Make.fold in file "map.ml", line 329, characters 19-42
Called from Stdlib__Map.Make.fold in file "map.ml", line 329, characters 26-41
Called from Stdlib__Map.Make.fold in file "map.ml", line 329, characters 26-41
Called from Stdlib__Map.Make.fold in file "map.ml", line 329, characters 26-41
Called from PrintBox_text.Output.Make_out.render in file "src/printbox-text/PrintBox_text.ml", line 242, characters 14-64
Called from PrintBox_text.output in file "src/printbox-text/PrintBox_text.ml", line 851, characters 2-31
Called from Minidebug_runtime.PrintBox.output_box in file "minidebug_runtime.ml", line 1527, characters 19-59
Called from Minidebug_runtime.PrintBox.close_log_impl.close_tree in file "minidebug_runtime.ml", line 1572, characters 6-38
Called from Backends.Add_buffer_retrieval_and_syncing.sync_routine in file "arrayjit/lib/backends.ml", lines 144-172, characters 31-82
Called from Backends.Raise_backend.link in file "arrayjit/lib/backends.ml", lines 454-455, characters 4-92
Re-raised at Backends.Raise_backend.link in file "arrayjit/lib/backends.ml", lines 441-455, characters 23-92
Called from Dune__exe__Micrograd_demo_logging in file "test/micrograd_demo_logging.ml", line 34, characters 13-77
(cd _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test && .tutorials.inline-tests\inline-test-runner.exe inline-test-runner tutorials -partition micrograd_demo.ml -source-tree-root .. -diff-cmd -)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\21322a7f2280adbf3f25ad37e881684b\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test && .tutorials.inline-tests\inline-test-runner.exe inline-test-runner tutorials -partition primitive_ops.ml -source-tree-root .. -diff-cmd -)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\21322a7f2280adbf3f25ad37e881684b\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test && .tutorials.inline-tests\inline-test-runner.exe inline-test-runner tutorials -partition hello_world_op.ml -source-tree-root .. -diff-cmd -)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\21322a7f2280adbf3f25ad37e881684b\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test && .tutorials.inline-tests\inline-test-runner.exe inline-test-runner tutorials -partition zero2hero_1of7.ml -source-tree-root .. -diff-cmd -)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\21322a7f2280adbf3f25ad37e881684b\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test && .tutorials.inline-tests\inline-test-runner.exe inline-test-runner tutorials -partition moons_demo_parallel.ml -source-tree-root .. -diff-cmd -)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\21322a7f2280adbf3f25ad37e881684b\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/default/test && .\moons_demo_parallel_run.exe)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
("Set log_level to" 1)
└─{orphaned from #2}
Retrieving commandline, environment, or config file variable ocannl_backend
Found multicore_cc, in the config file
Properties of devices:
(multicore_devices
(device ((device_name CPU) (device_ordinal 0) (num_domains 16))))
@!Retrieving commandline, environment, or config file variable ocannl_prefer_backend_uniformity
Found true, in the config file
Retrieving commandline, environment, or config file variable ocannl_debug_log_to_stream_files
Not found, using default false
Retrieving commandline, environment, or config file variable ocannl_ll_ident_style
Not found, using default heuristic
Retrieving commandline, environment, or config file variable ocannl_cc_backend_optimization_level
Not found, using default 3
Retrieving commandline, environment, or config file variable ocannl_cc_backend_compiler_command
Not found, using default x86_64-w64-mingw32-gcc
Retrieving commandline, environment, or config file variable ocannl_never_capture_stdout
Not found, using default false
Batch=139, step=140, lr=0.197900, batch loss=0.383325, epoch loss=37.722240
Batch=279, step=280, lr=0.195567, batch loss=0.424132, epoch loss=41.520283
Batch=299, step=300, lr=0.195100, batch loss=0.252791, epoch loss=42.008343
Epoch=0, step=300, lr=0.195100, epoch loss=42.008343
Batch=139, step=440, lr=0.192900, batch loss=0.199324, epoch loss=2.541388
Batch=279, step=580, lr=0.190567, batch loss=0.290830, epoch loss=5.440727
Batch=299, step=600, lr=0.190100, batch loss=0.230463, epoch loss=5.901314
Epoch=1, step=600, lr=0.190100, epoch loss=5.901314
Batch=139, step=740, lr=0.187900, batch loss=0.188518, epoch loss=2.437509
Batch=279, step=880, lr=0.185567, batch loss=0.279553, epoch loss=5.165407
Batch=299, step=900, lr=0.185100, batch loss=0.196918, epoch loss=5.551332
Epoch=2, step=900, lr=0.185100, epoch loss=5.551332
Batch=139, step=1040, lr=0.182900, batch loss=0.186637, epoch loss=2.411978
Batch=279, step=1180, lr=0.180567, batch loss=0.258410, epoch loss=5.257620
Batch=299, step=1200, lr=0.180100, batch loss=0.188055, epoch loss=5.616765
Epoch=3, step=1200, lr=0.180100, epoch loss=5.616765
Batch=139, step=1340, lr=0.177900, batch loss=0.182579, epoch loss=2.287451
Batch=279, step=1480, lr=0.175567, batch loss=0.253354, epoch loss=4.891232
Batch=299, step=1500, lr=0.175100, batch loss=0.180459, epoch loss=5.234439
Epoch=4, step=1500, lr=0.175100, epoch loss=5.234439
Batch=139, step=1640, lr=0.172900, batch loss=0.180092, epoch loss=2.292680
Batch=279, step=1780, lr=0.170567, batch loss=0.249713, epoch loss=4.845644
Batch=299, step=1800, lr=0.170100, batch loss=0.183686, epoch loss=5.193345
Epoch=5, step=1800, lr=0.170100, epoch loss=5.193345
Batch=139, step=1940, lr=0.167900, batch loss=0.177776, epoch loss=2.227007
Batch=279, step=2080, lr=0.165567, batch loss=0.246859, epoch loss=4.738072
Batch=299, step=2100, lr=0.165100, batch loss=0.179192, epoch loss=5.078763
Epoch=6, step=2100, lr=0.165100, epoch loss=5.078763
Batch=139, step=2240, lr=0.162900, batch loss=0.168992, epoch loss=2.126140
Batch=279, step=2380, lr=0.160567, batch loss=0.241702, epoch loss=4.577219
Batch=299, step=2400, lr=0.160100, batch loss=0.186690, epoch loss=4.952088
Epoch=7, step=2400, lr=0.160100, epoch loss=4.952088
Batch=139, step=2540, lr=0.157900, batch loss=0.159212, epoch loss=2.032030
Batch=279, step=2680, lr=0.155567, batch loss=0.225733, epoch loss=4.405489
Batch=299, step=2700, lr=0.155100, batch loss=0.176385, epoch loss=4.754456
Epoch=8, step=2700, lr=0.155100, epoch loss=4.754456
Batch=139, step=2840, lr=0.152900, batch loss=0.147383, epoch loss=1.879349
Batch=279, step=2980, lr=0.150567, batch loss=0.221000, epoch loss=4.069938
Batch=299, step=3000, lr=0.150100, batch loss=0.170468, epoch loss=4.406393
Epoch=9, step=3000, lr=0.150100, epoch loss=4.406393
Batch=139, step=3140, lr=0.147900, batch loss=0.131568, epoch loss=1.713473
Batch=279, step=3280, lr=0.145567, batch loss=0.216739, epoch loss=3.758855
Batch=299, step=3300, lr=0.145100, batch loss=0.138728, epoch loss=4.022710
Epoch=10, step=3300, lr=0.145100, epoch loss=4.022710
Batch=139, step=3440, lr=0.142900, batch loss=0.103299, epoch loss=1.415010
Batch=279, step=3580, lr=0.140567, batch loss=0.135656, epoch loss=3.184832
Batch=299, step=3600, lr=0.140100, batch loss=0.121743, epoch loss=3.408449
Epoch=11, step=3600, lr=0.140100, epoch loss=3.408449
Batch=139, step=3740, lr=0.137900, batch loss=0.073283, epoch loss=1.078896
Batch=279, step=3880, lr=0.135567, batch loss=0.120914, epoch loss=3.170447
Batch=299, step=3900, lr=0.135100, batch loss=0.082947, epoch loss=3.322567
Epoch=12, step=3900, lr=0.135100, epoch loss=3.322567
Batch=139, step=4040, lr=0.132900, batch loss=0.054557, epoch loss=0.820721
Batch=279, step=4180, lr=0.130567, batch loss=0.057601, epoch loss=1.644242
Batch=299, step=4200, lr=0.130100, batch loss=0.032716, epoch loss=1.700664
Epoch=13, step=4200, lr=0.130100, epoch loss=1.700664
Batch=139, step=4340, lr=0.127900, batch loss=0.037506, epoch loss=0.474175
Batch=279, step=4480, lr=0.125567, batch loss=0.040762, epoch loss=1.100380
Batch=299, step=4500, lr=0.125100, batch loss=0.016949, epoch loss=1.129711
Epoch=14, step=4500, lr=0.125100, epoch loss=1.129711
Batch=139, step=4640, lr=0.122900, batch loss=0.071439, epoch loss=0.342820
Batch=279, step=4780, lr=0.120567, batch loss=0.023023, epoch loss=0.674073
Batch=299, step=4800, lr=0.120100, batch loss=0.010469, epoch loss=0.693270
Epoch=15, step=4800, lr=0.120100, epoch loss=0.693270
Batch=139, step=4940, lr=0.117900, batch loss=0.013332, epoch loss=0.254095
Batch=279, step=5080, lr=0.115567, batch loss=0.016075, epoch loss=0.526163
Batch=299, step=5100, lr=0.115100, batch loss=0.009753, epoch loss=0.551540
Epoch=16, step=5100, lr=0.115100, epoch loss=0.551540
Batch=139, step=5240, lr=0.112900, batch loss=0.010335, epoch loss=0.125243
Batch=279, step=5380, lr=0.110567, batch loss=0.013423, epoch loss=0.277761
Batch=299, step=5400, lr=0.110100, batch loss=0.008936, epoch loss=0.299794
Epoch=17, step=5400, lr=0.110100, epoch loss=0.299794
Batch=139, step=5540, lr=0.107900, batch loss=0.007121, epoch loss=0.094203
Batch=279, step=5680, lr=0.105567, batch loss=0.009820, epoch loss=0.251222
Batch=299, step=5700, lr=0.105100, batch loss=0.008714, epoch loss=0.272725
Epoch=18, step=5700, lr=0.105100, epoch loss=0.272725
Batch=139, step=5840, lr=0.102900, batch loss=0.008036, epoch loss=0.076128
Batch=279, step=5980, lr=0.100567, batch loss=0.008896, epoch loss=0.215326
Batch=299, step=6000, lr=0.100100, batch loss=0.005029, epoch loss=0.226335
Epoch=19, step=6000, lr=0.100100, epoch loss=0.226335


Half-moons scatterplot and decision boundary:
┌────────────────────────────────────────────────────────────────────────────────────────────────────┐
│********************************#*******************************************************************│
│**********************#*#*#######*###*#####*********************************************************│
│**********************#########################*****************************************************│
│*****************#**########*######*###########*###*************************************************│
│***************#################*###################************************************************│
│************######*#################*#################**********************************************│
│**********#*#####*########*#**************##*#########*#********************************************│
│***********########*##*#******************#*****##########****************************************..│
│***********###########*************************############************************************.....│
│********######*####*********************************###*###*#********************************.......│
│*******######**##***********.......****************#*######*#******************************.........│
│*******##*##**##**********...........***************########*##**************************...........│
│*****#######************.......%...%%...***************#########************************..........%.│
│******######***********.........%.........**************##*#####***********************.......%.%.%.│
│***#########**********.........%%%.%%......*************#*#######*********************.......%.%%%%.│
│****#######**********..........%%%%.........************#########*******************.........%%.%%.%│
│**#######************..........%%%%%%%........*************###*###*****************..........%%%%%%.│
│*##*####************...........%%%%%%%.........***********########****************...........%%%%%%.│
│*#######************...........%%%%%%%..........************#######**************............%%%%%%.│
│*##*####***********............%%.%%%%%...........***********####**************.............%%%%%%%.│
│*#####*#***********.............%%%%%%%............**********##*###***********...............%%%%%..│
│#######***********.............%.%%%%%%.............*********#######*********..............%%%%.%%..│
│#####*#***********..............%%%%%%%...............*******#######********...............%%%%%%%%.│
│###*#*#***********..............%%%%%%%%%..............*******######******.................%%%%%%...│
│#######**********................%%%%%%%%................****###*###*****.................%%%%%%....│
│######***********................%%%%%%%%%................***#*###******................%%%%%%%%%...│
│*#*##*#*********..................%%%%%%%%%%...............***######***..................%%%%%%.....│
│#****##*********...................%%%%%%%%%.................**###*#*.................%.%%%%%%%.....│
│***************....................%.%%%%%%...................******...................%.%%.%%......│
│***************......................%..%%%%%%%.................***...............%.%%%%%%%%%.......│
│**************........................%.%%%.%%%%..................................%%%%%%%.%.%.......│
│**************..........................%..%%%%..%................................%%%%%%%%..........│
│*************............................%%%%%%%%%%%........................%%..%%%%%%%%.%..........│
│*************............................%%.%%%%%%%%..%....................%..%%%.%%%%%%%...........│
│************................................%%%%.%%%%%%%%...............%.%%%%%%%%%%%%.%............│
│************.................................%%%%%%%%%%%%%%%%%%%%%%.%%%%.%%%%%%%%%%%%%..............│
│***********...................................%%.%%%%%%%%%%%%%%%%%%%%%%.%%%%%%%%%%%.................│
│***********.......................................%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...................│
│**********...........................................%%%.%%%%%%%%%%%%%%%%%%%%%......................│
│**********..............................................%...%%%%.%%.%%%%..%.........................│
└────────────────────────────────────────────────────────────────────────────────────────────────────┘Failed to delete directory log_files: (Sys_error "log_files\\micrograd_demo_logging-1.raw: Permission denied")
(cd _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test && .tutorials.inline-tests\inline-test-runner.exe inline-test-runner tutorials -partition einsum_trivia.ml -source-tree-root .. -diff-cmd -)


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\21322a7f2280adbf3f25ad37e881684b\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
File "test/micrograd_demo.ml", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test/micrograd_demo.ml _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test/micrograd_demo.ml.corrected
diff --git a/_build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test/micrograd_demo.ml b/_build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test/micrograd_demo.ml.corrected
index 77e46c6..3cb470c 100644
--- a/_build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test/micrograd_demo.ml
+++ b/_build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test/micrograd_demo.ml.corrected
@@ -52,15 +52,14 @@ let%expect_test "Micrograd README basic example" =
│├┼───────┤       │
│││ -4.00 │       │
│└┴───────┘       │
-    └─────────────────┘
-    ┌────────────────────────┐
-                                                              │[0]: a shape 0:1  grad_a│
-                                                              │┌┬─────────┐            │
-                                                              │││axis 0   │            │
-                                                              │├┼─────────┤            │
-                                                              │││ 1.38e+2 │            │
-                                                              │└┴─────────┘            │
-                                                              └────────────────────────┘
+    └─────────────────┘┌────────────────────────┐
+                                                             │[0]: a shape 0:1  grad_a│
+                                                             │┌┬─────────┐            │
+                                                             │││axis 0   │            │
+                                                             │├┼─────────┤            │
+                                                             │││ 1.38e+2 │            │
+                                                             │└┴─────────┘            │
+                                                             └────────────────────────┘
|}];
Tensor.print ~with_code:false ~with_grad:true `Default b;
[%expect
@@ -72,15 +71,14 @@ let%expect_test "Micrograd README basic example" =
│├┼──────┤        │
│││ 2.00 │        │
│└┴──────┘        │
-    └─────────────────┘
-    ┌────────────────────────┐
-                                                              │[2]: b shape 0:1  grad_b│
-                                                              │┌┬─────────┐            │
-                                                              │││axis 0   │            │
-                                                              │├┼─────────┤            │
-                                                              │││ 6.45e+2 │            │
-                                                              │└┴─────────┘            │
-                                                              └────────────────────────┘
+    └─────────────────┘┌────────────────────────┐
+                                                             │[2]: b shape 0:1  grad_b│
+                                                             │┌┬─────────┐            │
+                                                             │││axis 0   │            │
+                                                             │├┼─────────┤            │
+                                                             │││ 6.45e+2 │            │
+                                                             │└┴─────────┘            │
+                                                             └────────────────────────┘
|}]


let%expect_test "Micrograd half-moons example" =
File "test/hello_world_op.ml", line 1, characters 0-0:
C:\cygwin64\bin\git.exe --no-pager diff --no-index --color=always -u --ignore-cr-at-eol _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test/hello_world_op.ml _build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test/hello_world_op.ml.corrected
diff --git a/_build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test/hello_world_op.ml b/_build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test/hello_world_op.ml.corrected
index ba9d7ef..6b90c44 100644
--- a/_build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test/hello_world_op.ml
+++ b/_build/.sandbox/21322a7f2280adbf3f25ad37e881684b/default/test/hello_world_op.ml.corrected
@@ -102,36 +102,39 @@ let%expect_test "Print constant tensor" =
let%op hey = [ (1, 2, 3); (4, 5, 6) ] in
Train.forward_and_forget backend ctx hey;
Tensor.print ~with_code:false ~with_grad:false `Inline @@ hey;
-  [%expect {| [1.00, 2.00, 3.00; 4.00, 5.00, 6.00] |}];
+  [%expect {| [  1.00 , 2.00 , 3.00  ;  4.00 , 5.00 , 6.00  ][0]: c2x3_hey shape 1:3->0:2 |}];
Tensor.print ~with_code:false ~with_grad:false `Default @@ hey;
[%expect
{|
-    ┌─────────────────────────────────────────────────────────────┐
-    │[0]: [1.00, 2.00, 3.00; 4.00, 5.00, 6.00]_hey shape 1:3->0:2 │
-    │┌──────┬──────────────────┐                                  │
-    ││      │axis 1            │                                  │
-    │├──────┼──────────────────┤                                  │
-    ││axis 0│ 1.00  2.00  3.00 │                                  │
-    ││      │ 4.00  5.00  6.00 │                                  │
-    │└──────┴──────────────────┘                                  │
-    └─────────────────────────────────────────────────────────────┘
+    ┌─────────────────────────────┐
+    │[0]: c2x3_hey shape 1:3->0:2 │
+    │┌──────┬──────────────────┐  │
+    ││      │axis 1            │  │
+    │├──────┼──────────────────┤  │
+    ││axis 0│ 1.00  2.00  3.00 │  │
+    ││      │ 4.00  5.00  6.00 │  │
+    │└──────┴──────────────────┘  │
+    └─────────────────────────────┘
|}];
let%op hoo = [| [ 1; 2; 3 ]; [ 4; 5; 6 ] |] in
Train.forward_and_forget backend ctx hoo;
Tensor.print ~with_code:false ~with_grad:false `Inline @@ hoo;
-  [%expect {| [|[1.00; 2.00; 3.00]; [4.00; 5.00; 6.00]|] |}];
+  [%expect {|
+    [| [ 1.00 ; 2.00 ; 3.00 ] ; [ 4.00 ; 5.00 ; 6.00 ] |][1]: c2x3_hoo shape
+    0:2|1:3
+    |}];
Tensor.print ~with_code:false ~with_grad:false `Default @@ hoo;
[%expect
{|
-    ┌──────────────────────────────────────────────────────────────────┐
-    │[1]: [|[1.00; 2.00; 3.00]; [4.00; 5.00; 6.00]|]_hoo shape 0:2|1:3 │
-    │┌──────┬──────────────────┐                                       │
-    ││      │axis 1            │                                       │
-    │├──────┼──────────────────┤                                       │
-    ││axis 0│ 1.00  2.00  3.00 │                                       │
-    ││      │ 4.00  5.00  6.00 │                                       │
-    │└──────┴──────────────────┘                                       │
-    └──────────────────────────────────────────────────────────────────┘
+    ┌────────────────────────────┐
+    │[1]: c2x3_hoo shape 0:2|1:3 │
+    │┌──────┬──────────────────┐ │
+    ││      │axis 1            │ │
+    │├──────┼──────────────────┤ │
+    ││axis 0│ 1.00  2.00  3.00 │ │
+    ││      │ 4.00  5.00  6.00 │ │
+    │└──────┴──────────────────┘ │
+    └────────────────────────────┘
|}];
let%op hey2 =
[
@@ -145,10 +148,12 @@ let%expect_test "Print constant tensor" =
Tensor.print ~with_code:false ~with_grad:false `Inline @@ hey2;
[%expect
{|
-    [(1.00, 2.00, 3.00), (4.00, 5.00, 6.00);
-      (7.00, 8.00, 9.00), (10.00, 11.00, 12.00);
-      (13.00, 14.00, 15.00), (16.00, 17.00, 18.00);
-      (19.00, 20.00, 21.00), (22.00, 23.00, 24.00)]
+    [
+       ( 1.00 , 2.00 , 3.00 ) , ( 4.00 , 5.00 , 6.00 )
+      ;  ( 7.00 , 8.00 , 9.00 ) , ( 10.00 , 11.00 , 12.00 )
+      ;  ( 13.00 , 14.00 , 15.00 ) , ( 16.00 , 17.00 , 18.00 )
+      ;  ( 19.00 , 20.00 , 21.00 ) , ( 22.00 , 23.00 , 24.00 )
+    ][2]: c4x2x3_hey2 shape 1:2,2:3->0:4
|}];
Tensor.print ~with_code:false ~with_grad:false `Default @@ hey2;
[%expect
@@ -178,10 +183,12 @@ let%expect_test "Print constant tensor" =
Tensor.print ~with_code:false ~with_grad:false `Inline @@ hoo2;
[%expect
{|
-    [|[[1.00; 2.00; 3.00]; [4.00; 5.00; 6.00]];
-      [[7.00; 8.00; 9.00]; [10.00; 11.00; 12.00]];
-      [[13.00; 14.00; 15.00]; [16.00; 17.00; 18.00]];
-      [[19.00; 20.00; 21.00]; [22.00; 23.00; 24.00]]|]
+    [|
+      [ [ 1.00 ; 2.00 ; 3.00 ] ; [ 4.00 ; 5.00 ; 6.00 ] ]
+      ; [ [ 7.00 ; 8.00 ; 9.00 ] ; [ 10.00 ; 11.00 ; 12.00 ] ]
+      ; [ [ 13.00 ; 14.00 ; 15.00 ] ; [ 16.00 ; 17.00 ; 18.00 ] ]
+      ; [ [ 19.00 ; 20.00 ; 21.00 ] ; [ 22.00 ; 23.00 ; 24.00 ] ]
+    |][3]: c4x2x3_hoo2 shape 0:4|1:2,2:3
|}];
Tensor.print ~with_code:false ~with_grad:false `Default @@ hoo2;
[%expect
@@ -209,10 +216,12 @@ let%expect_test "Print constant tensor" =
Tensor.print ~with_code:false ~with_grad:false `Inline @@ heyhoo;
[%expect
{|
-    [|[|[1.00; 2.00; 3.00]; [4.00; 5.00; 6.00]|];
-      [|[7.00; 8.00; 9.00]; [10.00; 11.00; 12.00]|];
-      [|[13.00; 14.00; 15.00]; [16.00; 17.00; 18.00]|];
-      [|[19.00; 20.00; 21.00]; [22.00; 23.00; 24.00]|]|]
+    [|
+      [| [ 1.00 ; 2.00 ; 3.00 ] ; [ 4.00 ; 5.00 ; 6.00 ] |]
+      ; [| [ 7.00 ; 8.00 ; 9.00 ] ; [ 10.00 ; 11.00 ; 12.00 ] |]
+      ; [| [ 13.00 ; 14.00 ; 15.00 ] ; [ 16.00 ; 17.00 ; 18.00 ] |]
+      ; [| [ 19.00 ; 20.00 ; 21.00 ] ; [ 22.00 ; 23.00 ; 24.00 ] |]
+    |][4]: c4x2x3_heyhoo shape 0:4,1:2|2:3
|}];
Tensor.print ~with_code:false ~with_grad:false `Default @@ heyhoo;
[%expect
@@ -241,14 +250,23 @@ let%expect_test "Print constant tensor" =
[%expect
{|
[|
-      [|[[1.00; 31.00]; [2.00; 32.00]; [3.00; 33.00]];
-        [[4.00; 34.00]; [5.00; 35.00]; [6.00; 36.00]]|];
-      [|[[7.00; 37.00]; [8.00; 38.00]; [9.00; 39.00]];
-        [[10.00; 40.00]; [11.00; 41.00]; [12.00; 42.00]]|];
-      [|[[13.00; 43.00]; [14.00; 44.00]; [15.00; 45.00]];
-        [[16.00; 46.00]; [17.00; 47.00]; [18.00; 48.00]]|];
-      [|[[19.00; 49.00]; [20.00; 50.00]; [21.00; 51.00]];
-        [[22.00; 52.00]; [23.00; 53.00]; [24.00; 54.00]]|]|]
+      [|
+        [ [ 1.00 ; 31.00 ] ; [ 2.00 ; 32.00 ] ; [ 3.00 ; 33.00 ] ]
+        ; [ [ 4.00 ; 34.00 ] ; [ 5.00 ; 35.00 ] ; [ 6.00 ; 36.00 ] ]
+      |]
+      ; [|
+        [ [ 7.00 ; 37.00 ] ; [ 8.00 ; 38.00 ] ; [ 9.00 ; 39.00 ] ]
+        ; [ [ 10.00 ; 40.00 ] ; [ 11.00 ; 41.00 ] ; [ 12.00 ; 42.00 ] ]
+      |]
+      ; [|
+        [ [ 13.00 ; 43.00 ] ; [ 14.00 ; 44.00 ] ; [ 15.00 ; 45.00 ] ]
+        ; [ [ 16.00 ; 46.00 ] ; [ 17.00 ; 47.00 ] ; [ 18.00 ; 48.00 ] ]
+      |]
+      ; [|
+        [ [ 19.00 ; 49.00 ] ; [ 20.00 ; 50.00 ] ; [ 21.00 ; 51.00 ] ]
+        ; [ [ 22.00 ; 52.00 ] ; [ 23.00 ; 53.00 ] ; [ 24.00 ; 54.00 ] ]
+      |]
+    |][5]: c4x2x3x2_heyhoo2 shape 0:4,1:2|2:3,3:2
|}];
Tensor.print ~with_code:false ~with_grad:false `Default @@ heyhoo2;
[%expect
@@ -295,15 +313,26 @@ let%expect_test "Print constant tensor" =
{|
[|
[|
-        [[[1.00; 31.00]; [2.00; 32.00]; [3.00; 33.00]];
-          [[4.00; 34.00]; [5.00; 35.00]; [6.00; 36.00]]];
-        [[[7.00; 37.00]; [8.00; 38.00]; [9.00; 39.00]];
-          [[10.00; 40.00]; [11.00; 41.00]; [12.00; 42.00]]]|];
-      [|
-        [[[13.00; 43.00]; [14.00; 44.00]; [15.00; 45.00]];
-          [[16.00; 46.00]; [17.00; 47.00]; [18.00; 48.00]]];
-        [[[19.00; 49.00]; [20.00; 50.00]; [21.00; 51.00]];
-          [[22.00; 52.00]; [23.00; 53.00]; [24.00; 54.00]]]|]|]
+        [
+          [ [ 1.00 ; 31.00 ] ; [ 2.00 ; 32.00 ] ; [ 3.00 ; 33.00 ] ]
+          ; [ [ 4.00 ; 34.00 ] ; [ 5.00 ; 35.00 ] ; [ 6.00 ; 36.00 ] ]
+        ]
+        ; [
+          [ [ 7.00 ; 37.00 ] ; [ 8.00 ; 38.00 ] ; [ 9.00 ; 39.00 ] ]
+          ; [ [ 10.00 ; 40.00 ] ; [ 11.00 ; 41.00 ] ; [ 12.00 ; 42.00 ] ]
+        ]
+      |]
+      ; [|
+        [
+          [ [ 13.00 ; 43.00 ] ; [ 14.00 ; 44.00 ] ; [ 15.00 ; 45.00 ] ]
+          ; [ [ 16.00 ; 46.00 ] ; [ 17.00 ; 47.00 ] ; [ 18.00 ; 48.00 ] ]
+        ]
+        ; [
+          [ [ 19.00 ; 49.00 ] ; [ 20.00 ; 50.00 ] ; [ 21.00 ; 51.00 ] ]
+          ; [ [ 22.00 ; 52.00 ] ; [ 23.00 ; 53.00 ] ; [ 24.00 ; 54.00 ] ]
+        ]
+      |]
+    |][6]: c2x2x2x3x2_heyhoo3 shape 0:2,1:2|2:2,3:3,4:2
|}];
Tensor.print ~with_code:false ~with_grad:false `Default @@ heyhoo3;
[%expect
@@ -355,15 +384,26 @@ let%expect_test "Print constant tensor" =
{|
[|
[
-        [[1.00, 31.00; 2.00, 32.00; 3.00, 33.00];
-          [4.00, 34.00; 5.00, 35.00; 6.00, 36.00]];
-        [[7.00, 37.00; 8.00, 38.00; 9.00, 39.00];
-          [10.00, 40.00; 11.00, 41.00; 12.00, 42.00]]];
-      [
-        [[13.00, 43.00; 14.00, 44.00; 15.00, 45.00];
-          [16.00, 46.00; 17.00, 47.00; 18.00, 48.00]];
-        [[19.00, 49.00; 20.00, 50.00; 21.00, 51.00];
-          [22.00, 52.00; 23.00, 53.00; 24.00, 54.00]]]|]
+        [
+          [  1.00 , 31.00  ;  2.00 , 32.00  ;  3.00 , 33.00  ]
+          ; [  4.00 , 34.00  ;  5.00 , 35.00  ;  6.00 , 36.00  ]
+        ]
+        ; [
+          [  7.00 , 37.00  ;  8.00 , 38.00  ;  9.00 , 39.00  ]
+          ; [  10.00 , 40.00  ;  11.00 , 41.00  ;  12.00 , 42.00  ]
+        ]
+      ]
+      ; [
+        [
+          [  13.00 , 43.00  ;  14.00 , 44.00  ;  15.00 , 45.00  ]
+          ; [  16.00 , 46.00  ;  17.00 , 47.00  ;  18.00 , 48.00  ]
+        ]
+        ; [
+          [  19.00 , 49.00  ;  20.00 , 50.00  ;  21.00 , 51.00  ]
+          ; [  22.00 , 52.00  ;  23.00 , 53.00  ;  24.00 , 54.00  ]
+        ]
+      ]
+    |][7]: c2x2x2x3x2_heyhoo4 shape 0:2|4:2->1:2,2:2,3:3
|}];
Tensor.print ~with_code:false ~with_grad:false `Default @@ heyhoo4;
[%expect
@@ -462,8 +502,29 @@ let%expect_test "Big matrix" =
Tensor.print ~with_code:false ~with_grad:false `Inline zero_to_twenty;
[%expect
{|
-    [0.00; 1.00; 2.00; 3.00; 4.00; 5.00; 6.00; 7.00; 8.00; 9.00; 10.00; 11.00;
-      12.00; 13.00; 14.00; 15.00; 16.00; 17.00; 18.00; 19.00; 20.00]
+    [
+      0.00
+      ; 1.00
+      ; 2.00
+      ; 3.00
+      ; 4.00
+      ; 5.00
+      ; 6.00
+      ; 7.00
+      ; 8.00
+      ; 9.00
+      ; 10.00
+      ; 11.00
+      ; 12.00
+      ; 13.00
+      ; 14.00
+      ; 15.00
+      ; 16.00
+      ; 17.00
+      ; 18.00
+      ; 19.00
+      ; 20.00
+    ][2]: 0...20 shape 0:21
|}];
Tensor.print ~with_code:false ~with_grad:false `Default zero_to_twenty;
[%expect
"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-05-22 12:21.01: Job failed: Failed: Build failed