Build:
  1. 0
2026-06-23 19:09.35: New job: build torch.0.11 (d3664973a3fc)
2026-06-23 19:09.35: Waiting for resource in pool day11-builds
2026-06-23 20:14.32: Got resource from pool day11-builds
2026-06-23 20:14.32: [profile full] build torch.0.11
2026-06-23 20:14.32: build torch.0.11 (d3664973a3fc)
=== DEPENDENCIES (47 transitive) ===
  base.v0.16.5                                       bd17fd834f82
  base-threads.base                                  b7164ff76afe
  base-unix.base                                     839dc585f12d
  camlzip.1.14                                       76310e72f549
  cmdliner.2.1.1                                     31028e9aa5d7
  conf-libffi.2.0.0                                  b59b18e08302
  conf-pkg-config.5                                  4b60827fc174
  conf-zlib.1                                        71f76614ba40
  csexp.1.5.2                                        1637d117a8bb
  ctypes.0.24.0                                      553bd54f7ce5
  ctypes-foreign.0.24.0                              58cf9cf49589
  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.7.0+linux-x86_64                        3309ffec1816
  npy.0.0.9                                          6646c0ac4bef
  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.11: dl]
[torch.0.11: extract]
-> retrieved torch.0.11  (https://opam.ocaml.org/cache)
[torch: dune build]
+ /home/opam/.opam/default/bin/dune "build" "-p" "torch" "-j" "39" (CWD=/home/opam/.opam/default/.opam-switch/build/torch.0.11)
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/config/.discover.eobjs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/csexp -I /home/opam/.opam/default/lib/dune-configurator -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -no-alias-deps -o src/config/.discover.eobjs/byte/discover.cmo -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 11, characters 13-33:
- 11 | let ( /^ ) = Caml.Filename.concat
-                   ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 12, characters 18-38:
- 12 | let file_exists = Caml.Sys.file_exists
-                        ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 46, characters 38-59:
- 46 |              if file_exists libdir && Caml.Sys.is_directory libdir
-                                            ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 38, characters 4-20:
- 38 |     Caml.Sys.readdir conda_prefix
-          ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 55, characters 8-27:
- 55 |   match Caml.Sys.getenv_opt "LIBTORCH" with
-              ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 59, characters 19-38:
- 59 |       Option.bind (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
-                         ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 65, characters 13-32:
- 65 |       (match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
-                   ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 75, characters 28-49:
- 75 |   if file_exists cudadir && Caml.Sys.is_directory cudadir
-                                  ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 104, characters 11-30:
- 104 |           (Caml.Sys.getenv_opt "CONDA_PREFIX")
-                  ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 110, characters 16-35:
- 110 |           match Caml.Sys.getenv_opt "LIBTORCH_CXX11_ABI" with
-                       ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 120, characters 11-21:
- 120 |         if Caml.( = ) cuda_flags empty_flags
-                  ^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/csexp -I /home/opam/.opam/default/lib/dune-configurator -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -cmi-file src/config/.discover.eobjs/byte/discover.cmi -no-alias-deps -o src/config/.discover.eobjs/native/discover.cmx -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 11, characters 13-33:
- 11 | let ( /^ ) = Caml.Filename.concat
-                   ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 12, characters 18-38:
- 12 | let file_exists = Caml.Sys.file_exists
-                        ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 46, characters 38-59:
- 46 |              if file_exists libdir && Caml.Sys.is_directory libdir
-                                            ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 38, characters 4-20:
- 38 |     Caml.Sys.readdir conda_prefix
-          ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 55, characters 8-27:
- 55 |   match Caml.Sys.getenv_opt "LIBTORCH" with
-              ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 59, characters 19-38:
- 59 |       Option.bind (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
-                         ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 65, characters 13-32:
- 65 |       (match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
-                   ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 75, characters 28-49:
- 75 |   if file_exists cudadir && Caml.Sys.is_directory cudadir
-                                  ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 104, characters 11-30:
- 104 |           (Caml.Sys.getenv_opt "CONDA_PREFIX")
-                  ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 110, characters 16-35:
- 110 |           match Caml.Sys.getenv_opt "LIBTORCH_CXX11_ABI" with
-                       ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/config/discover.ml", line 120, characters 11-21:
- 120 |         if Caml.( = ) cuda_flags empty_flags
-                  ^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (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:480:28: warning: passing argument 1 of 'ati_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   480 |    void* x446 = ati_string(x445);
-       |                            ^~~~
- torch_api.h:132:19: note: expected 'char *' but argument is of type 'const char *'
-   132 | ivalue ati_string(char *);
-       |                   ^~~~~~
- torch_stubs.c: In function 'caml__68_atm_load':
- torch_stubs.c:498:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   498 |    void* x455 = atm_load(x454);
-       |                          ^~~~
- torch_api.h:119:17: note: expected 'char *' but argument is of type 'const char *'
-   119 | module atm_load(char *);
-       |                 ^~~~~~
- torch_stubs.c: In function 'caml__556_atg_einsum':
- torch_stubs.c:7781:22: warning: passing argument 2 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  7781 |    atg_einsum(x7839, x7840, x7841, x7842);
-       |                      ^~~~~
- In file included from torch_api.h:161:
- torch_api_generated.h:487:34: note: expected 'char *' but argument is of type 'const char *'
-   487 | void atg_einsum(tensor *, char * equation, tensor *tensors_data, int tensors_len);
-       |                           ~~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__621_atg_fft_fft':
- torch_stubs.c:8632:44: warning: passing argument 5 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8632 |    atg_fft_fft(x8663, x8664, x8665, x8668, x8671);
-       |                                            ^~~~~
- torch_api_generated.h:552:72: note: expected 'char *' but argument is of type 'const char *'
-   552 | void atg_fft_fft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
-       |                                                                 ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__622_atg_fft_fftn':
- torch_stubs.c:8646:59: warning: passing argument 7 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8646 |    atg_fft_fftn(x8680, x8681, x8682, x8683, x8686, x8687, x8690);
-       |                                                           ^~~~~
- torch_api_generated.h:553:109: note: expected 'char *' but argument is of type 'const char *'
-   553 | void atg_fft_fftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
-       |                                                                                                      ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__623_atg_fft_hfft':
- torch_stubs.c:8669:45: warning: passing argument 5 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8669 |    atg_fft_hfft(x8704, x8705, x8706, x8709, x8712);
-       |                                             ^~~~~
- torch_api_generated.h:554:73: note: expected 'char *' but argument is of type 'const char *'
-   554 | void atg_fft_hfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
-       |                                                                  ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__624_atg_fft_ifft':
- torch_stubs.c:8680:45: warning: passing argument 5 of 'atg_fft_ifft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8680 |    atg_fft_ifft(x8719, x8720, x8721, x8724, x8727);
-       |                                             ^~~~~
- torch_api_generated.h:555:73: note: expected 'char *' but argument is of type 'const char *'
-   555 | void atg_fft_ifft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
-       |                                                                  ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__625_atg_fft_ifftn':
- torch_stubs.c:8694:60: warning: passing argument 7 of 'atg_fft_ifftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8694 |    atg_fft_ifftn(x8736, x8737, x8738, x8739, x8742, x8743, x8746);
-       |                                                            ^~~~~
- torch_api_generated.h:556:110: note: expected 'char *' but argument is of type 'const char *'
-   556 | void atg_fft_ifftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
-       |                                                                                                       ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__626_atg_fft_ihfft':
- torch_stubs.c:8717:46: warning: passing argument 5 of 'atg_fft_ihfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8717 |    atg_fft_ihfft(x8760, x8761, x8762, x8765, x8768);
-       |                                              ^~~~~
- torch_api_generated.h:557:74: note: expected 'char *' but argument is of type 'const char *'
-   557 | void atg_fft_ihfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
-       |                                                                   ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__627_atg_fft_irfft':
- torch_stubs.c:8728:46: warning: passing argument 5 of 'atg_fft_irfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8728 |    atg_fft_irfft(x8775, x8776, x8777, x8780, x8783);
-       |                                              ^~~~~
- torch_api_generated.h:558:74: note: expected 'char *' but argument is of type 'const char *'
-   558 | void atg_fft_irfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
-       |                                                                   ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__628_atg_fft_irfftn':
- torch_stubs.c:8742:61: warning: passing argument 7 of 'atg_fft_irfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8742 |    atg_fft_irfftn(x8792, x8793, x8794, x8795, x8798, x8799, x8802);
-       |                                                             ^~~~~
- torch_api_generated.h:559:111: note: expected 'char *' but argument is of type 'const char *'
-   559 | void atg_fft_irfftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
-       |                                                                                                        ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__629_atg_fft_rfft':
- torch_stubs.c:8766:45: warning: passing argument 5 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8766 |    atg_fft_rfft(x8816, x8817, x8818, x8821, x8824);
-       |                                             ^~~~~
- torch_api_generated.h:560:73: note: expected 'char *' but argument is of type 'const char *'
-   560 | void atg_fft_rfft(tensor *, tensor self, int64_t n, int64_t dim, char * norm);
-       |                                                                  ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__630_atg_fft_rfftn':
- torch_stubs.c:8780:60: warning: passing argument 7 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  8780 |    atg_fft_rfftn(x8833, x8834, x8835, x8836, x8839, x8840, x8843);
-       |                                                            ^~~~~
- torch_api_generated.h:561:110: note: expected 'char *' but argument is of type 'const char *'
-   561 | void atg_fft_rfftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
-       |                                                                                                       ~~~~~~~^~~~
- torch_stubs.c: In function 'caml__669_atg_from_file':
- torch_stubs.c:9339:25: warning: passing argument 2 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-  9339 |    atg_from_file(x9332, x9333, x9334, x9337, x9340, x9343);
-       |                         ^~~~~
- torch_api_generated.h:600:37: note: expected 'char *' but argument is of type 'const char *'
-   600 | void atg_from_file(tensor *, char * filename, int shared, int64_t size, int options_kind, int options_device);
-       |                              ~~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__846_atg_linalg_norm1':
- torch_stubs.c:11549:37: warning: passing argument 3 of 'atg_linalg_norm1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 11549 |    atg_linalg_norm1(x11577, x11578, x11579, x11580, x11581, x11584, x11587);
-       |                                     ^~~~~~
- torch_api_generated.h:777:53: note: expected 'char *' but argument is of type 'const char *'
-   777 | void atg_linalg_norm1(tensor *, tensor self, char * ord, int64_t *dim_data, int dim_len, int keepdim, int dtype);
-       |                                              ~~~~~~~^~~
- torch_stubs.c: In function 'caml__848_atg_linalg_norm_out1':
- torch_stubs.c:11608:49: warning: passing argument 4 of 'atg_linalg_norm_out1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 11608 |    atg_linalg_norm_out1(x11637, x11638, x11639, x11640, x11641, x11642,
-       |                                                 ^~~~~~
- torch_api_generated.h:779:69: note: expected 'char *' but argument is of type 'const char *'
-   779 | void atg_linalg_norm_out1(tensor *, tensor out, tensor self, char * ord, int64_t *dim_data, int dim_len, int keepdim, int dtype);
-       |                                                              ~~~~~~~^~~
- torch_stubs.c: In function 'caml__1241_atg_scatter_2':
- torch_stubs.c:18220:58: warning: passing argument 6 of 'atg_scatter_2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 18220 |    atg_scatter_2(x18193, x18194, x18195, x18198, x18199, x18200);
-       |                                                          ^~~~~~
- torch_api_generated.h:1172:89: note: expected 'char *' but argument is of type 'const char *'
-  1172 | void atg_scatter_2(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce);
-       |                                                                                  ~~~~~~~^~~~~~
- torch_stubs.c: In function 'caml__1242_atg_scatter_3':
- torch_stubs.c:18243:58: warning: passing argument 6 of 'atg_scatter_3' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 18243 |    atg_scatter_3(x18214, x18215, x18216, x18219, x18220, x18221);
-       |                                                          ^~~~~~
- torch_api_generated.h:1173:91: note: expected 'char *' but argument is of type 'const char *'
-  1173 | void atg_scatter_3(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce);
-       |                                                                                    ~~~~~~~^~~~~~
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Cifar_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Cifar_helper.cmo -c -impl src/torch/cifar_helper.ml)
- File "src/torch/cifar_helper.ml", line 46, characters 26-46:
- 46 |   let read_one filename = Caml.Filename.concat dirname filename |> read_file in
-                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/cifar_helper.ml", line 67, characters 21-41:
- 67 |     let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in
-                           ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__Checkpointing.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Checkpointing.cmo -c -impl src/torch/checkpointing.ml)
- File "src/torch/checkpointing.ml", line 4, characters 16-37:
- 4 |   let dirname = Caml.Filename.dirname checkpoint_base in
-                     ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/checkpointing.ml", line 5, characters 17-39:
- 5 |   let basename = Caml.Filename.basename checkpoint_base in
-                      ^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/checkpointing.ml", line 12, characters 44-64:
- 12 |            (try Some (Int.of_string suffix, Caml.Filename.concat dirname filename) with
-                                                  ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/checkpointing.ml", line 6, characters 2-18:
- 6 |   Caml.Sys.readdir dirname
-       ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -cmi-file src/torch/.torch.objs/byte/torch__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__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__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__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/vision/.torch_vision.objs/byte -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/wrapper/.torch_core.objs/byte -cmi-file src/vision/.torch_vision.objs/byte/torch_vision__Image.cmi -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/byte/torch_vision__Image.cmo -c -impl src/vision/image.ml)
- File "src/vision/image.ml", line 81, characters 10-31:
- 81 |   if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 82, characters 14-30:
- 82 |   let files = Caml.Sys.readdir dir |> Array.to_list in
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 87, characters 26-46:
- 87 |         match load_image (Caml.Filename.concat dir filename) ?resize with
-                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 162, characters 12-33:
- 162 |     if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
-                   ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 167, characters 28-48:
- 167 |              let next_dir = Caml.Filename.concat dir file in
-                                   ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 168, characters 16-37:
- 168 |              if Caml.Sys.is_directory next_dir
-                       ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 165, characters 6-22:
- 165 |       Caml.Sys.readdir dir
-             ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 187, characters 41-61:
- 187 |             load_image ?resize:t.resize (Caml.Filename.concat dir file)
-                                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 198, characters 37-57:
- 198 |         load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
-                                            ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Tensor.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Tensor.cmx -c -impl src/torch/tensor.ml)
- File "src/torch/tensor.ml", line 219, characters 4-32:
- 219 |     Caml.Format.pp_print_newline formatter ();
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/tensor.ml", line 220, characters 4-31:
- 220 |     Caml.Format.pp_print_string formatter (to_string t ~line_size:96);
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/tensor.ml", line 221, characters 4-32:
- 221 |     Caml.Format.pp_print_newline formatter ())
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/tensor.ml", line 226, characters 7-34:
- 226 |     |> Caml.Format.pp_print_string formatter
-              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/tensor.ml", line 377, characters 10-21:
- 377 |   else if Caml.( <> ) (shape t1) (shape t2)
-                 ^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Text_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Text_helper.cmx -c -impl src/torch/text_helper.ml)
- File "src/torch/text_helper.ml", line 53, characters 4-22:
- 53 |     Caml.Gc.full_major ()
-          ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__Dataset_helper.cmi -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Dataset_helper.cmx -c -impl src/torch/dataset_helper.ml)
- File "src/torch/dataset_helper.ml", line 148, characters 4-22:
- 148 |     Caml.Gc.full_major ();
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 193, characters 4-22:
- 193 |     Caml.Gc.full_major ()
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 200, characters 8-26:
- 200 |         Caml.Gc.full_major ();
-               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 207, characters 8-26:
- 207 |         Caml.Gc.full_major ();
-               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/default/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/default/lib/base -I /home/opam/.opam/default/lib/base/base_internalhash_types -I /home/opam/.opam/default/lib/base/caml -I /home/opam/.opam/default/lib/base/shadow_stdlib -I /home/opam/.opam/default/lib/ctypes -I /home/opam/.opam/default/lib/ctypes-foreign -I /home/opam/.opam/default/lib/ctypes/stubs -I /home/opam/.opam/default/lib/integers -I /home/opam/.opam/default/lib/ocaml/str -I /home/opam/.opam/default/lib/ocaml/threads -I /home/opam/.opam/default/lib/ocaml/unix -I /home/opam/.opam/default/lib/sexplib0 -I /home/opam/.opam/default/lib/stdio -I /home/opam/.opam/default/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -cmi-file src/torch/.torch.objs/byte/torch__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/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/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.11
-> installed torch.0.11
[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-23 20:16.58: OK: build torch.0.11 (runc: 104.2s, disk: 59KB)
2026-06-23 20:16.58: Job succeeded