Build:
- 0
2026-06-16 19:03.54: New job: build torch.0.12 (6e3cff2c36ff) 2026-06-16 19:03.54: Waiting for resource in pool day11-builds 2026-06-16 19:13.51: Got resource from pool day11-builds 2026-06-16 19:13.51: [profile full] build torch.0.12 2026-06-16 19:13.51: build torch.0.12 (6e3cff2c36ff) === DEPENDENCIES (47 transitive) === base.v0.16.5 bd17fd834f82 base-threads.base b7164ff76afe base-unix.base 839dc585f12d camlzip.1.14 92c6be8fce03 cmdliner.2.1.1 31028e9aa5d7 conf-libffi.2.0.0 8d7a8d3da0b7 conf-pkg-config.5 64c6b37d622b conf-zlib.1 6a8e9cb470aa csexp.1.5.2 1637d117a8bb ctypes.0.24.0 553bd54f7ce5 ctypes-foreign.0.24.0 256a07c747ae dune.3.23.1 433683e90514 dune-configurator.3.23.1 d169faaa676d integers.0.8.0 2c05f4dc9a9b jane-street-headers.v0.16.0 c202cfd218fd jst-config.v0.16.0 46a7ea3c30ba libtorch.1.8.0+linux-x86_64 750ddd4d38e3 npy.0.0.9 df308cacdb26 num.1.6 3b13662dc011 ocaml.5.3.0 f3f5cb82ec5e ocaml-base-compiler.5.3.0 3282792848d7 ocaml-compiler.5.3.0 ec781058d2f3 ocaml-compiler-libs.v0.17.0 8c25585cc677 ocaml-config.3 0df636be409d ocamlfind.1.9.8 814b8d0197a7 parsexp.v0.16.0 466fce37645b ppx_assert.v0.16.0 5c0b6dacca43 ppx_base.v0.16.0 ef3a99d282db ppx_cold.v0.16.0 e4f5f94e54c5 ppx_compare.v0.16.0 26c45310f95d ppx_custom_printf.v0.16.0 126d760dabf4 ppx_derivers.1.2.1 ff9d4bfc129e ppx_enumerate.v0.16.0 48ad317c809c ppx_expect.v0.16.2 4d3e57f27713 ppx_globalize.v0.16.0 815009be4be2 ppx_hash.v0.16.0 80361618dc0d ppx_here.v0.16.0 3e2a8f9d1237 ppx_inline_test.v0.16.1 c3d8fd92b111 ppx_optcomp.v0.16.0 411a45978df8 ppx_sexp_conv.v0.16.0 70a4eebbc124 ppxlib.0.35.0 71db069bc8b1 re.1.14.0 5602183f89d9 sexplib.v0.16.0 1155c1933112 sexplib0.v0.16.0 382141cb483f stdio.v0.16.0 a77f64a2db21 stdlib-shims.0.3.0 f49bc9dde33b time_now.v0.16.0 45003ed651aa === 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 - (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: warning: 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__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__Tensor.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Tensor.cmo -c -impl src/torch/tensor.ml) - File "src/torch/tensor.ml", line 219, characters 4-32: - 219 | Caml.Format.pp_print_newline formatter (); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 220, characters 4-31: - 220 | Caml.Format.pp_print_string formatter (to_string t ~line_size:96); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 221, characters 4-32: - 221 | Caml.Format.pp_print_newline formatter ()) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 226, characters 7-34: - 226 | |> Caml.Format.pp_print_string formatter - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 377, characters 10-21: - 377 | else if Caml.( <> ) (shape t1) (shape t2) - ^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Text_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Text_helper.cmo -c -impl src/torch/text_helper.ml) - File "src/torch/text_helper.ml", line 53, characters 4-22: - 53 | Caml.Gc.full_major () - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__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__Checkpointing.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Checkpointing.cmo -c -impl src/torch/checkpointing.ml) - File "src/torch/checkpointing.ml", line 4, characters 16-37: - 4 | let dirname = Caml.Filename.dirname checkpoint_base in - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/checkpointing.ml", line 5, characters 17-39: - 5 | let basename = Caml.Filename.basename checkpoint_base in - ^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/checkpointing.ml", line 12, characters 44-64: - 12 | (try Some (Int.of_string suffix, Caml.Filename.concat dirname filename) with - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/checkpointing.ml", line 6, characters 2-18: - 6 | Caml.Sys.readdir dirname - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/vision/.torch_vision.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/wrapper/.torch_core.objs/byte -cmi-file src/vision/.torch_vision.objs/byte/torch_vision__Image.cmi -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/byte/torch_vision__Image.cmo -c -impl src/vision/image.ml) - File "src/vision/image.ml", line 81, characters 10-31: - 81 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir (); - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 82, characters 14-30: - 82 | let files = Caml.Sys.readdir dir |> Array.to_list in - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 87, characters 26-46: - 87 | match load_image (Caml.Filename.concat dir filename) ?resize with - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 162, characters 12-33: - 162 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir (); - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 167, characters 28-48: - 167 | let next_dir = Caml.Filename.concat dir file in - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 168, characters 16-37: - 168 | if Caml.Sys.is_directory next_dir - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 165, characters 6-22: - 165 | Caml.Sys.readdir dir - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 187, characters 41-61: - 187 | load_image ?resize:t.resize (Caml.Filename.concat dir file) - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 198, characters 37-57: - 198 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn) - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Tensor.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Tensor.cmx -c -impl src/torch/tensor.ml) - File "src/torch/tensor.ml", line 219, characters 4-32: - 219 | Caml.Format.pp_print_newline formatter (); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 220, characters 4-31: - 220 | Caml.Format.pp_print_string formatter (to_string t ~line_size:96); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 221, characters 4-32: - 221 | Caml.Format.pp_print_newline formatter ()) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 226, characters 7-34: - 226 | |> Caml.Format.pp_print_string formatter - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 377, characters 10-21: - 377 | else if Caml.( <> ) (shape t1) (shape t2) - ^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__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__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__Mnist_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Mnist_helper.cmx -c -impl src/torch/mnist_helper.ml) - File "src/torch/mnist_helper.ml", line 36, characters 17-37: - 36 | let filename = Caml.Filename.concat prefix in - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Cifar_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Cifar_helper.cmx -c -impl src/torch/cifar_helper.ml) - File "src/torch/cifar_helper.ml", line 46, characters 26-46: - 46 | let read_one filename = Caml.Filename.concat dirname filename |> read_file in - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/cifar_helper.ml", line 67, characters 21-41: - 67 | let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Checkpointing.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Checkpointing.cmx -c -impl src/torch/checkpointing.ml) - File "src/torch/checkpointing.ml", line 4, characters 16-37: - 4 | let dirname = Caml.Filename.dirname checkpoint_base in - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/checkpointing.ml", line 5, characters 17-39: - 5 | let basename = Caml.Filename.basename checkpoint_base in - ^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/checkpointing.ml", line 12, characters 44-64: - 12 | (try Some (Int.of_string suffix, Caml.Filename.concat dirname filename) with - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/checkpointing.ml", line 6, characters 2-18: - 6 | Caml.Sys.readdir dirname - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/vision/.torch_vision.objs/byte -I src/vision/.torch_vision.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/vision/.torch_vision.objs/byte/torch_vision__Image.cmi -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/native/torch_vision__Image.cmx -c -impl src/vision/image.ml) - File "src/vision/image.ml", line 81, characters 10-31: - 81 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir (); - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 82, characters 14-30: - 82 | let files = Caml.Sys.readdir dir |> Array.to_list in - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 87, characters 26-46: - 87 | match load_image (Caml.Filename.concat dir filename) ?resize with - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 162, characters 12-33: - 162 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir (); - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 167, characters 28-48: - 167 | let next_dir = Caml.Filename.concat dir file in - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 168, characters 16-37: - 168 | if Caml.Sys.is_directory next_dir - ^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 165, characters 6-22: - 165 | Caml.Sys.readdir dir - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 187, characters 41-61: - 187 | load_image ?resize:t.resize (Caml.Filename.concat dir file) - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 198, characters 37-57: - 198 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn) - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml -> compiled torch.0.12 -> installed torch.0.12 [WARNING] Opam packages conf-libffi.2.0.0 and conf-zlib.1 depend on the following system packages that are no longer installed: libffi-dev zlib1g-dev - conf-libffi.2.0.0: depends on libffi-dev - conf-zlib.1: depends on zlib1g-dev === STDERR === 2026-06-16 19:15.46: OK: build torch.0.12 (runc: 103.2s, disk: 84KB) 2026-06-16 19:15.46: Job succeeded