Build:
- 0
2026-07-26 12:40.43: New job: build torch.0.12 (6bbafbad9090)
2026-07-26 12:40.43: Waiting for resource in pool day11-builds
2026-07-26 13:33.58: Got resource from pool day11-builds
2026-07-26 13:33.58: [profile full] build torch.0.12
2026-07-26 13:33.58: build torch.0.12 (6bbafbad9090)
=== 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.8.0+linux-x86_64 9bfd98981eb3
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.12: dl]
[torch.0.12: extract]
-> retrieved torch.0.12 (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.12)
- (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:110:3: error: 'uint32_t' does not name a type
- 110 | 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/util/Exception.h:355:78: error: 'uint32_t' has not been declared
- 355 | [[noreturn]] C10_API void torchCheckFail(const char *func, const char *file, uint32_t line, const std::string& msg);
- | ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/Exception.h:356:78: error: 'uint32_t' has not been declared
- 356 | [[noreturn]] C10_API void torchCheckFail(const char *func, const char *file, uint32_t line, const char* msg);
- | ^~~~~~~~
- /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:105:5: error: 'uint32_t' was not declared in this scope
- 105 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(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:105:5: error: expected primary-expression before '(' token
- 105 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(index_ == -1 || index_ >= 0,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:105:5: error: 'uint32_t' does not name a type
- 105 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(index_ == -1 || index_ >= 0,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:105: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:107:5: error: 'uint32_t' was not declared in this scope
- 107 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(!is_cpu() || index_ <= 0,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:107: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:107:5: error: expected primary-expression before '(' token
- 107 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(!is_cpu() || index_ <= 0,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:107:5: error: 'uint32_t' does not name a type
- 107 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(!is_cpu() || index_ <= 0,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:107: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:135:5: error: 'uint32_t' was not declared in this scope
- 135 | uint32_t bits =
- | ^~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Device.h:135: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:138:34: error: 'bits' was not declared in this scope
- 138 | 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_DEBUG_ONLY(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/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/util/typeid.h: In static member function 'static caffe2::TypeMeta caffe2::TypeMeta::fromScalarType(c10::ScalarType)':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/typeid.h:477:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 477 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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/Allocator.h: In member function 'void* c10::Allocator::raw_allocate(size_t)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Allocator.h:163:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 163 | AT_ASSERT(dptr.get() == dptr.get_context());
- | ^~~~~~~~~
- /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/Allocator.h: In member function 'void c10::Allocator::raw_deallocate(void*)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/Allocator.h:168:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 168 | AT_ASSERT(d);
- | ^~~~~~~~~
- /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/util/intrusive_ptr.h: In destructor 'virtual c10::intrusive_ptr_target::~intrusive_ptr_target()':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:105:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 105 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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/util/intrusive_ptr.h:108:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 108 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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/StorageImpl.h: In constructor 'c10::StorageImpl::StorageImpl(use_byte_size_t, size_t, c10::DataPtr, c10::Allocator*, bool)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/StorageImpl.h:26:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 26 | TORCH_INTERNAL_ASSERT(
- | ^~~~~~~~~~~~~~~~~~~~~
- /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/StorageImpl.h: In member function 'void c10::StorageImpl::set_resizable(bool)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/StorageImpl.h:132:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 132 | AT_ASSERT(allocator_);
- | ^~~~~~~~~
- /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/TensorOptions.h: In function 'c10::DeviceType c10::computeDeviceType(DispatchKey)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorOptions.h:711:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 711 | TORCH_INTERNAL_ASSERT(false, "Unknown DispatchKey: ", tid);
- | ^~~~~~~~~~~~~~~~~~~~~
- /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/impl/SizesAndStrides.h: In member function 'void c10::impl::SizesAndStrides::copyDataInline(const c10::impl::SizesAndStrides&)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/impl/SizesAndStrides.h:261:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 261 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(rhs.isInline());
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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/impl/SizesAndStrides.h: In member function 'void c10::impl::SizesAndStrides::resizeOutOfLineStorage(size_t)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/impl/SizesAndStrides.h:275:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 275 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(!isInline());
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /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/TensorImpl.h: In member function 'virtual std::unique_ptr<c10::NamedTensorMetaInterface> c10::NamedTensorMetaInterface::clone() const':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorImpl.h:177:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 177 | TORCH_INTERNAL_ASSERT(
- | ^~~~~~~~~~~~~~~~~~~~~
- /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/TensorImpl.h: In member function 'virtual int64_t c10::NamedTensorMetaInterface::slow_dim() const':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorImpl.h:182:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 182 | TORCH_INTERNAL_ASSERT(
- | ^~~~~~~~~~~~~~~~~~~~~
- /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/TensorImpl.h: In member function 'void c10::TensorImpl::set_wrapped_number(bool)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorImpl.h:603:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 603 | TORCH_INTERNAL_ASSERT(dim() == 0);
- | ^~~~~~~~~~~~~~~~~~~~~
- /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/TensorImpl.h: In lambda function:
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorImpl.h:927:5: error: could not convert '{__func__, "/home/opam/.opam/default/lib/libtorch/include/c10/core/TensorImpl.h", 927}' from '<brace-enclosed initializer list>' to 'c10::SourceLocation'
- 927 | TORCH_WARN_ONCE(
- | ^~~~~~~~~~~~~~~
- | |
- | <brace-enclosed initializer list>
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorImpl.h: In member function 'void* c10::TensorImpl::raw_mutable_data(caffe2::TypeMeta)':
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorImpl.h:1376:9: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 1376 | TORCH_INTERNAL_ASSERT(storage_offset_ == 0); // because we just reallocated
- | ^~~~~~~~~~~~~~~~~~~~~
- /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/TensorImpl.h:1403:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 1403 | TORCH_INTERNAL_ASSERT(storage_offset_ == 0); // because we just reallocated
- | ^~~~~~~~~~~~~~~~~~~~~
- /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
- ...TRUNCATED BY DUNE...
- | ^~~~~
- /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/util/intrusive_ptr.h: In instantiation of 'void c10::intrusive_ptr<T, NullType>::retain_() [with TTarget = c10::RRefInterface; NullType = c10::detail::intrusive_target_default_null_type<c10::RRefInterface>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:300:5: required from 'c10::intrusive_ptr<T, NullType>::intrusive_ptr(const c10::intrusive_ptr<T, NullType>&) [with TTarget = c10::RRefInterface; NullType = c10::detail::intrusive_target_default_null_type<c10::RRefInterface>]'
- 300 | retain_();
- | ^~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:63:8: required from 'c10::intrusive_ptr<TTarget, NullType> c10::IValue::toIntrusivePtr() const [with T = c10::RRefInterface; NullType = c10::detail::intrusive_target_default_null_type<c10::RRefInterface>]'
- 63 | auto p = r;
- | ^
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:92:44: required from here
- 92 | return toIntrusivePtr<c10::RRefInterface>();
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:231:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 231 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'void c10::intrusive_ptr<T, NullType>::retain_() [with TTarget = at::Quantizer; NullType = c10::detail::intrusive_target_default_null_type<at::Quantizer>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:300:5: required from 'c10::intrusive_ptr<T, NullType>::intrusive_ptr(const c10::intrusive_ptr<T, NullType>&) [with TTarget = at::Quantizer; NullType = c10::detail::intrusive_target_default_null_type<at::Quantizer>]'
- 300 | retain_();
- | ^~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:63:8: required from 'c10::intrusive_ptr<TTarget, NullType> c10::IValue::toIntrusivePtr() const [with T = at::Quantizer; NullType = c10::detail::intrusive_target_default_null_type<at::Quantizer>]'
- 63 | auto p = r;
- | ^
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:100:39: required from here
- 100 | return toIntrusivePtr<at::Quantizer>();
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:231:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 231 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'void c10::intrusive_ptr<T, NullType>::retain_() [with TTarget = c10::ivalue::ConstantString; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::ConstantString>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:300:5: required from 'c10::intrusive_ptr<T, NullType>::intrusive_ptr(const c10::intrusive_ptr<T, NullType>&) [with TTarget = c10::ivalue::ConstantString; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::ConstantString>]'
- 300 | retain_();
- | ^~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:63:8: required from 'c10::intrusive_ptr<TTarget, NullType> c10::IValue::toIntrusivePtr() const [with T = c10::ivalue::ConstantString; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::ConstantString>]'
- 63 | auto p = r;
- | ^
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:108:48: required from here
- 108 | return toIntrusivePtr<ivalue::ConstantString>();
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:231:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 231 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'void c10::intrusive_ptr<T, NullType>::retain_() [with TTarget = c10::ivalue::PyObjectHolder; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::PyObjectHolder>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:300:5: required from 'c10::intrusive_ptr<T, NullType>::intrusive_ptr(const c10::intrusive_ptr<T, NullType>&) [with TTarget = c10::ivalue::PyObjectHolder; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::PyObjectHolder>]'
- 300 | retain_();
- | ^~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:63:8: required from 'c10::intrusive_ptr<TTarget, NullType> c10::IValue::toIntrusivePtr() const [with T = c10::ivalue::PyObjectHolder; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::PyObjectHolder>]'
- 63 | auto p = r;
- | ^
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:126:48: required from here
- 126 | return toIntrusivePtr<ivalue::PyObjectHolder>();
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:231:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 231 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'void c10::intrusive_ptr<T, NullType>::retain_() [with TTarget = c10::ivalue::EnumHolder; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::EnumHolder>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:300:5: required from 'c10::intrusive_ptr<T, NullType>::intrusive_ptr(const c10::intrusive_ptr<T, NullType>&) [with TTarget = c10::ivalue::EnumHolder; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::EnumHolder>]'
- 300 | retain_();
- | ^~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:63:8: required from 'c10::intrusive_ptr<TTarget, NullType> c10::IValue::toIntrusivePtr() const [with T = c10::ivalue::EnumHolder; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::EnumHolder>]'
- 63 | auto p = r;
- | ^
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:134:44: required from here
- 134 | return toIntrusivePtr<ivalue::EnumHolder>();
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:231:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 231 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'void c10::intrusive_ptr<T, NullType>::retain_() [with TTarget = c10::ivalue::ComplexHolder; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::ComplexHolder>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:300:5: required from 'c10::intrusive_ptr<T, NullType>::intrusive_ptr(const c10::intrusive_ptr<T, NullType>&) [with TTarget = c10::ivalue::ComplexHolder; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::ComplexHolder>]'
- 300 | retain_();
- | ^~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:63:8: required from 'c10::intrusive_ptr<TTarget, NullType> c10::IValue::toIntrusivePtr() const [with T = c10::ivalue::ComplexHolder; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::ComplexHolder>]'
- 63 | auto p = r;
- | ^
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:138:51: required from here
- 138 | auto ptr = toIntrusivePtr<ivalue::ComplexHolder>();
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:231:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 231 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'void c10::intrusive_ptr<T, NullType>::retain_() [with TTarget = caffe2::Blob; NullType = c10::detail::intrusive_target_default_null_type<caffe2::Blob>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:300:5: required from 'c10::intrusive_ptr<T, NullType>::intrusive_ptr(const c10::intrusive_ptr<T, NullType>&) [with TTarget = caffe2::Blob; NullType = c10::detail::intrusive_target_default_null_type<caffe2::Blob>]'
- 300 | retain_();
- | ^~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:63:8: required from 'c10::intrusive_ptr<TTarget, NullType> c10::IValue::toIntrusivePtr() const [with T = caffe2::Blob; NullType = c10::detail::intrusive_target_default_null_type<caffe2::Blob>]'
- 63 | auto p = r;
- | ^
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:185:38: required from here
- 185 | return toIntrusivePtr<caffe2::Blob>();
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:231:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 231 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'void c10::intrusive_ptr<T, NullType>::retain_() [with TTarget = torch::CustomClassHolder; NullType = c10::detail::intrusive_target_default_null_type<torch::CustomClassHolder>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:300:5: required from 'c10::intrusive_ptr<T, NullType>::intrusive_ptr(const c10::intrusive_ptr<T, NullType>&) [with TTarget = torch::CustomClassHolder; NullType = c10::detail::intrusive_target_default_null_type<torch::CustomClassHolder>]'
- 300 | retain_();
- | ^~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:63:8: required from 'c10::intrusive_ptr<TTarget, NullType> c10::IValue::toIntrusivePtr() const [with T = torch::CustomClassHolder; NullType = c10::detail::intrusive_target_default_null_type<torch::CustomClassHolder>]'
- 63 | auto p = r;
- | ^
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:194:50: required from here
- 194 | return toIntrusivePtr<torch::CustomClassHolder>();
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:231:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 231 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'static c10::intrusive_ptr<T, NullType> c10::intrusive_ptr<T, NullType>::make(Args&& ...) [with Args = {std::vector<c10::IValue, std::allocator<c10::IValue> >, std::shared_ptr<c10::Type>&}; TTarget = c10::detail::ListImpl; NullType = c10::detail::intrusive_target_default_null_type<c10::detail::ListImpl>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:464:48: required from 'c10::intrusive_ptr<TTarget, NullType> c10::make_intrusive(Args&& ...) [with TTarget = detail::ListImpl; NullType = detail::intrusive_target_default_null_type<detail::ListImpl>; Args = {std::vector<IValue, std::allocator<IValue> >, std::shared_ptr<Type>&}]'
- 464 | return intrusive_ptr<TTarget, NullType>::make(std::forward<Args>(args)...);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/List_inl.h:75:52: required from 'c10::List<T>::List(c10::List<T>&&) [with T = long int]'
- 75 | rhs.impl_ = make_intrusive<c10::detail::ListImpl>(std::vector<IValue>{}, impl_->elementType);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:777:1: required from here
- 777 | DEFINE_TO(c10::List<int64_t>, toIntList)
- | ^~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:432:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 432 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'static c10::intrusive_ptr<T, NullType> c10::intrusive_ptr<T, NullType>::make(Args&& ...) [with Args = {ska_ordered::order_preserving_flat_hash_map<c10::IValue, c10::IValue, c10::detail::DictKeyHash, c10::detail::DictKeyEqualTo, std::allocator<std::pair<c10::IValue, c10::IValue> > >, c10::detail::DictImpl::DictElementTypes&}; TTarget = c10::detail::DictImpl; NullType = c10::detail::intrusive_target_default_null_type<c10::detail::DictImpl>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:464:48: required from 'c10::intrusive_ptr<TTarget, NullType> c10::make_intrusive(Args&& ...) [with TTarget = detail::DictImpl; NullType = detail::intrusive_target_default_null_type<detail::DictImpl>; Args = {ska_ordered::order_preserving_flat_hash_map<IValue, IValue, detail::DictKeyHash, detail::DictKeyEqualTo, std::allocator<std::pair<IValue, IValue> > >, detail::DictImpl::DictElementTypes&}]'
- 464 | return intrusive_ptr<TTarget, NullType>::make(std::forward<Args>(args)...);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/Dict_inl.h:85:47: required from 'c10::Dict<Key, Value>::Dict(c10::Dict<Key, Value>&&) [with Key = c10::IValue; Value = c10::IValue]'
- 85 | rhs.impl_ = make_intrusive<detail::DictImpl>(detail::DictImpl::dict_map_type(), impl_->elementTypes);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:783:1: required from here
- 783 | DEFINE_TO(c10::impl::GenericDict, toGenericDict)
- | ^~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:432:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 432 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'void c10::intrusive_ptr<T, NullType>::retain_() [with TTarget = c10::ivalue::Tuple; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::Tuple>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:300:5: required from 'c10::intrusive_ptr<T, NullType>::intrusive_ptr(const c10::intrusive_ptr<T, NullType>&) [with TTarget = c10::ivalue::Tuple; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::Tuple>]'
- 300 | retain_();
- | ^~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:63:8: required from 'c10::intrusive_ptr<TTarget, NullType> c10::IValue::toIntrusivePtr() const [with T = c10::ivalue::Tuple; NullType = c10::detail::intrusive_target_default_null_type<c10::ivalue::Tuple>]'
- 63 | auto p = r;
- | ^
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/ivalue_inl.h:1102:39: required from here
- 1102 | return toIntrusivePtr<ivalue::Tuple>();
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:231:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 231 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'static c10::intrusive_ptr<T, NullType> c10::intrusive_ptr<T, NullType>::make(Args&& ...) [with Args = {std::vector<c10::IValue, std::allocator<c10::IValue> >, std::shared_ptr<c10::Type>}; TTarget = c10::detail::ListImpl; NullType = c10::detail::intrusive_target_default_null_type<c10::detail::ListImpl>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:464:48: required from 'c10::intrusive_ptr<TTarget, NullType> c10::make_intrusive(Args&& ...) [with TTarget = detail::ListImpl; NullType = detail::intrusive_target_default_null_type<detail::ListImpl>; Args = {std::vector<IValue, std::allocator<IValue> >, std::shared_ptr<Type>}]'
- 464 | return intrusive_ptr<TTarget, NullType>::make(std::forward<Args>(args)...);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/List_inl.h:17:45: required from 'c10::List<T>::List() [with T = c10::optional<at::Tensor>]'
- 17 | : List(make_intrusive<c10::detail::ListImpl>(
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
- 18 | typename c10::detail::ListImpl::list_type(),
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 19 | getTypePtr<T>())) {
- | ~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/TensorIndexing.h:267:36: required from here
- 267 | c10::List<c10::optional<Tensor>> converted_inds;
- | ^~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:432:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 432 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'static c10::intrusive_ptr<T, NullType> c10::intrusive_ptr<T, NullType>::make(Args&& ...) [with Args = {ska_ordered::order_preserving_flat_hash_map<c10::IValue, c10::IValue, c10::detail::DictKeyHash, c10::detail::DictKeyEqualTo, std::allocator<std::pair<c10::IValue, c10::IValue> > >, c10::detail::DictImpl::DictElementTypes}; TTarget = c10::detail::DictImpl; NullType = c10::detail::intrusive_target_default_null_type<c10::detail::DictImpl>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:464:48: required from 'c10::intrusive_ptr<TTarget, NullType> c10::make_intrusive(Args&& ...) [with TTarget = detail::DictImpl; NullType = detail::intrusive_target_default_null_type<detail::DictImpl>; Args = {ska_ordered::order_preserving_flat_hash_map<IValue, IValue, detail::DictKeyHash, detail::DictKeyEqualTo, std::allocator<std::pair<IValue, IValue> > >, detail::DictImpl::DictElementTypes}]'
- 464 | return intrusive_ptr<TTarget, NullType>::make(std::forward<Args>(args)...);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/ATen/core/Dict_inl.h:76:40: required from 'c10::Dict<Key, Value>::Dict(c10::TypePtr, c10::TypePtr) [with Key = c10::IValue; Value = c10::IValue; c10::TypePtr = std::shared_ptr<c10::Type>]'
- 76 | : Dict(make_intrusive<detail::DictImpl>(
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
- 77 | detail::DictImpl::dict_map_type(),
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 78 | detail::DictImpl::DictElementTypes {std::move(keyType), std::move(valueType)})) {
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- torch_api.cpp:688:98: required from here
- 688 | c10::Dict<torch::jit::IValue, torch::jit::IValue> dict(c10::AnyType::get(), c10::AnyType::get());
- | ^
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:432:5: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 432 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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/util/intrusive_ptr.h: In instantiation of 'void c10::intrusive_ptr<T, NullType>::retain_() [with TTarget = c10::VariableVersion::VersionCounter; NullType = c10::detail::intrusive_target_default_null_type<c10::VariableVersion::VersionCounter>]':
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:300:5: required from 'c10::intrusive_ptr<T, NullType>::intrusive_ptr(const c10::intrusive_ptr<T, NullType>&) [with TTarget = c10::VariableVersion::VersionCounter; NullType = c10::detail::intrusive_target_default_null_type<c10::VariableVersion::VersionCounter>]'
- 300 | retain_();
- | ^~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:341:19: required from 'c10::intrusive_ptr<T, NullType>& c10::intrusive_ptr<T, NullType>::operator=(const c10::intrusive_ptr<From, NullType>&) & [with From = c10::VariableVersion::VersionCounter; FromNullType = c10::detail::intrusive_target_default_null_type<c10::VariableVersion::VersionCounter>; TTarget = c10::VariableVersion::VersionCounter; NullType = c10::detail::intrusive_target_default_null_type<c10::VariableVersion::VersionCounter>]'
- 341 | intrusive_ptr tmp = rhs;
- | ^~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:333:40: required from 'c10::intrusive_ptr<T, NullType>& c10::intrusive_ptr<T, NullType>::operator=(const c10::intrusive_ptr<T, NullType>&) & [with TTarget = c10::VariableVersion::VersionCounter; NullType = c10::detail::intrusive_target_default_null_type<c10::VariableVersion::VersionCounter>]'
- 333 | return operator=<TTarget, NullType>(rhs);
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/core/TensorImpl.h:223:16: required from here
- 223 | struct C10_API VariableVersion {
- | ^~~~~~~~~~~~~~~
- /home/opam/.opam/default/lib/libtorch/include/c10/util/intrusive_ptr.h:231:7: error: no matching function for call to 'c10::Error::Error(<brace-enclosed initializer list>, std::__cxx11::basic_string<char>)'
- 231 | TORCH_INTERNAL_ASSERT_DEBUG_ONLY(
- | ^
- /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:483:28: warning: passing argument 1 of 'ati_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 483 | void* x450 = ati_string(x449);
- | ^~~~
- torch_api.h:133:19: note: expected 'char *' but argument is of type 'const char *'
- 133 | ivalue ati_string(char *);
- | ^~~~~~
- torch_stubs.c: In function 'caml__68_atm_load':
- torch_stubs.c:501:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 501 | void* x459 = atm_load(x458);
- | ^~~~
- torch_api.h:120:17: note: expected 'char *' but argument is of type 'const char *'
- 120 | module atm_load(char *);
- | ^~~~~~
- torch_stubs.c: In function 'caml__167_atg__linalg_qr_helper':
- torch_stubs.c:2193:40: warning: passing argument 3 of 'atg__linalg_qr_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 2193 | atg__linalg_qr_helper(x2207, x2208, x2209);
- | ^~~~~
- In file included from torch_api.h:162:
- torch_api_generated.h:98:58: note: expected 'char *' but argument is of type 'const char *'
- 98 | void atg__linalg_qr_helper(tensor *, tensor self, char * mode);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__229_atg__syevd_helper':
- torch_stubs.c:3026:43: warning: passing argument 4 of 'atg__syevd_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 3026 | atg__syevd_helper(x3047, x3048, x3049, x3052);
- | ^~~~~
- torch_api_generated.h:160:80: note: expected 'char *' but argument is of type 'const char *'
- 160 | void atg__syevd_helper(tensor *, tensor self, int compute_eigenvectors, char * uplo);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__232_atg__test_ambiguous_defaults1':
- torch_stubs.c:3056:55: warning: passing argument 4 of 'atg__test_ambiguous_defaults1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 3056 | atg__test_ambiguous_defaults1(x3084, x3085, x3086, x3089);
- | ^~~~~
- torch_api_generated.h:163:78: note: expected 'char *' but argument is of type 'const char *'
- 163 | void atg__test_ambiguous_defaults1(tensor *, tensor dummy, int64_t a, char * b);
- | ~~~~~~~^
- torch_stubs.c: In function 'caml__236_atg__test_string_default':
- torch_stubs.c:3095:43: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 3095 | atg__test_string_default(x3124, x3125, x3126, x3127);
- | ^~~~~
- torch_api_generated.h:167:62: note: expected 'char *' but argument is of type 'const char *'
- 167 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b);
- | ~~~~~~~^
- torch_stubs.c:3095:50: warning: passing argument 4 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 3095 | atg__test_string_default(x3124, x3125, x3126, x3127);
- | ^~~~~
- torch_api_generated.h:167:72: note: expected 'char *' but argument is of type 'const char *'
- 167 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b);
- | ~~~~~~~^
- torch_stubs.c: In function 'caml__571_atg_div2':
- torch_stubs.c:8031:34: warning: passing argument 4 of 'atg_div2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8031 | atg_div2(x8108, x8109, x8110, x8111);
- | ^~~~~
- torch_api_generated.h:502:59: note: expected 'char *' but argument is of type 'const char *'
- 502 | void atg_div2(tensor *, tensor self, tensor other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__572_atg_div3':
- torch_stubs.c:8040:34: warning: passing argument 4 of 'atg_div3' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8040 | atg_div3(x8117, x8118, x8119, x8120);
- | ^~~~~
- torch_api_generated.h:503:59: note: expected 'char *' but argument is of type 'const char *'
- 503 | void atg_div3(tensor *, tensor self, scalar other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__575_atg_div_2':
- torch_stubs.c:8065:35: warning: passing argument 4 of 'atg_div_2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8065 | atg_div_2(x8140, x8141, x8142, x8143);
- | ^~~~~
- torch_api_generated.h:506:60: note: expected 'char *' but argument is of type 'const char *'
- 506 | void atg_div_2(tensor *, tensor self, tensor other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__576_atg_div_3':
- torch_stubs.c:8074:35: warning: passing argument 4 of 'atg_div_3' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8074 | atg_div_3(x8149, x8150, x8151, x8152);
- | ^~~~~
- torch_api_generated.h:507:60: note: expected 'char *' but argument is of type 'const char *'
- 507 | void atg_div_3(tensor *, tensor self, scalar other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__578_atg_div_out1':
- torch_stubs.c:8095:45: warning: passing argument 5 of 'atg_div_out1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8095 | atg_div_out1(x8168, x8169, x8170, x8171, x8172);
- | ^~~~~
- torch_api_generated.h:509:75: note: expected 'char *' but argument is of type 'const char *'
- 509 | void atg_div_out1(tensor *, tensor out, tensor self, tensor other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__581_atg_divide2':
- torch_stubs.c:8121:37: warning: passing argument 4 of 'atg_divide2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8121 | atg_divide2(x8192, x8193, x8194, x8195);
- | ^~~~~
- torch_api_generated.h:512:62: note: expected 'char *' but argument is of type 'const char *'
- 512 | void atg_divide2(tensor *, tensor self, tensor other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__582_atg_divide3':
- torch_stubs.c:8131:37: warning: passing argument 4 of 'atg_divide3' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8131 | atg_divide3(x8201, x8202, x8203, x8204);
- | ^~~~~
- torch_api_generated.h:513:62: note: expected 'char *' but argument is of type 'const char *'
- 513 | void atg_divide3(tensor *, tensor self, scalar other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__585_atg_divide_2':
- torch_stubs.c:8157:38: warning: passing argument 4 of 'atg_divide_2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8157 | atg_divide_2(x8224, x8225, x8226, x8227);
- | ^~~~~
- torch_api_generated.h:516:63: note: expected 'char *' but argument is of type 'const char *'
- 516 | void atg_divide_2(tensor *, tensor self, tensor other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__586_atg_divide_3':
- torch_stubs.c:8167:38: warning: passing argument 4 of 'atg_divide_3' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8167 | atg_divide_3(x8233, x8234, x8235, x8236);
- | ^~~~~
- torch_api_generated.h:517:63: note: expected 'char *' but argument is of type 'const char *'
- 517 | void atg_divide_3(tensor *, tensor self, scalar other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__588_atg_divide_out1':
- torch_stubs.c:8188:48: warning: passing argument 5 of 'atg_divide_out1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8188 | atg_divide_out1(x8252, x8253, x8254, x8255, x8256);
- | ^~~~~
- torch_api_generated.h:519:78: note: expected 'char *' but argument is of type 'const char *'
- 519 | void atg_divide_out1(tensor *, tensor out, tensor self, tensor other, char * rounding_mode);
- | ~~~~~~~^~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__597_atg_einsum':
- torch_stubs.c:8273:22: warning: passing argument 2 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 8273 | atg_einsum(x8346, x8347, x8348, x8349);
- | ^~~~~
- torch_api_generated.h:528:34: note: expected 'char *' but argument is of type 'const char *'
- 528 | void atg_einsum(tensor *, char * equation, tensor *tensors_data, int tensors_len);
- | ~~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__662_atg_fft_fft':
- torch_stubs.c:9108:44: warning: passing argument 5 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9108 | atg_fft_fft(x9148, x9149, x9150, x9153, x9156);
- | ^~~~~
- torch_api_generated.h:593:72: note: expected 'char *' but argument is of type 'const char *'
- 593 | void atg_fft_fft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__663_atg_fft_fft2':
- torch_stubs.c:9122:59: warning: passing argument 7 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9122 | atg_fft_fft2(x9165, x9166, x9167, x9168, x9171, x9172, x9175);
- | ^~~~~
- torch_api_generated.h:594:109: note: expected 'char *' but argument is of type 'const char *'
- 594 | void atg_fft_fft2(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__664_atg_fft_fft2_out':
- torch_stubs.c:9149:70: warning: passing argument 8 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9149 | atg_fft_fft2_out(x9192, x9193, x9194, x9195, x9196, x9199, x9200, x9203);
- | ^~~~~
- torch_api_generated.h:595:125: note: expected 'char *' but argument is of type 'const char *'
- 595 | void atg_fft_fft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__665_atg_fft_fft_out':
- torch_stubs.c:9175:55: warning: passing argument 6 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9175 | atg_fft_fft_out(x9219, x9220, x9221, x9222, x9225, x9228);
- | ^~~~~
- torch_api_generated.h:596:88: note: expected 'char *' but argument is of type 'const char *'
- 596 | void atg_fft_fft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__668_atg_fft_fftn':
- torch_stubs.c:9220:59: warning: passing argument 7 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9220 | atg_fft_fftn(x9275, x9276, x9277, x9278, x9281, x9282, x9285);
- | ^~~~~
- torch_api_generated.h:599:109: note: expected 'char *' but argument is of type 'const char *'
- 599 | 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__669_atg_fft_fftn_out':
- torch_stubs.c:9247:70: warning: passing argument 8 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9247 | atg_fft_fftn_out(x9302, x9303, x9304, x9305, x9306, x9309, x9310, x9313);
- | ^~~~~
- torch_api_generated.h:600:125: note: expected 'char *' but argument is of type 'const char *'
- 600 | void atg_fft_fftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__671_atg_fft_hfft':
- torch_stubs.c:9282:45: warning: passing argument 5 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9282 | atg_fft_hfft(x9339, x9340, x9341, x9344, x9347);
- | ^~~~~
- torch_api_generated.h:602:73: note: expected 'char *' but argument is of type 'const char *'
- 602 | void atg_fft_hfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__672_atg_fft_hfft_out':
- torch_stubs.c:9294:56: warning: passing argument 6 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9294 | atg_fft_hfft_out(x9355, x9356, x9357, x9358, x9361, x9364);
- | ^~~~~
- torch_api_generated.h:603:89: note: expected 'char *' but argument is of type 'const char *'
- 603 | void atg_fft_hfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__673_atg_fft_ifft':
- torch_stubs.c:9316:45: warning: passing argument 5 of 'atg_fft_ifft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9316 | atg_fft_ifft(x9377, x9378, x9379, x9382, x9385);
- | ^~~~~
- torch_api_generated.h:604:73: note: expected 'char *' but argument is of type 'const char *'
- 604 | void atg_fft_ifft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__674_atg_fft_ifft2':
- torch_stubs.c:9330:60: warning: passing argument 7 of 'atg_fft_ifft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9330 | atg_fft_ifft2(x9394, x9395, x9396, x9397, x9400, x9401, x9404);
- | ^~~~~
- torch_api_generated.h:605:110: note: expected 'char *' but argument is of type 'const char *'
- 605 | void atg_fft_ifft2(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__675_atg_fft_ifft2_out':
- torch_stubs.c:9357:71: warning: passing argument 8 of 'atg_fft_ifft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9357 | atg_fft_ifft2_out(x9421, x9422, x9423, x9424, x9425, x9428, x9429, x9432);
- | ^~~~~
- torch_api_generated.h:606:126: note: expected 'char *' but argument is of type 'const char *'
- 606 | void atg_fft_ifft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__676_atg_fft_ifft_out':
- torch_stubs.c:9383:56: warning: passing argument 6 of 'atg_fft_ifft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9383 | atg_fft_ifft_out(x9448, x9449, x9450, x9451, x9454, x9457);
- | ^~~~~
- torch_api_generated.h:607:89: note: expected 'char *' but argument is of type 'const char *'
- 607 | void atg_fft_ifft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__677_atg_fft_ifftn':
- torch_stubs.c:9408:60: warning: passing argument 7 of 'atg_fft_ifftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9408 | atg_fft_ifftn(x9472, x9473, x9474, x9475, x9478, x9479, x9482);
- | ^~~~~
- torch_api_generated.h:608:110: note: expected 'char *' but argument is of type 'const char *'
- 608 | 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__678_atg_fft_ifftn_out':
- torch_stubs.c:9435:71: warning: passing argument 8 of 'atg_fft_ifftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9435 | atg_fft_ifftn_out(x9499, x9500, x9501, x9502, x9503, x9506, x9507, x9510);
- | ^~~~~
- torch_api_generated.h:609:126: note: expected 'char *' but argument is of type 'const char *'
- 609 | void atg_fft_ifftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__680_atg_fft_ihfft':
- torch_stubs.c:9470:46: warning: passing argument 5 of 'atg_fft_ihfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9470 | atg_fft_ihfft(x9536, x9537, x9538, x9541, x9544);
- | ^~~~~
- torch_api_generated.h:611:74: note: expected 'char *' but argument is of type 'const char *'
- 611 | void atg_fft_ihfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__681_atg_fft_ihfft_out':
- torch_stubs.c:9482:57: warning: passing argument 6 of 'atg_fft_ihfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9482 | atg_fft_ihfft_out(x9552, x9553, x9554, x9555, x9558, x9561);
- | ^~~~~
- torch_api_generated.h:612:90: note: expected 'char *' but argument is of type 'const char *'
- 612 | void atg_fft_ihfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__682_atg_fft_irfft':
- torch_stubs.c:9504:46: warning: passing argument 5 of 'atg_fft_irfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9504 | atg_fft_irfft(x9574, x9575, x9576, x9579, x9582);
- | ^~~~~
- torch_api_generated.h:613:74: note: expected 'char *' but argument is of type 'const char *'
- 613 | void atg_fft_irfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__683_atg_fft_irfft2':
- torch_stubs.c:9518:61: warning: passing argument 7 of 'atg_fft_irfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9518 | atg_fft_irfft2(x9591, x9592, x9593, x9594, x9597, x9598, x9601);
- | ^~~~~
- torch_api_generated.h:614:111: note: expected 'char *' but argument is of type 'const char *'
- 614 | void atg_fft_irfft2(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__684_atg_fft_irfft2_out':
- torch_stubs.c:9546:72: warning: passing argument 8 of 'atg_fft_irfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9546 | atg_fft_irfft2_out(x9618, x9619, x9620, x9621, x9622, x9625, x9626, x9629);
- | ^~~~~
- torch_api_generated.h:615:127: note: expected 'char *' but argument is of type 'const char *'
- 615 | void atg_fft_irfft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__685_atg_fft_irfft_out':
- torch_stubs.c:9572:57: warning: passing argument 6 of 'atg_fft_irfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9572 | atg_fft_irfft_out(x9645, x9646, x9647, x9648, x9651, x9654);
- | ^~~~~
- torch_api_generated.h:616:90: note: expected 'char *' but argument is of type 'const char *'
- 616 | void atg_fft_irfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__686_atg_fft_irfftn':
- torch_stubs.c:9597:61: warning: passing argument 7 of 'atg_fft_irfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9597 | atg_fft_irfftn(x9669, x9670, x9671, x9672, x9675, x9676, x9679);
- | ^~~~~
- torch_api_generated.h:617:111: note: expected 'char *' but argument is of type 'const char *'
- 617 | 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__687_atg_fft_irfftn_out':
- torch_stubs.c:9625:72: warning: passing argument 8 of 'atg_fft_irfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9625 | atg_fft_irfftn_out(x9696, x9697, x9698, x9699, x9700, x9703, x9704, x9707);
- | ^~~~~
- torch_api_generated.h:618:127: note: expected 'char *' but argument is of type 'const char *'
- 618 | void atg_fft_irfftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__688_atg_fft_rfft':
- torch_stubs.c:9650:45: warning: passing argument 5 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9650 | atg_fft_rfft(x9722, x9723, x9724, x9727, x9730);
- | ^~~~~
- torch_api_generated.h:619:73: note: expected 'char *' but argument is of type 'const char *'
- 619 | void atg_fft_rfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__689_atg_fft_rfft2':
- torch_stubs.c:9664:60: warning: passing argument 7 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9664 | atg_fft_rfft2(x9739, x9740, x9741, x9742, x9745, x9746, x9749);
- | ^~~~~
- torch_api_generated.h:620:110: note: expected 'char *' but argument is of type 'const char *'
- 620 | void atg_fft_rfft2(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__690_atg_fft_rfft2_out':
- torch_stubs.c:9691:71: warning: passing argument 8 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9691 | atg_fft_rfft2_out(x9766, x9767, x9768, x9769, x9770, x9773, x9774, x9777);
- | ^~~~~
- torch_api_generated.h:621:126: note: expected 'char *' but argument is of type 'const char *'
- 621 | void atg_fft_rfft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__691_atg_fft_rfft_out':
- torch_stubs.c:9717:56: warning: passing argument 6 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9717 | atg_fft_rfft_out(x9793, x9794, x9795, x9796, x9799, x9802);
- | ^~~~~
- torch_api_generated.h:622:89: note: expected 'char *' but argument is of type 'const char *'
- 622 | void atg_fft_rfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__694_atg_fft_rfftn':
- torch_stubs.c:9763:60: warning: passing argument 7 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9763 | atg_fft_rfftn(x9849, x9850, x9851, x9852, x9855, x9856, x9859);
- | ^~~~~
- torch_api_generated.h:625:110: note: expected 'char *' but argument is of type 'const char *'
- 625 | 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__695_atg_fft_rfftn_out':
- torch_stubs.c:9790:71: warning: passing argument 8 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 9790 | atg_fft_rfftn_out(x9876, x9877, x9878, x9879, x9880, x9883, x9884, x9887);
- | ^~~~~
- torch_api_generated.h:626:126: note: expected 'char *' but argument is of type 'const char *'
- 626 | void atg_fft_rfftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__746_atg_from_file':
- torch_stubs.c:10472:26: warning: passing argument 2 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 10472 | atg_from_file(x10471, x10472, x10473, x10476, x10479, x10482);
- | ^~~~~~
- torch_api_generated.h:677:37: note: expected 'char *' but argument is of type 'const char *'
- 677 | void atg_from_file(tensor *, char * filename, int shared, int64_t size, int options_kind, int options_device);
- | ~~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__935_atg_linalg_cond1':
- torch_stubs.c:12753:37: warning: passing argument 3 of 'atg_linalg_cond1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 12753 | atg_linalg_cond1(x12756, x12757, x12758);
- | ^~~~~~
- torch_api_generated.h:866:53: note: expected 'char *' but argument is of type 'const char *'
- 866 | void atg_linalg_cond1(tensor *, tensor self, char * p);
- | ~~~~~~~^
- torch_stubs.c: In function 'caml__937_atg_linalg_cond_out1':
- torch_stubs.c:12773:49: warning: passing argument 4 of 'atg_linalg_cond_out1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 12773 | atg_linalg_cond_out1(x12773, x12774, x12775, x12776);
- | ^~~~~~
- torch_api_generated.h:868:69: note: expected 'char *' but argument is of type 'const char *'
- 868 | void atg_linalg_cond_out1(tensor *, tensor out, tensor self, char * p);
- | ~~~~~~~^
- torch_stubs.c: In function 'caml__939_atg_linalg_eigh':
- torch_stubs.c:12788:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 12788 | atg_linalg_eigh(x12786, x12787, x12788);
- | ^~~~~~
- torch_api_generated.h:870:52: note: expected 'char *' but argument is of type 'const char *'
- 870 | void atg_linalg_eigh(tensor *, tensor self, char * UPLO);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__940_atg_linalg_eigh_out':
- torch_stubs.c:12799:56: warning: passing argument 5 of 'atg_linalg_eigh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 12799 | atg_linalg_eigh_out(x12795, x12796, x12797, x12798, x12799);
- | ^~~~~~
- torch_api_generated.h:871:88: note: expected 'char *' but argument is of type 'const char *'
- 871 | void atg_linalg_eigh_out(tensor *, tensor eigvals, tensor eigvecs, tensor self, char * UPLO);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__941_atg_linalg_eigvalsh':
- torch_stubs.c:12807:40: warning: passing argument 3 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 12807 | atg_linalg_eigvalsh(x12804, x12805, x12806);
- | ^~~~~~
- torch_api_generated.h:872:56: note: expected 'char *' but argument is of type 'const char *'
- 872 | void atg_linalg_eigvalsh(tensor *, tensor self, char * UPLO);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__942_atg_linalg_eigvalsh_out':
- torch_stubs.c:12817:52: warning: passing argument 4 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 12817 | atg_linalg_eigvalsh_out(x12812, x12813, x12814, x12815);
- | ^~~~~~
- torch_api_generated.h:873:72: note: expected 'char *' but argument is of type 'const char *'
- 873 | void atg_linalg_eigvalsh_out(tensor *, tensor out, tensor self, char * UPLO);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__948_atg_linalg_norm1':
- torch_stubs.c:12895:37: warning: passing argument 3 of 'atg_linalg_norm1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 12895 | atg_linalg_norm1(x12892, x12893, x12894, x12895, x12896, x12899, x12902);
- | ^~~~~~
- torch_api_generated.h:879:53: note: expected 'char *' but argument is of type 'const char *'
- 879 | 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__950_atg_linalg_norm_out1':
- torch_stubs.c:12954:49: warning: passing argument 4 of 'atg_linalg_norm_out1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 12954 | atg_linalg_norm_out1(x12952, x12953, x12954, x12955, x12956, x12957,
- | ^~~~~~
- torch_api_generated.h:881:69: note: expected 'char *' but argument is of type 'const char *'
- 881 | 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__955_atg_linalg_qr':
- torch_stubs.c:13020:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 13020 | atg_linalg_qr(x13030, x13031, x13032);
- | ^~~~~~
- torch_api_generated.h:886:50: note: expected 'char *' but argument is of type 'const char *'
- 886 | void atg_linalg_qr(tensor *, tensor self, char * mode);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__956_atg_linalg_qr_out':
- torch_stubs.c:13031:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 13031 | atg_linalg_qr_out(x13039, x13040, x13041, x13042, x13043);
- | ^~~~~~
- torch_api_generated.h:887:74: note: expected 'char *' but argument is of type 'const char *'
- 887 | void atg_linalg_qr_out(tensor *, tensor Q, tensor R, tensor self, char * mode);
- | ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__1376_atg_scatter_2':
- torch_stubs.c:20008:58: warning: passing argument 6 of 'atg_scatter_2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 20008 | atg_scatter_2(x19948, x19949, x19950, x19953, x19954, x19955);
- | ^~~~~~
- torch_api_generated.h:1307:89: note: expected 'char *' but argument is of type 'const char *'
- 1307 | void atg_scatter_2(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce);
- | ~~~~~~~^~~~~~
- torch_stubs.c: In function 'caml__1377_atg_scatter_3':
- torch_stubs.c:20031:58: warning: passing argument 6 of 'atg_scatter_3' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 20031 | atg_scatter_3(x19969, x19970, x19971, x19974, x19975, x19976);
- | ^~~~~~
- torch_api_generated.h:1308:91: note: expected 'char *' but argument is of type 'const char *'
- 1308 | 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__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__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/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__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/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/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/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__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__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__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
[ERROR] The compilation of torch.0.12 failed at "dune build -p torch -j 39".
build failed...
=== STDERR ===
2026-07-26 13:37.06: FAILED: build torch.0.12
2026-07-26 13:37.06: Job failed: build failed: torch.0.12