package torch

  1. Overview
  2. Docs
On This Page
  1. Error log

torch 0.3

Error log

The package failed to build. The error log from opam follows.

Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy torch.0.3 time_now.v0.16.0 stdlib-shims.0.3.0 stdio.v0.16.0 stb_image.0.5 sexplib0.v0.16.0 sexplib.v0.16.0 seq.base result.1.5 re.1.12.0 ppxlib.0.33.0 ppx_sexp_conv.v0.16.0 ppx_optcomp.v0.16.0 ppx_inline_test.v0.16.1 ppx_here.v0.16.0 ppx_hash.v0.16.0 ppx_globalize.v0.16.0 ppx_expect.v0.16.0 ppx_enumerate.v0.16.0 ppx_derivers.1.2.1 ppx_custom_printf.v0.16.0 ppx_compare.v0.16.0 ppx_cold.v0.16.0 ppx_base.v0.16.0 ppx_assert.v0.16.0 parsexp.v0.16.0 ocamlfind.1.9.6 ocaml-compiler-libs.v0.12.4 num.1.5-1 npy.0.0.9 libtorch.1.0.1 jst-config.v0.16.0 jane-street-headers.v0.16.0 integers.0.7.0 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 ctypes-foreign.0.23.0 ctypes.0.23.0 csexp.1.5.2 conf-zlib.1 conf-pkg-config.3 conf-libffi.2.0.0 conf-bash.1 cmdliner.1.3.0 camlzip.1.12 bigarray-compat.1.1.0 base.v0.16.3" 

Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libffi-dev
pkg-config
zlib1g-dev
[NOTE] Package dune is already installed (current version is 3.16.0).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install ppx_derivers        1.2.1
  - install conf-bash           1
  - install num                 1.5-1
  - install bigarray-compat     1.1.0
  - install seq                 base
  - install ocaml-compiler-libs v0.12.4
  - install stdlib-shims        0.3.0
  - install conf-pkg-config     3
  - install libtorch            1.0.1
  - install cmdliner            1.3.0
  - install jane-street-headers v0.16.0
  - install result              1.5
  - install csexp               1.5.2
  - install sexplib0            v0.16.0
  - install re                  1.12.0
  - install integers            0.7.0
  - install conf-zlib           1
  - install conf-libffi         2.0.0
  - install stb_image           0.5
  - install dune-configurator   3.16.0
  - install ppxlib              0.33.0
  - install parsexp             v0.16.0
  - install camlzip             1.12
  - install ctypes              0.23.0
  - install base                v0.16.3
  - install sexplib             v0.16.0
  - install npy                 0.0.9
  - install ctypes-foreign      0.23.0
  - install stdio               v0.16.0
  - install ppx_sexp_conv       v0.16.0
  - install ppx_here            v0.16.0
  - install ppx_globalize       v0.16.0
  - install ppx_enumerate       v0.16.0
  - install ppx_compare         v0.16.0
  - install ppx_cold            v0.16.0
  - install ppx_optcomp         v0.16.0
  - install ppx_custom_printf   v0.16.0
  - install ppx_hash            v0.16.0
  - install ppx_assert          v0.16.0
  - install ppx_base            v0.16.0
  - install jst-config          v0.16.0
  - install time_now            v0.16.0
  - install ppx_inline_test     v0.16.1
  - install ppx_expect          v0.16.0
  - install torch               0.3
===== 45 to install =====

The following system packages will first need to be installed:
    libffi-dev pkg-config zlib1g-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config" "zlib1g-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libffi-dev:amd64.
