Build:
  1. 0
2026-07-26 12:40.43: New job: build torch.0.11 (af77e4b22476)
2026-07-26 12:40.43: Waiting for resource in pool day11-builds
2026-07-26 13:33.46: Got resource from pool day11-builds
2026-07-26 13:33.46: [profile full] build torch.0.11
2026-07-26 13:33.46: build torch.0.11 (af77e4b22476)
=== DEPENDENCIES (47 transitive) ===
  base.v0.16.5                                       26a2f2e8d04c
  base-threads.base                                  afe16a8e71c3
  base-unix.base                                     73c0a5fdd34a
  camlzip.1.14                                       ed17d43a9dc4
  cmdliner.2.1.1                                     b8b693aa0ae6
  conf-libffi.2.0.0                                  59537f7edda9
  conf-pkg-config.5                                  2c611009363a
  conf-zlib.1                                        9b96a8154eb2
  csexp.1.5.2                                        0ca1baf201f7
  ctypes.0.24.0                                      01281ab1d42f
  ctypes-foreign.0.24.0                              14e30fd67b45
  dune.3.24.1                                        2ab3cd6b5374
  dune-configurator.3.24.1                           989431d87548
  integers.0.8.0                                     2be2a987bb2e
  jane-street-headers.v0.16.0                        858c2bb24dfc
  jst-config.v0.16.0                                 350fe4a7123f
  libtorch.1.7.0+linux-x86_64                        621f4d97070f
  npy.0.0.9                                          d7ba58fe9d04
  num.1.6                                            7b85f4c9b895
  ocaml.5.3.0                                        b03c83883650
  ocaml-base-compiler.5.3.0                          eeaecf50e77a
  ocaml-compiler.5.3.0                               4d6cfa10fb02
  ocaml-compiler-libs.v0.17.0                        5956d384e8c7
  ocaml-config.3                                     021689f4187e
  ocamlfind.1.9.8                                    14b02964ea68
  parsexp.v0.16.0                                    b0a541a6b0f8
  ppx_assert.v0.16.0                                 266e4c8b14da
  ppx_base.v0.16.0                                   1cb597fda5be
  ppx_cold.v0.16.0                                   c9e5fd46dffc
  ppx_compare.v0.16.0                                92d74cb06a16
  ppx_custom_printf.v0.16.0                          53bfd86c2dc3
  ppx_derivers.1.2.1                                 8cf1aacb7e87
  ppx_enumerate.v0.16.0                              057978a4c39f
  ppx_expect.v0.16.2                                 8e703c36003b
  ppx_globalize.v0.16.0                              ddcbf082fb8d
  ppx_hash.v0.16.0                                   7a0626e686ae
  ppx_here.v0.16.0                                   ee8fdb24dad8
  ppx_inline_test.v0.16.1                            37cb8dc01946
  ppx_optcomp.v0.16.0                                cdc174bc3aa3
  ppx_sexp_conv.v0.16.0                              11032ad2d5d6
  ppxlib.0.35.0                                      bad0edbd8aea
  re.1.14.0                                          9c9f66c73b8b
  sexplib.v0.16.0                                    a21f4f16a78a
  sexplib0.v0.16.0                                   132cca44d63c
  stdio.v0.16.0                                      fdda49d16a76
  stdlib-shims.0.3.0                                 31897655d25b
  time_now.v0.16.0                                   f41ea8b381ba
