Build:
- 0
2026-06-16 19:03.54: New job: build torch.0.14 (65f3af58d49a) 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.14 2026-06-16 19:13.51: build torch.0.14 (65f3af58d49a) === 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.10.0+linux-x86_64 e9872ba68a0e 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.14: dl] [torch.0.14: extract] -> retrieved torch.0.14 (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.14) - (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__131_atg__convolution_mode': - torch_stubs.c:1284:68: warning: passing argument 7 of 'atg__convolution_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 1284 | atg__convolution_mode(x1261, x1262, x1263, x1264, x1265, x1266, x1269, - | ^~~~~ - In file included from torch_api.h:162: - torch_api_generated.h:62:125: note: expected 'char *' but argument is of type 'const char *' - 62 | void atg__convolution_mode(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); - | ~~~~~~~^~~~~~~ - torch_stubs.c: In function 'caml__176_atg__linalg_qr_helper': - torch_stubs.c:2521:40: warning: passing argument 3 of 'atg__linalg_qr_helper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2521 | atg__linalg_qr_helper(x2513, x2514, x2515); - | ^~~~~ - torch_api_generated.h:107:58: note: expected 'char *' but argument is of type 'const char *' - 107 | void atg__linalg_qr_helper(tensor *, tensor self, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__207_atg__segment_reduce_backward': - torch_stubs.c:2970:61: warning: passing argument 5 of 'atg__segment_reduce_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2970 | atg__segment_reduce_backward(x2941, x2942, x2943, x2944, x2945, x2946, - | ^~~~~ - torch_api_generated.h:138:93: note: expected 'char *' but argument is of type 'const char *' - 138 | void atg__segment_reduce_backward(tensor *, tensor grad, tensor output, tensor data, char * reduce, tensor lengths, int64_t axis); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__244_atg__test_ambiguous_defaults_b': - torch_stubs.c:3488:56: warning: passing argument 4 of 'atg__test_ambiguous_defaults_b' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3488 | atg__test_ambiguous_defaults_b(x3480, x3481, x3482, x3485); - | ^~~~~ - torch_api_generated.h:175:79: note: expected 'char *' but argument is of type 'const char *' - 175 | void atg__test_ambiguous_defaults_b(tensor *, tensor dummy, int64_t a, char * b); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__248_atg__test_string_default': - torch_stubs.c:3527:43: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3527 | atg__test_string_default(x3520, x3521, x3522, x3523); - | ^~~~~ - torch_api_generated.h:179:62: note: expected 'char *' but argument is of type 'const char *' - 179 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b); - | ~~~~~~~^ - torch_stubs.c:3527:50: warning: passing argument 4 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 3527 | atg__test_string_default(x3520, x3521, x3522, x3523); - | ^~~~~ - torch_api_generated.h:179:72: note: expected 'char *' but argument is of type 'const char *' - 179 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__539_atg_conv1d_padding': - torch_stubs.c:7222:65: warning: passing argument 7 of 'atg_conv1d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 7222 | atg_conv1d_padding(x7111, x7112, x7113, x7114, x7115, x7116, x7119, - | ^~~~~ - torch_api_generated.h:470:122: note: expected 'char *' but argument is of type 'const char *' - 470 | void atg_conv1d_padding(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); - | ~~~~~~~^~~~~~~ - torch_stubs.c: In function 'caml__541_atg_conv2d_padding': - torch_stubs.c:7294:65: warning: passing argument 7 of 'atg_conv2d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 7294 | atg_conv2d_padding(x7190, x7191, x7192, x7193, x7194, x7195, x7198, - | ^~~~~ - torch_api_generated.h:472:122: note: expected 'char *' but argument is of type 'const char *' - 472 | void atg_conv2d_padding(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); - | ~~~~~~~^~~~~~~ - torch_stubs.c: In function 'caml__543_atg_conv3d_padding': - torch_stubs.c:7366:65: warning: passing argument 7 of 'atg_conv3d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 7366 | atg_conv3d_padding(x7269, x7270, x7271, x7272, x7273, x7274, x7277, - | ^~~~~ - torch_api_generated.h:474:122: note: expected 'char *' but argument is of type 'const char *' - 474 | void atg_conv3d_padding(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); - | ~~~~~~~^~~~~~~ - torch_stubs.c: In function 'caml__633_atg_div_out_mode': - torch_stubs.c:9224:49: warning: passing argument 5 of 'atg_div_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9224 | atg_div_out_mode(x9196, x9197, x9198, x9199, x9200); - | ^~~~~ - torch_api_generated.h:564:79: note: expected 'char *' but argument is of type 'const char *' - 564 | void atg_div_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__636_atg_div_scalar_mode': - torch_stubs.c:9250:45: warning: passing argument 4 of 'atg_div_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9250 | atg_div_scalar_mode(x9220, x9221, x9222, x9223); - | ^~~~~ - torch_api_generated.h:567:70: note: expected 'char *' but argument is of type 'const char *' - 567 | void atg_div_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__637_atg_div_scalar_mode_': - torch_stubs.c:9260:46: warning: passing argument 4 of 'atg_div_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9260 | atg_div_scalar_mode_(x9229, x9230, x9231, x9232); - | ^~~~~ - torch_api_generated.h:568:71: note: expected 'char *' but argument is of type 'const char *' - 568 | void atg_div_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__638_atg_div_tensor_mode': - torch_stubs.c:9270:45: warning: passing argument 4 of 'atg_div_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9270 | atg_div_tensor_mode(x9238, x9239, x9240, x9241); - | ^~~~~ - torch_api_generated.h:569:70: note: expected 'char *' but argument is of type 'const char *' - 569 | void atg_div_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__639_atg_div_tensor_mode_': - torch_stubs.c:9280:46: warning: passing argument 4 of 'atg_div_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9280 | atg_div_tensor_mode_(x9247, x9248, x9249, x9250); - | ^~~~~ - torch_api_generated.h:570:71: note: expected 'char *' but argument is of type 'const char *' - 570 | void atg_div_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__643_atg_divide_out_mode': - torch_stubs.c:9317:52: warning: passing argument 5 of 'atg_divide_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9317 | atg_divide_out_mode(x9280, x9281, x9282, x9283, x9284); - | ^~~~~ - torch_api_generated.h:574:82: note: expected 'char *' but argument is of type 'const char *' - 574 | void atg_divide_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__646_atg_divide_scalar_mode': - torch_stubs.c:9343:48: warning: passing argument 4 of 'atg_divide_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9343 | atg_divide_scalar_mode(x9304, x9305, x9306, x9307); - | ^~~~~ - torch_api_generated.h:577:73: note: expected 'char *' but argument is of type 'const char *' - 577 | void atg_divide_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__647_atg_divide_scalar_mode_': - torch_stubs.c:9353:49: warning: passing argument 4 of 'atg_divide_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9353 | atg_divide_scalar_mode_(x9313, x9314, x9315, x9316); - | ^~~~~ - torch_api_generated.h:578:74: note: expected 'char *' but argument is of type 'const char *' - 578 | void atg_divide_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__648_atg_divide_tensor_mode': - torch_stubs.c:9363:48: warning: passing argument 4 of 'atg_divide_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9363 | atg_divide_tensor_mode(x9322, x9323, x9324, x9325); - | ^~~~~ - torch_api_generated.h:579:73: note: expected 'char *' but argument is of type 'const char *' - 579 | void atg_divide_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__649_atg_divide_tensor_mode_': - torch_stubs.c:9373:49: warning: passing argument 4 of 'atg_divide_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9373 | atg_divide_tensor_mode_(x9331, x9332, x9333, x9334); - | ^~~~~ - torch_api_generated.h:580:74: note: expected 'char *' but argument is of type 'const char *' - 580 | void atg_divide_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__660_atg_einsum': - torch_stubs.c:9473:22: warning: passing argument 2 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 9473 | atg_einsum(x9440, x9441, x9442, x9443); - | ^~~~~ - torch_api_generated.h:591:34: note: expected 'char *' but argument is of type 'const char *' - 591 | void atg_einsum(tensor *, char * equation, tensor *tensors_data, int tensors_len); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__727_atg_fft_fft': - torch_stubs.c:10427:48: warning: passing argument 5 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10427 | atg_fft_fft(x10330, x10331, x10332, x10335, x10338); - | ^~~~~~ - torch_api_generated.h:658:72: note: expected 'char *' but argument is of type 'const char *' - 658 | void atg_fft_fft(tensor *, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__728_atg_fft_fft2': - torch_stubs.c:10441:65: warning: passing argument 7 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10441 | atg_fft_fft2(x10347, x10348, x10349, x10350, x10353, x10354, x10357); - | ^~~~~~ - torch_api_generated.h:659:109: note: expected 'char *' but argument is of type 'const char *' - 659 | 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__729_atg_fft_fft2_out': - torch_stubs.c:10470:21: warning: passing argument 8 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10470 | x10385); - | ^~~~~~ - torch_api_generated.h:660:125: note: expected 'char *' but argument is of type 'const char *' - 660 | 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__730_atg_fft_fft_out': - torch_stubs.c:10496:60: warning: passing argument 6 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10496 | atg_fft_fft_out(x10401, x10402, x10403, x10404, x10407, x10410); - | ^~~~~~ - torch_api_generated.h:661:88: note: expected 'char *' but argument is of type 'const char *' - 661 | void atg_fft_fft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__733_atg_fft_fftn': - torch_stubs.c:10543:65: warning: passing argument 7 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10543 | atg_fft_fftn(x10457, x10458, x10459, x10460, x10463, x10464, x10467); - | ^~~~~~ - torch_api_generated.h:664:109: note: expected 'char *' but argument is of type 'const char *' - 664 | 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__734_atg_fft_fftn_out': - torch_stubs.c:10572:21: warning: passing argument 8 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10572 | x10495); - | ^~~~~~ - torch_api_generated.h:665:125: note: expected 'char *' but argument is of type 'const char *' - 665 | 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__736_atg_fft_hfft': - torch_stubs.c:10607:49: warning: passing argument 5 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10607 | atg_fft_hfft(x10521, x10522, x10523, x10526, x10529); - | ^~~~~~ - torch_api_generated.h:667:73: note: expected 'char *' but argument is of type 'const char *' - 667 | void atg_fft_hfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__737_atg_fft_hfft_out': - torch_stubs.c:10619:61: warning: passing argument 6 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10619 | atg_fft_hfft_out(x10537, x10538, x10539, x10540, x10543, x10546); - | ^~~~~~ - torch_api_generated.h:668:89: note: expected 'char *' but argument is of type 'const char *' - 668 | void atg_fft_hfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__738_atg_fft_ifft': - torch_stubs.c:10642:49: warning: passing argument 5 of 'atg_fft_ifft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10642 | atg_fft_ifft(x10559, x10560, x10561, x10564, x10567); - | ^~~~~~ - torch_api_generated.h:669:73: note: expected 'char *' but argument is of type 'const char *' - 669 | void atg_fft_ifft(tensor *, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__739_atg_fft_ifft2': - torch_stubs.c:10656:66: warning: passing argument 7 of 'atg_fft_ifft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10656 | atg_fft_ifft2(x10576, x10577, x10578, x10579, x10582, x10583, x10586); - | ^~~~~~ - torch_api_generated.h:670:110: note: expected 'char *' but argument is of type 'const char *' - 670 | 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__740_atg_fft_ifft2_out': - torch_stubs.c:10685:30: warning: passing argument 8 of 'atg_fft_ifft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10685 | x10611, x10614); - | ^~~~~~ - torch_api_generated.h:671:126: note: expected 'char *' but argument is of type 'const char *' - 671 | 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__741_atg_fft_ifft_out': - torch_stubs.c:10711:61: warning: passing argument 6 of 'atg_fft_ifft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10711 | atg_fft_ifft_out(x10630, x10631, x10632, x10633, x10636, x10639); - | ^~~~~~ - torch_api_generated.h:672:89: note: expected 'char *' but argument is of type 'const char *' - 672 | void atg_fft_ifft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__742_atg_fft_ifftn': - torch_stubs.c:10737:66: warning: passing argument 7 of 'atg_fft_ifftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10737 | atg_fft_ifftn(x10654, x10655, x10656, x10657, x10660, x10661, x10664); - | ^~~~~~ - torch_api_generated.h:673:110: note: expected 'char *' but argument is of type 'const char *' - 673 | 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__743_atg_fft_ifftn_out': - torch_stubs.c:10766:30: warning: passing argument 8 of 'atg_fft_ifftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10766 | x10689, x10692); - | ^~~~~~ - torch_api_generated.h:674:126: note: expected 'char *' but argument is of type 'const char *' - 674 | 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__745_atg_fft_ihfft': - torch_stubs.c:10801:50: warning: passing argument 5 of 'atg_fft_ihfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10801 | atg_fft_ihfft(x10718, x10719, x10720, x10723, x10726); - | ^~~~~~ - torch_api_generated.h:676:74: note: expected 'char *' but argument is of type 'const char *' - 676 | void atg_fft_ihfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__746_atg_fft_ihfft_out': - torch_stubs.c:10813:62: warning: passing argument 6 of 'atg_fft_ihfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10813 | atg_fft_ihfft_out(x10734, x10735, x10736, x10737, x10740, x10743); - | ^~~~~~ - torch_api_generated.h:677:90: note: expected 'char *' but argument is of type 'const char *' - 677 | void atg_fft_ihfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__747_atg_fft_irfft': - torch_stubs.c:10836:50: warning: passing argument 5 of 'atg_fft_irfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10836 | atg_fft_irfft(x10756, x10757, x10758, x10761, x10764); - | ^~~~~~ - torch_api_generated.h:678:74: note: expected 'char *' but argument is of type 'const char *' - 678 | void atg_fft_irfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__748_atg_fft_irfft2': - torch_stubs.c:10850:67: warning: passing argument 7 of 'atg_fft_irfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10850 | atg_fft_irfft2(x10773, x10774, x10775, x10776, x10779, x10780, x10783); - | ^~~~~~ - torch_api_generated.h:679:111: note: expected 'char *' but argument is of type 'const char *' - 679 | 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__749_atg_fft_irfft2_out': - torch_stubs.c:10879:31: warning: passing argument 8 of 'atg_fft_irfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10879 | x10808, x10811); - | ^~~~~~ - torch_api_generated.h:680:127: note: expected 'char *' but argument is of type 'const char *' - 680 | 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__750_atg_fft_irfft_out': - torch_stubs.c:10905:62: warning: passing argument 6 of 'atg_fft_irfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10905 | atg_fft_irfft_out(x10827, x10828, x10829, x10830, x10833, x10836); - | ^~~~~~ - torch_api_generated.h:681:90: note: expected 'char *' but argument is of type 'const char *' - 681 | void atg_fft_irfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__751_atg_fft_irfftn': - torch_stubs.c:10931:67: warning: passing argument 7 of 'atg_fft_irfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10931 | atg_fft_irfftn(x10851, x10852, x10853, x10854, x10857, x10858, x10861); - | ^~~~~~ - torch_api_generated.h:682:111: note: expected 'char *' but argument is of type 'const char *' - 682 | 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__752_atg_fft_irfftn_out': - torch_stubs.c:10960:31: warning: passing argument 8 of 'atg_fft_irfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10960 | x10886, x10889); - | ^~~~~~ - torch_api_generated.h:683:127: note: expected 'char *' but argument is of type 'const char *' - 683 | 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__753_atg_fft_rfft': - torch_stubs.c:10985:49: warning: passing argument 5 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10985 | atg_fft_rfft(x10904, x10905, x10906, x10909, x10912); - | ^~~~~~ - torch_api_generated.h:684:73: note: expected 'char *' but argument is of type 'const char *' - 684 | void atg_fft_rfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__754_atg_fft_rfft2': - torch_stubs.c:10999:66: warning: passing argument 7 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 10999 | atg_fft_rfft2(x10921, x10922, x10923, x10924, x10927, x10928, x10931); - | ^~~~~~ - torch_api_generated.h:685:110: note: expected 'char *' but argument is of type 'const char *' - 685 | 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__755_atg_fft_rfft2_out': - torch_stubs.c:11028:30: warning: passing argument 8 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11028 | x10956, x10959); - | ^~~~~~ - torch_api_generated.h:686:126: note: expected 'char *' but argument is of type 'const char *' - 686 | 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__756_atg_fft_rfft_out': - torch_stubs.c:11054:61: warning: passing argument 6 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11054 | atg_fft_rfft_out(x10975, x10976, x10977, x10978, x10981, x10984); - | ^~~~~~ - torch_api_generated.h:687:89: note: expected 'char *' but argument is of type 'const char *' - 687 | void atg_fft_rfft_out(tensor *, tensor out, tensor self, int64_t n, int64_t dim, char * norm); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__759_atg_fft_rfftn': - torch_stubs.c:11101:66: warning: passing argument 7 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11101 | atg_fft_rfftn(x11031, x11032, x11033, x11034, x11037, x11038, x11041); - | ^~~~~~ - torch_api_generated.h:690:110: note: expected 'char *' but argument is of type 'const char *' - 690 | 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__760_atg_fft_rfftn_out': - torch_stubs.c:11130:30: warning: passing argument 8 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11130 | x11066, x11069); - | ^~~~~~ - torch_api_generated.h:691:126: note: expected 'char *' but argument is of type 'const char *' - 691 | 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__814_atg_from_file': - torch_stubs.c:11853:26: warning: passing argument 2 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 11853 | atg_from_file(x11676, x11677, x11678, x11681, x11684, x11687); - | ^~~~~~ - torch_api_generated.h:745:37: note: expected 'char *' but argument is of type 'const char *' - 745 | void atg_from_file(tensor *, char * filename, int shared, int64_t size, int options_kind, int options_device); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__1027_atg_linalg_cond_p_str': - torch_stubs.c:14613:42: warning: passing argument 3 of 'atg_linalg_cond_p_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14613 | atg_linalg_cond_p_str(x14392, x14393, x14394); - | ^~~~~~ - torch_api_generated.h:958:58: note: expected 'char *' but argument is of type 'const char *' - 958 | void atg_linalg_cond_p_str(tensor *, tensor self, char * p); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__1028_atg_linalg_cond_p_str_out': - torch_stubs.c:14623:54: warning: passing argument 4 of 'atg_linalg_cond_p_str_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14623 | atg_linalg_cond_p_str_out(x14400, x14401, x14402, x14403); - | ^~~~~~ - torch_api_generated.h:959:74: note: expected 'char *' but argument is of type 'const char *' - 959 | void atg_linalg_cond_p_str_out(tensor *, tensor out, tensor self, char * p); - | ~~~~~~~^ - torch_stubs.c: In function 'caml__1033_atg_linalg_eigh': - torch_stubs.c:14663:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14663 | atg_linalg_eigh(x14434, x14435, x14436); - | ^~~~~~ - torch_api_generated.h:964:52: note: expected 'char *' but argument is of type 'const char *' - 964 | void atg_linalg_eigh(tensor *, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1034_atg_linalg_eigh_eigvals': - torch_stubs.c:14675:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14675 | atg_linalg_eigh_eigvals(x14443, x14444, x14445, x14446, x14447); - | ^~~~~~ - torch_api_generated.h:965:92: note: expected 'char *' but argument is of type 'const char *' - 965 | void atg_linalg_eigh_eigvals(tensor *, tensor eigvals, tensor eigvecs, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1037_atg_linalg_eigvalsh': - torch_stubs.c:14700:40: warning: passing argument 3 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14700 | atg_linalg_eigvalsh(x14464, x14465, x14466); - | ^~~~~~ - torch_api_generated.h:968:56: note: expected 'char *' but argument is of type 'const char *' - 968 | void atg_linalg_eigvalsh(tensor *, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1038_atg_linalg_eigvalsh_out': - torch_stubs.c:14710:52: warning: passing argument 4 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14710 | atg_linalg_eigvalsh_out(x14472, x14473, x14474, x14475); - | ^~~~~~ - torch_api_generated.h:969:72: note: expected 'char *' but argument is of type 'const char *' - 969 | void atg_linalg_eigvalsh_out(tensor *, tensor out, tensor self, char * UPLO); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1045_atg_linalg_lstsq': - torch_stubs.c:14777:53: warning: passing argument 5 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14777 | atg_linalg_lstsq(x14532, x14533, x14534, x14535, x14538); - | ^~~~~~ - torch_api_generated.h:976:77: note: expected 'char *' but argument is of type 'const char *' - 976 | void atg_linalg_lstsq(tensor *, tensor self, tensor b, double rcond, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1046_atg_linalg_lstsq_out': - torch_stubs.c:14796:41: warning: passing argument 9 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14796 | x14555, x14556, x14559); - | ^~~~~~ - torch_api_generated.h:977:153: note: expected 'char *' but argument is of type 'const char *' - 977 | void atg_linalg_lstsq_out(tensor *, tensor solution, tensor residuals, tensor rank, tensor singular_values, tensor self, tensor b, double rcond, char * driver); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1061_atg_linalg_qr': - torch_stubs.c:14969:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14969 | atg_linalg_qr(x14733, x14734, x14735); - | ^~~~~~ - torch_api_generated.h:992:50: note: expected 'char *' but argument is of type 'const char *' - 992 | void atg_linalg_qr(tensor *, tensor self, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1062_atg_linalg_qr_out': - torch_stubs.c:14980:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 14980 | atg_linalg_qr_out(x14742, x14743, x14744, x14745, x14746); - | ^~~~~~ - torch_api_generated.h:993:74: note: expected 'char *' but argument is of type 'const char *' - 993 | void atg_linalg_qr_out(tensor *, tensor Q, tensor R, tensor self, char * mode); - | ~~~~~~~^~~~ - torch_stubs.c: In function 'caml__1192_atg_meshgrid_indexing': - torch_stubs.c:17078:58: warning: passing argument 3 of 'atg_meshgrid_indexing' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 17078 | void** x16764 = atg_meshgrid_indexing(x16759, x16760, x16763); - | ^~~~~~ - torch_api_generated.h:1123:77: note: expected 'char *' but argument is of type 'const char *' - 1123 | tensor *atg_meshgrid_indexing(tensor *tensors_data, int tensors_len, char * indexing); - | ~~~~~~~^~~~~~~~ - torch_stubs.c: In function 'caml__1277_atg_nanquantile_new': - torch_stubs.c:18989:64: warning: passing argument 6 of 'atg_nanquantile_new' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 18989 | atg_nanquantile_new(x18601, x18602, x18603, x18604, x18607, x18610); - | ^~~~~~ - torch_api_generated.h:1208:92: note: expected 'char *' but argument is of type 'const char *' - 1208 | void atg_nanquantile_new(tensor *, tensor self, tensor q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1278_atg_nanquantile_new_out': - torch_stubs.c:19017:28: warning: passing argument 7 of 'atg_nanquantile_new_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19017 | x18635); - | ^~~~~~ - torch_api_generated.h:1209:108: note: expected 'char *' but argument is of type 'const char *' - 1209 | void atg_nanquantile_new_out(tensor *, tensor out, tensor self, tensor q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1279_atg_nanquantile_new_scalar': - torch_stubs.c:19043:71: warning: passing argument 6 of 'atg_nanquantile_new_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19043 | atg_nanquantile_new_scalar(x18650, x18651, x18652, x18655, x18658, x18661); - | ^~~~~~ - torch_api_generated.h:1210:99: note: expected 'char *' but argument is of type 'const char *' - 1210 | void atg_nanquantile_new_scalar(tensor *, tensor self, double q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1280_atg_nanquantile_new_scalar_out': - torch_stubs.c:19071:43: warning: passing argument 7 of 'atg_nanquantile_new_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 19071 | x18685, x18688); - | ^~~~~~ - torch_api_generated.h:1211:115: note: expected 'char *' but argument is of type 'const char *' - 1211 | void atg_nanquantile_new_scalar_out(tensor *, tensor out, tensor self, double q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1398_atg_quantile_new': - torch_stubs.c:20810:61: warning: passing argument 6 of 'atg_quantile_new' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20810 | atg_quantile_new(x20398, x20399, x20400, x20401, x20404, x20407); - | ^~~~~~ - torch_api_generated.h:1329:89: note: expected 'char *' but argument is of type 'const char *' - 1329 | void atg_quantile_new(tensor *, tensor self, tensor q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1399_atg_quantile_new_out': - torch_stubs.c:20838:25: warning: passing argument 7 of 'atg_quantile_new_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20838 | x20432); - | ^~~~~~ - torch_api_generated.h:1330:105: note: expected 'char *' but argument is of type 'const char *' - 1330 | void atg_quantile_new_out(tensor *, tensor out, tensor self, tensor q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1400_atg_quantile_new_scalar': - torch_stubs.c:20864:68: warning: passing argument 6 of 'atg_quantile_new_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20864 | atg_quantile_new_scalar(x20447, x20448, x20449, x20452, x20455, x20458); - | ^~~~~~ - torch_api_generated.h:1331:96: note: expected 'char *' but argument is of type 'const char *' - 1331 | void atg_quantile_new_scalar(tensor *, tensor self, double q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1401_atg_quantile_new_scalar_out': - torch_stubs.c:20892:40: warning: passing argument 7 of 'atg_quantile_new_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 20892 | x20482, x20485); - | ^~~~~~ - torch_api_generated.h:1332:112: note: expected 'char *' but argument is of type 'const char *' - 1332 | void atg_quantile_new_scalar_out(tensor *, tensor out, tensor self, double q, int64_t dim, int keepdim, char * interpolation); - | ~~~~~~~^~~~~~~~~~~~~ - torch_stubs.c: In function 'caml__1524_atg_scatter_reduce': - torch_stubs.c:22776:63: warning: passing argument 6 of 'atg_scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22776 | atg_scatter_reduce(x22353, x22354, x22355, x22358, x22359, x22360); - | ^~~~~~ - torch_api_generated.h:1455:94: note: expected 'char *' but argument is of type 'const char *' - 1455 | void atg_scatter_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1525_atg_scatter_reduce_': - torch_stubs.c:22801:64: warning: passing argument 6 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22801 | atg_scatter_reduce_(x22374, x22375, x22376, x22379, x22380, x22381); - | ^~~~~~ - torch_api_generated.h:1456:95: note: expected 'char *' but argument is of type 'const char *' - 1456 | void atg_scatter_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1526_atg_scatter_reduce_out': - torch_stubs.c:22829:27: warning: passing argument 7 of 'atg_scatter_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22829 | x22404); - | ^~~~~~ - torch_api_generated.h:1457:110: note: expected 'char *' but argument is of type 'const char *' - 1457 | void atg_scatter_reduce_out(tensor *, tensor out, tensor self, int64_t dim, tensor index, tensor src, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1531_atg_scatter_value_reduce': - torch_stubs.c:22927:69: warning: passing argument 6 of 'atg_scatter_value_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22927 | atg_scatter_value_reduce(x22487, x22488, x22489, x22492, x22493, x22494); - | ^~~~~~ - torch_api_generated.h:1462:102: note: expected 'char *' but argument is of type 'const char *' - 1462 | void atg_scatter_value_reduce(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1532_atg_scatter_value_reduce_': - torch_stubs.c:22952:70: warning: passing argument 6 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22952 | atg_scatter_value_reduce_(x22508, x22509, x22510, x22513, x22514, x22515); - | ^~~~~~ - torch_api_generated.h:1463:103: note: expected 'char *' but argument is of type 'const char *' - 1463 | void atg_scatter_value_reduce_(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1533_atg_scatter_value_reduce_out': - torch_stubs.c:22980:41: warning: passing argument 7 of 'atg_scatter_value_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 22980 | x22537, x22538); - | ^~~~~~ - torch_api_generated.h:1464:118: note: expected 'char *' but argument is of type 'const char *' - 1464 | void atg_scatter_value_reduce_out(tensor *, tensor out, tensor self, int64_t dim, tensor index, scalar value, char * reduce); - | ~~~~~~~^~~~~~ - torch_stubs.c: In function 'caml__1537_atg_segment_reduce': - torch_stubs.c:23058:39: warning: passing argument 3 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 23058 | atg_segment_reduce(x22608, x22609, x22610, x22611, x22612, x22613, - | ^~~~~~ - torch_api_generated.h:1468:55: note: expected 'char *' but argument is of type 'const char *' - 1468 | void atg_segment_reduce(tensor *, tensor data, char * reduce, tensor lengths, tensor indices, int64_t axis, int unsafe, scalar initial); - | ~~~~~~~^~~~~~ - (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 51, characters 4-22: - 51 | 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__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 142, characters 4-22: - 142 | Caml.Gc.full_major (); - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/dataset_helper.ml", line 187, characters 4-22: - 187 | Caml.Gc.full_major () - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/dataset_helper.ml", line 194, characters 8-26: - 194 | Caml.Gc.full_major (); - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/dataset_helper.ml", line 201, characters 8-26: - 201 | Caml.Gc.full_major (); - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Tensor.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Tensor.cmo -c -impl src/torch/tensor.ml) - File "src/torch/tensor.ml", line 219, characters 4-32: - 219 | Caml.Format.pp_print_newline formatter (); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 220, characters 4-31: - 220 | Caml.Format.pp_print_string formatter (to_string t ~line_size:96); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 221, characters 4-32: - 221 | Caml.Format.pp_print_newline formatter ()) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 226, characters 7-34: - 226 | |> Caml.Format.pp_print_string formatter - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 377, characters 10-21: - 377 | else if Caml.( <> ) (shape t1) (shape t2) - ^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Cifar_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Cifar_helper.cmo -c -impl src/torch/cifar_helper.ml) - File "src/torch/cifar_helper.ml", line 46, characters 26-46: - 46 | let read_one filename = Caml.Filename.concat dirname filename |> read_file in - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/cifar_helper.ml", line 67, characters 21-41: - 67 | let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Mnist_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Mnist_helper.cmo -c -impl src/torch/mnist_helper.ml) - File "src/torch/mnist_helper.ml", line 35, characters 17-37: - 35 | 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 159, characters 12-33: - 159 | 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 164, characters 28-48: - 164 | 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 165, characters 16-37: - 165 | 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 162, characters 6-22: - 162 | Caml.Sys.readdir dir - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 184, characters 41-61: - 184 | 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 - - File "src/vision/image.ml", line 194, characters 37-57: - 194 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn) - ^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Tensor.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Tensor.cmx -c -impl src/torch/tensor.ml) - File "src/torch/tensor.ml", line 219, characters 4-32: - 219 | Caml.Format.pp_print_newline formatter (); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 220, characters 4-31: - 220 | Caml.Format.pp_print_string formatter (to_string t ~line_size:96); - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 221, characters 4-32: - 221 | Caml.Format.pp_print_newline formatter ()) - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 226, characters 7-34: - 226 | |> Caml.Format.pp_print_string formatter - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/tensor.ml", line 377, characters 10-21: - 377 | else if Caml.( <> ) (shape t1) (shape t2) - ^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Text_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Text_helper.cmx -c -impl src/torch/text_helper.ml) - File "src/torch/text_helper.ml", line 51, characters 4-22: - 51 | 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 142, characters 4-22: - 142 | Caml.Gc.full_major (); - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/dataset_helper.ml", line 187, characters 4-22: - 187 | Caml.Gc.full_major () - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/dataset_helper.ml", line 194, characters 8-26: - 194 | Caml.Gc.full_major (); - ^^^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/torch/dataset_helper.ml", line 201, characters 8-26: - 201 | 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 35, characters 17-37: - 35 | 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 159, characters 12-33: - 159 | 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 164, characters 28-48: - 164 | 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 165, characters 16-37: - 165 | 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 162, characters 6-22: - 162 | Caml.Sys.readdir dir - ^^^^^^^^^^^^^^^^ - Alert deprecated: module Caml - [since v0.16] use Stdlib instead of Caml - - File "src/vision/image.ml", line 184, characters 41-61: - 184 | 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 - - File "src/vision/image.ml", line 194, characters 37-57: - 194 | 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.14 -> installed torch.0.14 [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:16.17: OK: build torch.0.14 (runc: 136.7s, disk: 97KB) 2026-06-16 19:16.17: Job succeeded