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

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

Link Copied
Code Copied

Logs

2025-03-21 13:23.09: New job: test ahrefs/ocannl https://github.com/ahrefs/ocannl.git#refs/heads/master (d63fdf0da2bdea174a1f4139e51107496c5013e8) (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 d63fdf0d
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 4e25d0cf5f38cf58d1904bbb48f62ccd9c48f785 || git fetch origin master) && git reset -q --hard 4e25d0cf5f38cf58d1904bbb48f62ccd9c48f785 && 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 backoff.0.1.1 base.v0.17.1 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 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.17.2 dune-configurator.3.17.2 fieldslib.v0.17.0 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 integers.0.7.0 jane-street-headers.v0.17.0 jst-config.v0.17.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_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 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.1.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 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 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-03-21 13:23.09: Using cache hint "ahrefs/ocannl-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.3-57cdb8cd1bb0ef1f5bbf8d7b86cd5251"
2025-03-21 13:23.09: 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 4e25d0cf5f38cf58d1904bbb48f62ccd9c48f785 || git fetch origin master) && git reset -q --hard 4e25d0cf5f38cf58d1904bbb48f62ccd9c48f785 && 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 backoff.0.1.1 base.v0.17.1 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 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.17.2 dune-configurator.3.17.2 fieldslib.v0.17.0 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 integers.0.7.0 jane-street-headers.v0.17.0 jst-config.v0.17.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_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 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.1.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 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 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-03-21 13:23.09: Waiting for resource in pool OCluster
2025-03-21 13:23.09: Waiting for worker…
2025-03-21 13:23.09: Got resource from pool OCluster
Building on odawa
HEAD is now at f874a4e Support non-diff "self" tensor inside backprop code
HEAD is now at d63fdf0 Expose and test the new unary ops


(from windows-server-2022-amd64-ocaml-5.3)
2025-03-21 13:23.10 ---> 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-03-21 13:23.10 ---> 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-03-21 13:23.10 ---> 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-03-21 13:23.10 ---> 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 4e25d0cf5f38cf58d1904bbb48f62ccd9c48f785 || git fetch origin master) && git reset -q --hard 4e25d0cf5f38cf58d1904bbb48f62ccd9c48f785 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f93eb7cb02..6cf83229dd  master     -> origin/master
4e25d0cf5f Merge pull request #27651 from lukstafi/opam-publish-ppx_minidebug.2.1.0


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


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.
# To update the current shell environment, run: eval $(opam env)
2025-03-21 13:23.10 ---> using "775cf711399f1921c9e981f177ac7e1e33e9835fa82b1639b0af335c2d03a658" from cache


/: (copy (src neural_nets_lib.opam arrayjit.opam) (dst /Users/opam/src/./))
2025-03-21 13:23.10 ---> using "41603c16df7f1f35ad3648d77d67b191ce9dd0ea6ec573e0da4a9c317c7eed70" 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-03-21 13:23.10 ---> using "d78ff79b3462b526a3bc0e0e8426f33d90f566f2051bc9064a8a67c75954140a" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-03-21 13:23.10 ---> using "7680617379cfac1bf86911e03b5ad3afd7f74f96817b85a43cf8c26bfba80f2f" from cache