=== STDOUT ===
Processing: [default: loading data]
[torch.0.11: dl]
[torch.0.11: extract]
-> retrieved torch.0.11  (https://opam.ocaml.org/cache)
[torch: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "torch" "-j" "39" (CWD=/home/opam/.opam/default/.opam-switch/build/torch.0.11)
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/config/.discover.eobjs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/csexp -I /home/opam/.opam/default/lib/dune-configurator -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/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 11, characters 13-33:
- 11 | let ( /^ ) = Caml.Filename.concat
-                   ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 12, characters 18-38:
- 12 | 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 46, characters 38-59:
- 46 |              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 38, characters 4-20:
- 38 |     Caml.Sys.readdir conda_prefix
-          ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 55, characters 8-27:
- 55 |   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 59, characters 19-38:
- 59 |       Option.bind (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
-                         ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 65, characters 13-32:
- 65 |       (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 75, characters 28-49:
- 75 |   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 104, characters 11-30:
- 104 |           (Caml.Sys.getenv_opt "CONDA_PREFIX")
-                  ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 110, characters 16-35:
- 110 |           match Caml.Sys.getenv_opt "LIBTORCH_CXX11_ABI" with
-                       ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 120, characters 11-21:
- 120 |         if Caml.( = ) cuda_flags empty_flags
-                  ^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/csexp -I /home/opam/.opam/default/lib/dune-configurator -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -cmi-file src/config/.discover.eobjs/byte/discover.cmi -no-alias-deps -o src/config/.discover.eobjs/native/discover.cmx -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 11, characters 13-33:
- 11 | let ( /^ ) = Caml.Filename.concat
-                   ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 12, characters 18-38:
- 12 | 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 46, characters 38-59:
- 46 |              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 38, characters 4-20:
- 38 |     Caml.Sys.readdir conda_prefix
-          ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 55, characters 8-27:
- 55 |   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 59, characters 19-38:
- 59 |       Option.bind (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
-                         ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 65, characters 13-32:
- 65 |       (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 75, characters 28-49:
- 75 |   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 104, characters 11-30:
- 104 |           (Caml.Sys.getenv_opt "CONDA_PREFIX")
-                  ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 110, characters 16-35:
- 110 |           match Caml.Sys.getenv_opt "LIBTORCH_CXX11_ABI" with
-                       ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 120, characters 11-21:
- 120 |         if Caml.( = ) cuda_flags empty_flags
-                  ^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/wrapper/dune", line 5, characters 13-22:
- 5 |   (cxx_names torch_api)
-                  ^^^^^^^^^
- (cd _build/default/src/wrapper && /usr/bin/gcc -std=c++14 -fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -isystem /home/opam/.opam/default/lib/libtorch/include -isystem /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/stdlib-shims -o torch_api.o -c torch_api.cpp)
- In file included from /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:5,
-                  from /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:5,
-                  from /home/opam/.opam/default/lib/libtorch/include/ATen/core/TensorBody.h:3,
-                  from /home/opam/.opam/default/lib/libtorch/include/ATen/Tensor.h:3,
-                  from /home/opam/.opam/default/lib/libtorch/include/torch/csrc/autograd/engine.h:6,
-                  from torch_api.cpp:1:
- /home/opam/.opam/default/lib/libtorch/include/c10/util/StringUtil.h:108:3: error: 'uint32_t' does not name a type
-   108 |   uint32_t line;
-       |   ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/StringUtil.h:12:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
-    11 | #include <vector>
-   +++ |+#include <cstdint>
-    12 | 
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:65:13: error: 'uint32_t' does not name a type
-    65 |       const uint32_t line,
-       |             ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:7:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
-     6 | #include <c10/util/Deprecated.h>
-   +++ |+#include <cstdint>
-     7 | 
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h: In member function 'void c10::Device::validate()':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:96:5: error: 'uint32_t' was not declared in this scope
-    96 |     TORCH_CHECK(index_ == -1 || index_ >= 0,
-       |     ^~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:6:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
-     5 | #include <c10/util/Exception.h>
-   +++ |+#include <cstdint>
-     6 | 
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:96:5: error: expected primary-expression before '(' token
-    96 |     TORCH_CHECK(index_ == -1 || index_ >= 0,
-       |     ^~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:96:5: error: 'uint32_t' does not name a type
-    96 |     TORCH_CHECK(index_ == -1 || index_ >= 0,
-       |     ^~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:96:5: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:98:5: error: 'uint32_t' was not declared in this scope
-    98 |     TORCH_CHECK(!is_cpu() || index_ <= 0,
-       |     ^~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:98:5: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:98:5: error: expected primary-expression before '(' token
-    98 |     TORCH_CHECK(!is_cpu() || index_ <= 0,
-       |     ^~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:98:5: error: 'uint32_t' does not name a type
-    98 |     TORCH_CHECK(!is_cpu() || index_ <= 0,
-       |     ^~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:98:5: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h: In member function 'std::size_t std::hash<c10::Device>::operator()(c10::Device) const':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:126:5: error: 'uint32_t' was not declared in this scope
-   126 |     uint32_t bits =
-       |     ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:126:5: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:129:34: error: 'bits' was not declared in this scope
-   129 |     return std::hash<uint32_t>{}(bits);
-       |                                  ^~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/DispatchKeySet.h: In member function 'bool c10::DispatchKeySet::has(c10::DispatchKey) const':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/DispatchKeySet.h:65:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
-    65 |     TORCH_INTERNAL_ASSERT(t != DispatchKey::Undefined);
-       |     ^~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/DispatchKeySet.h: In member function 'c10::DispatchKeySet::iterator::self_type& c10::DispatchKeySet::iterator::operator++()':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/DispatchKeySet.h:142:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
-   142 |       TORCH_INTERNAL_ASSERT(i_ <= static_cast<uint8_t>(DispatchKey::NumDispatchKeys));
-       |       ^~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Backend.h: In function 'c10::Backend c10::dispatchKeyToBackend(DispatchKey)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Backend.h:125:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   125 |     AT_ERROR("Unrecognized tensor type ID: ", t);
-       |     ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Backend.h: In function 'c10::DeviceType c10::backendToDeviceType(Backend)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Backend.h:192:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   192 |       AT_ERROR("Undefined backend is not a valid device type");
-       |       ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Backend.h:194:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   194 |       AT_ERROR("Unknown backend");
-       |       ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Backend.h: In function 'c10::Backend c10::backendToCPU(Backend)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Backend.h:226:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   226 |       AT_ERROR("Unknown backend");
-       |       ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Backend.h: In function 'c10::Backend c10::backendToCUDA(Backend)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Backend.h:246:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   246 |       AT_ERROR("Unknown backend");
-       |       ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Backend.h: In function 'c10::Backend c10::backendToHIP(Backend)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Backend.h:266:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   266 |       AT_ERROR("Unknown backend");
-       |       ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Layout.h: In function 'std::ostream& c10::operator<<(std::ostream&, Layout)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Layout.h:37:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    37 |       AT_ERROR("Unknown layout");
-       |       ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/MemoryFormat.h: In function 'std::ostream& c10::operator<<(std::ostream&, MemoryFormat)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/MemoryFormat.h:51:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    51 |       AT_ERROR("Unknown memory format");
-       |       ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/MemoryFormat.h: In function 'std::vector<long int> c10::get_channels_last_strides_2d(IntArrayRef)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/MemoryFormat.h:71:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
-    71 |       TORCH_INTERNAL_ASSERT(false, "ChannelsLast2d doesn't support size ", sizes.size());
-       |       ^~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/MemoryFormat.h: In function 'std::vector<long int> c10::get_channels_last_strides_3d(IntArrayRef)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/MemoryFormat.h:92:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
-    92 |       TORCH_INTERNAL_ASSERT(false, "ChannelsLast3d doesn't support size ", sizes.size());
-       |       ^~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/QScheme.h: In function 'std::string c10::toString(QScheme)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/QScheme.h:44:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    44 |       TORCH_CHECK(false, "Unrecognized qscheme: ", static_cast<int>(qscheme));
-       |       ^~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h: In function 'caffe2::TypeMeta c10::scalarTypeToTypeMeta(ScalarType)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h:173:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   173 |       AT_ERROR(
-       |       ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h: In function 'c10::ScalarType c10::typeMetaToScalarType(caffe2::TypeMeta)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h:199:3: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   199 |   AT_ERROR(
-       |   ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h: In function 'size_t c10::elementSize(ScalarType)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h:248:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   248 |       AT_ERROR("Unknown ScalarType");
-       |       ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h: In function 'bool c10::isSignedType(ScalarType)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h:312:3: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   312 |   TORCH_CHECK(!isQIntType(t), "isSignedType not supported for quantized types");
-       |   ^~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h:324:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   324 |       TORCH_CHECK(false, "Unknown ScalarType");
-       |       ^~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h: In function 'c10::ScalarType c10::toComplexType(ScalarType)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h:355:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   355 |       TORCH_CHECK(false, "Unknown Complex ScalarType");
-       |       ^~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h: In function 'c10::ScalarType c10::promoteTypes(ScalarType, ScalarType)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/ScalarType.h:412:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-   412 |     AT_ERROR(
-       |     ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- ...TRUNCATED BY DUNE...
-       |        ^~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:93:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    93 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of 'std::shared_ptr<torch::nn::Module> torch::nn::Cloneable<Derived>::clone(const c10::optional<c10::Device>&) const [with Derived = torch::nn::UnflattenImpl]':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:34:27:   required from here
-    34 |   std::shared_ptr<Module> clone(
-       |                           ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:48:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    48 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:61:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    61 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:74:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    74 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of 'void torch::nn::Cloneable<Derived>::clone_(torch::nn::Module&, const c10::optional<c10::Device>&) [with Derived = torch::nn::UnflattenImpl]':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:88:8:   required from here
-    88 |   void clone_(Module& other, const optional<Device>& device) final {
-       |        ^~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:93:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    93 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of 'std::shared_ptr<torch::nn::Module> torch::nn::Cloneable<Derived>::clone(const c10::optional<c10::Device>&) const [with Derived = torch::nn::LinearImpl]':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:34:27:   required from here
-    34 |   std::shared_ptr<Module> clone(
-       |                           ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:48:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    48 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:61:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    61 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:74:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    74 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of 'void torch::nn::Cloneable<Derived>::clone_(torch::nn::Module&, const c10::optional<c10::Device>&) [with Derived = torch::nn::LinearImpl]':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:88:8:   required from here
-    88 |   void clone_(Module& other, const optional<Device>& device) final {
-       |        ^~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:93:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    93 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of 'std::shared_ptr<torch::nn::Module> torch::nn::Cloneable<Derived>::clone(const c10::optional<c10::Device>&) const [with Derived = torch::nn::ParameterDictImpl]':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:34:27:   required from here
-    34 |   std::shared_ptr<Module> clone(
-       |                           ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:48:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    48 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:61:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    61 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:74:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    74 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of 'void torch::nn::Cloneable<Derived>::clone_(torch::nn::Module&, const c10::optional<c10::Device>&) [with Derived = torch::nn::ParameterDictImpl]':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:88:8:   required from here
-    88 |   void clone_(Module& other, const optional<Device>& device) final {
-       |        ^~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:93:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    93 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of 'void torch::nn::Cloneable<Derived>::clone_(torch::nn::Module&, const c10::optional<c10::Device>&) [with Derived = torch::nn::SequentialImpl]':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:88:8:   required from here
-    88 |   void clone_(Module& other, const optional<Device>& device) final {
-       |        ^~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:93:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    93 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of 'std::shared_ptr<torch::nn::Module> torch::nn::Cloneable<Derived>::clone(const c10::optional<c10::Device>&) const [with Derived = torch::nn::SequentialImpl]':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:34:27:   required from here
-    34 |   std::shared_ptr<Module> clone(
-       |                           ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:48:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    48 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:61:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    61 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:74:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    74 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of 'void torch::nn::Cloneable<Derived>::clone_(torch::nn::Module&, const c10::optional<c10::Device>&) [with Derived = torch::nn::ModuleListImpl]':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:88:8:   required from here
-    88 |   void clone_(Module& other, const optional<Device>& device) final {
-       |        ^~~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:93:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    93 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of 'std::shared_ptr<torch::nn::Module> torch::nn::Cloneable<Derived>::clone(const c10::optional<c10::Device>&) const [with Derived = torch::nn::ModuleListImpl]':
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:34:27:   required from here
-    34 |   std::shared_ptr<Module> clone(
-       |                           ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:48:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    48 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:61:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    61 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h:74:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::string)'
-    74 |     TORCH_CHECK(
-       |     ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:72:3: note: candidate: 'c10::Error::Error(std::string, std::string, const void*)'
-    72 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:73:19: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'std::string' {aka 'std::__cxx11::basic_string<char>'}
-    73 |       std::string msg,
-       |       ~~~~~~~~~~~~^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note: candidate: 'c10::Error::Error(const char*, int, const char*, const std::string&, const std::string&, const void*)'
-    63 |   Error(
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:63:3: note:   candidate expects 6 arguments, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:3: note: candidate: 'c10::Error::Error(c10::SourceLocation, std::string)'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |   ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:60:24: note:   no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
-    60 |   Error(SourceLocation source_location, std::string msg);
-       |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(const c10::Error&)'
-    28 | class C10_API Error : public std::exception {
-       |               ^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note: candidate: 'c10::Error::Error(c10::Error&&)'
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:28:15: note:   candidate expects 1 argument, 2 provided
- File "src/wrapper/dune", line 4, characters 11-22:
- 4 |   (c_names torch_stubs)
-                ^^^^^^^^^^^
- (cd _build/default/src/wrapper && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -g -I /home/opam/.opam/default/lib/ocaml -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/stdlib-shims -o torch_stubs.o -c torch_stubs.c)
- torch_stubs.c: In function 'caml__33_at_save':
- torch_stubs.c:248:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   248 |    at_save(x234, x235);
-       |                  ^~~~
- In file included from torch_stubs.c:1:
- torch_api.h:64:28: note: expected 'char *' but argument is of type 'const char *'
-    64 | void at_save(tensor, char *filename);
-       |                      ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__34_at_load':
- torch_stubs.c:254:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   254 |    void* x239 = at_load(x238);
-       |                         ^~~~
- torch_api.h:65:22: note: expected 'char *' but argument is of type 'const char *'
-    65 | tensor at_load(char *filename);
-       |                ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__35_at_save_multi':
- torch_stubs.c:263:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   263 |    at_save_multi(x244, x245, x246, x249);
-       |                                    ^~~~
- torch_api.h:70:78: note: expected 'char *' but argument is of type 'const char *'
-    70 | void at_save_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
-       |                                                                        ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__36_at_load_multi':
- torch_stubs.c:272:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   272 |    at_load_multi(x255, x256, x257, x260);
-       |                                    ^~~~
- torch_api.h:72:78: note: expected 'char *' but argument is of type 'const char *'
-    72 | void at_load_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
-       |                                                                        ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__37_at_load_multi_':
- torch_stubs.c:281:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   281 |    at_load_multi_(x266, x267, x268, x271);
-       |                                     ^~~~
- torch_api.h:74:79: note: expected 'char *' but argument is of type 'const char *'
-    74 | void at_load_multi_(tensor *tensors, char **tensor_names, int ntensors, char *filename);
-       |                                                                         ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__38_at_load_callback':
- torch_stubs.c:288:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   288 |    at_load_callback(x275, x276);
-       |                     ^~~~
- torch_api.h:76:29: note: expected 'char *' but argument is of type 'const char *'
-    76 | void at_load_callback(char *filename, void (*f)(char *, tensor));
-       |                       ~~~~~~^~~~~~~~
- torch_stubs.c:288:27: error: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
-   288 |    at_load_callback(x275, x276);
-       |                           ^~~~
-       |                           |
-       |                           void (*)(const char *, void *)
- torch_api.h:76:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)'
-    76 | void at_load_callback(char *filename, void (*f)(char *, tensor));
-       |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__65_ati_string':
- torch_stubs.c:480:28: warning: passing argument 1 of 'ati_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   480 |    void* x446 = ati_string(x445);
-       |                            ^~~~
- torch_api.h:132:19: note: expected 'char *' but argument is of type 'const char *'
-   132 | ivalue ati_string(char *);
-       |                   ^~~~~~
- torch_stubs.c: In function 'caml__68_atm_load':
- torch_stubs.c:498:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   498 |    void* x455 = atm_load(x454);
-       |                          ^~~~
- torch_api.h:119:17: note: expected 'char *' but argument is of type 'const char *'
-   119 | module atm_load(char *);
-       |                 ^~~~~~
- torch_stubs.c: In function 'caml__556_atg_einsum':
- torch_stubs.c:7781:22: warning: passing argument 2 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  7781 |    atg_einsum(x7839, x7840, x7841, x7842);
-       |                      ^~~~~
- In file included from torch_api.h:161:
- torch_api_generated.h:487:34: note: expected 'char *' but argument is of type 'const char *'
-   487 | void atg_einsum(tensor *, char * equation, tensor *tensors_data, int tensors_len);
-       |                           ~~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__621_atg_fft_fft':
- torch_stubs.c:8632:44: warning: passing argument 5 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8632 |    atg_fft_fft(x8663, x8664, x8665, x8668, x8671);
-       |                                            ^~~~~
- torch_api_generated.h:552:72: note: expected 'char *' but argument is of type 'const char *'
-   552 | void atg_fft_fft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
-       |                                                                 ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__622_atg_fft_fftn':
- torch_stubs.c:8646:59: warning: passing argument 7 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8646 |    atg_fft_fftn(x8680, x8681, x8682, x8683, x8686, x8687, x8690);
-       |                                                           ^~~~~
- torch_api_generated.h:553:109: note: expected 'char *' but argument is of type 'const char *'
-   553 | void atg_fft_fftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
-       |                                                                                                      ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__623_atg_fft_hfft':
- torch_stubs.c:8669:45: warning: passing argument 5 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8669 |    atg_fft_hfft(x8704, x8705, x8706, x8709, x8712);
-       |                                             ^~~~~
- torch_api_generated.h:554:73: note: expected 'char *' but argument is of type 'const char *'
-   554 | void atg_fft_hfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
-       |                                                                  ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__624_atg_fft_ifft':
- torch_stubs.c:8680:45: warning: passing argument 5 of 'atg_fft_ifft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8680 |    atg_fft_ifft(x8719, x8720, x8721, x8724, x8727);
-       |                                             ^~~~~
- torch_api_generated.h:555:73: note: expected 'char *' but argument is of type 'const char *'
-   555 | void atg_fft_ifft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
-       |                                                                  ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__625_atg_fft_ifftn':
- torch_stubs.c:8694:60: warning: passing argument 7 of 'atg_fft_ifftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8694 |    atg_fft_ifftn(x8736, x8737, x8738, x8739, x8742, x8743, x8746);
-       |                                                            ^~~~~
- torch_api_generated.h:556:110: note: expected 'char *' but argument is of type 'const char *'
-   556 | void atg_fft_ifftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
-       |                                                                                                       ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__626_atg_fft_ihfft':
- torch_stubs.c:8717:46: warning: passing argument 5 of 'atg_fft_ihfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8717 |    atg_fft_ihfft(x8760, x8761, x8762, x8765, x8768);
-       |                                              ^~~~~
- torch_api_generated.h:557:74: note: expected 'char *' but argument is of type 'const char *'
-   557 | void atg_fft_ihfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
-       |                                                                   ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__627_atg_fft_irfft':
- torch_stubs.c:8728:46: warning: passing argument 5 of 'atg_fft_irfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8728 |    atg_fft_irfft(x8775, x8776, x8777, x8780, x8783);
-       |                                              ^~~~~
- torch_api_generated.h:558:74: note: expected 'char *' but argument is of type 'const char *'
-   558 | void atg_fft_irfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
-       |                                                                   ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__628_atg_fft_irfftn':
- torch_stubs.c:8742:61: warning: passing argument 7 of 'atg_fft_irfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8742 |    atg_fft_irfftn(x8792, x8793, x8794, x8795, x8798, x8799, x8802);
-       |                                                             ^~~~~
- torch_api_generated.h:559:111: note: expected 'char *' but argument is of type 'const char *'
-   559 | void atg_fft_irfftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
-       |                                                                                                        ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__629_atg_fft_rfft':
- torch_stubs.c:8766:45: warning: passing argument 5 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8766 |    atg_fft_rfft(x8816, x8817, x8818, x8821, x8824);
-       |                                             ^~~~~
- torch_api_generated.h:560:73: note: expected 'char *' but argument is of type 'const char *'
-   560 | void atg_fft_rfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
-       |                                                                  ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__630_atg_fft_rfftn':
- torch_stubs.c:8780:60: warning: passing argument 7 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8780 |    atg_fft_rfftn(x8833, x8834, x8835, x8836, x8839, x8840, x8843);
-       |                                                            ^~~~~
- torch_api_generated.h:561:110: note: expected 'char *' but argument is of type 'const char *'
-   561 | void atg_fft_rfftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
-       |                                                                                                       ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__669_atg_from_file':
- torch_stubs.c:9339:25: warning: passing argument 2 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  9339 |    atg_from_file(x9332, x9333, x9334, x9337, x9340, x9343);
-       |                         ^~~~~
- torch_api_generated.h:600:37: note: expected 'char *' but argument is of type 'const char *'
-   600 | void atg_from_file(tensor *, char * filename, int shared, int64_t size, int options_kind, int options_device);
-       |                              ~~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__846_atg_linalg_norm1':
- torch_stubs.c:11549:37: warning: passing argument 3 of 'atg_linalg_norm1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 11549 |    atg_linalg_norm1(x11577, x11578, x11579, x11580, x11581, x11584, x11587);
-       |                                     ^~~~~~
- torch_api_generated.h:777:53: note: expected 'char *' but argument is of type 'const char *'
-   777 | void atg_linalg_norm1(tensor *, tensor self, char * ord, int64_t *dim_data, int dim_len, int keepdim, int dtype);
-       |                                              ~~~~~~~^~~
- torch_stubs.c: In function 'caml__848_atg_linalg_norm_out1':
- torch_stubs.c:11608:49: warning: passing argument 4 of 'atg_linalg_norm_out1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 11608 |    atg_linalg_norm_out1(x11637, x11638, x11639, x11640, x11641, x11642,
-       |                                                 ^~~~~~
- torch_api_generated.h:779:69: note: expected 'char *' but argument is of type 'const char *'
-   779 | void atg_linalg_norm_out1(tensor *, tensor out, tensor self, char * ord, int64_t *dim_data, int dim_len, int keepdim, int dtype);
-       |                                                              ~~~~~~~^~~
- torch_stubs.c: In function 'caml__1241_atg_scatter_2':
- torch_stubs.c:18220:58: warning: passing argument 6 of 'atg_scatter_2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 18220 |    atg_scatter_2(x18193, x18194, x18195, x18198, x18199, x18200);
-       |                                                          ^~~~~~
- torch_api_generated.h:1172:89: note: expected 'char *' but argument is of type 'const char *'
-  1172 | void atg_scatter_2(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce);
-       |                                                                                  ~~~~~~~^~~~~~
- torch_stubs.c: In function 'caml__1242_atg_scatter_3':
- torch_stubs.c:18243:58: warning: passing argument 6 of 'atg_scatter_3' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 18243 |    atg_scatter_3(x18214, x18215, x18216, x18219, x18220, x18221);
-       |                                                          ^~~~~~
- torch_api_generated.h:1173:91: note: expected 'char *' but argument is of type 'const char *'
-  1173 | void atg_scatter_3(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce);
-       |                                                                                    ~~~~~~~^~~~~~
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Text_helper.cmi -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 53, characters 4-22:
- 53 |     Caml.Gc.full_major ()
-          ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Tensor.cmi -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 219, characters 4-32:
- 219 |     Caml.Format.pp_print_newline formatter ();
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/tensor.ml", line 220, characters 4-31:
- 220 |     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 221, characters 4-32:
- 221 |     Caml.Format.pp_print_newline formatter ())
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/tensor.ml", line 226, characters 7-34:
- 226 |     |> Caml.Format.pp_print_string formatter
-              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/tensor.ml", line 377, characters 10-21:
- 377 |   else if Caml.( <> ) (shape t1) (shape t2)
-                 ^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Cifar_helper.cmi -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 46, characters 26-46:
- 46 |   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 67, characters 21-41:
- 67 |     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/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Mnist_helper.cmi -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/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Dataset_helper.cmi -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 148, characters 4-22:
- 148 |     Caml.Gc.full_major ();
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 193, characters 4-22:
- 193 |     Caml.Gc.full_major ()
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 200, characters 8-26:
- 200 |         Caml.Gc.full_major ();
-               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 207, characters 8-26:
- 207 |         Caml.Gc.full_major ();
-               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Checkpointing.cmi -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 12, characters 44-64:
- 12 |            (try Some (Int.of_string suffix, Caml.Filename.concat dirname filename) with
-                                                  ^^^^^^^^^^^^^^^^^^^^
- 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/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/vision/.torch_vision.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/wrapper/.torch_core.objs/byte -cmi-file src/vision/.torch_vision.objs/byte/torch_vision__Image.cmi -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 81, characters 10-31:
- 81 |   if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 82, characters 14-30:
- 82 |   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 87, characters 26-46:
- 87 |         match load_image (Caml.Filename.concat dir filename) ?resize with
-                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 162, characters 12-33:
- 162 |     if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
-                   ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 167, characters 28-48:
- 167 |              let next_dir = Caml.Filename.concat dir file in
-                                   ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 168, characters 16-37:
- 168 |              if Caml.Sys.is_directory next_dir
-                       ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 165, characters 6-22:
- 165 |       Caml.Sys.readdir dir
-             ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 187, characters 41-61:
- 187 |             load_image ?resize:t.resize (Caml.Filename.concat dir file)
-                                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 198, characters 37-57:
- 198 |         load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
-                                            ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Tensor.cmi -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 219, characters 4-32:
- 219 |     Caml.Format.pp_print_newline formatter ();
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/tensor.ml", line 220, characters 4-31:
- 220 |     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 221, characters 4-32:
- 221 |     Caml.Format.pp_print_newline formatter ())
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/tensor.ml", line 226, characters 7-34:
- 226 |     |> Caml.Format.pp_print_string formatter
-              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/tensor.ml", line 377, characters 10-21:
- 377 |   else if Caml.( <> ) (shape t1) (shape t2)
-                 ^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Text_helper.cmi -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 53, characters 4-22:
- 53 |     Caml.Gc.full_major ()
-          ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Dataset_helper.cmi -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 148, characters 4-22:
- 148 |     Caml.Gc.full_major ();
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 193, characters 4-22:
- 193 |     Caml.Gc.full_major ()
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 200, characters 8-26:
- 200 |         Caml.Gc.full_major ();
-               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 207, characters 8-26:
- 207 |         Caml.Gc.full_major ();
-               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Mnist_helper.cmi -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/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Cifar_helper.cmi -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 46, characters 26-46:
- 46 |   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 67, characters 21-41:
- 67 |     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/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Checkpointing.cmi -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 12, characters 44-64:
- 12 |            (try Some (Int.of_string suffix, Caml.Filename.concat dirname filename) with
-                                                  ^^^^^^^^^^^^^^^^^^^^
- 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/default/bin/ocamlopt.opt -w -40 -g -I src/vision/.torch_vision.objs/byte -I src/vision/.torch_vision.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/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 -cmi-file src/vision/.torch_vision.objs/byte/torch_vision__Image.cmi -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 81, characters 10-31:
- 81 |   if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 82, characters 14-30:
- 82 |   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 87, characters 26-46:
- 87 |         match load_image (Caml.Filename.concat dir filename) ?resize with
-                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 162, characters 12-33:
- 162 |     if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
-                   ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 167, characters 28-48:
- 167 |              let next_dir = Caml.Filename.concat dir file in
-                                   ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 168, characters 16-37:
- 168 |              if Caml.Sys.is_directory next_dir
-                       ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 165, characters 6-22:
- 165 |       Caml.Sys.readdir dir
-             ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 187, characters 41-61:
- 187 |             load_image ?resize:t.resize (Caml.Filename.concat dir file)
-                                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 198, characters 37-57:
- 198 |         load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
-                                            ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
build failed... 
[ERROR] The compilation of torch.0.11 failed at "dune build -p torch -j 39".

=== STDERR ===

2026-07-26 13:36.24: FAILED: build torch.0.11
2026-07-26 13:36.24: Job failed: build failed: torch.0.11