2025-03-21 13:23.09: New job: test ahrefs/ocannl https://github.com/ahrefs/ocannl.git#refs/heads/master (d63fdf0da2bdea174a1f4139e51107496c5013e8) (linux-s390x:debian-12-5.3_s390x_opam-2.3) Base: ocaml/opam:debian-12-ocaml-5.3@sha256:913b6a6fccda0fe5ea306d299e2f04e59325e79caf2f99825a92473fc99a0454 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 ocaml/opam:debian-12-ocaml-5.3@sha256:913b6a6fccda0fe5ea306d299e2f04e59325e79caf2f99825a92473fc99a0454 # debian-12-5.3_s390x_opam-2.3 USER 1000:1000 ENV CLICOLOR_FORCE="1" ENV OPAMCOLOR="always" WORKDIR /src RUN sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version WORKDIR /src RUN sudo chown opam /src 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 ./ RUN opam pin add -yn neural_nets_lib.dev './' && \ opam pin add -yn arrayjit.dev './' RUN echo '(lang dune 3.0)' > './dune-project' ENV DEPS="angstrom.0.16.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-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 integers.0.7.0 jane-street-headers.v0.17.0 jst-config.v0.17.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-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 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 . /src RUN 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-ocaml/opam:debian-12-ocaml-5.3@sha256:913b6a6fccda0fe5ea306d299e2f04e59325e79caf2f99825a92473fc99a0454-debian-12-5.3_s390x_opam-2.3-3fcdf15be1e8f7dcae915b4cdb940fd5" 2025-03-21 13:23.09: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.3@sha256:913b6a6fccda0fe5ea306d299e2f04e59325e79caf2f99825a92473fc99a0454) (comment debian-12-5.3_s390x_opam-2.3) (user (uid 1000) (gid 1000)) (env CLICOLOR_FORCE 1) (env OPAMCOLOR always) (workdir /src) (run (shell "sudo 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")) (workdir /src) (run (shell "sudo chown opam /src")) (run (cache (opam-archives (target /home/opam/.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 ./)) (run (network host) (shell "opam pin add -yn neural_nets_lib.dev './' && \ \nopam pin add -yn arrayjit.dev './'")) (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) (env DEPS "angstrom.0.16.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-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 integers.0.7.0 jane-street-headers.v0.17.0 jst-config.v0.17.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-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 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 /home/opam/.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 /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) (copy (src .) (dst /src)) (run (shell "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.10: Waiting for worker… 2025-03-21 14:13.16: Got resource from pool OCluster Building on s390x-worker-02.marist.ci.dev HEAD is now at f874a4ef Support non-diff "self" tensor inside backprop code HEAD is now at d63fdf0d Expose and test the new unary ops (from ocaml/opam:debian-12-ocaml-5.3@sha256:913b6a6fccda0fe5ea306d299e2f04e59325e79caf2f99825a92473fc99a0454) 2025-03-21 14:13.18 ---> using "8a5cf988ed4e44aa69a9a92c390361dd0474bf1c7888178b24b31a1b5b8cd184" from cache /: (comment debian-12-5.3_s390x_opam-2.3) /: (user (uid 1000) (gid 1000)) /: (env CLICOLOR_FORCE 1) /: (env OPAMCOLOR always) /: (workdir /src) /src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-03-21 14:13.18 ---> using "8aa7fdae16e363611ed304826287f198076f11c224b45492c65931e25441c926" from cache /src: (run (shell "opam init --reinit -ni")) Configuring from /home/opam/.opamrc and then from built-in defaults. 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. This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted. You may want to back it up before going further. Continue? [y/n] y Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com" [default] synchronised from file:///home/opam/opam-repository 2025-03-21 14:13.18 ---> using "1546b68e92ad04b4f79c84f82420d186c6abe552c32f79e815b5e0dde244a13d" from cache /src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 6.8.0-55-generic The OCaml toplevel, version 5.3.0 2.3.0 2025-03-21 14:13.18 ---> using "2dbfca78776cc46b8f72593cb352c8f1c5ff567e2c32d2080f658ed9bbee6e99" from cache /src: (workdir /src) /src: (run (shell "sudo chown opam /src")) 2025-03-21 14:13.18 ---> using "e245c0b33541df3a7c29f26b4c0acab0214ac26c8e9a20001d24adb14a5ff60e" from cache /src: (run (cache (opam-archives (target /home/opam/.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 862a7640b1..6cf83229dd master -> origin/master 4e25d0cf5f Merge pull request #27651 from lukstafi/opam-publish-ppx_minidebug.2.1.0 <><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> [opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive [default] synchronised from file:///home/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 14:13.18 ---> using "f170d3708445a1354df982e3fffa432dcbbd2da81575fb2cbaf695e034c77493" from cache /src: (copy (src neural_nets_lib.opam arrayjit.opam) (dst ./)) 2025-03-21 14:13.18 ---> using "7e49a3aa7cc4bafae15a0294b59dc93ec558974c80e788065de19dbf69da7481" from cache /src: (run (network host) (shell "opam pin add -yn neural_nets_lib.dev './' && \ \nopam pin add -yn arrayjit.dev './'")) [neural_nets_lib.dev] synchronised (file:///src) neural_nets_lib is now pinned to file:///src (version dev) [arrayjit.dev] synchronised (file:///src) arrayjit is now pinned to file:///src (version dev) 2025-03-21 14:13.18 ---> using "cad9a3915abae3914efd8b38abdf05a88babb8a51a34e176895c347bc3d6de2c" from cache /src: (run (network host) (shell "echo '(lang dune 3.0)' > './dune-project'")) 2025-03-21 14:13.18 ---> using "0ace73d6fa2a4844194862f4a89b5e8010048407993479e7de456b283e0b5a2c" from cache /src: (env DEPS "angstrom.0.16.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-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 integers.0.7.0 jane-street-headers.v0.17.0 jst-config.v0.17.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-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 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") /src: (env CI true) /src: (env OCAMLCI true) /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam update --depexts && opam install --cli=2.3 --depext-only -y neural_nets_lib.dev arrayjit.dev $DEPS")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] - Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] - Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] - Get:4 http://deb.debian.org/debian bookworm/main s390x Packages [8458 kB] - Get:5 http://deb.debian.org/debian-security bookworm-security/main s390x Packages [215 kB] - Fetched 8928 kB in 3s (3312 kB/s) - Reading package lists... - <><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><> [arrayjit.dev] synchronised (file:///src) [neural_nets_lib.dev] synchronised (file:///src) [NOTE] Package ocaml-options-vanilla 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 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). The following system packages will first need to be installed: libffi-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libffi-dev:s390x. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18549 files and directories currently installed.) - Preparing to unpack .../libffi-dev_3.4.4-1_s390x.deb ... - Unpacking libffi-dev:s390x (3.4.4-1) ... - Selecting previously unselected package libpkgconf3:s390x. - Preparing to unpack .../libpkgconf3_1.8.1-1_s390x.deb ... - Unpacking libpkgconf3:s390x (1.8.1-1) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../pkgconf-bin_1.8.1-1_s390x.deb ... - Unpacking pkgconf-bin (1.8.1-1) ... - Selecting previously unselected package pkgconf:s390x. - Preparing to unpack .../pkgconf_1.8.1-1_s390x.deb ... - Unpacking pkgconf:s390x (1.8.1-1) ... - Selecting previously unselected package pkg-config:s390x. - Preparing to unpack .../pkg-config_1.8.1-1_s390x.deb ... - Unpacking pkg-config:s390x (1.8.1-1) ... - Setting up libffi-dev:s390x (3.4.4-1) ... - Setting up libpkgconf3:s390x (1.8.1-1) ... - Setting up pkgconf-bin (1.8.1-1) ... - Setting up pkgconf:s390x (1.8.1-1) ... - Setting up pkg-config:s390x (1.8.1-1) ... - Processing triggers for libc-bin (2.36-9+deb12u9) ... 2025-03-21 14:13.18 ---> using "205e0271adbf0cdcd36805591620eace3897bb100440d66779890f24d8d45433" from cache /src: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install $DEPS")) [NOTE] Package ocaml-options-vanilla 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 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). The following actions will be performed: === install 65 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-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 backoff.0.1.1 (cached) -> retrieved bigarray-compat.1.1.0 (cached) -> retrieved bigstringaf.0.10.0 (cached) -> retrieved angstrom.0.16.1 (cached) -> retrieved cppo.1.8.0 (cached) -> retrieved base.v0.17.1 (cached) -> installed conf-pkg-config.4 -> retrieved csexp.1.5.2 (cached) -> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0 (cached) -> installed conf-libffi.2.0.0 -> 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 mtime.2.1.0 (cached) -> retrieved multicore-magic.2.3.1 (cached) -> retrieved num.1.5-1 (cached) -> retrieved dune.3.17.2, dune-configurator.3.17.2 (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) -> 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) -> 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.1.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.0.35.0 (cached) -> retrieved ppxlib_jane.v0.17.2 (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 seq.base (cached) -> 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 topkg.1.0.8 (cached) -> retrieved tyxml.4.6.0 (cached) -> retrieved uutf.1.0.4 (cached) -> retrieved variantslib.v0.17.0 (cached) -> retrieved uucp.16.0.0 (cached) -> installed num.1.5-1 -> installed ocamlfind.1.9.8 -> installed ocamlbuild.0.16.1 -> installed seq.base -> installed topkg.1.0.8 -> installed ptime.1.2.0 -> installed mtime.2.1.0 -> installed uutf.1.0.4 -> installed dune.3.17.2 -> installed bigarray-compat.1.1.0 -> installed backoff.0.1.1 -> installed csexp.1.5.2 -> installed jane-street-headers.v0.17.0 -> installed cppo.1.8.0 -> installed multicore-magic.2.3.1 -> installed dune-configurator.3.17.2 -> installed ocaml-compiler-libs.v0.17.0 -> installed bigstringaf.0.10.0 -> installed ocaml-syntax-shims.1.0.0 -> installed ppx_derivers.1.2.1 -> installed ocaml_intrinsics_kernel.v0.17.1 -> installed printbox.0.12 -> installed angstrom.0.16.1 -> installed uucp.16.0.0 -> installed sexplib0.v0.17.0 -> installed printbox-text.0.12 -> installed saturn_lockfree.0.5.0 -> installed re.1.12.0 -> installed printbox-md.0.12 -> installed stdlib-shims.0.3.0 -> installed parsexp.v0.17.0 -> installed integers.0.7.0 -> installed tyxml.4.6.0 -> installed base.v0.17.1 -> installed printbox-html.0.12 -> installed fieldslib.v0.17.0 -> installed printbox-ext-plot.0.12 -> installed ctypes.0.23.0 -> installed stdio.v0.17.0 -> installed sexplib.v0.17.0 -> installed variantslib.v0.17.0 -> installed ctypes-foreign.0.23.0 -> installed ppxlib.0.35.0 -> installed ppx_cold.v0.17.0 -> installed ppx_fields_conv.v0.17.0 -> installed ppx_here.v0.17.0 -> installed ppx_optcomp.v0.17.0 -> installed ppx_deriving.6.0.3 -> installed ppx_variants_conv.v0.17.0 -> installed ppxlib_jane.v0.17.2 -> 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.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 14:13.18 ---> using "17d73bcb555a64369c70a4dc0500c47ff4673723ec8cd001d8083b2373b05a54" from cache /src: (copy (src .) (dst /src)) 2025-03-21 14:13.32 ---> saved as "b05eea1d87d40c0b186a2b3008eb94f72398012eda53f3be781e0dd32108e232" /src: (run (shell "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 /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 /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/6159fcc67b272e06982c8a21ddd0ff93/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 /src/_build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/default/test/ocannl_config. Retrieving commandline, environment, or config file variable ocannl_log_level Found 0, in the config file (cd _build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/default/test && .tutorials.inline-tests/inline_test_runner_tutorials.exe inline-test-runner tutorials -partition 'Welcome to OCANNL! Reading configuration defaults from /src/_build/.sandbox/6ddf6a67342307215312e2ecebd7ca73/default/test/ocannl_config.' -source-tree-root .. -diff-cmd -) Welcome to OCANNL! Reading configuration defaults from /src/_build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/default/test/ocannl_config. Retrieving commandline, environment, or config file variable ocannl_log_level Found 0, in the config file (cd _build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/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 /src/_build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/default/test/ocannl_config. Retrieving commandline, environment, or config file variable ocannl_log_level Found 0, in the config file (cd _build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/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 /src/_build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/default/test/ocannl_config. Retrieving commandline, environment, or config file variable ocannl_log_level Found 0, in the config file (cd _build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/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 /src/_build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/default/test/ocannl_config. Retrieving commandline, environment, or config file variable ocannl_log_level Found 0, in the config file (cd _build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/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 /src/_build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/default/test/ocannl_config. Retrieving commandline, environment, or config file variable ocannl_log_level Found 0, in the config file (cd _build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/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 /src/_build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/default/test/ocannl_config. Retrieving commandline, environment, or config file variable ocannl_log_level Found 0, in the config file (cd _build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/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 /src/_build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/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 /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 gcc Retrieving commandline, environment, or config file variable ocannl_never_capture_stdout Not found, using default false Batch=59, step=60, lr=0.195000, batch loss=0.263986, epoch loss=37.338158 Epoch=0, step=60, lr=0.195000, epoch loss=37.338158 Batch=59, step=120, lr=0.190000, batch loss=0.221424, epoch loss=5.647978 Epoch=1, step=120, lr=0.190000, epoch loss=5.647978 Batch=59, step=180, lr=0.185250, batch loss=0.200546, epoch loss=5.388692 Epoch=2, step=180, lr=0.185250, epoch loss=5.388692 Batch=59, step=240, lr=0.180000, batch loss=0.191892, epoch loss=5.271246 Epoch=3, step=240, lr=0.180000, epoch loss=5.271246 Batch=59, step=300, lr=0.175000, batch loss=0.189646, epoch loss=5.087282 Epoch=4, step=300, lr=0.175000, epoch loss=5.087282 Batch=59, step=360, lr=0.170000, batch loss=0.183109, epoch loss=5.001735 Epoch=5, step=360, lr=0.170000, epoch loss=5.001735 Batch=59, step=420, lr=0.165000, batch loss=0.180254, epoch loss=4.856333 Epoch=6, step=420, lr=0.165000, epoch loss=4.856333 Batch=59, step=480, lr=0.160250, batch loss=0.168580, epoch loss=4.706329 Epoch=7, step=480, lr=0.160250, epoch loss=4.706329 Batch=59, step=540, lr=0.155000, batch loss=0.155852, epoch loss=4.478025 Epoch=8, step=540, lr=0.155000, epoch loss=4.478025 Batch=59, step=600, lr=0.150000, batch loss=0.141210, epoch loss=4.123892 Epoch=9, step=600, lr=0.150000, epoch loss=4.123892 Batch=59, step=660, lr=0.145000, batch loss=0.118869, epoch loss=3.669135 Epoch=10, step=660, lr=0.145000, epoch loss=3.669135 Batch=59, step=720, lr=0.140000, batch loss=0.095002, epoch loss=3.055752 Epoch=11, step=720, lr=0.140000, epoch loss=3.055752 Batch=59, step=780, lr=0.135000, batch loss=0.064608, epoch loss=2.410260 Epoch=12, step=780, lr=0.135000, epoch loss=2.410260 Batch=59, step=840, lr=0.130000, batch loss=0.026663, epoch loss=1.650027 Epoch=13, step=840, lr=0.130000, epoch loss=1.650027 Batch=59, step=900, lr=0.125000, batch loss=0.013804, epoch loss=0.967343 Epoch=14, step=900, lr=0.125000, epoch loss=0.967343 Batch=59, step=960, lr=0.120000, batch loss=0.009295, epoch loss=0.674774 Epoch=15, step=960, lr=0.120000, epoch loss=0.674774 Batch=59, step=1020, lr=0.115000, batch loss=0.005844, epoch loss=0.455659 Epoch=16, step=1020, lr=0.115000, epoch loss=0.455659 Batch=59, step=1080, lr=0.110000, batch loss=0.005453, epoch loss=0.376617 Epoch=17, step=1080, lr=0.110000, epoch loss=0.376617 Batch=59, step=1140, lr=0.105000, batch loss=0.005169, epoch loss=0.260098 Epoch=18, step=1140, lr=0.105000, epoch loss=0.260098 Batch=59, step=1200, lr=0.100250, batch loss=0.004930, epoch loss=0.221183 Epoch=19, step=1200, lr=0.100250, epoch loss=0.221183 Half-moons scatterplot and decision boundary: ┌────────────────────────────────────────────────────────────────────────────────────────────────────┐ │********************************#*******************************************************************│ │**********************#*#*#######*###*#####*********************************************************│ │**********************#########################*****************************************************│ │*****************#**########*######*###########*###*************************************************│ │***************#################*###################************************************************│ │************######*#################*#################**********************************************│ │**********#*#####*########*#**************##*#########*#********************************************│ │***********########*##*#******************#*****##########****************************************..│ │***********###########*************************############*************************************....│ │********######*####*********************************###*###*#********************************.......│ │*******######**##*************...******************#*######*#******************************.........│ │*******##*##**##**********...........***************########*##**************************...........│ │*****#######************.......%...%%...***************#########************************..........%.│ │******######***********.........%........***************##*#####**********************........%.%.%.│ │***#########**********.........%%%.%%......*************#*#######********************........%.%%%%.│ │****#######**********..........%%%%.........************#########*******************.........%%.%%.%│ │**#######************..........%%%%%%%.......**************###*###*****************..........%%%%%%.│ │*##*####************...........%%%%%%%.........***********########****************...........%%%%%%.│ │*#######************...........%%%%%%%..........************#######*************.............%%%%%%.│ │*##*####***********............%%.%%%%%...........***********####**************.............%%%%%%%.│ │*#####*#***********.............%%%%%%%............**********##*###***********...............%%%%%..│ │#######***********.............%.%%%%%%.............*********#######*********..............%%%%.%%..│ │#####*#***********..............%%%%%%%...............*******#######********...............%%%%%%%%.│ │###*#*#**********...............%%%%%%%%%..............*******######*******................%%%%%%...│ │#######*********.................%%%%%%%%...............*****###*###*****.................%%%%%%....│ │######**********.................%%%%%%%%%................***#*###******................%%%%%%%%%...│ │*#*##*#********...................%%%%%%%%%%...............***######***..................%%%%%%.....│ │#****##********....................%%%%%%%%%.................**###*#**................%.%%%%%%%.....│ │**************.....................%.%%%%%%...................*******..................%.%%.%%......│ │**************.......................%..%%%%%%%................****...............%.%%%%%%%%%.......│ │*************.........................%.%%%.%%%%.................*................%%%%%%%.%.%.......│ │*************...........................%..%%%%..%................................%%%%%%%%..........│ │************.............................%%%%%%%%%%%........................%%..%%%%%%%%.%..........│ │************.............................%%.%%%%%%%%..%....................%..%%%.%%%%%%%...........│ │***********.................................%%%%.%%%%%%%%...............%.%%%%%%%%%%%%.%............│ │**********...................................%%%%%%%%%%%%%%%%%%%%%%.%%%%.%%%%%%%%%%%%%..............│ │**********....................................%%.%%%%%%%%%%%%%%%%%%%%%%.%%%%%%%%%%%.................│ │*********.........................................%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...................│ │*********............................................%%%.%%%%%%%%%%%%%%%%%%%%%......................│ │********................................................%...%%%%.%%.%%%%..%.........................│ └────────────────────────────────────────────────────────────────────────────────────────────────────┘ (cd _build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/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 /src/_build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/default/test/ocannl_config. Retrieving commandline, environment, or config file variable ocannl_log_level Found 0, in the config file (cd _build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/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 /src/_build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/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: /usr/bin/git --no-pager diff --no-index --color=always -u _build/default/test/primitive_ops.ml _build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/default/test/primitive_ops.ml.corrected diff --git a/_build/default/test/primitive_ops.ml b/_build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/default/test/primitive_ops.ml.corrected index 18fb8fd..4dd32f4 100644 --- a/_build/default/test/primitive_ops.ml +++ b/_build/.sandbox/6159fcc67b272e06982c8a21ddd0ff93/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 "/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1 2025-03-21 14:14.57: Job failed: Failed: Build failed