- (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 ... 18733 files and directories currently installed.)
- Preparing to unpack .../0-libffi-dev_3.4.4-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.4-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../1-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../2-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../3-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../4-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../5-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libffi-dev:amd64 (3.4.4-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/135:
Processing  2/135:
Processing  3/135:
-> retrieved base.v0.16.3  (cached)
Processing  4/135:
-> retrieved bigarray-compat.1.1.0  (cached)
Processing  5/135:
Processing  6/135:
Processing  7/135:
Processing  8/135:
Processing  9/135:
Processing 10/135: [bigarray-compat: dune build]
Processing 11/135: [bigarray-compat: dune build] [conf-bash: bash]
Processing 12/135: [bigarray-compat: dune build] [conf-bash: bash] [conf-pkg-config: pkg-config]
-> retrieved camlzip.1.12  (cached)
Processing 13/135: [bigarray-compat: dune build] [conf-bash: bash] [conf-pkg-config: pkg-config]
-> retrieved cmdliner.1.3.0  (cached)
Processing 14/135: [bigarray-compat: dune build] [conf-bash: bash] [conf-pkg-config: pkg-config]
Processing 15/135: [bigarray-compat: dune build] [cmdliner: make all] [conf-bash: bash] [conf-pkg-config: pkg-config]
-> retrieved csexp.1.5.2  (cached)
Processing 16/135: [bigarray-compat: dune build] [cmdliner: make all] [conf-bash: bash] [conf-pkg-config: pkg-config]
Processing 17/135: [bigarray-compat: dune build] [cmdliner: make all] [conf-bash: bash] [conf-pkg-config: pkg-config] [csexp: dune build]
- GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu)
- Copyright (C) 2022 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- 
- This is free software; you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
-> compiled  conf-bash.1
Processing 17/135: [bigarray-compat: dune build] [cmdliner: make all] [conf-pkg-config: pkg-config] [csexp: dune build]
-> installed conf-bash.1
Processing 18/135: [bigarray-compat: dune build] [cmdliner: make all] [conf-pkg-config: pkg-config] [csexp: dune build]
- usage: pkgconf [OPTIONS] [LIBRARIES]
- 
- basic options:
- 
-   --help                            this message
-   --about                           print pkgconf version and license to stdout
-   --version                         print supported pkg-config version to stdout
-   --atleast-pkgconfig-version       check whether or not pkgconf is compatible
-                                     with a specified pkg-config version
-   --errors-to-stdout                print all errors on stdout instead of stderr
-   --print-errors                    ensure all errors are printed
-   --short-errors                    be less verbose about some errors
-   --silence-errors                  explicitly be silent about errors
-   --list-all                        list all known packages
-   --list-package-names              list all known package names
-   --simulate                        simulate walking the calculated dependency graph
-   --no-cache                        do not cache already seen packages when
-                                     walking the dependency graph
-   --log-file=filename               write an audit log to a specified file
-   --with-path=path                  adds a directory to the search path
-   --define-prefix                   override the prefix variable with one that is guessed based on
-                                     the location of the .pc file
-   --dont-define-prefix              do not override the prefix variable under any circumstances
-   --prefix-variable=varname         sets the name of the variable that pkgconf considers
-                                     to be the package prefix
-   --relocate=path                   relocates a path and exits (mostly for testsuite)
-   --dont-relocate-paths             disables path relocation support
- 
- cross-compilation personality support:
- 
-   --personality=triplet|filename    sets the personality to 'triplet' or a file named 'filename'
-   --dump-personality                dumps details concerning selected personality
- 
- checking specific pkg-config database entries:
- 
-   --atleast-version                 require a specific version of a module
-   --exact-version                   require an exact version of a module
-   --max-version                     require a maximum version of a module
-   --exists                          check whether or not a module exists
-   --uninstalled                     check whether or not an uninstalled module will be used
-   --no-uninstalled                  never use uninstalled modules when satisfying dependencies
-   --no-provides                     do not use 'provides' rules to resolve dependencies
-   --maximum-traverse-depth          maximum allowed depth for dependency graph
-   --static                          be more aggressive when computing dependency graph
-                                     (for static linking)
-   --shared                          use a simplified dependency graph (usually default)
-   --pure                            optimize a static dependency graph as if it were a normal
-                                     dependency graph
-   --env-only                        look only for package entries in PKG_CONFIG_PATH
-   --ignore-conflicts                ignore 'conflicts' rules in modules
-   --validate                        validate specific .pc files for correctness
- 
- querying specific pkg-config database fields:
- 
-   --define-variable=varname=value   define variable 'varname' as 'value'
-   --variable=varname                print specified variable entry to stdout
-   --cflags                          print required CFLAGS to stdout
-   --cflags-only-I                   print required include-dir CFLAGS to stdout
-   --cflags-only-other               print required non-include-dir CFLAGS to stdout
-   --libs                            print required linker flags to stdout
-   --libs-only-L                     print required LDPATH linker flags to stdout
-   --libs-only-l                     print required LIBNAME linker flags to stdout
-   --libs-only-other                 print required other linker flags to stdout
-   --print-requires                  print required dependency frameworks to stdout
-   --print-requires-private          print required dependency frameworks for static
-                                     linking to stdout
-   --print-provides                  print provided dependencies to stdout
-   --print-variables                 print all known variables in module to stdout
-   --digraph                         print entire dependency graph in graphviz 'dot' format
-   --keep-system-cflags              keep -I/usr/include entries in cflags output
-   --keep-system-libs                keep -L/lib:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnux32:/lib32:/libx32:/usr/lib:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnux32:/usr/lib32:/usr/libx32 entries in libs output
-   --path                            show the exact filenames for any matching .pc files
-   --modversion                      print the specified module's version to stdout
-   --internal-cflags                 do not filter 'internal' cflags from output
- 
- filtering output:
- 
-   --msvc-syntax                     print translatable fragments in MSVC syntax
-   --fragment-filter=types           filter output fragments to the specified types
- 
- report bugs to <https://github.com/pkgconf/pkgconf/issues/new>.
-> compiled  conf-pkg-config.3
Processing 18/135: [bigarray-compat: dune build] [cmdliner: make all] [csexp: dune build]
-> installed conf-pkg-config.3
Processing 19/135: [bigarray-compat: dune build] [cmdliner: make all] [csexp: dune build]
Processing 20/135: [bigarray-compat: dune build] [cmdliner: make all] [conf-libffi: pkg-config libffi] [csexp: dune build]
Processing 21/135: [bigarray-compat: dune build] [cmdliner: make all] [conf-libffi: pkg-config libffi] [conf-zlib: pkg-config zlib] [csexp: dune build]
-> retrieved ctypes.0.23.0  (cached)
Processing 22/135: [bigarray-compat: dune build] [cmdliner: make all] [conf-libffi: pkg-config libffi] [conf-zlib: pkg-config zlib] [csexp: dune build]
-> retrieved ctypes-foreign.0.23.0  (cached)
Processing 23/135: [bigarray-compat: dune build] [cmdliner: make all] [conf-libffi: pkg-config libffi] [conf-zlib: pkg-config zlib] [csexp: dune build]
-> compiled  conf-libffi.2.0.0
Processing 23/135: [bigarray-compat: dune build] [cmdliner: make all] [conf-zlib: pkg-config zlib] [csexp: dune build]
-> installed conf-libffi.2.0.0
Processing 24/135: [bigarray-compat: dune build] [cmdliner: make all] [conf-zlib: pkg-config zlib] [csexp: dune build]
-> compiled  conf-zlib.1
Processing 24/135: [bigarray-compat: dune build] [cmdliner: make all] [csexp: dune build]
-> installed conf-zlib.1
Processing 25/135: [bigarray-compat: dune build] [cmdliner: make all] [csexp: dune build]
Processing 26/135: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build]
-> retrieved integers.0.7.0  (cached)
Processing 27/135: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build]
-> retrieved jane-street-headers.v0.16.0  (cached)
-> retrieved libtorch.1.0.1  (cached)
Processing 28/135: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build]
Processing 29/135: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build]
Processing 30/135: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build] [jane-street-headers: dune build]
Processing 31/135: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build] [jane-street-headers: dune build]
Processing 32/135: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build] [jane-street-headers: dune build] [libtorch: sh]
-> compiled  bigarray-compat.1.1.0
Processing 32/135: [camlzip: make all] [cmdliner: make all] [csexp: dune build] [jane-street-headers: dune build] [libtorch: sh]
-> retrieved dune-configurator.3.16.0  (cached)
Processing 33/135: [camlzip: make all] [cmdliner: make all] [csexp: dune build] [jane-street-headers: dune build] [libtorch: sh]
- ocaml build.ml cma
- ocaml build.ml cmxa
- ocaml build.ml cmxs
-> compiled  cmdliner.1.3.0
Processing 33/135: [camlzip: make all] [csexp: dune build] [jane-street-headers: dune build] [libtorch: sh]
-> compiled  csexp.1.5.2
Processing 33/135: [camlzip: make all] [jane-street-headers: dune build] [libtorch: sh]
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c -ccopt -g  zlibstubs.c
- ocamlfind ocamlmklib -oc camlzip zlibstubs.o  -lz
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c zlib.mli
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c zlib.ml
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c zip.mli
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c zip.ml
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c gzip.mli
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c gzip.ml
- ocamlfind ocamlmklib -o zip -oc camlzip zlib.cmo zip.cmo gzip.cmo  -lz
- ocamlfind ocamlopt -safe-string -package unix -c zlib.ml
- ocamlfind ocamlopt -safe-string -package unix -c zip.ml
- ocamlfind ocamlopt -safe-string -package unix -c gzip.ml
- ocamlfind ocamlmklib -o zip -oc camlzip zlib.cmx zip.cmx gzip.cmx  -lz
- ocamlfind ocamlopt -safe-string -package unix -shared -linkall -I ./ -o zip.cmxs zip.cmxa libcamlzip.a
-> compiled  camlzip.1.12
Processing 33/135: [jane-street-headers: dune build] [libtorch: sh]
-> retrieved jst-config.v0.16.0  (cached)
Processing 34/135: [jane-street-headers: dune build] [libtorch: sh]
-> retrieved npy.0.0.9  (cached)
Processing 35/135: [jane-street-headers: dune build] [libtorch: sh]
-> compiled  jane-street-headers.v0.16.0
Processing 35/135: [libtorch: sh]
-> retrieved num.1.5-1  (cached)
Processing 36/135: [libtorch: sh]
[num: patch] applying num-in-findlib-dir.patch
Processing 37/135: [num: patch] [libtorch: sh]
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
Processing 38/135: [num: patch] [libtorch: sh]
Processing 39/135: [num: patch] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved parsexp.v0.16.0  (cached)
Processing 40/135: [num: patch] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved ppx_assert.v0.16.0  (cached)
Processing 41/135: [num: patch] [ocaml-compiler-libs: dune build] [libtorch: sh]
Processing 41/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved ppx_base.v0.16.0  (cached)
Processing 42/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved ppx_cold.v0.16.0  (cached)
Processing 43/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved ppx_compare.v0.16.0  (cached)
Processing 44/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved ppx_custom_printf.v0.16.0  (cached)
Processing 45/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing 46/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
Processing 47/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_enumerate.v0.16.0  (cached)
Processing 48/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_expect.v0.16.0  (cached)
Processing 49/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_globalize.v0.16.0  (cached)
Processing 50/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_hash.v0.16.0  (cached)
Processing 51/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_here.v0.16.0  (cached)
Processing 52/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_inline_test.v0.16.1  (cached)
Processing 53/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_optcomp.v0.16.0  (cached)
Processing 54/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
Processing 55/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (cached)
Processing 56/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
Processing 57/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
Processing 58/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved result.1.5  (cached)
Processing 59/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
Processing 60/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [result: dune build] [libtorch: sh]
-> compiled  ppx_derivers.1.2.1
Processing 60/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [libtorch: sh]
-> retrieved sexplib.v0.16.0  (cached)
Processing 61/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [libtorch: sh]
-> retrieved ppxlib.0.33.0  (cached)
Processing 62/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [libtorch: sh]
-> retrieved sexplib0.v0.16.0  (cached)
Processing 63/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [libtorch: sh]
Processing 64/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [sexplib0: dune build] [libtorch: sh]
-> retrieved stb_image.0.5  (cached)
Processing 65/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [sexplib0: dune build] [libtorch: sh]
-> retrieved stdio.v0.16.0  (cached)
Processing 66/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [sexplib0: dune build] [libtorch: sh]
-> compiled  result.1.5
Processing 66/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [libtorch: sh]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 67/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stdlib-shims: dune build] [libtorch: sh]
-> retrieved time_now.v0.16.0  (cached)
-> retrieved torch.0.3  (cached)
-> compiled  stdlib-shims.0.3.0
Processing 67/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [libtorch: sh]
- Archive:  libtorch-linux.zip
-    creating: libtorch/
-    creating: libtorch/lib/
-   inflating: libtorch/lib/libgtest.a  
-   inflating: libtorch/lib/libbenchmark.a  
-   inflating: libtorch/lib/libonnx_proto.a  
-   inflating: libtorch/lib/libonnxifi_loader.a  
-   inflating: libtorch/lib/libclog.a  
-   inflating: libtorch/lib/libprotobuf-lite.a  
-   inflating: libtorch/lib/libmkldnn.so  
-   inflating: libtorch/lib/libonnxifi_dummy.so  
-   inflating: libtorch/lib/libTHD.a   
-   inflating: libtorch/lib/libcaffe2.so  
-   inflating: libtorch/lib/libcaffe2_module_test_dynamic.so  
-   inflating: libtorch/lib/libprotoc.a  
-   inflating: libtorch/lib/libnnpack_reference_layers.a  
-   inflating: libtorch/lib/libcaffe2_protos.a  
-   inflating: libtorch/lib/libmkldnn.so.0.14.0  
-   inflating: libtorch/lib/libgomp-7bcb08ae.so.1  
-   inflating: libtorch/lib/libgloo_builder.a  
-   inflating: libtorch/lib/libmkldnn.so.0  
-   inflating: libtorch/lib/libonnx.a  
-   inflating: libtorch/lib/libc10d.a  
-   inflating: libtorch/lib/libtorch.so  
-   inflating: libtorch/lib/libbenchmark_main.a  
-   inflating: libtorch/lib/libonnxifi.so  
-   inflating: libtorch/lib/libnnpack.a  
-   inflating: libtorch/lib/libtorch.so.1  
-   inflating: libtorch/lib/libc10.so  
-   inflating: libtorch/lib/libgtest_main.a  
-   inflating: libtorch/lib/libgloo.a  
-   inflating: libtorch/lib/libpthreadpool.a  
-   inflating: libtorch/lib/libprotobuf.a  
-   inflating: libtorch/lib/libcpuinfo.a  
-    creating: libtorch/share/
-    creating: libtorch/share/cmake/
-    creating: libtorch/share/cmake/Caffe2/
-   inflating: libtorch/share/cmake/Caffe2/Caffe2Targets-release.cmake  
-    creating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/
-    creating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/CMakeInitializeConfigs.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindPackageMessage.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindPackageHandleStandardArgs.cmake  
-    creating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA/
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA/run_nvcc.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA/parse_cubin.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA/select_compute_arch.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA/make2cmake.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/FindCUDA.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Caffe2Config.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Caffe2Targets.cmake  
-    creating: libtorch/share/cmake/Caffe2/public/
-   inflating: libtorch/share/cmake/Caffe2/public/utils.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/protobuf.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/gflags.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/glog.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/threads.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/mkldnn.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/cuda.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/mkl.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Caffe2ConfigVersion.cmake  
-    creating: libtorch/share/cmake/Gloo/
-   inflating: libtorch/share/cmake/Gloo/GlooConfig.cmake  
-   inflating: libtorch/share/cmake/Gloo/GlooTargets.cmake  
-   inflating: libtorch/share/cmake/Gloo/GlooTargets-release.cmake  
-   inflating: libtorch/share/cmake/Gloo/GlooConfigVersion.cmake  
-    creating: libtorch/share/cmake/ATen/
-   inflating: libtorch/share/cmake/ATen/ATenConfig.cmake  
-    creating: libtorch/share/cmake/Torch/
-   inflating: libtorch/share/cmake/Torch/TorchConfig.cmake  
-   inflating: libtorch/share/cmake/Torch/TorchConfigVersion.cmake  
-  extracting: libtorch/build-version  
-    creating: libtorch/bin/
-    creating: libtorch/include/
-    creating: libtorch/include/pybind11/
-   inflating: libtorch/include/pybind11/chrono.h  
-   inflating: libtorch/include/pybind11/pytypes.h  
-   inflating: libtorch/include/pybind11/eigen.h  
-    creating: libtorch/include/pybind11/detail/
-   inflating: libtorch/include/pybind11/detail/init.h  
-   inflating: libtorch/include/pybind11/detail/common.h  
-   inflating: libtorch/include/pybind11/detail/class.h  
-   inflating: libtorch/include/pybind11/detail/descr.h  
-   inflating: libtorch/include/pybind11/detail/internals.h  
-   inflating: libtorch/include/pybind11/detail/typeid.h  
-   inflating: libtorch/include/pybind11/eval.h  
-   inflating: libtorch/include/pybind11/options.h  
-   inflating: libtorch/include/pybind11/iostream.h  
-   inflating: libtorch/include/pybind11/embed.h  
-   inflating: libtorch/include/pybind11/attr.h  
-   inflating: libtorch/include/pybind11/buffer_info.h  
-   inflating: libtorch/include/pybind11/functional.h  
-   inflating: libtorch/include/pybind11/common.h  
-   inflating: libtorch/include/pybind11/pybind11.h  
-   inflating: libtorch/include/pybind11/stl_bind.h  
-   inflating: libtorch/include/pybind11/stl.h  
-   inflating: libtorch/include/pybind11/numpy.h  
-   inflating: libtorch/include/pybind11/cast.h  
-   inflating: libtorch/include/pybind11/operators.h  
-   inflating: libtorch/include/pybind11/complex.h  
-    creating: libtorch/include/torch/
-   inflating: libtorch/include/torch/extension.h  
-   inflating: libtorch/include/torch/script.h  
-    creating: libtorch/include/torch/csrc/
-   inflating: libtorch/include/torch/csrc/THP_export.h  
-   inflating: libtorch/include/torch/csrc/Module.h  
-   inflating: libtorch/include/torch/csrc/DataLoader.h  
-   inflating: libtorch/include/torch/csrc/WindowsTorchApiMacro.h  
-   inflating: libtorch/include/torch/csrc/PythonTypes.h  
-   inflating: libtorch/include/torch/csrc/serialization.h  
-   inflating: libtorch/include/torch/csrc/StorageDefs.h  
-   inflating: libtorch/include/torch/csrc/Dtype.h  
-   inflating: libtorch/include/torch/csrc/PtrWrapper.h  
-    creating: libtorch/include/torch/csrc/api/
-    creating: libtorch/include/torch/csrc/api/include/
-    creating: libtorch/include/torch/csrc/api/include/torch/
-   inflating: libtorch/include/torch/csrc/api/include/torch/all.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/data/
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/example.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/data/detail/
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/detail/sequencers.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/detail/queue.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/detail/data_shuttle.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/datasets.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/data/transforms/
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/transforms/tensor.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/transforms/base.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/transforms/collate.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/transforms/stack.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/transforms/lambda.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/worker_exception.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/dataloader.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/iterator.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/data/samplers/
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers/base.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers/stream.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers/custom_batch_request.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers/sequential.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers/serialize.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers/random.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/data/datasets/
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/datasets/map.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/datasets/tensor.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/datasets/base.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/datasets/shared.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/datasets/mnist.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/transforms.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/detail/
-   inflating: libtorch/include/torch/csrc/api/include/torch/detail/static.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/jit.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/expanding_array.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/torch.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/cuda.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/utils.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/optim/
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/lbfgs.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/sgd.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/optimizer.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/adam.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/rmsprop.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/serialize.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/nn/
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/pimpl-inl.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/nn/modules/
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/batchnorm.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/rnn.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/embedding.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/linear.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/any.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/functional.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/dropout.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/sequential.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/conv.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/init.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/nn/parallel/
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/parallel/data_parallel.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/module.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/arg.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/python.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/ordered_dict.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/types.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/serialize.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/serialize/
-   inflating: libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/serialize/tensor.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/serialize/archive.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/serialize/output-archive.h  
-   inflating: libtorch/include/torch/csrc/byte_order.h  
-   inflating: libtorch/include/torch/csrc/Storage.h  
-   inflating: libtorch/include/torch/csrc/Layout.h  
-   inflating: libtorch/include/torch/csrc/DynamicTypes.h  
-   inflating: libtorch/include/torch/csrc/Generator.h  
-    creating: libtorch/include/torch/csrc/utils/
-   inflating: libtorch/include/torch/csrc/utils/tensor_new.h  
-   inflating: libtorch/include/torch/csrc/utils/python_scalars.h  
-   inflating: libtorch/include/torch/csrc/utils/numpy_stub.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_numpy.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_list.h  
-   inflating: libtorch/include/torch/csrc/utils/python_stub.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_flatten.h  
-   inflating: libtorch/include/torch/csrc/utils/tuple_parser.h  
-   inflating: libtorch/include/torch/csrc/utils/disallow_copy.h  
-   inflating: libtorch/include/torch/csrc/utils/python_tuples.h  
-   inflating: libtorch/include/torch/csrc/utils/hash.h  
-   inflating: libtorch/include/torch/csrc/utils/auto_gil.h  
-   inflating: libtorch/include/torch/csrc/utils/memory.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_layouts.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_dtypes.h  
-   inflating: libtorch/include/torch/csrc/utils/invalid_arguments.h  
-   inflating: libtorch/include/torch/csrc/utils/python_compat.h  
-   inflating: libtorch/include/torch/csrc/utils/python_arg_parser.h  
-   inflating: libtorch/include/torch/csrc/utils/variadic.h  
-   inflating: libtorch/include/torch/csrc/utils/cuda_lazy_init.h  
-   inflating: libtorch/include/torch/csrc/utils/functional.h  
-   inflating: libtorch/include/torch/csrc/utils/object_ptr.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_types.h  
-   inflating: libtorch/include/torch/csrc/utils/cuda_enabled.h  
-   inflating: libtorch/include/torch/csrc/utils/tempfile.h  
-   inflating: libtorch/include/torch/csrc/utils/pybind.h  
-   inflating: libtorch/include/torch/csrc/utils/python_strings.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_apply.h  
-   inflating: libtorch/include/torch/csrc/utils/python_numbers.h  
-   inflating: libtorch/include/torch/csrc/THP.h  
-   inflating: libtorch/include/torch/csrc/Exceptions.h  
-   inflating: libtorch/include/torch/csrc/utils.h  
-   inflating: libtorch/include/torch/csrc/THP_API.h  
-   inflating: libtorch/include/torch/csrc/Size.h  
-   inflating: libtorch/include/torch/csrc/variable_tensor_functions.h  
-   inflating: libtorch/include/torch/csrc/Types.h  
-    creating: libtorch/include/torch/csrc/autograd/
-   inflating: libtorch/include/torch/csrc/autograd/variable.h  
-   inflating: libtorch/include/torch/csrc/autograd/VariableTypeUtils.h  
-   inflating: libtorch/include/torch/csrc/autograd/variable_version.h  
-   inflating: libtorch/include/torch/csrc/autograd/function_hook.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_variable.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_legacy_variable.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_variable_indexing.h  
-   inflating: libtorch/include/torch/csrc/autograd/engine.h  
-   inflating: libtorch/include/torch/csrc/autograd/input_buffer.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_hook.h  
-   inflating: libtorch/include/torch/csrc/autograd/saved_variable.h  
-   inflating: libtorch/include/torch/csrc/autograd/grad_mode.h  
-   inflating: libtorch/include/torch/csrc/autograd/function.h  
-   inflating: libtorch/include/torch/csrc/autograd/anomaly_mode.h  
-   inflating: libtorch/include/torch/csrc/autograd/autograd.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_function.h  
-    creating: libtorch/include/torch/csrc/autograd/generated/
-   inflating: libtorch/include/torch/csrc/autograd/generated/python_nn_functions.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/python_functions.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/python_nn_functions_dispatch.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/Functions.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/variable_factories.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/python_torch_functions_dispatch.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/python_variable_methods_dispatch.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/VariableType.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_cpp_function.h  
-   inflating: libtorch/include/torch/csrc/autograd/symbolic.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_anomaly_mode.h  
-   inflating: libtorch/include/torch/csrc/autograd/edge.h  
-   inflating: libtorch/include/torch/csrc/autograd/profiler.h  
-   inflating: libtorch/include/torch/csrc/autograd/input_metadata.h  
-  extracting: libtorch/include/torch/csrc/autograd/type_and_shape.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_engine.h  
-   inflating: libtorch/include/torch/csrc/Device.h  
-   inflating: libtorch/include/torch/csrc/python_headers.h  
-    creating: libtorch/include/torch/csrc/cuda/
-   inflating: libtorch/include/torch/csrc/cuda/override_macros.h  
-   inflating: libtorch/include/torch/csrc/cuda/cuda_check.h  
-   inflating: libtorch/include/torch/csrc/cuda/Module.h  
-   inflating: libtorch/include/torch/csrc/cuda/serialization.h  
-   inflating: libtorch/include/torch/csrc/cuda/THCP.h  
-   inflating: libtorch/include/torch/csrc/cuda/Stream.h  
-   inflating: libtorch/include/torch/csrc/cuda/undef_macros.h  
-   inflating: libtorch/include/torch/csrc/cuda/Storage.h  
-   inflating: libtorch/include/torch/csrc/cuda/nccl.h  
-   inflating: libtorch/include/torch/csrc/cuda/python_comm.h  
-   inflating: libtorch/include/torch/csrc/cuda/utils.h  
-   inflating: libtorch/include/torch/csrc/cuda/restore_macros.h  
-   inflating: libtorch/include/torch/csrc/cuda/device_set.h  
-   inflating: libtorch/include/torch/csrc/cuda/comm.h  
-   inflating: libtorch/include/torch/csrc/cuda/python_nccl.h  
-    creating: libtorch/include/torch/csrc/jit/
-   inflating: libtorch/include/torch/csrc/jit/python_arg_flatten.h  
-   inflating: libtorch/include/torch/csrc/jit/code_template.h  
-   inflating: libtorch/include/torch/csrc/jit/function_schema.h  
-    creating: libtorch/include/torch/csrc/jit/passes/
-   inflating: libtorch/include/torch/csrc/jit/passes/canonicalize_ops.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/to_batch.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/dead_code_elimination.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/loop_unrolling.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/constant_pooling.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/canonicalize.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/requires_grad_analysis.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/create_autodiff_subgraphs.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/onnx.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/lower_grad_of.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/graph_fuser.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/inplace_check.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/shape_analysis.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/remove_inplace_ops.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/lower_tuples.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/alias_analysis.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/batch_mm.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/peephole.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/inline_autodiff_subgraphs.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/python_print.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/specialize_undef.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/remove_expands.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/constant_propagation.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/erase_number_types.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/common_subexpression_elimination.h  
-   inflating: libtorch/include/torch/csrc/jit/symbolic_variable.h  
-   inflating: libtorch/include/torch/csrc/jit/alias_info.h  
-   inflating: libtorch/include/torch/csrc/jit/node_hashing.h  
-   inflating: libtorch/include/torch/csrc/jit/tracer.h  
-   inflating: libtorch/include/torch/csrc/jit/argument_spec.h  
-   inflating: libtorch/include/torch/csrc/jit/assertions.h  
-   inflating: libtorch/include/torch/csrc/jit/python_tracer.h  
-   inflating: libtorch/include/torch/csrc/jit/operator.h  
-   inflating: libtorch/include/torch/csrc/jit/python_ir.h  
-   inflating: libtorch/include/torch/csrc/jit/type.h  
-   inflating: libtorch/include/torch/csrc/jit/generic_if.h  
-   inflating: libtorch/include/torch/csrc/jit/dynamic_dag.h  
-   inflating: libtorch/include/torch/csrc/jit/import.h  
-   inflating: libtorch/include/torch/csrc/jit/init.h  
-   inflating: libtorch/include/torch/csrc/jit/export.h  
-   inflating: libtorch/include/torch/csrc/jit/import_method.h  
-   inflating: libtorch/include/torch/csrc/jit/pybind_utils.h  
-   inflating: libtorch/include/torch/csrc/jit/stack.h  
-   inflating: libtorch/include/torch/csrc/jit/interned_strings.h  
-  extracting: libtorch/include/torch/csrc/jit/interned_strings_class.h  
-   inflating: libtorch/include/torch/csrc/jit/variable_tensor_list.h  
-   inflating: libtorch/include/torch/csrc/jit/constants.h  
-   inflating: libtorch/include/torch/csrc/jit/custom_operator.h  
-   inflating: libtorch/include/torch/csrc/jit/autodiff.h  
-   inflating: libtorch/include/torch/csrc/jit/source_range.h  
-   inflating: libtorch/include/torch/csrc/jit/resource_guard.h  
-   inflating: libtorch/include/torch/csrc/jit/scope.h  
-   inflating: libtorch/include/torch/csrc/jit/source_location.h  
-    creating: libtorch/include/torch/csrc/jit/script/
-   inflating: libtorch/include/torch/csrc/jit/script/compiler.h  
-   inflating: libtorch/include/torch/csrc/jit/script/builtin_functions.h  
-   inflating: libtorch/include/torch/csrc/jit/script/python_tree_views.h  
-   inflating: libtorch/include/torch/csrc/jit/script/init.h  
-   inflating: libtorch/include/torch/csrc/jit/script/lexer.h  
-   inflating: libtorch/include/torch/csrc/jit/script/error_report.h  
-   inflating: libtorch/include/torch/csrc/jit/script/jit_exception.h  
-   inflating: libtorch/include/torch/csrc/jit/script/parser.h  
-   inflating: libtorch/include/torch/csrc/jit/script/tree_views.h  
-   inflating: libtorch/include/torch/csrc/jit/script/tree.h  
-   inflating: libtorch/include/torch/csrc/jit/script/parse_string_literal.h  
-   inflating: libtorch/include/torch/csrc/jit/script/module.h  
-   inflating: libtorch/include/torch/csrc/jit/ir.h  
-   inflating: libtorch/include/torch/csrc/jit/hooks_for_testing.h  
-   inflating: libtorch/include/torch/csrc/jit/attributes.h  
-   inflating: libtorch/include/torch/csrc/jit/graph_executor.h  
-   inflating: libtorch/include/torch/csrc/jit/ir_views.h  
-   inflating: libtorch/include/torch/csrc/jit/pybind.h  
-   inflating: libtorch/include/torch/csrc/jit/graph_node_list.h  
-   inflating: libtorch/include/torch/csrc/jit/interpreter.h  
-   inflating: libtorch/include/torch/csrc/jit/tracing_state.h  
-   inflating: libtorch/include/torch/csrc/jit/named_value.h  
-   inflating: libtorch/include/torch/csrc/jit/ivalue.h  
-   inflating: libtorch/include/torch/csrc/copy_utils.h  
-   inflating: libtorch/include/torch/csrc/TypeInfo.h  
-    creating: libtorch/include/c10/
-   inflating: libtorch/include/c10/Half-inl.h  
-    creating: libtorch/include/c10/core/
-   inflating: libtorch/include/c10/core/Allocator.h  
-   inflating: libtorch/include/c10/core/bitcasts.h  
-   inflating: libtorch/include/c10/core/ScalarType.h  
-   inflating: libtorch/include/c10/core/Storage.h  
-   inflating: libtorch/include/c10/core/StorageImpl.h  
-   inflating: libtorch/include/c10/core/Layout.h  
-   inflating: libtorch/include/c10/core/Scalar.h  
-   inflating: libtorch/include/c10/core/TensorTypeIdRegistration.h  
-   inflating: libtorch/include/c10/core/TensorTypeId.h  
-   inflating: libtorch/include/c10/core/Backend.h  
-   inflating: libtorch/include/c10/core/ScalarTypeUtils.h  
-    creating: libtorch/include/c10/impl/
-   inflating: libtorch/include/c10/impl/FakeGuardImpl.h  
-   inflating: libtorch/include/c10/impl/InlineDeviceGuard.h  
-   inflating: libtorch/include/c10/impl/VirtualGuardImpl.h  
-   inflating: libtorch/include/c10/impl/DeviceGuardImplInterface.h  
-   inflating: libtorch/include/c10/impl/InlineStreamGuard.h  
-   inflating: libtorch/include/c10/Half.h  
-   inflating: libtorch/include/c10/Stream.h  
-    creating: libtorch/include/c10/macros/
-   inflating: libtorch/include/c10/macros/Macros.h  
-   inflating: libtorch/include/c10/macros/cmake_macros.h  
-   inflating: libtorch/include/c10/macros/Export.h  
-    creating: libtorch/include/c10/util/
-   inflating: libtorch/include/c10/util/Metaprogramming.h  
-   inflating: libtorch/include/c10/util/Type.h  
-   inflating: libtorch/include/c10/util/UniqueVoidPtr.h  
-   inflating: libtorch/include/c10/util/Backtrace.h  
-   inflating: libtorch/include/c10/util/Logging.h  
-   inflating: libtorch/include/c10/util/AlignOf.h  
-   inflating: libtorch/include/c10/util/TypeTraits.h  
-   inflating: libtorch/include/c10/util/TypeList.h  
-   inflating: libtorch/include/c10/util/logging_is_not_google_glog.h  
-   inflating: libtorch/include/c10/util/Registry.h  
-   inflating: libtorch/include/c10/util/string_utils.h  
-   inflating: libtorch/include/c10/util/C++17.h  
-   inflating: libtorch/include/c10/util/Exception.h  
-   inflating: libtorch/include/c10/util/Optional.h  
-   inflating: libtorch/include/c10/util/IdWrapper.h  
-   inflating: libtorch/include/c10/util/Flags.h  
-   inflating: libtorch/include/c10/util/logging_is_google_glog.h  
-   inflating: libtorch/include/c10/util/flat_hash_map.h  
-   inflating: libtorch/include/c10/util/SmallVector.h  
-   inflating: libtorch/include/c10/util/intrusive_ptr.h  
-   inflating: libtorch/include/c10/util/StringUtil.h  
-   inflating: libtorch/include/c10/util/Array.h  
-   inflating: libtorch/include/c10/util/ArrayRef.h  
-   inflating: libtorch/include/c10/util/typeid.h  
-   inflating: libtorch/include/c10/util/LeftRight.h  
-   inflating: libtorch/include/c10/DeviceType.h  
-   inflating: libtorch/include/c10/StreamGuard.h  
-   inflating: libtorch/include/c10/DeviceGuard.h  
-   inflating: libtorch/include/c10/Device.h  
-    creating: libtorch/include/c10/cuda/
-   inflating: libtorch/include/c10/cuda/CUDAMathCompat.h  
-    creating: libtorch/include/c10/cuda/impl/
-   inflating: libtorch/include/c10/cuda/impl/CUDATest.h  
-   inflating: libtorch/include/c10/cuda/CUDAMacros.h  
-   inflating: libtorch/include/c10/cuda/CUDAFunctions.h  
-   inflating: libtorch/include/c10/cuda/CUDAException.h  
-    creating: libtorch/include/caffe2/
-    creating: libtorch/include/caffe2/core/
-   inflating: libtorch/include/caffe2/core/blob_serialization.h  
-   inflating: libtorch/include/caffe2/core/net_simple_refcount.h  
-   inflating: libtorch/include/caffe2/core/tensor.h  
-   inflating: libtorch/include/caffe2/core/scope_guard.h  
-   inflating: libtorch/include/caffe2/core/operator_c10wrapper.h  
-   inflating: libtorch/include/caffe2/core/qtensor.h  
-   inflating: libtorch/include/caffe2/core/flags.h  
-   inflating: libtorch/include/caffe2/core/macros.h  
-   inflating: libtorch/include/caffe2/core/net_dag_utils.h  
-   inflating: libtorch/include/caffe2/core/common_gpu.h  
-   inflating: libtorch/include/caffe2/core/asan.h  
-   inflating: libtorch/include/caffe2/core/net.h  
-   inflating: libtorch/include/caffe2/core/blob_serializer_base.h  
-   inflating: libtorch/include/caffe2/core/operator_gradient.h  
-   inflating: libtorch/include/caffe2/core/stats.h  
-   inflating: libtorch/include/caffe2/core/plan_executor.h  
-   inflating: libtorch/include/caffe2/core/tensor_impl.h  
-   inflating: libtorch/include/caffe2/core/blob_stats.h  
-   inflating: libtorch/include/caffe2/core/event_cpu.h  
-   inflating: libtorch/include/caffe2/core/event.h  
-   inflating: libtorch/include/caffe2/core/logging.h  
-   inflating: libtorch/include/caffe2/core/THCCachingAllocator_gpu.h  
-   inflating: libtorch/include/caffe2/core/operator.h  
-   inflating: libtorch/include/caffe2/core/net_simple.h  
-   inflating: libtorch/include/caffe2/core/cudnn_wrappers.h  
-   inflating: libtorch/include/caffe2/core/numa.h  
-   inflating: libtorch/include/caffe2/core/timer.h  
-   inflating: libtorch/include/caffe2/core/context_base.h  
-   inflating: libtorch/include/caffe2/core/storage.h  
-   inflating: libtorch/include/caffe2/core/net_async_tracing.h  
-   inflating: libtorch/include/caffe2/core/blob.h  
-   inflating: libtorch/include/caffe2/core/static_tracepoint.h  
-   inflating: libtorch/include/caffe2/core/init.h  
-   inflating: libtorch/include/caffe2/core/graph.h  
-   inflating: libtorch/include/caffe2/core/operator_schema.h  
-   inflating: libtorch/include/caffe2/core/net_async_base.h  
-   inflating: libtorch/include/caffe2/core/context_gpu.h  
-   inflating: libtorch/include/caffe2/core/prof_dag_counters.h  
-   inflating: libtorch/include/caffe2/core/allocator.h  
-   inflating: libtorch/include/caffe2/core/static_tracepoint_elfx86.h  
-   inflating: libtorch/include/caffe2/core/db.h  
-   inflating: libtorch/include/caffe2/core/observer.h  
-   inflating: libtorch/include/caffe2/core/qtensor_serialization.h  
-   inflating: libtorch/include/caffe2/core/common.h  
-   inflating: libtorch/include/caffe2/core/context.h  
-   inflating: libtorch/include/caffe2/core/common_omp.h  
-   inflating: libtorch/include/caffe2/core/transform.h  
-   inflating: libtorch/include/caffe2/core/net_async_scheduling.h  
-   inflating: libtorch/include/caffe2/core/common_cudnn.h  
-   inflating: libtorch/include/caffe2/core/types.h  
-   inflating: libtorch/include/caffe2/core/workspace.h  
-   inflating: libtorch/include/caffe2/core/tensor_int8.h  
-   inflating: libtorch/include/caffe2/core/memonger.h  
-   inflating: libtorch/include/caffe2/core/module.h  
-    creating: libtorch/include/caffe2/utils/
-   inflating: libtorch/include/caffe2/utils/map_utils.h  
-   inflating: libtorch/include/caffe2/utils/math-detail.h  
-   inflating: libtorch/include/caffe2/utils/murmur_hash3.h  
-   inflating: libtorch/include/caffe2/utils/smart_tensor_printer.h  
-   inflating: libtorch/include/caffe2/utils/math_utils.h  
-   inflating: libtorch/include/caffe2/utils/cpu_neon.h  
-   inflating: libtorch/include/caffe2/utils/fixed_divisor.h  
-   inflating: libtorch/include/caffe2/utils/zmq_helper.h  
-   inflating: libtorch/include/caffe2/utils/proto_convert.h  
-   inflating: libtorch/include/caffe2/utils/proto_wrap.h  
-   inflating: libtorch/include/caffe2/utils/simple_queue.h  
-   inflating: libtorch/include/caffe2/utils/math.h  
-   inflating: libtorch/include/caffe2/utils/proto_utils.h  
-   inflating: libtorch/include/caffe2/utils/string_utils.h  
-   inflating: libtorch/include/caffe2/utils/eigen_utils.h  
-   inflating: libtorch/include/caffe2/utils/thread_name.h  
-   inflating: libtorch/include/caffe2/utils/conversions.h  
-   inflating: libtorch/include/caffe2/utils/signal_handler.h  
-   inflating: libtorch/include/caffe2/utils/cblas.h  
-   inflating: libtorch/include/caffe2/utils/filler.h  
-   inflating: libtorch/include/caffe2/utils/thread_pool.h  
-   inflating: libtorch/include/caffe2/utils/bench_utils.h  
-   inflating: libtorch/include/caffe2/utils/cpuid.h  
-   inflating: libtorch/include/caffe2/utils/cast.h  
-    creating: libtorch/include/caffe2/proto/
-   inflating: libtorch/include/caffe2/proto/prof_dag.pb.h  
-   inflating: libtorch/include/caffe2/proto/caffe2_legacy.pb.h  
-   inflating: libtorch/include/caffe2/proto/torch.pb.h  
-   inflating: libtorch/include/caffe2/proto/caffe2_pb.h  
-   inflating: libtorch/include/caffe2/proto/torch_pb.h  
-   inflating: libtorch/include/caffe2/proto/hsm.pb.h  
-   inflating: libtorch/include/caffe2/proto/caffe2.pb.h  
-   inflating: libtorch/include/caffe2/proto/predictor_consts.pb.h  
-   inflating: libtorch/include/caffe2/proto/metanet.pb.h  
-    creating: libtorch/include/ATen/
-   inflating: libtorch/include/ATen/MatrixRef.h  
-   inflating: libtorch/include/ATen/dlpack.h  
-   inflating: libtorch/include/ATen/SparseCPUFloatType.h  
-   inflating: libtorch/include/ATen/Dispatch.h  
-   inflating: libtorch/include/ATen/LegacyTHDispatch.h  
-   inflating: libtorch/include/ATen/UndefinedType.h  
-   inflating: libtorch/include/ATen/InitialTensorOptions.h  
-   inflating: libtorch/include/ATen/SparseCUDAByteType.h  
-  extracting: libtorch/include/ATen/Type.h  
-    creating: libtorch/include/ATen/core/
-   inflating: libtorch/include/ATen/core/VariableHooksInterface.h  
-   inflating: libtorch/include/ATen/core/Macros.h  
-   inflating: libtorch/include/ATen/core/Type.h  
-   inflating: libtorch/include/ATen/core/TensorOptions.h  
-   inflating: libtorch/include/ATen/core/Backtrace.h  
-   inflating: libtorch/include/ATen/core/function_schema.h  
-  extracting: libtorch/include/ATen/core/Half.h  
-   inflating: libtorch/include/ATen/core/ATenGeneral.h  
-   inflating: libtorch/include/ATen/core/DimVector.h  
-   inflating: libtorch/include/ATen/core/TensorAccessor.h  
-   inflating: libtorch/include/ATen/core/LegacyTypeDispatch.h  
-   inflating: libtorch/include/ATen/core/Deprecated.h  
-  extracting: libtorch/include/ATen/core/ScalarType.h  
-   inflating: libtorch/include/ATen/core/alias_info.h  
-   inflating: libtorch/include/ATen/core/TensorImpl.h  
-   inflating: libtorch/include/ATen/core/Range.h  
-   inflating: libtorch/include/ATen/core/SparseTensorRef.h  
-   inflating: libtorch/include/ATen/core/Generator.h  
-   inflating: libtorch/include/ATen/core/context_base.h  
-  extracting: libtorch/include/ATen/core/Scalar.h  
-   inflating: libtorch/include/ATen/core/aten_interned_strings.h  
-   inflating: libtorch/include/ATen/core/DefaultDtype.h  
-   inflating: libtorch/include/ATen/core/blob.h  
-   inflating: libtorch/include/ATen/core/Formatting.h  
-   inflating: libtorch/include/ATen/core/Reduction.h  
-   inflating: libtorch/include/ATen/core/TensorMethods.h  
-   inflating: libtorch/include/ATen/core/WrapDimMinimal.h  
-   inflating: libtorch/include/ATen/core/LegacyDeviceTypeInit.h  
-   inflating: libtorch/include/ATen/core/interned_strings.h  
-   inflating: libtorch/include/ATen/core/functional.h  
-   inflating: libtorch/include/ATen/core/interned_strings_class.h  
-   inflating: libtorch/include/ATen/core/thread_pool.h  
-   inflating: libtorch/include/ATen/core/jit_type.h  
-   inflating: libtorch/include/ATen/core/UndefinedTensorImpl.h  
-   inflating: libtorch/include/ATen/core/Tensor.h  
-  extracting: libtorch/include/ATen/core/typeid.h  
-   inflating: libtorch/include/ATen/core/ivalue.h  
-   inflating: libtorch/include/ATen/DLConvertor.h  
-   inflating: libtorch/include/ATen/CPUDoubleType.h  
-  extracting: libtorch/include/ATen/TensorOptions.h  
-   inflating: libtorch/include/ATen/NativeFunctions.h  
-   inflating: libtorch/include/ATen/SparseCUDAShortType.h  
-  extracting: libtorch/include/ATen/Allocator.h  
-   inflating: libtorch/include/ATen/WrapDimUtils.h  
-   inflating: libtorch/include/ATen/LegacyTHDispatcher.h  
-  extracting: libtorch/include/ATen/Backtrace.h  
-  extracting: libtorch/include/ATen/Half.h  
-  extracting: libtorch/include/ATen/DimVector.h  
-   inflating: libtorch/include/ATen/TypeExtendedInterface.h  
-   inflating: libtorch/include/ATen/Config.h  
-   inflating: libtorch/include/ATen/TensorAccessor.h  
-   inflating: libtorch/include/ATen/ScalarType.h  
-   inflating: libtorch/include/ATen/WrapDimUtilsMulti.h  
-   inflating: libtorch/include/ATen/CPUIntType.h  
-   inflating: libtorch/include/ATen/div_rtn.h  
-    creating: libtorch/include/ATen/detail/
-   inflating: libtorch/include/ATen/detail/FunctionTraits.h  
-   inflating: libtorch/include/ATen/detail/ScalarTypeConversions.h  
-   inflating: libtorch/include/ATen/detail/CPUGuardImpl.h  
-   inflating: libtorch/include/ATen/detail/CUDAHooksInterface.h  
-   inflating: libtorch/include/ATen/detail/ComplexHooksInterface.h  
-   inflating: libtorch/include/ATen/detail/HIPHooksInterface.h  
-   inflating: libtorch/include/ATen/SparseCPUCharType.h  
-  extracting: libtorch/include/ATen/Storage.h  
-  extracting: libtorch/include/ATen/Layout.h  
-   inflating: libtorch/include/ATen/CPUGenerator.h  
-   inflating: libtorch/include/ATen/CUDADoubleType.h  
-   inflating: libtorch/include/ATen/Functions.h  
-   inflating: libtorch/include/ATen/ExpandUtils.h  
-  extracting: libtorch/include/ATen/Generator.h  
-   inflating: libtorch/include/ATen/SparseCUDALongType.h  
-   inflating: libtorch/include/ATen/CUDAIntType.h  
-   inflating: libtorch/include/ATen/Utils.h  
-  extracting: libtorch/include/ATen/Scalar.h  
-   inflating: libtorch/include/ATen/CPULongType.h  
-   inflating: libtorch/include/ATen/ATen.h  
-   inflating: libtorch/include/ATen/CUDAHalfType.h  
-  extracting: libtorch/include/ATen/Formatting.h  
-   inflating: libtorch/include/ATen/TensorGeometry.h  
-   inflating: libtorch/include/ATen/InferSize.h  
-   inflating: libtorch/include/ATen/CheckGenerator.h  
-   inflating: libtorch/include/ATen/TensorUtils.h  
-   inflating: libtorch/include/ATen/Context.h  
-   inflating: libtorch/include/ATen/CPUFloatType.h  
-   inflating: libtorch/include/ATen/SparseCPUDoubleType.h  
-   inflating: libtorch/include/ATen/CUDALongType.h  
-   inflating: libtorch/include/ATen/TypeDefault.h  
-   inflating: libtorch/include/ATen/CPUGeneral.h  
-    creating: libtorch/include/ATen/cudnn/
-  extracting: libtorch/include/ATen/cudnn/Handles.h  
-   inflating: libtorch/include/ATen/cudnn/Utils.h  
-  extracting: libtorch/include/ATen/cudnn/Exceptions.h  
-   inflating: libtorch/include/ATen/cudnn/Descriptors.h  
-   inflating: libtorch/include/ATen/cudnn/Types.h  
-   inflating: libtorch/include/ATen/cudnn/Handle.h  
-   inflating: libtorch/include/ATen/cudnn/cudnn-wrapper.h  
-   inflating: libtorch/include/ATen/CPUApplyUtils.h  
-   inflating: libtorch/include/ATen/SparseCUDAIntType.h  
-   inflating: libtorch/include/ATen/ScalarOps.h  
-   inflating: libtorch/include/ATen/CPUCharType.h  
-   inflating: libtorch/include/ATen/CUDAGenerator.h  
-   inflating: libtorch/include/ATen/SparseCUDADoubleType.h  
-   inflating: libtorch/include/ATen/CUDAByteType.h  
-   inflating: libtorch/include/ATen/AccumulateType.h  
-   inflating: libtorch/include/ATen/DeviceGuard.h  
-   inflating: libtorch/include/ATen/CPUHalfType.h  
-   inflating: libtorch/include/ATen/CPUTypeDefault.h  
-   inflating: libtorch/include/ATen/CUDAFloatType.h  
-   inflating: libtorch/include/ATen/CPUFixedAllocator.h  
-   inflating: libtorch/include/ATen/SparseCPULongType.h  
-   inflating: libtorch/include/ATen/Parallel.h  
-   inflating: libtorch/include/ATen/CUDACharType.h  
-  extracting: libtorch/include/ATen/Backend.h  
-   inflating: libtorch/include/ATen/CPUShortType.h  
-  extracting: libtorch/include/ATen/SmallVector.h  
-   inflating: libtorch/include/ATen/SparseTensorUtils.h  
-   inflating: libtorch/include/ATen/CPUByteType.h  
-  extracting: libtorch/include/ATen/Device.h  
-   inflating: libtorch/include/ATen/CUDAShortType.h  
-   inflating: libtorch/include/ATen/SparseCUDAFloatType.h  
-   inflating: libtorch/include/ATen/SparseCPUByteType.h  
-    creating: libtorch/include/ATen/cpu/
-   inflating: libtorch/include/ATen/cpu/vml.h  
-   inflating: libtorch/include/ATen/cpu/FlushDenormal.h  
-   inflating: libtorch/include/ATen/SparseCPUIntType.h  
-   inflating: libtorch/include/ATen/TensorOperators.h  
-   inflating: libtorch/include/ATen/RegisterCUDA.h  
-   inflating: libtorch/include/ATen/SparseTensorImpl.h  
-   inflating: libtorch/include/ATen/SparseCPUShortType.h  
-    creating: libtorch/include/ATen/cuda/
-   inflating: libtorch/include/ATen/cuda/CUDAContext.h  
-   inflating: libtorch/include/ATen/cuda/CUDAEvent.h  
-   inflating: libtorch/include/ATen/cuda/ATenCUDAGeneral.h  
-   inflating: libtorch/include/ATen/cuda/CUDAGuard.h  
-   inflating: libtorch/include/ATen/cuda/PinnedMemoryAllocator.h  
-   inflating: libtorch/include/ATen/cuda/NumericLimits.cuh  
-   inflating: libtorch/include/ATen/cuda/CUDADevice.h  
-    creating: libtorch/include/ATen/cuda/detail/
-   inflating: libtorch/include/ATen/cuda/detail/CUDAHooks.h  
-   inflating: libtorch/include/ATen/cuda/detail/IndexUtils.cuh  
-   inflating: libtorch/include/ATen/cuda/detail/KernelUtils.h  
-   inflating: libtorch/include/ATen/cuda/detail/CUDAGuardImpl.h  
-   inflating: libtorch/include/ATen/cuda/detail/TensorInfo.cuh  
-   inflating: libtorch/include/ATen/cuda/detail/OffsetCalculator.cuh  
-   inflating: libtorch/include/ATen/cuda/CUDAUtils.h  
-   inflating: libtorch/include/ATen/cuda/CUDAMultiStreamGuard.h  
-   inflating: libtorch/include/ATen/cuda/_curand_mtgp32_host.h  
-   inflating: libtorch/include/ATen/cuda/CUDATypeDefault.h  
-   inflating: libtorch/include/ATen/cuda/Exceptions.h  
-   inflating: libtorch/include/ATen/cuda/CUDAConfig.h  
-   inflating: libtorch/include/ATen/cuda/CUDAApplyUtils.cuh  
-   inflating: libtorch/include/ATen/cuda/CUDAStream.h  
-   inflating: libtorch/include/ATen/cuda/Array.h  
-   inflating: libtorch/include/ATen/cuda/CUDATensorMethods.cuh  
-   inflating: libtorch/include/ATen/SparseCUDACharType.h  
-  extracting: libtorch/include/ATen/Tensor.h  
-   inflating: libtorch/include/ATen/RegisterCPU.h  
-  extracting: libtorch/include/ATen/ArrayRef.h  
-    creating: libtorch/include/TH/
-   inflating: libtorch/include/TH/THBlas.h  
-   inflating: libtorch/include/TH/THGenerateHalfType.h  
-   inflating: libtorch/include/TH/THLapack.h  
-   inflating: libtorch/include/TH/THFile.h  
-   inflating: libtorch/include/TH/THMath.h  
-   inflating: libtorch/include/TH/THGenerateCharType.h  
-   inflating: libtorch/include/TH/THGenerator.hpp  
-   inflating: libtorch/include/TH/THGenerateFloatTypes.h  
-   inflating: libtorch/include/TH/THDiskFile.h  
-   inflating: libtorch/include/TH/THGenerateAllTypes.h  
-   inflating: libtorch/include/TH/THTensorApply.h  
-   inflating: libtorch/include/TH/THGenerateByteType.h  
-   inflating: libtorch/include/TH/THAllocator.h  
-   inflating: libtorch/include/TH/THTensorDimApply.h  
-   inflating: libtorch/include/TH/THGenerateIntType.h  
-   inflating: libtorch/include/TH/TH.h  
-   inflating: libtorch/include/TH/THHalf.h  
-   inflating: libtorch/include/TH/THTensor.hpp  
-   inflating: libtorch/include/TH/THGenerateShortType.h  
-   inflating: libtorch/include/TH/THRandom.h  
-   inflating: libtorch/include/TH/THLogAdd.h  
-   inflating: libtorch/include/TH/THSize.h  
-   inflating: libtorch/include/TH/THGenerateLongType.h  
-   inflating: libtorch/include/TH/THStorage.h  
-   inflating: libtorch/include/TH/THTensor.h  
-   inflating: libtorch/include/TH/THGenerateDoubleType.h  
-   inflating: libtorch/include/TH/THMemoryFile.h  
-   inflating: libtorch/include/TH/THVector.h  
-   inflating: libtorch/include/TH/THGeneral.h  
-   inflating: libtorch/include/TH/THGenerateFloatType.h  
-   inflating: libtorch/include/TH/THStorageFunctions.h  
-   inflating: libtorch/include/TH/THStorageFunctions.hpp  
-   inflating: libtorch/include/TH/THFilePrivate.h  
-   inflating: libtorch/include/TH/THGenerateIntTypes.h  
-    creating: libtorch/include/TH/generic/
-   inflating: libtorch/include/TH/generic/THBlas.h  
-   inflating: libtorch/include/TH/generic/THLapack.h  
-   inflating: libtorch/include/TH/generic/THTensorLapack.h  
-   inflating: libtorch/include/TH/generic/THTensorMath.h  
-   inflating: libtorch/include/TH/generic/THStorageCopy.h  
-   inflating: libtorch/include/TH/generic/THTensor.hpp  
-   inflating: libtorch/include/TH/generic/THStorage.h  
-   inflating: libtorch/include/TH/generic/THTensor.h  
-   inflating: libtorch/include/TH/generic/THTensorConv.h  
-   inflating: libtorch/include/TH/generic/THVector.h  
-   inflating: libtorch/include/TH/generic/THTensorRandom.h  
-   inflating: libtorch/include/TH/generic/THTensorFastGetSet.hpp  
-> installed libtorch.1.0.1
Processing 67/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [sexplib0: dune build]
-> installed bigarray-compat.1.1.0
Processing 68/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [sexplib0: dune build]
Processing 69/135: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [camlzip: make install]
-> compiled  ocaml-compiler-libs.v0.12.4
Processing 69/135: [num: make opam-legacy] [sexplib0: dune build] [camlzip: make install]
- /usr/bin/make -C src all
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/num.1.5-1/src'
- ocamlc -ccopt -DBNG_ARCH_amd64 -c bng.c
- ocamlc -ccopt -DBNG_ARCH_amd64 -c nat_stubs.c
- ocamlmklib -oc nums bng.o nat_stubs.o
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c int_misc.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c int_misc.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c nat.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c nat.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c big_int.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c big_int.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_flags.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_flags.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c ratio.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c ratio.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_status.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_status.ml
- ocamlmklib -o nums -oc nums -linkall int_misc.cmo nat.cmo big_int.cmo arith_flags.cmo ratio.cmo num.cmo arith_status.cmo
- cp ../toplevel/num_top_printers.mli ../toplevel/num_top.mli ../toplevel/num_top_printers.ml ../toplevel/num_top.ml .
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top_printers.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top_printers.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -a -o num_top.cma num_top_printers.cmo num_top.cmo
- echo 'version = "1.6~dev"' > META.top
- cat META.num-top.in >> META.top
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c int_misc.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c nat.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c big_int.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_flags.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c ratio.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_status.ml
- ocamlmklib -o nums -oc nums -linkall int_misc.cmx nat.cmx big_int.cmx arith_flags.cmx ratio.cmx num.cmx arith_status.cmx
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -I . -shared -o nums.cmxs nums.cmxa
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/num.1.5-1/src'
- cp src/num-legacy.install num.install
-> compiled  num.1.5-1
Processing 69/135: [sexplib0: dune build] [camlzip: make install]
-> compiled  sexplib0.v0.16.0
Processing 69/135: [camlzip: make install]
+ /usr/bin/make "install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/camlzip.1.12)
- cp META-zip META && \
-         ocamlfind install zip META *.cma *.a *.mli *.cmi *.cmti *.cmt gzip.cmx zip.cmx zlib.cmx zip.cmxa zip.cmxs dllcamlzip.so && \
-         rm META
- Installed /home/opam/.opam/4.14/lib/zip/zip.cmxs
- Installed /home/opam/.opam/4.14/lib/zip/zip.cmxa
- Installed /home/opam/.opam/4.14/lib/zip/zlib.cmx
- Installed /home/opam/.opam/4.14/lib/zip/zip.cmx
- Installed /home/opam/.opam/4.14/lib/zip/gzip.cmx
- Installed /home/opam/.opam/4.14/lib/zip/zlib.cmt
- Installed /home/opam/.opam/4.14/lib/zip/zip.cmt
- Installed /home/opam/.opam/4.14/lib/zip/gzip.cmt
- Installed /home/opam/.opam/4.14/lib/zip/zlib.cmti
- Installed /home/opam/.opam/4.14/lib/zip/zip.cmti
- Installed /home/opam/.opam/4.14/lib/zip/gzip.cmti
- Installed /home/opam/.opam/4.14/lib/zip/zlib.cmi
- Installed /home/opam/.opam/4.14/lib/zip/zip.cmi
- Installed /home/opam/.opam/4.14/lib/zip/gzip.cmi
- Installed /home/opam/.opam/4.14/lib/zip/zlib.mli
- Installed /home/opam/.opam/4.14/lib/zip/zip.mli
- Installed /home/opam/.opam/4.14/lib/zip/gzip.mli
- Installed /home/opam/.opam/4.14/lib/zip/zip.a
- Installed /home/opam/.opam/4.14/lib/zip/libcamlzip.a
- Installed /home/opam/.opam/4.14/lib/zip/zip.cma
- Installed /home/opam/.opam/4.14/lib/stublibs/dllcamlzip.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dllcamlzip.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.14/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/4.14/lib/zip/META
- cp META-camlzip META && \
-         ocamlfind install camlzip META && \
-         rm META
- Installed /home/opam/.opam/4.14/lib/camlzip/META
-> installed camlzip.1.12
Processing 70/135: [npy: dune build]
Processing 71/135: [npy: dune build] [cmdliner: make install]
- install -d "/home/opam/.opam/4.14/lib/cmdliner"
- install pkg/META _build/cmdliner.mli _build/cmdliner.cmi _build/cmdliner.cmti "/home/opam/.opam/4.14/lib/cmdliner"
- install cmdliner.opam "/home/opam/.opam/4.14/lib/cmdliner/opam"
- install _build/cmdliner.cma "/home/opam/.opam/4.14/lib/cmdliner"
- install _build/cmdliner.cmxa _build/cmdliner.a _build/cmdliner.cmx _build/cmdliner_arg.cmx _build/cmdliner_base.cmx _build/cmdliner_cline.cmx _build/cmdliner_cmd.cmx _build/cmdliner_docgen.cmx _build/cmdliner_eval.cmx _build/cmdliner_exit.cmx _build/cmdliner_info.cmx _build/cmdliner_manpage.cmx _build/cmdliner_msg.cmx _build/cmdliner_term.cmx _build/cmdliner_term_deprecated.cmx _build/cmdliner_trie.cmx \
-   "/home/opam/.opam/4.14/lib/cmdliner"
- install _build/cmdliner.cmxs "/home/opam/.opam/4.14/lib/cmdliner"
Processing 71/135: [npy: dune build] [cmdliner: make install-doc]
- install -d "/home/opam/.opam/4.14/doc/cmdliner/odoc-pages"
- install CHANGES.md LICENSE.md README.md "/home/opam/.opam/4.14/doc/cmdliner"
- install doc/index.mld doc/cli.mld doc/examples.mld doc/tutorial.mld \
-            doc/tool_man.mld "/home/opam/.opam/4.14/doc/cmdliner/odoc-pages"
-> installed cmdliner.1.3.0
Processing 71/135: [npy: dune build]
-> installed csexp.1.5.2
Processing 72/135: [npy: dune build]
Processing 73/135: [dune-configurator: rm] [npy: dune build]
-> installed jane-street-headers.v0.16.0
Processing 74/135: [dune-configurator: rm] [npy: dune build]
-> installed num.1.5-1
Processing 75/135: [dune-configurator: rm] [npy: dune build]
-> installed ocaml-compiler-libs.v0.12.4
Processing 76/135: [dune-configurator: rm] [npy: dune build]
-> installed ppx_derivers.1.2.1
Processing 77/135: [dune-configurator: rm] [npy: dune build]
-> installed result.1.5
Processing 78/135: [dune-configurator: rm] [npy: dune build]
Processing 79/135: [dune-configurator: rm] [npy: dune build] [stb_image: make]
-> installed seq.base
Processing 80/135: [dune-configurator: rm] [npy: dune build] [stb_image: make]
Processing 81/135: [dune-configurator: rm] [npy: dune build] [re: dune build] [stb_image: make]
-> installed sexplib0.v0.16.0
Processing 82/135: [dune-configurator: rm] [npy: dune build] [re: dune build] [stb_image: make]
Processing 83/135: [dune-configurator: rm] [npy: dune build] [parsexp: dune build] [re: dune build] [stb_image: make]
-> installed stdlib-shims.0.3.0
Processing 84/135: [dune-configurator: rm] [npy: dune build] [parsexp: dune build] [re: dune build] [stb_image: make]
Processing 85/135: [dune-configurator: rm] [integers: dune build] [npy: dune build] [parsexp: dune build] [re: dune build] [stb_image: make]
Processing 86/135: [dune-configurator: rm] [integers: dune build] [npy: dune build] [parsexp: dune build] [ppxlib: dune build] [re: dune build] [stb_image: make]
-> compiled  npy.0.0.9
Processing 86/135: [dune-configurator: rm] [integers: dune build] [parsexp: dune build] [ppxlib: dune build] [re: dune build] [stb_image: make]
-> installed npy.0.0.9
Processing 87/135: [dune-configurator: rm] [integers: dune build] [parsexp: dune build] [ppxlib: dune build] [re: dune build] [stb_image: make]
Processing 87/135: [dune-configurator: dune build] [integers: dune build] [parsexp: dune build] [ppxlib: dune build] [re: dune build] [stb_image: make]
-> compiled  integers.0.7.0
Processing 87/135: [dune-configurator: dune build] [parsexp: dune build] [ppxlib: dune build] [re: dune build] [stb_image: make]
-> installed integers.0.7.0
Processing 88/135: [dune-configurator: dune build] [parsexp: dune build] [ppxlib: dune build] [re: dune build] [stb_image: make]
-> compiled  re.1.12.0
Processing 88/135: [dune-configurator: dune build] [parsexp: dune build] [ppxlib: dune build] [stb_image: make]
-> installed re.1.12.0
Processing 89/135: [dune-configurator: dune build] [parsexp: dune build] [ppxlib: dune build] [stb_image: make]
-> compiled  parsexp.v0.16.0
Processing 89/135: [dune-configurator: dune build] [ppxlib: dune build] [stb_image: make]
-> installed parsexp.v0.16.0
Processing 90/135: [dune-configurator: dune build] [ppxlib: dune build] [stb_image: make]
Processing 91/135: [dune-configurator: dune build] [ppxlib: dune build] [sexplib: dune build] [stb_image: make]
-> compiled  dune-configurator.3.16.0
Processing 91/135: [ppxlib: dune build] [sexplib: dune build] [stb_image: make]
-> installed dune-configurator.3.16.0
Processing 92/135: [ppxlib: dune build] [sexplib: dune build] [stb_image: make]
Processing 93/135: [base: dune build] [ppxlib: dune build] [sexplib: dune build] [stb_image: make]
Processing 94/135: [base: dune build] [ctypes: dune build] [ppxlib: dune build] [sexplib: dune build] [stb_image: make]
-> compiled  sexplib.v0.16.0
Processing 94/135: [base: dune build] [ctypes: dune build] [ppxlib: dune build] [stb_image: make]
-> installed sexplib.v0.16.0
Processing 95/135: [base: dune build] [ctypes: dune build] [ppxlib: dune build] [stb_image: make]
- ocamlfind c -package result -c stb_image.mli
- ocamlfind c -package result -c stb_image.ml
- ocamlfind c -c -ccopt "-O3 -std=gnu99 -ffast-math" ml_stb_image.c
- ocamlfind mklib -o _stb_image_stubs ml_stb_image.o
- ocamlfind c -package result -a -custom -o stb_image.cma stb_image.cmo \
-        -dllib dll_stb_image_stubs.so \
-        -cclib -l_stb_image_stubs
- ocamlfind opt -package result -c stb_image.ml
- ocamlfind opt -package result -a -o stb_image.cmxa stb_image.cmx \
-        -cclib -l_stb_image_stubs
-> compiled  stb_image.0.5
Processing 95/135: [base: dune build] [ctypes: dune build] [ppxlib: dune build]
Processing 96/135: [base: dune build] [ctypes: dune build] [ppxlib: dune build] [stb_image: make install]
- ocamlfind install stb_image stb_image.a stb_image.cmi stb_image.cmo stb_image.cma stb_image.cmx stb_image.cmxa stb_image.ml stb_image.mli lib_stb_image_stubs.a dll_stb_image_stubs.so META
- Installed /home/opam/.opam/4.14/lib/stb_image/lib_stb_image_stubs.a
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.mli
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.ml
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.cmxa
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.cmx
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.cma
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.cmo
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.cmi
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.a
- Installed /home/opam/.opam/4.14/lib/stublibs/dll_stb_image_stubs.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dll_stb_image_stubs.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.14/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/4.14/lib/stb_image/META
-> installed stb_image.0.5
Processing 96/135: [base: dune build] [ctypes: dune build] [ppxlib: dune build]
Processing 96/135: [base: dune build] [ctypes: dune install] [ppxlib: dune build]
-> compiled  ctypes.0.23.0
Processing 96/135: [base: dune build] [ppxlib: dune build]
-> installed ctypes.0.23.0
Processing 97/135: [base: dune build] [ppxlib: dune build]
Processing 98/135: [base: dune build] [ctypes-foreign: dune build] [ppxlib: dune build]
-> compiled  base.v0.16.3
Processing 98/135: [ctypes-foreign: dune build] [ppxlib: dune build]
-> installed base.v0.16.3
Processing 99/135: [ctypes-foreign: dune build] [ppxlib: dune build]
Processing 100/135: [ctypes-foreign: dune build] [ppxlib: dune build] [stdio: dune build]
-> compiled  stdio.v0.16.0
Processing 100/135: [ctypes-foreign: dune build] [ppxlib: dune build]
-> installed stdio.v0.16.0
Processing 101/135: [ctypes-foreign: dune build] [ppxlib: dune build]
Processing 101/135: [ctypes-foreign: dune install] [ppxlib: dune build]
-> compiled  ctypes-foreign.0.23.0
Processing 101/135: [ppxlib: dune build]
-> installed ctypes-foreign.0.23.0
Processing 102/135: [ppxlib: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "ppxlib" "-j" "39" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ppxlib.0.33.0)
-> compiled  ppxlib.0.33.0
-> installed ppxlib.0.33.0
Processing 104/135: [ppx_cold: dune build]
Processing 105/135: [ppx_cold: dune build] [ppx_compare: dune build]
Processing 106/135: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build]
Processing 107/135: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build]
Processing 108/135: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build]
Processing 109/135: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
Processing 110/135: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_globalize.v0.16.0
Processing 110/135: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_globalize.v0.16.0
Processing 111/135: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_optcomp.v0.16.0
Processing 111/135: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_optcomp.v0.16.0
Processing 112/135: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_cold.v0.16.0
Processing 112/135: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_cold.v0.16.0
Processing 113/135: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_here.v0.16.0
Processing 113/135: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_here.v0.16.0
Processing 114/135: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_enumerate.v0.16.0
Processing 114/135: [ppx_compare: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_enumerate.v0.16.0
Processing 115/135: [ppx_compare: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_compare.v0.16.0
Processing 115/135: [ppx_sexp_conv: dune build]
-> installed ppx_compare.v0.16.0
Processing 116/135: [ppx_sexp_conv: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "ppx_sexp_conv" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ppx_sexp_conv.v0.16.0)
-> compiled  ppx_sexp_conv.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
Processing 118/135: [ppx_assert: dune build]
Processing 119/135: [ppx_assert: dune build] [ppx_custom_printf: dune build]
Processing 120/135: [ppx_assert: dune build] [ppx_custom_printf: dune build] [ppx_hash: dune build]
-> compiled  ppx_hash.v0.16.0
Processing 120/135: [ppx_assert: dune build] [ppx_custom_printf: dune build]
-> installed ppx_hash.v0.16.0
Processing 121/135: [ppx_assert: dune build] [ppx_custom_printf: dune build]
Processing 122/135: [ppx_assert: dune build] [ppx_base: dune build] [ppx_custom_printf: dune build]
-> compiled  ppx_assert.v0.16.0
Processing 122/135: [ppx_base: dune build] [ppx_custom_printf: dune build]
-> installed ppx_assert.v0.16.0
Processing 123/135: [ppx_base: dune build] [ppx_custom_printf: dune build]
Processing 124/135: [jst-config: dune build] [ppx_base: dune build] [ppx_custom_printf: dune build]
-> compiled  ppx_custom_printf.v0.16.0
Processing 124/135: [jst-config: dune build] [ppx_base: dune build]
-> installed ppx_custom_printf.v0.16.0
Processing 125/135: [jst-config: dune build] [ppx_base: dune build]
-> compiled  ppx_base.v0.16.0
Processing 125/135: [jst-config: dune build]
-> installed ppx_base.v0.16.0
Processing 126/135: [jst-config: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "jst-config" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/jst-config.v0.16.0)
-> compiled  jst-config.v0.16.0
-> installed jst-config.v0.16.0
Processing 128/135: [time_now: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "time_now" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/time_now.v0.16.0)
-> compiled  time_now.v0.16.0
-> installed time_now.v0.16.0
Processing 130/135: [ppx_inline_test: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "ppx_inline_test" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ppx_inline_test.v0.16.1)
-> compiled  ppx_inline_test.v0.16.1
-> installed ppx_inline_test.v0.16.1
Processing 132/135: [ppx_expect: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "ppx_expect" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ppx_expect.v0.16.0)
-> compiled  ppx_expect.v0.16.0
-> installed ppx_expect.v0.16.0
Processing 134/135: [torch: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "torch" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/torch.0.3)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/config/.discover.eobjs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-configurator -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -no-alias-deps -o src/config/.discover.eobjs/byte/discover.cmo -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 10, characters 11-31:
- 10 | let (/^) = Caml.Filename.concat
-                 ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 11, characters 18-38:
- 11 | let file_exists = Caml.Sys.file_exists
-                        ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 41, characters 35-56:
- 41 |           if file_exists libdir && Caml.Sys.is_directory libdir
-                                         ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 33, characters 4-20:
- 33 |     Caml.Sys.readdir conda_prefix
-          ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 49, characters 8-27:
- 49 |   match Caml.Sys.getenv_opt "LIBTORCH" with
-              ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 52, characters 10-29:
- 52 |     match Caml.Sys.getenv_opt "CONDA_PREFIX" with
-                ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 55, characters 12-31:
- 55 |       match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
-                  ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 65, characters 28-49:
- 65 |   if file_exists cudadir && Caml.Sys.is_directory cudadir
-                                  ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 97, characters 26-45:
- 97 |         Option.value_map (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
-                                ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-configurator -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -intf-suffix .ml -no-alias-deps -o src/config/.discover.eobjs/native/discover.cmx -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 10, characters 11-31:
- 10 | let (/^) = Caml.Filename.concat
-                 ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 11, characters 18-38:
- 11 | let file_exists = Caml.Sys.file_exists
-                        ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 41, characters 35-56:
- 41 |           if file_exists libdir && Caml.Sys.is_directory libdir
-                                         ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 33, characters 4-20:
- 33 |     Caml.Sys.readdir conda_prefix
-          ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 49, characters 8-27:
- 49 |   match Caml.Sys.getenv_opt "LIBTORCH" with
-              ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 52, characters 10-29:
- 52 |     match Caml.Sys.getenv_opt "CONDA_PREFIX" with
-                ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 55, characters 12-31:
- 55 |       match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
-                  ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 65, characters 28-49:
- 65 |   if file_exists cudadir && Caml.Sys.is_directory cudadir
-                                  ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 97, characters 26-45:
- 97 |         Option.value_map (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
-                                ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default/src/wrapper && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/stdlib-shims -o torch_stubs.o -c torch_stubs.c)
- torch_stubs.c: In function 'caml__29_at_save':
- torch_stubs.c:225:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   225 |    at_save(x221, x222);
-       |                  ^~~~
- In file included from torch_stubs.c:1:
- torch_api.h:55:28: note: expected 'char *' but argument is of type 'const char *'
-    55 | void at_save(tensor, char *filename);
-       |                      ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__30_at_load':
- torch_stubs.c:231:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   231 |    void* x226 = at_load(x225);
-       |                         ^~~~
- torch_api.h:56:22: note: expected 'char *' but argument is of type 'const char *'
-    56 | tensor at_load(char *filename);
-       |                ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__31_at_save_multi':
- torch_stubs.c:240:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   240 |    at_save_multi(x231, x232, x233, x236);
-       |                                    ^~~~
- torch_api.h:58:78: note: expected 'char *' but argument is of type 'const char *'
-    58 | void at_save_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
-       |                                                                        ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__32_at_load_multi':
- torch_stubs.c:249:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   249 |    at_load_multi(x242, x243, x244, x247);
-       |                                    ^~~~
- torch_api.h:60:78: note: expected 'char *' but argument is of type 'const char *'
-    60 | void at_load_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
-       |                                                                        ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__33_at_load_multi_':
- torch_stubs.c:258:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   258 |    at_load_multi_(x253, x254, x255, x258);
-       |                                     ^~~~
- torch_api.h:62:79: note: expected 'char *' but argument is of type 'const char *'
-    62 | void at_load_multi_(tensor *tensors, char **tensor_names, int ntensors, char *filename);
-       |                                                                         ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__34_at_load_callback':
- torch_stubs.c:265:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   265 |    at_load_callback(x262, x263);
-       |                     ^~~~
- torch_api.h:64:29: note: expected 'char *' but argument is of type 'const char *'
-    64 | void at_load_callback(char *filename, void (*f)(char *, tensor));
-       |                       ~~~~~~^~~~~~~~
- torch_stubs.c:265:27: warning: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
-   265 |    at_load_callback(x262, x263);
-       |                           ^~~~
-       |                           |
-       |                           void (*)(const char *, void *)
- torch_api.h:64:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)'
-    64 | void at_load_callback(char *filename, void (*f)(char *, tensor));
-       |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__61_atm_load':
- torch_stubs.c:457:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   457 |    void* x433 = atm_load(x432);
-       |                          ^~~~
- torch_api.h:109:17: note: expected 'char *' but argument is of type 'const char *'
-   109 | module atm_load(char *);
-       |                 ^~~~~~
- File "src/wrapper/dune", lines 1-8, characters 0-311:
- 1 | (library
- 2 |   (name torch_core)
- 3 |   (public_name torch.core)
- 4 |   (c_names torch_stubs)
- 5 |   (cxx_names torch_api)
- 6 |   (cxx_flags -std=c++11 (:include cxx_flags.sexp) -D_GLIBCXX_USE_CXX11_ABI=0)
- 7 |   (c_library_flags :standard -lstdc++ (:include c_library_flags.sexp))
- 8 |   (libraries bigarray ctypes.foreign ctypes.stubs ctypes))
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlmklib.opt -g -o src/wrapper/torch_core_stubs src/wrapper/torch_stubs.o src/wrapper/torch_api.o -ldopt -lstdc++ -ldopt -Wl,-rpath,/home/opam/.opam/4.14/lib/libtorch/lib -ldopt -L/home/opam/.opam/4.14/lib/libtorch/lib -ldopt -lc10 -ldopt -lcaffe2 -ldopt -ltorch)
- /usr/bin/ld: src/wrapper/torch_api.o: warning: relocation against `_ZTVN5torch5optim3SGDE' in read-only section `.text._ZN5torch5optim3SGDC2ISt6vectorIN2at6TensorESaIS5_EEEEOT_RKNS0_10SGDOptionsE[_ZN5torch5optim3SGDC5ISt6vectorIN2at6TensorESaIS5_EEEEOT_RKNS0_10SGDOptionsE]'
- /usr/bin/ld: src/wrapper/torch_api.o: relocation R_X86_64_PC32 against symbol `_ZN3c105ErrorD1Ev' can not be used when making a shared object; recompile with -fPIC
- /usr/bin/ld: final link failed: bad value
- collect2: error: ld returned 1 exit status
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/byte/torch__Text_helper.cmo -c -impl src/torch/text_helper.ml)
- File "src/torch/text_helper.ml", line 49, characters 4-22:
- 49 |     Caml.Gc.full_major ();
-          ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/byte/torch__Cifar_helper.cmo -c -impl src/torch/cifar_helper.ml)
- File "src/torch/cifar_helper.ml", line 43, characters 26-46:
- 43 |   let read_one filename = Caml.Filename.concat dirname filename |> read_file in
-                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/cifar_helper.ml", line 65, characters 21-41:
- 65 |     let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in
-                           ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/byte/torch__Mnist_helper.cmo -c -impl src/torch/mnist_helper.ml)
- File "src/torch/mnist_helper.ml", line 36, characters 17-37:
- 36 |   let filename = Caml.Filename.concat prefix in
-                       ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/byte/torch__Dataset_helper.cmo -c -impl src/torch/dataset_helper.ml)
- File "src/torch/dataset_helper.ml", line 138, characters 4-22:
- 138 |     Caml.Gc.full_major ();
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/dataset_helper.ml", line 180, characters 4-22:
- 180 |     Caml.Gc.full_major ()
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/dataset_helper.ml", line 187, characters 6-24:
- 187 |       Caml.Gc.full_major ();
-             ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/dataset_helper.ml", line 194, characters 6-24:
- 194 |       Caml.Gc.full_major ();
-             ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/byte/torch__Checkpointing.cmo -c -impl src/torch/checkpointing.ml)
- File "src/torch/checkpointing.ml", line 4, characters 16-37:
- 4 |   let dirname = Caml.Filename.dirname checkpoint_base in
-                     ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/checkpointing.ml", line 5, characters 17-39:
- 5 |   let basename = Caml.Filename.basename checkpoint_base in
-                      ^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/checkpointing.ml", line 15, characters 24-47:
- 15 |   |> List.sort ~compare:Caml.Pervasives.compare
-                              ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/checkpointing.ml", line 15, characters 24-47:
- 15 |   |> List.sort ~compare:Caml.Pervasives.compare
-                              ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "src/torch/checkpointing.ml", line 13, characters 38-58:
- 13 |           Some (Int.of_string suffix, Caml.Filename.concat dirname filename)
-                                            ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/checkpointing.ml", line 6, characters 2-18:
- 6 |   Caml.Sys.readdir dirname
-       ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/byte/torch__Tensor.cmo -c -impl src/torch/tensor.ml)
- File "src/torch/tensor.ml", line 200, characters 4-32:
- 200 |     Caml.Format.pp_print_newline formatter ();
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/tensor.ml", line 201, characters 4-31:
- 201 |     Caml.Format.pp_print_string formatter (to_string t ~line_size:96);
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/tensor.ml", line 202, characters 4-32:
- 202 |     Caml.Format.pp_print_newline formatter ()
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/tensor.ml", line 207, characters 7-34:
- 207 |     |> Caml.Format.pp_print_string formatter
-              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/vision/.torch_vision.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stb_image -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/byte/torch_vision__Image.cmo -c -impl src/vision/image.ml)
- File "src/vision/image.ml", line 70, characters 10-31:
- 70 |   if not (Caml.Sys.is_directory dir)
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/vision/image.ml", line 72, characters 14-30:
- 72 |   let files = Caml.Sys.readdir dir |> Array.to_list in
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/vision/image.ml", line 77, characters 24-44:
- 77 |       match load_image (Caml.Filename.concat dir filename) ?resize with
-                              ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/native/torch__Tensor.cmx -c -impl src/torch/tensor.ml)
- File "src/torch/tensor.ml", line 200, characters 4-32:
- 200 |     Caml.Format.pp_print_newline formatter ();
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/tensor.ml", line 201, characters 4-31:
- 201 |     Caml.Format.pp_print_string formatter (to_string t ~line_size:96);
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/tensor.ml", line 202, characters 4-32:
- 202 |     Caml.Format.pp_print_newline formatter ()
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/tensor.ml", line 207, characters 7-34:
- 207 |     |> Caml.Format.pp_print_string formatter
-              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/native/torch__Text_helper.cmx -c -impl src/torch/text_helper.ml)
- File "src/torch/text_helper.ml", line 49, characters 4-22:
- 49 |     Caml.Gc.full_major ();
-          ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/native/torch__Dataset_helper.cmx -c -impl src/torch/dataset_helper.ml)
- File "src/torch/dataset_helper.ml", line 138, characters 4-22:
- 138 |     Caml.Gc.full_major ();
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/dataset_helper.ml", line 180, characters 4-22:
- 180 |     Caml.Gc.full_major ()
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/dataset_helper.ml", line 187, characters 6-24:
- 187 |       Caml.Gc.full_major ();
-             ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/dataset_helper.ml", line 194, characters 6-24:
- 194 |       Caml.Gc.full_major ();
-             ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/native/torch__Cifar_helper.cmx -c -impl src/torch/cifar_helper.ml)
- File "src/torch/cifar_helper.ml", line 43, characters 26-46:
- 43 |   let read_one filename = Caml.Filename.concat dirname filename |> read_file in
-                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/cifar_helper.ml", line 65, characters 21-41:
- 65 |     let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in
-                           ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/native/torch__Mnist_helper.cmx -c -impl src/torch/mnist_helper.ml)
- File "src/torch/mnist_helper.ml", line 36, characters 17-37:
- 36 |   let filename = Caml.Filename.concat prefix in
-                       ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/native/torch__Checkpointing.cmx -c -impl src/torch/checkpointing.ml)
- File "src/torch/checkpointing.ml", line 4, characters 16-37:
- 4 |   let dirname = Caml.Filename.dirname checkpoint_base in
-                     ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/checkpointing.ml", line 5, characters 17-39:
- 5 |   let basename = Caml.Filename.basename checkpoint_base in
-                      ^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/checkpointing.ml", line 15, characters 24-47:
- 15 |   |> List.sort ~compare:Caml.Pervasives.compare
-                              ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/checkpointing.ml", line 15, characters 24-47:
- 15 |   |> List.sort ~compare:Caml.Pervasives.compare
-                              ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "src/torch/checkpointing.ml", line 13, characters 38-58:
- 13 |           Some (Int.of_string suffix, Caml.Filename.concat dirname filename)
-                                            ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/checkpointing.ml", line 6, characters 2-18:
- 6 |   Caml.Sys.readdir dirname
-       ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/vision/.torch_vision.objs/byte -I src/vision/.torch_vision.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stb_image -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/native/torch_vision__Image.cmx -c -impl src/vision/image.ml)
- File "src/vision/image.ml", line 70, characters 10-31:
- 70 |   if not (Caml.Sys.is_directory dir)
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/vision/image.ml", line 72, characters 14-30:
- 72 |   let files = Caml.Sys.readdir dir |> Array.to_list in
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/vision/image.ml", line 77, characters 24-44:
- 77 |       match load_image (Caml.Filename.concat dir filename) ?resize with
-                              ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
[ERROR] The compilation of torch.0.3 failed at "dune build -p torch -j 39".

#=== ERROR while compiling torch.0.3 ==========================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///src
# path                 ~/.opam/4.14/.opam-switch/build/torch.0.3
# command              ~/.opam/4.14/bin/dune build -p torch -j 39
# exit-code            1
# env-file             ~/.opam/log/torch-115-557596.env
# output-file          ~/.opam/log/torch-115-557596.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/config/.discover.eobjs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-configurator -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -no-alias-deps -o src/config/.discover.eobjs/byte/discover.cmo -c -impl src/config/discover.ml)
# File "src/config/discover.ml", line 10, characters 11-31:
# 10 | let (/^) = Caml.Filename.concat
#                 ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 11, characters 18-38:
# 11 | let file_exists = Caml.Sys.file_exists
#                        ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 41, characters 35-56:
# 41 |           if file_exists libdir && Caml.Sys.is_directory libdir
#                                         ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 33, characters 4-20:
# 33 |     Caml.Sys.readdir conda_prefix
#          ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 49, characters 8-27:
# 49 |   match Caml.Sys.getenv_opt "LIBTORCH" with
#              ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 52, characters 10-29:
# 52 |     match Caml.Sys.getenv_opt "CONDA_PREFIX" with
#                ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 55, characters 12-31:
# 55 |       match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
#                  ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 65, characters 28-49:
# 65 |   if file_exists cudadir && Caml.Sys.is_directory cudadir
#                                  ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 97, characters 26-45:
# 97 |         Option.value_map (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
#                                ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-configurator -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -intf-suffix .ml -no-alias-deps -o src/config/.discover.eobjs/native/discover.cmx -c -impl src/config/discover.ml)
# File "src/config/discover.ml", line 10, characters 11-31:
# 10 | let (/^) = Caml.Filename.concat
#                 ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 11, characters 18-38:
# 11 | let file_exists = Caml.Sys.file_exists
#                        ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 41, characters 35-56:
# 41 |           if file_exists libdir && Caml.Sys.is_directory libdir
#                                         ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 33, characters 4-20:
# 33 |     Caml.Sys.readdir conda_prefix
#          ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 49, characters 8-27:
# 49 |   match Caml.Sys.getenv_opt "LIBTORCH" with
#              ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 52, characters 10-29:
# 52 |     match Caml.Sys.getenv_opt "CONDA_PREFIX" with
#                ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 55, characters 12-31:
# 55 |       match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
#                  ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 65, characters 28-49:
# 65 |   if file_exists cudadir && Caml.Sys.is_directory cudadir
#                                  ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 97, characters 26-45:
# 97 |         Option.value_map (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
#                                ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default/src/wrapper && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/stdlib-shims -o torch_stubs.o -c torch_stubs.c)
# torch_stubs.c: In function 'caml__29_at_save':
# torch_stubs.c:225:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   225 |    at_save(x221, x222);
#       |                  ^~~~
# In file included from torch_stubs.c:1:
# torch_api.h:55:28: note: expected 'char *' but argument is of type 'const char *'
#    55 | void at_save(tensor, char *filename);
#       |                      ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__30_at_load':
# torch_stubs.c:231:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   231 |    void* x226 = at_load(x225);
#       |                         ^~~~
# torch_api.h:56:22: note: expected 'char *' but argument is of type 'const char *'
#    56 | tensor at_load(char *filename);
#       |                ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__31_at_save_multi':
# torch_stubs.c:240:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   240 |    at_save_multi(x231, x232, x233, x236);
#       |                                    ^~~~
# torch_api.h:58:78: note: expected 'char *' but argument is of type 'const char *'
#    58 | void at_save_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
#       |                                                                        ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__32_at_load_multi':
# torch_stubs.c:249:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   249 |    at_load_multi(x242, x243, x244, x247);
#       |                                    ^~~~
# torch_api.h:60:78: note: expected 'char *' but argument is of type 'const char *'
#    60 | void at_load_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
#       |                                                                        ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__33_at_load_multi_':
# torch_stubs.c:258:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   258 |    at_load_multi_(x253, x254, x255, x258);
#       |                                     ^~~~
# torch_api.h:62:79: note: expected 'char *' but argument is of type 'const char *'
#    62 | void at_load_multi_(tensor *tensors, char **tensor_names, int ntensors, char *filename);
#       |                                                                         ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__34_at_load_callback':
# torch_stubs.c:265:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   265 |    at_load_callback(x262, x263);
#       |                     ^~~~
# torch_api.h:64:29: note: expected 'char *' but argument is of type 'const char *'
#    64 | void at_load_callback(char *filename, void (*f)(char *, tensor));
#       |                       ~~~~~~^~~~~~~~
# torch_stubs.c:265:27: warning: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
#   265 |    at_load_callback(x262, x263);
#       |                           ^~~~
#       |                           |
#       |                           void (*)(const char *, void *)
# torch_api.h:64:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)'
#    64 | void at_load_callback(char *filename, void (*f)(char *, tensor));
#       |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__61_atm_load':
# torch_stubs.c:457:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   457 |    void* x433 = atm_load(x432);
#       |                          ^~~~
# torch_api.h:109:17: note: expected 'char *' but argument is of type 'const char *'
#   109 | module atm_load(char *);
#       |                 ^~~~~~
# File "src/wrapper/dune", lines 1-8, characters 0-311:
# 1 | (library
# 2 |   (name torch_core)
# 3 |   (public_name torch.core)
# 4 |   (c_names torch_stubs)
# 5 |   (cxx_names torch_api)
# 6 |   (cxx_flags -std=c++11 (:include cxx_flags.sexp) -D_GLIBCXX_USE_CXX11_ABI=0)
# 7 |   (c_library_flags :standard -lstdc++ (:include c_library_flags.sexp))
# 8 |   (libraries bigarray ctypes.foreign ctypes.stubs ctypes))
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlmklib.opt -g -o src/wrapper/torch_core_stubs src/wrapper/torch_stubs.o src/wrapper/torch_api.o -ldopt -lstdc++ -ldopt -Wl,-rpath,/home/opam/.opam/4.14/lib/libtorch/lib -ldopt -L/home/opam/.opam/4.14/lib/libtorch/lib -ldopt -lc10 -ldopt -lcaffe2 -ldopt -ltorch)
# /usr/bin/ld: src/wrapper/torch_api.o: warning: relocation against `_ZTVN5torch5optim3SGDE' in read-only section `.text._ZN5torch5optim3SGDC2ISt6vectorIN2at6TensorESaIS5_EEEEOT_RKNS0_10SGDOptionsE[_ZN5torch5optim3SGDC5ISt6vectorIN2at6TensorESaIS5_EEEEOT_RKNS0_10SGDOptionsE]'
# /usr/bin/ld: src/wrapper/torch_api.o: relocation R_X86_64_PC32 against symbol `_ZN3c105ErrorD1Ev' can not be used when making a shared object; recompile with -fPIC
# /usr/bin/ld: final link failed: bad value
# collect2: error: ld returned 1 exit status
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/byte/torch__Text_helper.cmo -c -impl src/torch/text_helper.ml)
# File "src/torch/text_helper.ml", line 49, characters 4-22:
# 49 |     Caml.Gc.full_major ();
#          ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/byte/torch__Cifar_helper.cmo -c -impl src/torch/cifar_helper.ml)
# File "src/torch/cifar_helper.ml", line 43, characters 26-46:
# 43 |   let read_one filename = Caml.Filename.concat dirname filename |> read_file in
#                                ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/cifar_helper.ml", line 65, characters 21-41:
# 65 |     let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in
#                           ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/byte/torch__Mnist_helper.cmo -c -impl src/torch/mnist_helper.ml)
# File "src/torch/mnist_helper.ml", line 36, characters 17-37:
# 36 |   let filename = Caml.Filename.concat prefix in
#                       ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/byte/torch__Dataset_helper.cmo -c -impl src/torch/dataset_helper.ml)
# File "src/torch/dataset_helper.ml", line 138, characters 4-22:
# 138 |     Caml.Gc.full_major ();
#           ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 180, characters 4-22:
# 180 |     Caml.Gc.full_major ()
#           ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 187, characters 6-24:
# 187 |       Caml.Gc.full_major ();
#             ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 194, characters 6-24:
# 194 |       Caml.Gc.full_major ();
#             ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/byte/torch__Checkpointing.cmo -c -impl src/torch/checkpointing.ml)
# File "src/torch/checkpointing.ml", line 4, characters 16-37:
# 4 |   let dirname = Caml.Filename.dirname checkpoint_base in
#                     ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 5, characters 17-39:
# 5 |   let basename = Caml.Filename.basename checkpoint_base in
#                      ^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 15, characters 24-47:
# 15 |   |> List.sort ~compare:Caml.Pervasives.compare
#                              ^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 15, characters 24-47:
# 15 |   |> List.sort ~compare:Caml.Pervasives.compare
#                              ^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml.Pervasives
# Use Stdlib instead.
# 
# If you need to stay compatible with OCaml < 4.07, you can use the 
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
# File "src/torch/checkpointing.ml", line 13, characters 38-58:
# 13 |           Some (Int.of_string suffix, Caml.Filename.concat dirname filename)
#                                            ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 6, characters 2-18:
# 6 |   Caml.Sys.readdir dirname
#       ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/byte/torch__Tensor.cmo -c -impl src/torch/tensor.ml)
# File "src/torch/tensor.ml", line 200, characters 4-32:
# 200 |     Caml.Format.pp_print_newline formatter ();
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 201, characters 4-31:
# 201 |     Caml.Format.pp_print_string formatter (to_string t ~line_size:96);
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 202, characters 4-32:
# 202 |     Caml.Format.pp_print_newline formatter ()
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 207, characters 7-34:
# 207 |     |> Caml.Format.pp_print_string formatter
#              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/vision/.torch_vision.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stb_image -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/byte/torch_vision__Image.cmo -c -impl src/vision/image.ml)
# File "src/vision/image.ml", line 70, characters 10-31:
# 70 |   if not (Caml.Sys.is_directory dir)
#                ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 72, characters 14-30:
# 72 |   let files = Caml.Sys.readdir dir |> Array.to_list in
#                    ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 77, characters 24-44:
# 77 |       match load_image (Caml.Filename.concat dir filename) ?resize with
#                              ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/native/torch__Tensor.cmx -c -impl src/torch/tensor.ml)
# File "src/torch/tensor.ml", line 200, characters 4-32:
# 200 |     Caml.Format.pp_print_newline formatter ();
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 201, characters 4-31:
# 201 |     Caml.Format.pp_print_string formatter (to_string t ~line_size:96);
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 202, characters 4-32:
# 202 |     Caml.Format.pp_print_newline formatter ()
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 207, characters 7-34:
# 207 |     |> Caml.Format.pp_print_string formatter
#              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/native/torch__Text_helper.cmx -c -impl src/torch/text_helper.ml)
# File "src/torch/text_helper.ml", line 49, characters 4-22:
# 49 |     Caml.Gc.full_major ();
#          ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/native/torch__Dataset_helper.cmx -c -impl src/torch/dataset_helper.ml)
# File "src/torch/dataset_helper.ml", line 138, characters 4-22:
# 138 |     Caml.Gc.full_major ();
#           ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 180, characters 4-22:
# 180 |     Caml.Gc.full_major ()
#           ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 187, characters 6-24:
# 187 |       Caml.Gc.full_major ();
#             ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 194, characters 6-24:
# 194 |       Caml.Gc.full_major ();
#             ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/native/torch__Cifar_helper.cmx -c -impl src/torch/cifar_helper.ml)
# File "src/torch/cifar_helper.ml", line 43, characters 26-46:
# 43 |   let read_one filename = Caml.Filename.concat dirname filename |> read_file in
#                                ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/cifar_helper.ml", line 65, characters 21-41:
# 65 |     let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in
#                           ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/native/torch__Mnist_helper.cmx -c -impl src/torch/mnist_helper.ml)
# File "src/torch/mnist_helper.ml", line 36, characters 17-37:
# 36 |   let filename = Caml.Filename.concat prefix in
#                       ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch -o src/torch/.torch.objs/native/torch__Checkpointing.cmx -c -impl src/torch/checkpointing.ml)
# File "src/torch/checkpointing.ml", line 4, characters 16-37:
# 4 |   let dirname = Caml.Filename.dirname checkpoint_base in
#                     ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 5, characters 17-39:
# 5 |   let basename = Caml.Filename.basename checkpoint_base in
#                      ^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 15, characters 24-47:
# 15 |   |> List.sort ~compare:Caml.Pervasives.compare
#                              ^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 15, characters 24-47:
# 15 |   |> List.sort ~compare:Caml.Pervasives.compare
#                              ^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml.Pervasives
# Use Stdlib instead.
# 
# If you need to stay compatible with OCaml < 4.07, you can use the 
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
# File "src/torch/checkpointing.ml", line 13, characters 38-58:
# 13 |           Some (Int.of_string suffix, Caml.Filename.concat dirname filename)
#                                            ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 6, characters 2-18:
# 6 |   Caml.Sys.readdir dirname
#       ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/vision/.torch_vision.objs/byte -I src/vision/.torch_vision.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/bigarray-compat -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/result -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stb_image -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/native/torch_vision__Image.cmx -c -impl src/vision/image.ml)
# File "src/vision/image.ml", line 70, characters 10-31:
# 70 |   if not (Caml.Sys.is_directory dir)
#                ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 72, characters 14-30:
# 72 |   let files = Caml.Sys.readdir dir |> Array.to_list in
#                    ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 77, characters 24-44:
# 77 |       match load_image (Caml.Filename.concat dir filename) ?resize with
#                              ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build torch 0.3
+- 
+- The following changes have been performed
| - install base                v0.16.3
| - install bigarray-compat     1.1.0
| - install camlzip             1.12
| - install cmdliner            1.3.0
| - install conf-bash           1
| - install conf-libffi         2.0.0
| - install conf-pkg-config     3
| - install conf-zlib           1
| - install csexp               1.5.2
| - install ctypes              0.23.0
| - install ctypes-foreign      0.23.0
| - install dune-configurator   3.16.0
| - install integers            0.7.0
| - install jane-street-headers v0.16.0
| - install jst-config          v0.16.0
| - install libtorch            1.0.1
| - install npy                 0.0.9
| - install num                 1.5-1
| - install ocaml-compiler-libs v0.12.4
| - install parsexp             v0.16.0
| - install ppx_assert          v0.16.0
| - install ppx_base            v0.16.0
| - install ppx_cold            v0.16.0
| - install ppx_compare         v0.16.0
| - install ppx_custom_printf   v0.16.0
| - install ppx_derivers        1.2.1
| - install ppx_enumerate       v0.16.0
| - install ppx_expect          v0.16.0
| - install ppx_globalize       v0.16.0
| - install ppx_hash            v0.16.0
| - install ppx_here            v0.16.0
| - install ppx_inline_test     v0.16.1
| - install ppx_optcomp         v0.16.0
| - install ppx_sexp_conv       v0.16.0
| - install ppxlib              0.33.0
| - install re                  1.12.0
| - install result              1.5
| - install seq                 base
| - install sexplib             v0.16.0
| - install sexplib0            v0.16.0
| - install stb_image           0.5
| - install stdio               v0.16.0
| - install stdlib-shims        0.3.0
| - install time_now            v0.16.0
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20240912185719.export"
'opam --cli=2.1 install torch.0.3 time_now.v0.16.0 stdlib-shims.0.3.0 stdio.v0.16.0 stb_image.0.5 sexplib0.v0.16.0 sexplib.v0.16.0 seq.base result.1.5 re.1.12.0 ppxlib.0.33.0 ppx_sexp_conv.v0.16.0 ppx_optcomp.v0.16.0 ppx_inline_test.v0.16.1 ppx_here.v0.16.0 ppx_hash.v0.16.0 ppx_globalize.v0.16.0 ppx_expect.v0.16.0 ppx_enumerate.v0.16.0 ppx_derivers.1.2.1 ppx_custom_printf.v0.16.0 ppx_compare.v0.16.0 ppx_cold.v0.16.0 ppx_base.v0.16.0 ppx_assert.v0.16.0 parsexp.v0.16.0 ocamlfind.1.9.6 ocaml-compiler-libs.v0.12.4 num.1.5-1 npy.0.0.9 libtorch.1.0.1 jst-config.v0.16.0 jane-street-headers.v0.16.0 integers.0.7.0 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 ctypes-foreign.0.23.0 ctypes.0.23.0 csexp.1.5.2 conf-zlib.1 conf-pkg-config.3 conf-libffi.2.0.0 conf-bash.1 cmdliner.1.3.0 camlzip.1.12 bigarray-compat.1.1.0 base.v0.16.3 --verbose --yes --confirm-level=unsafe-yes' failed.
OCaml

Innovation. Community. Security.