/: (env DEPS "angstrom.0.16.1 arch-x86_64.1 backoff.0.1.1 base.v0.17.1 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 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.17.2 dune-configurator.3.17.2 fieldslib.v0.17.0 flexdll.0.43 host-arch-x86_64.1 host-system-mingw.1 integers.0.7.0 jane-street-headers.v0.17.0 jst-config.v0.17.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_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 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.1.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 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 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.43).
[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.932
- 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-03-21 13:23.10 ---> using "b15d3ca056cbd6ee28dd8093ed2c2ae99b31d6f34195a41a08d9ae08737abc43" 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.43).
[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 66 packages
- install   angstrom                     0.16.1
- install   backoff                      0.1.1
- install   base                         v0.17.1
- install   bigarray-compat              1.1.0
- install   bigstringaf                  0.10.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.17.2
- install   dune-configurator            3.17.2
- install   fieldslib                    v0.17.0
- install   integers                     0.7.0
- install   jane-street-headers          v0.17.0
- install   jst-config                   v0.17.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_intrinsics_kernel      v0.17.1
- install   ocamlbuild                   0.16.1
- install   ocamlfind                    1.9.8
- install   parsexp                      v0.17.0
- 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.1.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   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   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 backoff.0.1.1  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved base.v0.17.1  (cached)
-> retrieved bigstringaf.0.10.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 integers.0.7.0  (cached)
-> retrieved jane-street-headers.v0.17.0  (cached)
-> retrieved jst-config.v0.17.0  (cached)
-> retrieved mingw-w64-shims.0.2.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_intrinsics_kernel.v0.17.1  (cached)
-> removed   mingw-w64-shims.0.2.0
-> installed conf-pkg-config.4
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved parsexp.v0.17.0  (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)
-> installed conf-mingw-w64-libffi-x86_64.1
-> retrieved ppx_deriving.6.0.3  (cached)
-> retrieved ppx_enumerate.v0.17.0  (cached)
-> installed conf-libffi.2.0.0
-> installed mingw-w64-shims.0.2.0
-> retrieved ppx_expect.v0.17.2  (cached)
-> retrieved dune.3.17.2, dune-configurator.3.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_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 ppx_minidebug.2.1.0  (https://github.com/lukstafi/ppx_minidebug/archive/refs/tags/2.1.0.1.tar.gz)
-> retrieved ptime.1.2.0  (cached)
-> retrieved ppxlib.0.35.0  (https://github.com/ocaml-ppx/ppxlib/releases/download/0.35.0/ppxlib-0.35.0.tbz)
-> retrieved printbox.0.12, printbox-ext-plot.0.12, printbox-html.0.12, printbox-md.0.12, printbox-text.0.12  (https://github.com/c-cube/printbox/releases/download/v0.12/printbox-0.12.tbz)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.12.0  (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 time_now.v0.17.0  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> retrieved uucp.16.0.0  (cached)
-> retrieved topkg.1.0.8  (https://erratique.ch/software/topkg/releases/topkg-1.0.8.tbz)
-> retrieved variantslib.v0.17.0  (cached)
-> retrieved uutf.1.0.4  (https://erratique.ch/software/uutf/releases/uutf-1.0.4.tbz)
-> installed num.1.5-1
[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 mtime.2.1.0
-> installed ptime.1.2.0
-> installed dune.3.17.2
-> installed jane-street-headers.v0.17.0
-> installed bigarray-compat.1.1.0
-> installed backoff.0.1.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed multicore-magic.2.3.1
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ppx_derivers.1.2.1
-> installed printbox.0.12
-> installed re.1.12.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed saturn_lockfree.0.5.0
-> installed integers.0.7.0
-> installed dune-configurator.3.17.2
-> installed parsexp.v0.17.0
-> installed tyxml.4.6.0
-> installed bigstringaf.0.10.0
-> installed printbox-html.0.12
-> installed sexplib.v0.17.0
-> installed angstrom.0.16.1
-> installed base.v0.17.1
-> installed fieldslib.v0.17.0
-> installed variantslib.v0.17.0
-> installed stdio.v0.17.0
-> installed uucp.16.0.0
-> installed printbox-text.0.12
-> installed ctypes.0.23.0
-> installed printbox-md.0.12
-> installed printbox-ext-plot.0.12
-> installed ppxlib.0.35.0
-> 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_globalize.v0.17.0
-> installed ppx_enumerate.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.1.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-03-21 13:23.10 ---> using "240c6c9ce4cf4621e83a2d42556191d0dbfa3425b57d8c6a3c583dbaed9a9336" from cache


/: (copy (src .) (dst /Users/opam/src))
2025-03-21 13:23.23 ---> saved as "665013a4c62a1cbfa27ade3e05f612f32e9d77ae6e8dce67b5529ad56b1dcdfa"


/: (run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(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/82830155e3a601b52f1b5daee4b7a9ee/default/test && .tutorials.inline-tests\inline_test_runner_tutorials.exe inline-test-runner tutorials -partition "Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\ce02b2607bf031edbaf48dd7d4034e9f\default\test\ocannl_config." -source-tree-root .. -diff-cmd -)


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


Welcome to OCANNL! Reading configuration defaults from C:\Users\opam\src\_build\.sandbox\82830155e3a601b52f1b5daee4b7a9ee\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test && .tutorials.inline-tests\inline_test_runner_tutorials.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\82830155e3a601b52f1b5daee4b7a9ee\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test && .tutorials.inline-tests\inline_test_runner_tutorials.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\82830155e3a601b52f1b5daee4b7a9ee\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test && .tutorials.inline-tests\inline_test_runner_tutorials.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\82830155e3a601b52f1b5daee4b7a9ee\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test && .tutorials.inline-tests\inline_test_runner_tutorials.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\82830155e3a601b52f1b5daee4b7a9ee\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test && .tutorials.inline-tests\inline_test_runner_tutorials.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\82830155e3a601b52f1b5daee4b7a9ee\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test && .tutorials.inline-tests\inline_test_runner_tutorials.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\82830155e3a601b52f1b5daee4b7a9ee\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
(cd _build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test && .tutorials.inline-tests\inline_test_runner_tutorials.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\82830155e3a601b52f1b5daee4b7a9ee\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 cc, in the config file
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=59, step=60, lr=0.199250, batch loss=0.849657, epoch loss=34.749045
Batch=119, step=120, lr=0.198250, batch loss=0.822060, epoch loss=38.966148
Batch=179, step=180, lr=0.197250, batch loss=0.411299, epoch loss=41.614909
Batch=239, step=240, lr=0.196250, batch loss=0.245136, epoch loss=43.159551
Batch=299, step=300, lr=0.195250, batch loss=0.263683, epoch loss=44.455960
Epoch=0, step=300, lr=0.195250, epoch loss=44.455960
Batch=59, step=360, lr=0.194250, batch loss=0.347897, epoch loss=1.058921
Batch=119, step=420, lr=0.193250, batch loss=0.276246, epoch loss=2.211809
Batch=179, step=480, lr=0.192250, batch loss=0.354871, epoch loss=3.394120
Batch=239, step=540, lr=0.191250, batch loss=0.213986, epoch loss=4.624405
Batch=299, step=600, lr=0.190000, batch loss=0.220689, epoch loss=5.662748
Epoch=1, step=600, lr=0.190000, epoch loss=5.662748
Batch=59, step=660, lr=0.189250, batch loss=0.328111, epoch loss=0.975528
Batch=119, step=720, lr=0.188250, batch loss=0.264722, epoch loss=2.014954
Batch=179, step=780, lr=0.187250, batch loss=0.343396, epoch loss=3.155398
Batch=239, step=840, lr=0.186250, batch loss=0.204646, epoch loss=4.329189
Batch=299, step=900, lr=0.185250, batch loss=0.199286, epoch loss=5.282598
Epoch=2, step=900, lr=0.185250, epoch loss=5.282598
Batch=59, step=960, lr=0.184250, batch loss=0.314587, epoch loss=0.931290
Batch=119, step=1020, lr=0.183250, batch loss=0.248966, epoch loss=1.937499
Batch=179, step=1080, lr=0.182250, batch loss=0.326071, epoch loss=3.029660
Batch=239, step=1140, lr=0.181250, batch loss=0.216941, epoch loss=4.195592
Batch=299, step=1200, lr=0.180250, batch loss=0.190095, epoch loss=5.202638
Epoch=3, step=1200, lr=0.180250, epoch loss=5.202638
Batch=59, step=1260, lr=0.179250, batch loss=0.307716, epoch loss=0.924636
Batch=119, step=1320, lr=0.178250, batch loss=0.250838, epoch loss=1.938839
Batch=179, step=1380, lr=0.177250, batch loss=0.320908, epoch loss=3.015973
Batch=239, step=1440, lr=0.176250, batch loss=0.215967, epoch loss=4.156621
Batch=299, step=1500, lr=0.175250, batch loss=0.185734, epoch loss=5.124706
Epoch=4, step=1500, lr=0.175250, epoch loss=5.124706
Batch=59, step=1560, lr=0.174250, batch loss=0.302054, epoch loss=0.914692
Batch=119, step=1620, lr=0.173250, batch loss=0.241085, epoch loss=1.887916
Batch=179, step=1680, lr=0.172250, batch loss=0.318128, epoch loss=2.947209
Batch=239, step=1740, lr=0.171250, batch loss=0.210359, epoch loss=4.064921
Batch=299, step=1800, lr=0.170250, batch loss=0.184916, epoch loss=4.980299
Epoch=5, step=1800, lr=0.170250, epoch loss=4.980299
Batch=59, step=1860, lr=0.169250, batch loss=0.290277, epoch loss=0.904517
Batch=119, step=1920, lr=0.168250, batch loss=0.234873, epoch loss=1.865713
Batch=179, step=1980, lr=0.167250, batch loss=0.310342, epoch loss=2.899855
Batch=239, step=2040, lr=0.166250, batch loss=0.199865, epoch loss=3.983694
Batch=299, step=2100, lr=0.165250, batch loss=0.172561, epoch loss=4.891367
Epoch=6, step=2100, lr=0.165250, epoch loss=4.891367
Batch=59, step=2160, lr=0.164250, batch loss=0.280207, epoch loss=0.852728
Batch=119, step=2220, lr=0.163250, batch loss=0.214073, epoch loss=1.738567
Batch=179, step=2280, lr=0.162250, batch loss=0.294788, epoch loss=2.723896
Batch=239, step=2340, lr=0.161250, batch loss=0.190504, epoch loss=3.766676
Batch=299, step=2400, lr=0.160250, batch loss=0.165900, epoch loss=4.649188
Epoch=7, step=2400, lr=0.160250, epoch loss=4.649188
Batch=59, step=2460, lr=0.159250, batch loss=0.259878, epoch loss=0.801818
Batch=119, step=2520, lr=0.158250, batch loss=0.223104, epoch loss=1.689176
Batch=179, step=2580, lr=0.157250, batch loss=0.278437, epoch loss=2.622997
Batch=239, step=2640, lr=0.156250, batch loss=0.175393, epoch loss=3.598426
Batch=299, step=2700, lr=0.155250, batch loss=0.155697, epoch loss=4.434143
Epoch=8, step=2700, lr=0.155250, epoch loss=4.434143
Batch=59, step=2760, lr=0.154250, batch loss=0.240629, epoch loss=0.736329
Batch=119, step=2820, lr=0.153250, batch loss=0.211709, epoch loss=1.554270
Batch=179, step=2880, lr=0.152250, batch loss=0.264941, epoch loss=2.423079
Batch=239, step=2940, lr=0.151250, batch loss=0.186831, epoch loss=3.345992
Batch=299, step=3000, lr=0.150250, batch loss=0.138994, epoch loss=4.099590
Epoch=9, step=3000, lr=0.150250, epoch loss=4.099590
Batch=59, step=3060, lr=0.149250, batch loss=0.217737, epoch loss=0.656265
Batch=119, step=3120, lr=0.148250, batch loss=0.178206, epoch loss=1.377605
Batch=179, step=3180, lr=0.147250, batch loss=0.234015, epoch loss=2.127194
Batch=239, step=3240, lr=0.146250, batch loss=0.148459, epoch loss=2.935165
Batch=299, step=3300, lr=0.145250, batch loss=0.117311, epoch loss=3.587385
Epoch=10, step=3300, lr=0.145250, epoch loss=3.587385
Batch=59, step=3360, lr=0.144250, batch loss=0.181545, epoch loss=0.569949
Batch=119, step=3420, lr=0.143250, batch loss=0.143765, epoch loss=1.155096
Batch=179, step=3480, lr=0.142250, batch loss=0.175701, epoch loss=1.740798
Batch=239, step=3540, lr=0.141250, batch loss=0.133669, epoch loss=2.410433
Batch=299, step=3600, lr=0.140250, batch loss=0.091786, epoch loss=2.997389
Epoch=11, step=3600, lr=0.140250, epoch loss=2.997389
Batch=59, step=3660, lr=0.139250, batch loss=0.138916, epoch loss=0.468938
Batch=119, step=3720, lr=0.138250, batch loss=0.101572, epoch loss=0.888518
Batch=179, step=3780, lr=0.137250, batch loss=0.126941, epoch loss=1.344067
Batch=239, step=3840, lr=0.136250, batch loss=0.059919, epoch loss=1.997891
Batch=299, step=3900, lr=0.135250, batch loss=0.059184, epoch loss=2.329534
Epoch=12, step=3900, lr=0.135250, epoch loss=2.329534
Batch=59, step=3960, lr=0.134250, batch loss=0.092991, epoch loss=0.381000
Batch=119, step=4020, lr=0.133250, batch loss=0.050748, epoch loss=0.627966
Batch=179, step=4080, lr=0.132250, batch loss=0.123894, epoch loss=1.096496
Batch=239, step=4140, lr=0.131250, batch loss=0.030470, epoch loss=1.547229
Batch=299, step=4200, lr=0.130250, batch loss=0.035794, epoch loss=1.769511
Epoch=13, step=4200, lr=0.130250, epoch loss=1.769511
Batch=59, step=4260, lr=0.129250, batch loss=0.057646, epoch loss=0.166259
Batch=119, step=4320, lr=0.128250, batch loss=0.022321, epoch loss=0.355018
Batch=179, step=4380, lr=0.127250, batch loss=0.059834, epoch loss=0.532343
Batch=239, step=4440, lr=0.126250, batch loss=0.017976, epoch loss=0.765051
Batch=299, step=4500, lr=0.125250, batch loss=0.021198, epoch loss=0.928729
Epoch=14, step=4500, lr=0.125250, epoch loss=0.928729
Batch=59, step=4560, lr=0.124250, batch loss=0.032863, epoch loss=0.092004
Batch=119, step=4620, lr=0.123250, batch loss=0.016919, epoch loss=0.168567
Batch=179, step=4680, lr=0.122250, batch loss=0.031984, epoch loss=0.281652
Batch=239, step=4740, lr=0.121250, batch loss=0.013311, epoch loss=0.514811
Batch=299, step=4800, lr=0.120250, batch loss=0.010009, epoch loss=0.579083
Epoch=15, step=4800, lr=0.120250, epoch loss=0.579083
Batch=59, step=4860, lr=0.119250, batch loss=0.019930, epoch loss=0.089187
Batch=119, step=4920, lr=0.118250, batch loss=0.006339, epoch loss=0.143348
Batch=179, step=4980, lr=0.117250, batch loss=0.033289, epoch loss=0.246673
Batch=239, step=5040, lr=0.116250, batch loss=0.013072, epoch loss=0.385631
Batch=299, step=5100, lr=0.115250, batch loss=0.007561, epoch loss=0.424908
Epoch=16, step=5100, lr=0.115250, epoch loss=0.424908
Batch=59, step=5160, lr=0.114250, batch loss=0.013384, epoch loss=0.040343
Batch=119, step=5220, lr=0.113250, batch loss=0.003619, epoch loss=0.076222
Batch=179, step=5280, lr=0.112250, batch loss=0.037711, epoch loss=0.164414
Batch=239, step=5340, lr=0.111250, batch loss=0.009822, epoch loss=0.310872
Batch=299, step=5400, lr=0.110250, batch loss=0.005509, epoch loss=0.341611
Epoch=17, step=5400, lr=0.110250, epoch loss=0.341611
Batch=59, step=5460, lr=0.109250, batch loss=0.009287, epoch loss=0.031150
Batch=119, step=5520, lr=0.108000, batch loss=0.002740, epoch loss=0.068099
Batch=179, step=5580, lr=0.107250, batch loss=0.026281, epoch loss=0.143566
Batch=239, step=5640, lr=0.106250, batch loss=0.010469, epoch loss=0.241378
Batch=299, step=5700, lr=0.105250, batch loss=0.004290, epoch loss=0.266630
Epoch=18, step=5700, lr=0.105250, epoch loss=0.266630
Batch=59, step=5760, lr=0.104250, batch loss=0.008612, epoch loss=0.025669
Batch=119, step=5820, lr=0.103250, batch loss=0.002535, epoch loss=0.057667
Batch=179, step=5880, lr=0.102250, batch loss=0.013003, epoch loss=0.112367
Batch=239, step=5940, lr=0.101250, batch loss=0.008526, epoch loss=0.191784
Batch=299, step=6000, lr=0.100250, batch loss=0.004878, epoch loss=0.215121
Epoch=19, step=6000, lr=0.100250, epoch loss=0.215121


Half-moons scatterplot and decision boundary:
┌────────────────────────────────────────────────────────────────────────────────────────────────────┐
│********************************#*******************************************************************│
│**********************#*#*#######*###*#####*********************************************************│
│**********************#########################*****************************************************│
│*****************#**########*######*###########*###*************************************************│
│***************#################*###################************************************************│
│************######*#################*#################**********************************************│
│**********#*#####*########*#**************##*#########*#********************************************│
│***********########*##*#******************#*****##########****************************************..│
│***********###########*************************############************************************.....│
│********######*####*********************************###*###*#********************************.......│
│*******######**##*************....*****************#*######*#*****************************..........│
│*******##*##**##**********...........***************########*##*************************............│
│*****#######************.......%...%%...***************#########***********************...........%.│
│******######**********..........%.........**************##*#####**********************........%.%.%.│
│***#########**********.........%%%.%%......*************#*#######********************........%.%%%%.│
│****#######**********..........%%%%.........************#########*******************.........%%.%%.%│
│**#######************..........%%%%%%%........*************###*###****************...........%%%%%%.│
│*##*####************...........%%%%%%%.........***********########***************............%%%%%%.│
│*#######************...........%%%%%%%..........************#######*************.............%%%%%%.│
│*##*####***********............%%.%%%%%...........***********####**************.............%%%%%%%.│
│*#####*#***********.............%%%%%%%............**********##*###***********...............%%%%%..│
│#######***********.............%.%%%%%%..............********#######*********..............%%%%.%%..│
│#####*#**********...............%%%%%%%...............*******#######*******................%%%%%%%%.│
│###*#*#**********...............%%%%%%%%%..............*******######******.................%%%%%%...│
│#######*********.................%%%%%%%%................****###*###*****.................%%%%%%....│
│######**********.................%%%%%%%%%................***#*###******................%%%%%%%%%...│
│*#*##*#********...................%%%%%%%%%%...............***######***..................%%%%%%.....│
│#****##********....................%%%%%%%%%.................**###*#**................%.%%%%%%%.....│
│**************.....................%.%%%%%%...................******...................%.%%.%%......│
│**************.......................%..%%%%%%%.................***...............%.%%%%%%%%%.......│
│*************.........................%.%%%.%%%%.................*................%%%%%%%.%.%.......│
│************............................%..%%%%..%................................%%%%%%%%..........│
│************.............................%%%%%%%%%%%........................%%..%%%%%%%%.%..........│
│***********..............................%%.%%%%%%%%..%....................%..%%%.%%%%%%%...........│
│***********.................................%%%%.%%%%%%%%...............%.%%%%%%%%%%%%.%............│
│**********...................................%%%%%%%%%%%%%%%%%%%%%%.%%%%.%%%%%%%%%%%%%..............│
│**********....................................%%.%%%%%%%%%%%%%%%%%%%%%%.%%%%%%%%%%%.................│
│*********.........................................%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...................│
│*********............................................%%%.%%%%%%%%%%%%%%%%%%%%%......................│
│********................................................%...%%%%.%%.%%%%..%.........................│
└────────────────────────────────────────────────────────────────────────────────────────────────────┘
(cd _build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test && .tutorials.inline-tests\inline_test_runner_tutorials.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\82830155e3a601b52f1b5daee4b7a9ee\default\test\ocannl_config.
Retrieving commandline, environment, or config file variable ocannl_log_level
Found 0, in the config file
File "test/primitive_ops.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/82830155e3a601b52f1b5daee4b7a9ee/default/test/primitive_ops.ml _build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test/primitive_ops.ml.corrected
diff --git a/_build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test/primitive_ops.ml b/_build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test/primitive_ops.ml.corrected
index 18fb8fd..4dd32f4 100644
--- a/_build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test/primitive_ops.ml
+++ b/_build/.sandbox/82830155e3a601b52f1b5daee4b7a9ee/default/test/primitive_ops.ml.corrected
@@ -534,48 +534,48 @@ let%expect_test "sqrt(x)" =
[%expect
{|
┌─────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
-    │ inf │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │f    │                                                                                                    │
-    │(    │                                                                                                    │
-    │x    │                                                                                                    │
-    │)    │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │     │                                                                                                    │
-    │ 0.00│*************************-*************** ********-******************************* **** *******-****│
+    │ 2.23│                                                                                                   #│
+    │     │                                                                                              ##### │
+    │     │                                                                                         #####      │
+    │     │                                                                                     ####           │
+    │     │                                                                                ## ##               │
+    │     │                                                                           #####                    │
+    │     │                                                                       ####                         │
+    │     │                                                                  #####                             │
+    │     │                                                              ####                                  │
+    │     │                                                          ## #                                      │
+    │     │                                                      # ##                                          │
+    │     │                                                   ###                                              │
+    │     │*                                              ####                                                 │
+    │     │                                           ####                                                     │
+    │     │                                        # #                                                         │
+    │     │                                     ###                                                            │
+    │     │                                  ###                                                               │
+    │     │ *                             ###                                                                  │
+    │f    │                            ##                                                                      │
+    │(    │                         ###                                                                        │
+    │x    │  *                   ###                                                                           │
+    │)    │                    ##                                                                              │
+    │     │   *              ##                                                                                │
+    │     │              # ##                                                                                  │
+    │     │    *        ##                                                                                     │
+    │     │     *     ##                                                                                       │
+    │     │      **  #                                                                                         │
+    │     │        *#                                                                                          │
+    │     │       # **                                                                                         │
+    │     │     ##    ***                                                                                      │
+    │     │    #         * *                                                                                   │
+    │     │   #             *****                                                                              │
+    │     │  #                   ********                                                                      │
+    │     │ #                           * **********                                                           │
+    │     │#                                       * ************* ****                                        │
+    │     │                                                           * ********************* ************     │
+    │     │                                                                                               *****│
+    │     │                                                                                                    │
+    │     │                                                                                                    │
+    │ 0.00│-    -    -    -    -    -    -    -    -    -    -    -    -    -    -    -    -    -    -    -    │
├─────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
-    │     │0.00                                                                                            5.00│
+    │     │1.00e-1                                                                                         5.00│
│     │                                                 x                                                  │
└─────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
|}]
@@ -585,7 +585,35 @@ let%expect_test "recip(x)" =
let plot_box = plot_unop ~f ~x_min:0.1 ~x_max:5.0 () in
PrintBox_text.output Stdio.stdout plot_box;
(* FIXME: There's is a bug here in the shape inference. *)
-  [%expect {||}]
+  [%expect.unreachable]
+[@@expect.uncaught_exn {|
+  (* CR expect_test_collector: This test expectation appears to contain a backtrace.
+     This is strongly discouraged as backtraces are fragile.
+     Please change this test to not include a backtrace. *)
+  (lib/shape.ml.Shape_error "Too many axes in a subtensor"
+    ((Row_mismatch
+       ((dims ()) (bcast Broadcastable) (id ((sh_id 8) (kind Input))))
+       ((dims ((Var ((id 166) (label ())))))
+         (bcast (Row_var (v (Row_var 167)) (beg_dims ())))
+         (id ((sh_id 7) (kind Output)))))))
+  Raised at Ocannl__Row.solve_row_ineq in file "lib/row.ml", line 1087, characters 6-91
+  Re-raised at Ocannl__Row.solve_row_ineq in file "lib/row.ml", lines 919-1151, characters 31-44
+  Called from Ocannl__Row.solve_inequalities.solve.f in file "lib/row.ml", line 1293, characters 32-68
+  Called from Base__List0.fold in file "src/list0.ml", line 43, characters 27-37
+  Called from Ocannl__Row.solve_inequalities.solve in file "lib/row.ml", line 1323, characters 22-56
+  Re-raised at Ocannl__Row.solve_inequalities.solve in file "lib/row.ml", lines 1276-1329, characters 16-25
+  Called from Ocannl__Row.solve_inequalities in file "lib/row.ml", line 1332, characters 50-65
+  Re-raised at Ocannl__Row.solve_inequalities in file "lib/row.ml", lines 1274-1355, characters 35-44
+  Called from Ocannl__Shape.propagate_shapes in file "lib/shape.ml", line 609, characters 20-73
+  Re-raised at Ocannl__Shape.propagate_shapes in file "lib/shape.ml", lines 602-612, characters 33-14
+  Called from Base__List0.iter in file "src/list0.ml", line 66, characters 4-7
+  Called from Ocannl__Tensor.op in file "lib/tensor.ml", line 197, characters 2-57
+  Called from Ocannl__Operation.recip.(fun) in file "lib/operation.ml", line 250, characters 53-69
+  Called from Ocannl__Tensor.op in file "lib/tensor.ml", line 265, characters 38-65
+  Called from Tutorials__Primitive_ops.plot_unop in file "test/primitive_ops.ml", line 32, characters 14-17
+  Called from Tutorials__Primitive_ops.(fun) in file "test/primitive_ops.ml", line 585, characters 17-54
+  Called from Ppx_expect_runtime__Test_block.Configured.dump_backtrace in file "runtime/test_block.ml", line 142, characters 10-28
+  |}]


let%expect_test "recip_sqrt(x)" =
let%op f x = recip_sqrt x in
"cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-03-21 13:24.07: Job failed: Failed: Build failed