OCamllabs icon Home|Differences with the last checks|Previous runs


Building on toxis.caelum.ci.dev

(from ocaml/opam:debian-unstable)
2025-04-13 09:26.50 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache

/: (user (uid 1000) (gid 1000))

/: (env OPAMPRECISETRACKING 1)

/: (env OPAMUTF8 never)

/: (env OPAMEXTERNALSOLVER builtin-0install)

/: (env OPAMCRITERIA +removed)

/: (env CI true)

/: (env OPAM_HEALTH_CHECK_CI true)

/: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-04-13 09:26.50 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" from cache

/: (run (network host)
        (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 34a3fc46c301a891122df75c17fef6b5358bd68f"))
2025-04-13 09:26.50 ---> using "6aace7ddb0315e05dcea0f25d12f96ff9dc8f85c2b8f9361b598fcff4c0fa3d6" from cache

/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.


<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised

User configuration:
  ~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.

2025-04-13 09:26.50 ---> using "3cfa94ba527bfa92001171dcb06fce65200e4089b0ad9cb2bcb38c055ef8ccd4" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell "opam switch create --repositories=default '5.3' '5.3.0'"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "5.3.0"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-compiler.5.3.0  (cached)
-> installed ocaml-compiler.5.3.0
-> installed ocaml-base-compiler.5.3.0
-> installed ocaml-config.3
-> installed ocaml.5.3.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=5.3)
2025-04-13 09:26.50 ---> using "85170c7051c45444c4d443c67f8d25c7f33918a6e1d37397bf18f6282365d95c" from cache

/: (run (network host)
        (shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [205 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Err:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
-   Couldn't find the start of the patch series
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [10.2 MB]
- Fetched 10.4 MB in 1s (7237 kB/s)
- Reading package lists...
- 
2025-04-13 09:26.50 ---> using "5255d35dc9ff9e993cbd455c6499ad562c24bcf2a0442c988c2163254b9e1a05" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell "opam pin add -k version dune $(opam show -f version dune)"))
dune is now pinned to version 3.18.0

The following actions will be performed:
=== install 1 package
  - install dune 3.18.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.18.0  (cached)
-> installed dune.3.18.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-13 09:26.50 ---> using "b25e04dc6b57b5e83a1b7a423cdaa0d29d4dc5698afddb33afca39f8192e1c94" from cache

/: (env DUNE_CACHE enabled)

/: (env DUNE_CACHE_TRANSPORT direct)

/: (env DUNE_CACHE_DUPLICATION copy)

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell "curl -fsSL https://get.dune.build/install | sh"))

#=#=#                                                                          
##O#-#                                                                         
                                                                           0.1%
                                                                           1.2%
##                                                                         2.9%
########                                                                  12.2%
##################                                                        25.9%
#########################################                                 57.0%
######################################################################## 100.0%
dune x86_64-unknown-linux-musl was installed successfully to ~/.local/bin/dune 

To use dune you will need to source the file "$HOME/.local/share/dune/env/env.bash" (or similar as appropriate for your shell)
  export PATH="/home/opam/.local/bin:$PATH" 

To get started, run: 
  dune --help 
2025-04-13 09:26.50 ---> using "1e311de0362a4cf8bc60a1ded16f4c6ffe1f37cccf83f29d6446fccb548016cc" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell "mkdir /tmp/sexp && cd /tmp/sexp && opam switch create ./ ocaml-base-compiler.5.2.1 --no-install && opam install -y sexp && cd -"))

<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.2.1"}]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.3  (cached)
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-options-vanilla.1
-> retrieved ocaml-base-compiler.5.2.1  (cached)
-> installed ocaml-base-compiler.5.2.1
-> installed ocaml-config.3
-> installed ocaml.5.2.1
-> installed base-domains.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env)
The following actions will be performed:
=== install 101 packages
  - install angstrom                    0.16.1  [required by jsonaf]
  - install async                       v0.17.0 [required by sexp]
  - install async_kernel                v0.17.0 [required by async]
  - install async_log                   v0.17.0 [required by async]
  - install async_rpc_kernel            v0.17.0 [required by async]
  - install async_unix                  v0.17.0 [required by async]
  - install base                        v0.17.1 [required by jsonaf, sexp_select]
  - install base_bigstring              v0.17.0 [required by core]
  - install base_quickcheck             v0.17.0 [required by core]
  - install bigstringaf                 0.10.0  [required by angstrom, faraday]
  - install bin_prot                    v0.17.0 [required by core]
  - install capitalization              v0.17.0 [required by ppx_string_conv]
  - install conf-g++                    1.0     [required by re2]
  - install core                        v0.17.1 [required by sexp]
  - install core_kernel                 v0.17.0 [required by sexp]
  - install core_unix                   v0.17.0 [required by sexp]
  - install csexp                       1.5.2   [required by dune-configurator]
  - install cstruct                     6.2.0   [required by async_unix]
  - install csvfields                   v0.17.0 [required by sexp]
  - install dune                        3.18.0  [required by sexp]
  - install dune-configurator           3.18.0  [required by bigstringaf]
  - install expect_test_helpers_core    v0.17.0 [required by core_unix]
  - install faraday                     0.8.2   [required by jsonaf]
  - install fieldslib                   v0.17.0 [required by core]
  - install fmt                         0.10.0  [required by cstruct]
  - install gel                         v0.17.0 [required by async_rpc_kernel]
  - install int_repr                    v0.17.0 [required by core_kernel]
  - install jane-street-headers         v0.17.0 [required by core]
  - install jane_rope                   v0.17.0 [required by re2]
  - install jsonaf                      v0.17.0 [required by sexp]
  - install jst-config                  v0.17.0 [required by shell]
  - install num                         1.5-1   [required by csvfields]
  - install ocaml-compiler-libs         v0.17.0 [required by ppxlib]
  - install ocaml-syntax-shims          1.0.0   [required by angstrom]
  - install ocaml_intrinsics_kernel     v0.17.1 [required by base]
  - install ocamlbuild                  0.16.1  [required by uutf]
  - install ocamlfind                   1.9.8   [required by uutf]
  - install parsexp                     v0.17.0 [required by sexplib]
  - install ppx_assert                  v0.17.0 [required by core]
  - install ppx_base                    v0.17.0 [required by core]
  - install ppx_bench                   v0.17.0 [required by ppx_jane]
  - install ppx_bin_prot                v0.17.0 [required by ppx_jane]
  - install ppx_cold                    v0.17.0 [required by ppx_base]
  - install ppx_compare                 v0.17.0 [required by ppx_diff]
  - install ppx_custom_printf           v0.17.0 [required by ppx_jane]
  - install ppx_derivers                1.2.1   [required by ppxlib]
  - install ppx_diff                    v0.17.0 [required by core]
  - install ppx_disable_unused_warnings v0.17.0 [required by ppx_jane]
  - install ppx_enumerate               v0.17.0 [required by ppx_diff]
  - install ppx_expect                  v0.17.2 [required by ppx_jane]
  - install ppx_fields_conv             v0.17.0 [required by ppx_jane]
  - install ppx_fixed_literal           v0.17.0 [required by ppx_jane]
  - install ppx_globalize               v0.17.0 [required by ppx_base]
  - install ppx_hash                    v0.17.0 [required by core]
  - install ppx_here                    v0.17.0 [required by ppx_jane]
  - install ppx_ignore_instrumentation  v0.17.0 [required by ppx_jane]
  - install ppx_inline_test             v0.17.0 [required by core]
  - install ppx_jane                    v0.17.0 [required by sexp]
  - install ppx_let                     v0.17.0 [required by ppx_jane]
  - install ppx_log                     v0.17.0 [required by ppx_jane]
  - install ppx_module_timer            v0.17.0 [required by ppx_jane]
  - install ppx_optcomp                 v0.17.0 [required by core_kernel, core, async_unix]
  - install ppx_optional                v0.17.0 [required by ppx_jane]
  - install ppx_pipebang                v0.17.0 [required by ppx_jane]
  - install ppx_sexp_conv               v0.17.0 [required by core]
  - install ppx_sexp_message            v0.17.0 [required by core]
  - install ppx_sexp_value              v0.17.0 [required by ppx_jane]
  - install ppx_stable                  v0.17.0 [required by ppx_jane]
  - install ppx_stable_witness          v0.17.0 [required by ppx_jane]
  - install ppx_string                  v0.17.0 [required by ppx_jane]
  - install ppx_string_conv             v0.17.0 [required by ppx_jane]
  - install ppx_tydi                    v0.17.0 [required by ppx_jane]
  - install ppx_typerep_conv            v0.17.0 [required by ppx_jane]
  - install ppx_variants_conv           v0.17.0 [required by ppx_jane]
  - install ppxlib                      0.35.0  [required by ppx_diff]
  - install ppxlib_jane                 v0.17.0 [required by ppx_diff]
  - install protocol_version_header     v0.17.0 [required by async_rpc_kernel]
  - install re                          1.12.0  [required by expect_test_helpers_core]
  - install re2                         v0.17.0 [required by sexp]
  - install regex_parser_intf           v0.17.0 [required by re2]
  - install seq                         base    [required by re]
  - install sexp                        v0.17.0
  - install sexp_diff                   v0.17.0 [required by sexp]
  - install sexp_macro                  v0.17.0 [required by sexp]
  - install sexp_pretty                 v0.17.0 [required by sexp]
  - install sexp_select                 v0.17.0 [required by sexp]
  - install sexplib                     v0.17.0 [required by sexp]
  - install sexplib0                    v0.17.0 [required by base]
  - install shell                       v0.17.0 [required by sexp]
  - install spawn                       v0.17.0 [required by shell]
  - install splittable_random           v0.17.0 [required by core]
  - install stdio                       v0.17.0 [required by core]
  - install stdlib-shims                0.3.0   [required by ppxlib]
  - install textutils                   v0.17.0 [required by async, shell]
  - install time_now                    v0.17.0 [required by core]
  - install timezone                    v0.17.0 [required by async_log]
  - install topkg                       1.0.8   [required by uutf]
  - install typerep                     v0.17.1 [required by core]
  - install uopt                        v0.17.0 [required by core_kernel]
  - install uutf                        1.0.4   [required by textutils]
  - install variantslib                 v0.17.0 [required by core]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved async.v0.17.0  (cached)
-> retrieved async_kernel.v0.17.0  (cached)
-> retrieved async_log.v0.17.0  (cached)
-> retrieved async_rpc_kernel.v0.17.0  (cached)
-> retrieved async_unix.v0.17.0  (cached)
-> retrieved base.v0.17.1  (cached)
-> retrieved base_bigstring.v0.17.0  (cached)
-> retrieved base_quickcheck.v0.17.0  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved capitalization.v0.17.0  (cached)
-> retrieved bin_prot.v0.17.0  (cached)
-> retrieved core_kernel.v0.17.0  (cached)
-> retrieved core.v0.17.1  (cached)
-> installed conf-g++.1.0
-> retrieved core_unix.v0.17.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved csvfields.v0.17.0  (cached)
-> retrieved expect_test_helpers_core.v0.17.0  (cached)
-> retrieved faraday.0.8.2  (cached)
-> retrieved fieldslib.v0.17.0  (cached)
-> retrieved gel.v0.17.0  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved int_repr.v0.17.0  (cached)
-> retrieved jane-street-headers.v0.17.0  (cached)
-> retrieved jane_rope.v0.17.0  (cached)
-> retrieved jsonaf.v0.17.0  (cached)
-> retrieved jst-config.v0.17.0  (cached)
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved num.1.5-1  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved parsexp.v0.17.0  (cached)
-> retrieved ppx_assert.v0.17.0  (cached)
-> retrieved ppx_base.v0.17.0  (cached)
-> retrieved ppx_bench.v0.17.0  (cached)
-> retrieved ppx_bin_prot.v0.17.0  (cached)
-> retrieved ppx_cold.v0.17.0  (cached)
-> retrieved ppx_compare.v0.17.0  (cached)
-> retrieved ppx_custom_printf.v0.17.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_disable_unused_warnings.v0.17.0  (cached)
-> retrieved ppx_diff.v0.17.0  (cached)
-> retrieved ppx_enumerate.v0.17.0  (cached)
-> retrieved ppx_fields_conv.v0.17.0  (cached)
-> retrieved ppx_expect.v0.17.2  (cached)
-> retrieved ppx_fixed_literal.v0.17.0  (cached)
-> retrieved ppx_globalize.v0.17.0  (cached)
-> retrieved ppx_hash.v0.17.0  (cached)
-> retrieved ppx_here.v0.17.0  (cached)
-> retrieved ppx_ignore_instrumentation.v0.17.0  (cached)
-> retrieved ppx_inline_test.v0.17.0  (cached)
-> retrieved ppx_jane.v0.17.0  (cached)
-> retrieved ppx_let.v0.17.0  (cached)
-> retrieved ppx_log.v0.17.0  (cached)
-> retrieved dune.3.18.0, dune-configurator.3.18.0  (cached)
-> installed num.1.5-1
-> retrieved ppx_module_timer.v0.17.0  (cached)
-> retrieved ppx_optcomp.v0.17.0  (cached)
-> retrieved ppx_optional.v0.17.0  (cached)
-> retrieved ppx_pipebang.v0.17.0  (cached)
-> retrieved ppx_sexp_conv.v0.17.0  (cached)
-> retrieved ppx_sexp_message.v0.17.0  (cached)
-> retrieved ppx_sexp_value.v0.17.0  (cached)
-> retrieved ppx_stable.v0.17.0  (cached)
-> retrieved ppx_stable_witness.v0.17.0  (cached)
-> retrieved ppx_string.v0.17.0  (cached)
-> retrieved ppx_string_conv.v0.17.0  (cached)
-> retrieved ppx_tydi.v0.17.0  (cached)
-> retrieved ppx_typerep_conv.v0.17.0  (cached)
-> retrieved ppx_variants_conv.v0.17.0  (cached)
-> retrieved ppxlib_jane.v0.17.0  (cached)
-> retrieved protocol_version_header.v0.17.0  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved regex_parser_intf.v0.17.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re2.v0.17.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved sexp.v0.17.0  (cached)
-> retrieved sexp_diff.v0.17.0  (cached)
-> retrieved sexp_macro.v0.17.0  (cached)
-> retrieved sexp_pretty.v0.17.0  (cached)
-> retrieved sexp_select.v0.17.0  (cached)
-> retrieved sexplib.v0.17.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved shell.v0.17.0  (cached)
-> retrieved spawn.v0.17.0  (cached)
-> retrieved splittable_random.v0.17.0  (cached)
-> retrieved stdio.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved textutils.v0.17.0  (cached)
-> retrieved time_now.v0.17.0  (cached)
-> retrieved timezone.v0.17.0  (cached)
-> retrieved typerep.v0.17.1  (cached)
-> retrieved uopt.v0.17.0  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved variantslib.v0.17.0  (cached)
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed fmt.0.10.0
-> installed dune.3.18.0
-> installed jane-street-headers.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed re.1.12.0
-> installed sexplib0.v0.17.0
-> installed spawn.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed parsexp.v0.17.0
-> installed dune-configurator.3.18.0
-> installed bigstringaf.0.10.0
-> installed sexplib.v0.17.0
-> installed faraday.0.8.2
-> installed angstrom.0.16.1
-> installed base.v0.17.1
-> installed variantslib.v0.17.0
-> installed fieldslib.v0.17.0
-> installed regex_parser_intf.v0.17.0
-> installed stdio.v0.17.0
-> installed typerep.v0.17.1
-> installed ppxlib.0.35.0
-> installed ppxlib_jane.v0.17.0
-> installed ppx_optcomp.v0.17.0
-> installed ppx_cold.v0.17.0
-> installed ppx_disable_unused_warnings.v0.17.0
-> installed ppx_tydi.v0.17.0
-> installed ppx_here.v0.17.0
-> installed ppx_stable_witness.v0.17.0
-> installed ppx_typerep_conv.v0.17.0
-> installed ppx_variants_conv.v0.17.0
-> installed ppx_fields_conv.v0.17.0
-> installed ppx_stable.v0.17.0
-> installed ppx_pipebang.v0.17.0
-> installed ppx_ignore_instrumentation.v0.17.0
-> installed ppx_fixed_literal.v0.17.0
-> installed ppx_enumerate.v0.17.0
-> installed ppx_globalize.v0.17.0
-> installed ppx_compare.v0.17.0
-> installed ppx_optional.v0.17.0
-> installed ppx_sexp_conv.v0.17.0
-> installed ppx_let.v0.17.0
-> installed ppx_hash.v0.17.0
-> installed ppx_sexp_value.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed ppx_sexp_message.v0.17.0
-> installed ppx_custom_printf.v0.17.0
-> installed ppx_base.v0.17.0
-> installed capitalization.v0.17.0
-> installed jst-config.v0.17.0
-> installed sexp_pretty.v0.17.0
-> installed bin_prot.v0.17.0
-> installed ppx_string.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_bin_prot.v0.17.0
-> installed ppx_string_conv.v0.17.0
-> installed ppx_module_timer.v0.17.0
-> installed ppx_inline_test.v0.17.0
-> installed ppx_bench.v0.17.0
-> installed ppx_expect.v0.17.2
-> installed splittable_random.v0.17.0
-> installed ppx_log.v0.17.0
-> installed base_quickcheck.v0.17.0
-> installed ppx_jane.v0.17.0
-> installed uopt.v0.17.0
-> installed gel.v0.17.0
-> installed jane_rope.v0.17.0
-> installed jsonaf.v0.17.0
-> installed int_repr.v0.17.0
-> installed base_bigstring.v0.17.0
-> installed ppx_diff.v0.17.0
-> installed core.v0.17.1
-> installed csvfields.v0.17.0
-> installed protocol_version_header.v0.17.0
-> installed sexp_diff.v0.17.0
-> installed timezone.v0.17.0
-> installed expect_test_helpers_core.v0.17.0
-> installed core_kernel.v0.17.0
-> installed sexp_select.v0.17.0
-> installed async_kernel.v0.17.0
-> installed core_unix.v0.17.0
-> installed textutils.v0.17.0
-> installed async_rpc_kernel.v0.17.0
-> installed shell.v0.17.0
-> installed async_unix.v0.17.0
-> installed async_log.v0.17.0
-> installed async.v0.17.0
-> installed sexp_macro.v0.17.0
-> installed re2.v0.17.0
-> installed sexp.v0.17.0
Done.
# To update the current shell environment, run: eval $(opam env)
/
2025-04-13 09:26.50 ---> using "95d2bcbff24f258ba133e219dae1c524984b747ce96bdae346dd7a1157eb767a" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell  "PLACE=$(mktemp -d) && cd $PLACE && echo '(lang dune 3.17)\
               \n(package\
               \n  (name dummy)\
               \n  (allow_empty true)\
               \n  (depends (ocaml (= 5.3.0))))' > dune-project && PATH=$HOME/.local/bin:$PATH dune pkg lock && PATH=$HOME/.local/bin:$PATH dune build"))
Solution for dune.lock:
- ocaml.5.3.0
- ocaml-base-compiler.5.3.0
- ocaml-compiler.5.3.0
- ocaml-config.3
 Downloading ocaml-compiler.5.3.0
    Building ocaml-compiler.5.3.0
    Building ocaml-base-compiler.5.3.0
2025-04-13 09:26.50 ---> using "669eef4eb142fdb84229ce69e8814ebbd826ed332c1bacd859d632f84e513ccf" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
        (network host)
        (shell  "cd $HOME && opam source torch.0.17 && cd torch.0.17 && if [ -f opam ]; then mv opam torch.opam; fi && echo torch >> /tmp/packages-in-repo && for opam in *.opam; do echo ${opam%.opam} >> /tmp/packages-in-repo; done && sed -n 's/(name \\(.*\\))/\\1/p' < dune-project | sed 's/^[[:blank:]]*//;s/[[:blank:]]*$//' >> /tmp/packages-in-repo && while read package ; do opam show --raw ${package}.0.17 > ${package}.opam; done < /tmp/packages-in-repo && opam install ./ --depext-only --with-test --with-doc && opam install --dry-run --with-test ./torch.opam | sed -nE 's/(.*)- install ([^[:blank:]]*)(.*)/\\2/p' > /tmp/packages-via-opam && for opam in *.opam; do rm $opam; echo ${opam%.opam} >> /tmp/packages-locally-available; done && opam show --raw torch.0.17 > torch.opam && /tmp/sexp/_opam/bin/sexp change '(try (rewrite (package @X) OPAM-HEALTH-CHECK-DROP))' < dune-project | grep -v OPAM-HEALTH-CHECK-DROP > dune-project-new && mv dune-project-new dune-project && echo '(lang dune 3.17)\
               \n(lock_dir\
               \n (repositories overlay  default))\
               \n\
               \n(repository\
               \n (name default)\
               \n (url \"file:///home/opam/opam-repository\"))\
               \n\
               \n\
               \n' > dune-workspace && echo torch >> /tmp/packages-to-build && while read package ; do if grep --quiet $package /tmp/packages-via-opam ; then echo $package >> /tmp/packages-to-build ; fi ; done < /tmp/packages-locally-available && while read package ; do opam show --raw $package > $package.opam; done < /tmp/packages-to-build && while read package ; do if [ ! -f ${package}.opam ]; then echo \"opam-version: \\\"2.0\\\"\" > ${package}.opam; fi; done < /tmp/packages-locally-available && paste -s -d , /tmp/packages-to-build > /tmp/packages-for-dune && PATH=$HOME/.local/bin:$PATH dune pkg lock || (echo \"opam-health-check: Solve failed\" && exit 1)  && grep -v dependency_hash dune.lock/lock.dune > /tmp/lock.dune && mv /tmp/lock.dune dune.lock/lock.dune && PATH=$HOME/.local/bin:$PATH dune build --release --only-packages $(cat /tmp/packages-for-dune) || (echo \"opam-health-check: Build failed\" && exit 1)"))
Successfully extracted to /home/opam/torch.0.17

The following system packages will first need to be installed:
    libffi-dev pkg-config zlib1g-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config" "zlib1g-dev"
- Selecting previously unselected package libffi-dev:amd64.
- (Reading database ... 
- (Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19483 files and directories currently installed.)
- Preparing to unpack .../0-libffi-dev_3.4.7-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.7-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../1-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../2-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../3-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../4-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../5-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libffi-dev:amd64 (3.4.7-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-6) ...
Solution for dune.lock:
- base.v0.17.1
- base-threads.base
- base-unix.base
- base_bigstring.v0.17.0
- base_quickcheck.v0.17.0
- bigarray-compat.1.1.0
- bin_prot.v0.17.0
- capitalization.v0.17.0
- conf-libffi.2.0.0
- conf-pkg-config.4
- core.v0.17.1
- core_kernel.v0.17.0
- core_unix.v0.17.0
- csexp.1.5.2
- ctypes.0.23.0
- ctypes-foreign.0.23.0
- dune-configurator.3.18.0
- expect_test_helpers_core.v0.17.0
- fieldslib.v0.17.0
- gel.v0.17.0
- int_repr.v0.17.0
- integers.0.7.0
- jane-street-headers.v0.17.0
- jst-config.v0.17.0
- libtorch.2.1.2+linux-x86_64
- num.1.5-1
- ocaml.5.2.1
- ocaml-base-compiler.5.2.1
- ocaml-compiler-libs.v0.17.0
- ocaml-config.3
- ocaml_intrinsics_kernel.v0.17.1
- parsexp.v0.17.0
- ppx_assert.v0.17.0
- ppx_base.v0.17.0
- ppx_bench.v0.17.0
- ppx_bin_prot.v0.17.0
- ppx_cold.v0.17.0
- ppx_compare.v0.17.0
- ppx_custom_printf.v0.17.0
- ppx_derivers.1.2.1
- ppx_diff.v0.17.0
- ppx_disable_unused_warnings.v0.17.0
- ppx_enumerate.v0.17.0
- ppx_expect.v0.17.2
- ppx_fields_conv.v0.17.0
- ppx_fixed_literal.v0.17.0
- ppx_globalize.v0.17.0
- ppx_hash.v0.17.0
- ppx_here.v0.17.0
- ppx_ignore_instrumentation.v0.17.0
- ppx_inline_test.v0.17.0
- ppx_jane.v0.17.0
- ppx_let.v0.17.0
- ppx_log.v0.17.0
- ppx_module_timer.v0.17.0
- ppx_optcomp.v0.17.0
- ppx_optional.v0.17.0
- ppx_pipebang.v0.17.0
- ppx_sexp_conv.v0.17.0
- ppx_sexp_message.v0.17.0
- ppx_sexp_value.v0.17.0
- ppx_stable.v0.17.0
- ppx_stable_witness.v0.17.0
- ppx_string.v0.17.0
- ppx_string_conv.v0.17.0
- ppx_tydi.v0.17.0
- ppx_typerep_conv.v0.17.0
- ppx_variants_conv.v0.17.0
- ppxlib.0.35.0
- ppxlib_jane.v0.17.0
- re.1.12.0
- seq.base
- sexp_pretty.v0.17.0
- sexplib.v0.17.0
- sexplib0.v0.17.0
- spawn.v0.17.0
- splittable_random.v0.17.0
- stdio.v0.17.0
- stdlib-shims.0.3.0
- time_now.v0.17.0
- timezone.v0.17.0
- typerep.v0.17.1
- uopt.v0.17.0
- variantslib.v0.17.0
 Downloading ocaml-base-compiler.5.2.1
    Building ocaml-base-compiler.5.2.1
    Building libtorch.2.1.2+linux-x86_64
    Building base-unix.base
    Building conf-pkg-config.4
    Building conf-libffi.2.0.0
    Building ocaml-config.3
    Building ocaml.5.2.1
 Downloading bigarray-compat.1.1.0
    Building bigarray-compat.1.1.0
 Downloading csexp.1.5.2
    Building csexp.1.5.2
 Downloading stdlib-shims.0.3.0
    Building stdlib-shims.0.3.0
 Downloading integers.0.7.0
    Building integers.0.7.0
 Downloading dune-configurator.3.18.0
    Building dune-configurator.3.18.0
 Downloading ctypes.0.23.0
    Building ctypes.0.23.0
 Downloading ctypes-foreign.0.23.0
    Building ctypes-foreign.0.23.0
    Building base-threads.base
    Building seq.base
 Downloading ppx_derivers.1.2.1
    Building ppx_derivers.1.2.1
 Downloading sexplib0.v0.17.0
    Building sexplib0.v0.17.0
 Downloading ocaml-compiler-libs.v0.17.0
    Building ocaml-compiler-libs.v0.17.0
 Downloading jane-street-headers.v0.17.0
 Downloading ocaml_intrinsics_kernel.v0.17.1
    Building jane-street-headers.v0.17.0
    Building ocaml_intrinsics_kernel.v0.17.1
 Downloading num.1.5-1
    Building num.1.5-1
 Downloading spawn.v0.17.0
    Building spawn.v0.17.0
 Downloading re.1.12.0
    Building re.1.12.0
 Downloading base.v0.17.1
 Downloading parsexp.v0.17.0
    Building base.v0.17.1
    Building parsexp.v0.17.0
 Downloading ppxlib.0.35.0
    Building ppxlib.0.35.0
 Downloading sexplib.v0.17.0
    Building sexplib.v0.17.0
 Downloading stdio.v0.17.0
    Building stdio.v0.17.0
 Downloading fieldslib.v0.17.0
    Building fieldslib.v0.17.0
 Downloading typerep.v0.17.1
 Downloading variantslib.v0.17.0
    Building typerep.v0.17.1
    Building variantslib.v0.17.0
 Downloading ppx_here.v0.17.0
 Downloading ppx_cold.v0.17.0
 Downloading ppx_optcomp.v0.17.0
 Downloading ppx_stable.v0.17.0
 Downloading ppx_fixed_literal.v0.17.0
 Downloading ppx_typerep_conv.v0.17.0
 Downloading ppx_pipebang.v0.17.0
 Downloading ppx_ignore_instrumentation.v0.17.0
    Building ppx_here.v0.17.0
 Downloading ppx_disable_unused_warnings.v0.17.0
 Downloading ppx_variants_conv.v0.17.0
 Downloading ppxlib_jane.v0.17.0
 Downloading ppx_tydi.v0.17.0
    Building ppx_cold.v0.17.0
 Downloading ppx_fields_conv.v0.17.0
    Building ppx_optcomp.v0.17.0
 Downloading ppx_stable_witness.v0.17.0
    Building ppx_pipebang.v0.17.0
    Building ppx_stable.v0.17.0
    Building ppx_fixed_literal.v0.17.0
    Building ppx_typerep_conv.v0.17.0
    Building ppx_ignore_instrumentation.v0.17.0
    Building ppxlib_jane.v0.17.0
    Building ppx_variants_conv.v0.17.0
    Building ppx_disable_unused_warnings.v0.17.0
    Building ppx_tydi.v0.17.0
    Building ppx_fields_conv.v0.17.0
    Building ppx_stable_witness.v0.17.0
 Downloading ppx_enumerate.v0.17.0
 Downloading ppx_globalize.v0.17.0
 Downloading ppx_sexp_conv.v0.17.0
    Building ppx_enumerate.v0.17.0
    Building ppx_globalize.v0.17.0
 Downloading ppx_optional.v0.17.0
 Downloading ppx_compare.v0.17.0
    Building ppx_sexp_conv.v0.17.0
    Building ppx_optional.v0.17.0
    Building ppx_compare.v0.17.0
 Downloading ppx_let.v0.17.0
    Building ppx_let.v0.17.0
 Downloading ppx_hash.v0.17.0
 Downloading ppx_assert.v0.17.0
    Building ppx_hash.v0.17.0
 Downloading ppx_custom_printf.v0.17.0
 Downloading ppx_sexp_message.v0.17.0
 Downloading ppx_sexp_value.v0.17.0
    Building ppx_assert.v0.17.0
    Building ppx_custom_printf.v0.17.0
    Building ppx_sexp_message.v0.17.0
    Building ppx_sexp_value.v0.17.0
 Downloading ppx_base.v0.17.0
    Building ppx_base.v0.17.0
 Downloading jst-config.v0.17.0
    Building jst-config.v0.17.0
 Downloading bin_prot.v0.17.0
    Building bin_prot.v0.17.0
 Downloading ppx_string.v0.17.0
 Downloading capitalization.v0.17.0
 Downloading sexp_pretty.v0.17.0
    Building ppx_string.v0.17.0
    Building capitalization.v0.17.0
    Building sexp_pretty.v0.17.0
 Downloading time_now.v0.17.0
    Building time_now.v0.17.0
 Downloading ppx_bin_prot.v0.17.0
    Building ppx_bin_prot.v0.17.0
 Downloading ppx_inline_test.v0.17.0
 Downloading ppx_string_conv.v0.17.0
 Downloading ppx_module_timer.v0.17.0
    Building ppx_inline_test.v0.17.0
    Building ppx_string_conv.v0.17.0
    Building ppx_module_timer.v0.17.0
 Downloading ppx_expect.v0.17.2
 Downloading ppx_bench.v0.17.0
    Building ppx_bench.v0.17.0
    Building ppx_expect.v0.17.2
 Downloading splittable_random.v0.17.0
 Downloading ppx_log.v0.17.0
    Building splittable_random.v0.17.0
    Building ppx_log.v0.17.0
 Downloading base_quickcheck.v0.17.0
    Building base_quickcheck.v0.17.0
 Downloading ppx_jane.v0.17.0
    Building ppx_jane.v0.17.0
 Downloading int_repr.v0.17.0
 Downloading uopt.v0.17.0
 Downloading gel.v0.17.0
    Building int_repr.v0.17.0
    Building uopt.v0.17.0
    Building gel.v0.17.0
 Downloading ppx_diff.v0.17.0
 Downloading base_bigstring.v0.17.0
    Building ppx_diff.v0.17.0
    Building base_bigstring.v0.17.0
 Downloading core.v0.17.1
    Building core.v0.17.1
 Downloading timezone.v0.17.0
 Downloading expect_test_helpers_core.v0.17.0
 Downloading core_kernel.v0.17.0
    Building timezone.v0.17.0
    Building expect_test_helpers_core.v0.17.0
    Building core_kernel.v0.17.0
 Downloading core_unix.v0.17.0
    Building core_unix.v0.17.0
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/config/.discover.eobjs/byte -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/unix -I ../_private/default/.pkg/base/target/lib/base -I ../_private/default/.pkg/base/target/lib/base/base_internalhash_types -I ../_private/default/.pkg/base/target/lib/base/shadow_stdlib -I ../_private/default/.pkg/csexp/target/lib/csexp -I ../_private/default/.pkg/dune-configurator/target/lib/dune-configurator -I ../_private/default/.pkg/ocaml_intrinsics_kernel/target/lib/ocaml_intrinsics_kernel -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/stdio/target/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 Base.Caml
[since 2023-01] use Stdlib instead of Caml

File "src/config/discover.ml", line 11, characters 13-33:
11 | let ( /^ ) = Caml.Filename.concat
                  ^^^^^^^^^^^^^^^^^^^^
Error: Unbound module "Caml.Filename"
File "src/wrapper/dune", line 4, characters 11-22:
4 |   (c_names torch_stubs)
               ^^^^^^^^^^^
(cd _build/default/src/wrapper && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -pthread -g -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/unix -I ../../../_private/default/.pkg/bigarray-compat/target/lib/bigarray-compat -I ../../../_private/default/.pkg/ctypes-foreign/target/lib/ctypes-foreign -I ../../../_private/default/.pkg/ctypes/target/lib/ctypes -I ../../../_private/default/.pkg/ctypes/target/lib/ctypes/stubs -I ../../../_private/default/.pkg/integers/target/lib/integers -I ../../../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -o torch_stubs.o -c torch_stubs.c)
torch_stubs.c: In function 'caml__33_at_save':
torch_stubs.c:248:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  248 |    at_save(x234, x235);
      |                  ^~~~
In file included from torch_stubs.c:1:
torch_api.h:64:28: note: expected 'char *' but argument is of type 'const char *'
   64 | void at_save(tensor, char *filename);
      |                      ~~~~~~^~~~~~~~
torch_stubs.c: In function 'caml__34_at_load':
torch_stubs.c:254:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  254 |    void* x239 = at_load(x238);
      |                         ^~~~
torch_api.h:65:22: note: expected 'char *' but argument is of type 'const char *'
   65 | tensor at_load(char *filename);
      |                ~~~~~~^~~~~~~~
torch_stubs.c: In function 'caml__35_at_save_multi':
torch_stubs.c:263:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  263 |    at_save_multi(x244, x245, x246, x249);
      |                                    ^~~~
torch_api.h:70:78: note: expected 'char *' but argument is of type 'const char *'
   70 | void at_save_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
      |                                                                        ~~~~~~^~~~~~~~
torch_stubs.c: In function 'caml__36_at_load_multi':
torch_stubs.c:272:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  272 |    at_load_multi(x255, x256, x257, x260);
      |                                    ^~~~
torch_api.h:72:78: note: expected 'char *' but argument is of type 'const char *'
   72 | void at_load_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
      |                                                                        ~~~~~~^~~~~~~~
torch_stubs.c: In function 'caml__37_at_load_multi_':
torch_stubs.c:281:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  281 |    at_load_multi_(x266, x267, x268, x271);
      |                                     ^~~~
torch_api.h:74:79: note: expected 'char *' but argument is of type 'const char *'
   74 | void at_load_multi_(tensor *tensors, char **tensor_names, int ntensors, char *filename);
      |                                                                         ~~~~~~^~~~~~~~
torch_stubs.c: In function 'caml__38_at_load_callback':
torch_stubs.c:288:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  288 |    at_load_callback(x275, x276);
      |                     ^~~~
torch_api.h:76:29: note: expected 'char *' but argument is of type 'const char *'
   76 | void at_load_callback(char *filename, void (*f)(char *, tensor));
      |                       ~~~~~~^~~~~~~~
torch_stubs.c:288:27: error: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
  288 |    at_load_callback(x275, x276);
      |                           ^~~~
      |                           |
      |                           void (*)(const char *, void *)
torch_api.h:76:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)'
   76 | void at_load_callback(char *filename, void (*f)(char *, tensor));
      |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~
torch_stubs.c: In function 'caml__65_ati_string':
torch_stubs.c:483:28: warning: passing argument 1 of 'ati_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  483 |    void* x450 = ati_string(x449);
      |                            ^~~~
torch_api.h:133:19: note: expected 'char *' but argument is of type 'const char *'
  133 | ivalue ati_string(char *);
      |                   ^~~~~~
torch_stubs.c: In function 'caml__68_atm_load':
torch_stubs.c:501:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  501 |    void* x459 = atm_load(x458);
      |                          ^~~~
torch_api.h:120:17: note: expected 'char *' but argument is of type 'const char *'
  120 | module atm_load(char *);
      |                 ^~~~~~
torch_stubs.c: In function 'caml__155_atg__convolution_mode':
torch_stubs.c:1619:68: warning: passing argument 7 of 'atg__convolution_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1619 |    atg__convolution_mode(x1573, x1574, x1575, x1576, x1577, x1578, x1581,
      |                                                                    ^~~~~
In file included from torch_api.h:162:
torch_api_generated.h:86:125: note: expected 'char *' but argument is of type 'const char *'
   86 | 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__238_atg__linalg_check_errors':
torch_stubs.c:4143:36: warning: passing argument 2 of 'atg__linalg_check_errors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 4143 |    atg__linalg_check_errors(x4108, x4109, x4110);
      |                                    ^~~~~
torch_api_generated.h:169:51: note: expected 'char *' but argument is of type 'const char *'
  169 | void atg__linalg_check_errors(tensor info, char * api_name, int is_matrix);
      |                                            ~~~~~~~^~~~~~~~
torch_stubs.c: In function 'caml__241_atg__linalg_eigh':
torch_stubs.c:4171:35: warning: passing argument 3 of 'atg__linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 4171 |    atg__linalg_eigh(x4134, x4135, x4136, x4137);
      |                                   ^~~~~
torch_api_generated.h:172:50: note: expected 'char *' but argument is of type 'const char *'
  172 | void atg__linalg_eigh(tensor *, tensor A, char * UPLO, int compute_v);
      |                                           ~~~~~~~^~~~
torch_stubs.c: In function 'caml__242_atg__linalg_eigh_eigenvalues':
torch_stubs.c:4184:61: warning: passing argument 5 of 'atg__linalg_eigh_eigenvalues' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 4184 |    atg__linalg_eigh_eigenvalues(x4147, x4148, x4149, x4150, x4151, x4152);
      |                                                             ^~~~~
torch_api_generated.h:173:103: note: expected 'char *' but argument is of type 'const char *'
  173 | void atg__linalg_eigh_eigenvalues(tensor *, tensor eigenvalues, tensor eigenvectors, tensor A, char * UPLO, int compute_v);
      |                                                                                                ~~~~~~~^~~~
torch_stubs.c: In function 'caml__247_atg__linalg_svd':
torch_stubs.c:4285:48: warning: passing argument 5 of 'atg__linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 4285 |    atg__linalg_svd(x4238, x4239, x4240, x4243, x4246);
      |                                                ^~~~~
torch_api_generated.h:178:84: note: expected 'char *' but argument is of type 'const char *'
  178 | void atg__linalg_svd(tensor *, tensor A, int full_matrices, int compute_uv, char * driver);
      |                                                                             ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__248_atg__linalg_svd_u':
torch_stubs.c:4300:71: warning: passing argument 8 of 'atg__linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 4300 |    atg__linalg_svd_u(x4256, x4257, x4258, x4259, x4260, x4261, x4264, x4267);
      |                                                                       ^~~~~
torch_api_generated.h:179:117: note: expected 'char *' but argument is of type 'const char *'
  179 | void atg__linalg_svd_u(tensor *, tensor U, tensor S, tensor Vh, tensor A, int full_matrices, int compute_uv, char * driver);
      |                                                                                                              ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__326_atg__scatter_reduce':
torch_stubs.c:6039:59: warning: passing argument 6 of 'atg__scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 6039 |    atg__scatter_reduce(x5977, x5978, x5979, x5982, x5983, x5984, x5985);
      |                                                           ^~~~~
torch_api_generated.h:257:95: note: expected 'char *' but argument is of type 'const char *'
  257 | void atg__scatter_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce, int include_self);
      |                                                                                        ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__327_atg__scatter_reduce_':
torch_stubs.c:6066:60: warning: passing argument 6 of 'atg__scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 6066 |    atg__scatter_reduce_(x6003, x6004, x6005, x6008, x6009, x6010, x6011);
      |                                                            ^~~~~
torch_api_generated.h:258:96: note: expected 'char *' but argument is of type 'const char *'
  258 | void atg__scatter_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce, int include_self);
      |                                                                                         ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__328_atg__scatter_reduce_two_out':
torch_stubs.c:6096:32: warning: passing argument 7 of 'atg__scatter_reduce_two_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 6096 |                                x6038, x6039);
      |                                ^~~~~
torch_api_generated.h:259:115: note: expected 'char *' but argument is of type 'const char *'
  259 | void atg__scatter_reduce_two_out(tensor *, tensor out, tensor self, int64_t dim, tensor index, tensor src, char * reduce, int include_self);
      |                                                                                                            ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__329_atg__segment_reduce_backward':
torch_stubs.c:6128:61: warning: passing argument 5 of 'atg__segment_reduce_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 6128 |    atg__segment_reduce_backward(x6060, x6061, x6062, x6063, x6064, x6065,
      |                                                             ^~~~~
torch_api_generated.h:260:93: note: expected 'char *' but argument is of type 'const char *'
  260 | void atg__segment_reduce_backward(tensor *, tensor grad, tensor output, tensor data, char * reduce, tensor lengths, tensor offsets, int64_t axis, scalar initial);
      |                                                                                      ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__330_atg__segment_reduce_backward_out':
torch_stubs.c:6165:37: warning: passing argument 6 of 'atg__segment_reduce_backward_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 6165 |                                     x6096, x6097, x6098, x6099, x6102);
      |                                     ^~~~~
torch_api_generated.h:261:109: note: expected 'char *' but argument is of type 'const char *'
  261 | void atg__segment_reduce_backward_out(tensor *, tensor out, tensor grad, tensor output, tensor data, char * reduce, tensor lengths, tensor offsets, int64_t axis, scalar initial);
      |                                                                                                      ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__393_atg__test_ambiguous_defaults_b':
torch_stubs.c:7290:56: warning: passing argument 4 of 'atg__test_ambiguous_defaults_b' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 7290 |    atg__test_ambiguous_defaults_b(x7195, x7196, x7197, x7200);
      |                                                        ^~~~~
torch_api_generated.h:324:79: note: expected 'char *' but argument is of type 'const char *'
  324 | void atg__test_ambiguous_defaults_b(tensor *, tensor dummy, int64_t a, char * b);
      |                                                                        ~~~~~~~^
torch_stubs.c: In function 'caml__407_atg__test_string_default':
torch_stubs.c:7430:43: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 7430 |    atg__test_string_default(x7323, x7324, x7325, x7326);
      |                                           ^~~~~
torch_api_generated.h:338:62: note: expected 'char *' but argument is of type 'const char *'
  338 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b);
      |                                                       ~~~~~~~^
torch_stubs.c:7430:50: warning: passing argument 4 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 7430 |    atg__test_string_default(x7323, x7324, x7325, x7326);
      |                                                  ^~~~~
torch_api_generated.h:338:72: note: expected 'char *' but argument is of type 'const char *'
  338 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b);
      |                                                                 ~~~~~~~^
torch_stubs.c: In function 'caml__819_atg_conv1d_padding':
torch_stubs.c:14590:23: warning: passing argument 7 of 'atg_conv1d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
14590 |                       x14040, x14041, x14042, x14045);
      |                       ^~~~~~
torch_api_generated.h:750:122: note: expected 'char *' but argument is of type 'const char *'
  750 | 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__821_atg_conv2d_padding':
torch_stubs.c:14662:23: warning: passing argument 7 of 'atg_conv2d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
14662 |                       x14119, x14120, x14121, x14124);
      |                       ^~~~~~
torch_api_generated.h:752:122: note: expected 'char *' but argument is of type 'const char *'
  752 | 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__823_atg_conv3d_padding':
torch_stubs.c:14734:23: warning: passing argument 7 of 'atg_conv3d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
14734 |                       x14198, x14199, x14200, x14203);
      |                       ^~~~~~
torch_api_generated.h:754:122: note: expected 'char *' but argument is of type 'const char *'
  754 | 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__937_atg_div_out_mode':
torch_stubs.c:16974:53: warning: passing argument 5 of 'atg_div_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
16974 |    atg_div_out_mode(x16480, x16481, x16482, x16483, x16484);
      |                                                     ^~~~~~
torch_api_generated.h:868:79: note: expected 'char *' but argument is of type 'const char *'
  868 | void atg_div_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode);
      |                                                                        ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__940_atg_div_scalar_mode':
torch_stubs.c:17000:48: warning: passing argument 4 of 'atg_div_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17000 |    atg_div_scalar_mode(x16504, x16505, x16506, x16507);
      |                                                ^~~~~~
torch_api_generated.h:871:70: note: expected 'char *' but argument is of type 'const char *'
  871 | void atg_div_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode);
      |                                                               ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__941_atg_div_scalar_mode_':
torch_stubs.c:17010:49: warning: passing argument 4 of 'atg_div_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17010 |    atg_div_scalar_mode_(x16513, x16514, x16515, x16516);
      |                                                 ^~~~~~
torch_api_generated.h:872:71: note: expected 'char *' but argument is of type 'const char *'
  872 | void atg_div_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode);
      |                                                                ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__942_atg_div_scalar_mode_out':
torch_stubs.c:17022:60: warning: passing argument 5 of 'atg_div_scalar_mode_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17022 |    atg_div_scalar_mode_out(x16523, x16524, x16525, x16526, x16527);
      |                                                            ^~~~~~
torch_api_generated.h:873:86: note: expected 'char *' but argument is of type 'const char *'
  873 | void atg_div_scalar_mode_out(tensor *, tensor out, tensor self, scalar other, char * rounding_mode);
      |                                                                               ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__944_atg_div_tensor_mode':
torch_stubs.c:17042:48: warning: passing argument 4 of 'atg_div_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17042 |    atg_div_tensor_mode(x16542, x16543, x16544, x16545);
      |                                                ^~~~~~
torch_api_generated.h:875:70: note: expected 'char *' but argument is of type 'const char *'
  875 | void atg_div_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode);
      |                                                               ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__945_atg_div_tensor_mode_':
torch_stubs.c:17052:49: warning: passing argument 4 of 'atg_div_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17052 |    atg_div_tensor_mode_(x16551, x16552, x16553, x16554);
      |                                                 ^~~~~~
torch_api_generated.h:876:71: note: expected 'char *' but argument is of type 'const char *'
  876 | void atg_div_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode);
      |                                                                ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__949_atg_divide_out_mode':
torch_stubs.c:17089:56: warning: passing argument 5 of 'atg_divide_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17089 |    atg_divide_out_mode(x16584, x16585, x16586, x16587, x16588);
      |                                                        ^~~~~~
torch_api_generated.h:880:82: note: expected 'char *' but argument is of type 'const char *'
  880 | void atg_divide_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode);
      |                                                                           ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__952_atg_divide_scalar_mode':
torch_stubs.c:17115:51: warning: passing argument 4 of 'atg_divide_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17115 |    atg_divide_scalar_mode(x16608, x16609, x16610, x16611);
      |                                                   ^~~~~~
torch_api_generated.h:883:73: note: expected 'char *' but argument is of type 'const char *'
  883 | void atg_divide_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode);
      |                                                                  ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__953_atg_divide_scalar_mode_':
torch_stubs.c:17125:52: warning: passing argument 4 of 'atg_divide_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17125 |    atg_divide_scalar_mode_(x16617, x16618, x16619, x16620);
      |                                                    ^~~~~~
torch_api_generated.h:884:74: note: expected 'char *' but argument is of type 'const char *'
  884 | void atg_divide_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode);
      |                                                                   ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__954_atg_divide_tensor_mode':
torch_stubs.c:17135:51: warning: passing argument 4 of 'atg_divide_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17135 |    atg_divide_tensor_mode(x16626, x16627, x16628, x16629);
      |                                                   ^~~~~~
torch_api_generated.h:885:73: note: expected 'char *' but argument is of type 'const char *'
  885 | void atg_divide_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode);
      |                                                                  ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__955_atg_divide_tensor_mode_':
torch_stubs.c:17145:52: warning: passing argument 4 of 'atg_divide_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17145 |    atg_divide_tensor_mode_(x16635, x16636, x16637, x16638);
      |                                                    ^~~~~~
torch_api_generated.h:886:74: note: expected 'char *' but argument is of type 'const char *'
  886 | void atg_divide_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode);
      |                                                                   ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__964_atg_einsum':
torch_stubs.c:17228:23: warning: passing argument 2 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
17228 |    atg_einsum(x16724, x16725, x16726, x16727, x16730, x16731);
      |                       ^~~~~~
torch_api_generated.h:895:34: note: expected 'char *' but argument is of type 'const char *'
  895 | void atg_einsum(tensor *, char * equation, tensor *tensors_data, int tensors_len, int64_t *path_data, int path_len);
      |                           ~~~~~~~^~~~~~~~
torch_stubs.c: In function 'caml__1044_atg_fft_fft':
torch_stubs.c:18495:56: warning: passing argument 6 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18495 |    atg_fft_fft(x17892, x17893, x17894, x17897, x17900, x17903);
      |                                                        ^~~~~~
torch_api_generated.h:975:86: note: expected 'char *' but argument is of type 'const char *'
  975 | void atg_fft_fft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
      |                                                                               ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1045_atg_fft_fft2':
torch_stubs.c:18520:65: warning: passing argument 7 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18520 |    atg_fft_fft2(x17918, x17919, x17920, x17921, x17924, x17925, x17928);
      |                                                                 ^~~~~~
torch_api_generated.h:976:109: note: expected 'char *' but argument is of type 'const char *'
  976 | 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__1046_atg_fft_fft2_out':
torch_stubs.c:18549:21: warning: passing argument 8 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18549 |                     x17956);
      |                     ^~~~~~
torch_api_generated.h:977:125: note: expected 'char *' but argument is of type 'const char *'
  977 | 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__1047_atg_fft_fft_out':
torch_stubs.c:18577:68: warning: passing argument 7 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18577 |    atg_fft_fft_out(x17973, x17974, x17975, x17976, x17979, x17982, x17985);
      |                                                                    ^~~~~~
torch_api_generated.h:978:102: note: expected 'char *' but argument is of type 'const char *'
  978 | void atg_fft_fft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
      |                                                                                               ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1050_atg_fft_fftn':
torch_stubs.c:18625:65: warning: passing argument 7 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18625 |    atg_fft_fftn(x18033, x18034, x18035, x18036, x18039, x18040, x18043);
      |                                                                 ^~~~~~
torch_api_generated.h:981:109: note: expected 'char *' but argument is of type 'const char *'
  981 | 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__1051_atg_fft_fftn_out':
torch_stubs.c:18654:21: warning: passing argument 8 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18654 |                     x18071);
      |                     ^~~~~~
torch_api_generated.h:982:125: note: expected 'char *' but argument is of type 'const char *'
  982 | 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__1053_atg_fft_hfft':
torch_stubs.c:18690:57: warning: passing argument 6 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18690 |    atg_fft_hfft(x18098, x18099, x18100, x18103, x18106, x18109);
      |                                                         ^~~~~~
torch_api_generated.h:984:87: note: expected 'char *' but argument is of type 'const char *'
  984 | void atg_fft_hfft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
      |                                                                                ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1054_atg_fft_hfft2':
torch_stubs.c:18715:66: warning: passing argument 7 of 'atg_fft_hfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18715 |    atg_fft_hfft2(x18124, x18125, x18126, x18127, x18130, x18131, x18134);
      |                                                                  ^~~~~~
torch_api_generated.h:985:110: note: expected 'char *' but argument is of type 'const char *'
  985 | void atg_fft_hfft2(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__1055_atg_fft_hfft2_out':
torch_stubs.c:18744:30: warning: passing argument 8 of 'atg_fft_hfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18744 |                      x18159, x18162);
      |                              ^~~~~~
torch_api_generated.h:986:126: note: expected 'char *' but argument is of type 'const char *'
  986 | void atg_fft_hfft2_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__1056_atg_fft_hfft_out':
torch_stubs.c:18772:69: warning: passing argument 7 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18772 |    atg_fft_hfft_out(x18179, x18180, x18181, x18182, x18185, x18188, x18191);
      |                                                                     ^~~~~~
torch_api_generated.h:987:103: note: expected 'char *' but argument is of type 'const char *'
  987 | void atg_fft_hfft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
      |                                                                                                ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1057_atg_fft_hfftn':
torch_stubs.c:18799:66: warning: passing argument 7 of 'atg_fft_hfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18799 |    atg_fft_hfftn(x18207, x18208, x18209, x18210, x18213, x18214, x18217);
      |                                                                  ^~~~~~
torch_api_generated.h:988:110: note: expected 'char *' but argument is of type 'const char *'
  988 | void atg_fft_hfftn(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__1058_atg_fft_hfftn_out':
torch_stubs.c:18828:30: warning: passing argument 8 of 'atg_fft_hfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18828 |                      x18242, x18245);
      |                              ^~~~~~
torch_api_generated.h:989:126: note: expected 'char *' but argument is of type 'const char *'
  989 | void atg_fft_hfftn_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__1059_atg_fft_ifft':
torch_stubs.c:18854:57: warning: passing argument 6 of 'atg_fft_ifft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18854 |    atg_fft_ifft(x18261, x18262, x18263, x18266, x18269, x18272);
      |                                                         ^~~~~~
torch_api_generated.h:990:87: note: expected 'char *' but argument is of type 'const char *'
  990 | void atg_fft_ifft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
      |                                                                                ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1060_atg_fft_ifft2':
torch_stubs.c:18879:66: warning: passing argument 7 of 'atg_fft_ifft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18879 |    atg_fft_ifft2(x18287, x18288, x18289, x18290, x18293, x18294, x18297);
      |                                                                  ^~~~~~
torch_api_generated.h:991:110: note: expected 'char *' but argument is of type 'const char *'
  991 | 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__1061_atg_fft_ifft2_out':
torch_stubs.c:18908:30: warning: passing argument 8 of 'atg_fft_ifft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18908 |                      x18322, x18325);
      |                              ^~~~~~
torch_api_generated.h:992:126: note: expected 'char *' but argument is of type 'const char *'
  992 | 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__1062_atg_fft_ifft_out':
torch_stubs.c:18936:69: warning: passing argument 7 of 'atg_fft_ifft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18936 |    atg_fft_ifft_out(x18342, x18343, x18344, x18345, x18348, x18351, x18354);
      |                                                                     ^~~~~~
torch_api_generated.h:993:103: note: expected 'char *' but argument is of type 'const char *'
  993 | void atg_fft_ifft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
      |                                                                                                ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1063_atg_fft_ifftn':
torch_stubs.c:18963:66: warning: passing argument 7 of 'atg_fft_ifftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18963 |    atg_fft_ifftn(x18370, x18371, x18372, x18373, x18376, x18377, x18380);
      |                                                                  ^~~~~~
torch_api_generated.h:994:110: note: expected 'char *' but argument is of type 'const char *'
  994 | 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__1064_atg_fft_ifftn_out':
torch_stubs.c:18992:30: warning: passing argument 8 of 'atg_fft_ifftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
18992 |                      x18405, x18408);
      |                              ^~~~~~
torch_api_generated.h:995:126: note: expected 'char *' but argument is of type 'const char *'
  995 | 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__1066_atg_fft_ihfft':
torch_stubs.c:19028:58: warning: passing argument 6 of 'atg_fft_ihfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19028 |    atg_fft_ihfft(x18435, x18436, x18437, x18440, x18443, x18446);
      |                                                          ^~~~~~
torch_api_generated.h:997:88: note: expected 'char *' but argument is of type 'const char *'
  997 | void atg_fft_ihfft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
      |                                                                                 ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1067_atg_fft_ihfft2':
torch_stubs.c:19053:67: warning: passing argument 7 of 'atg_fft_ihfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19053 |    atg_fft_ihfft2(x18461, x18462, x18463, x18464, x18467, x18468, x18471);
      |                                                                   ^~~~~~
torch_api_generated.h:998:111: note: expected 'char *' but argument is of type 'const char *'
  998 | void atg_fft_ihfft2(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__1068_atg_fft_ihfft2_out':
torch_stubs.c:19082:31: warning: passing argument 8 of 'atg_fft_ihfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19082 |                       x18496, x18499);
      |                               ^~~~~~
torch_api_generated.h:999:127: note: expected 'char *' but argument is of type 'const char *'
  999 | void atg_fft_ihfft2_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__1069_atg_fft_ihfft_out':
torch_stubs.c:19110:70: warning: passing argument 7 of 'atg_fft_ihfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19110 |    atg_fft_ihfft_out(x18516, x18517, x18518, x18519, x18522, x18525, x18528);
      |                                                                      ^~~~~~
torch_api_generated.h:1000:104: note: expected 'char *' but argument is of type 'const char *'
 1000 | void atg_fft_ihfft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
      |                                                                                                 ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1070_atg_fft_ihfftn':
torch_stubs.c:19137:67: warning: passing argument 7 of 'atg_fft_ihfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19137 |    atg_fft_ihfftn(x18544, x18545, x18546, x18547, x18550, x18551, x18554);
      |                                                                   ^~~~~~
torch_api_generated.h:1001:111: note: expected 'char *' but argument is of type 'const char *'
 1001 | void atg_fft_ihfftn(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__1071_atg_fft_ihfftn_out':
torch_stubs.c:19166:31: warning: passing argument 8 of 'atg_fft_ihfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19166 |                       x18579, x18582);
      |                               ^~~~~~
torch_api_generated.h:1002:127: note: expected 'char *' but argument is of type 'const char *'
 1002 | void atg_fft_ihfftn_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__1072_atg_fft_irfft':
torch_stubs.c:19192:58: warning: passing argument 6 of 'atg_fft_irfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19192 |    atg_fft_irfft(x18598, x18599, x18600, x18603, x18606, x18609);
      |                                                          ^~~~~~
torch_api_generated.h:1003:88: note: expected 'char *' but argument is of type 'const char *'
 1003 | void atg_fft_irfft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
      |                                                                                 ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1073_atg_fft_irfft2':
torch_stubs.c:19217:67: warning: passing argument 7 of 'atg_fft_irfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19217 |    atg_fft_irfft2(x18624, x18625, x18626, x18627, x18630, x18631, x18634);
      |                                                                   ^~~~~~
torch_api_generated.h:1004:111: note: expected 'char *' but argument is of type 'const char *'
 1004 | 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__1074_atg_fft_irfft2_out':
torch_stubs.c:19246:31: warning: passing argument 8 of 'atg_fft_irfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19246 |                       x18659, x18662);
      |                               ^~~~~~
torch_api_generated.h:1005:127: note: expected 'char *' but argument is of type 'const char *'
 1005 | 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__1075_atg_fft_irfft_out':
torch_stubs.c:19274:70: warning: passing argument 7 of 'atg_fft_irfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19274 |    atg_fft_irfft_out(x18679, x18680, x18681, x18682, x18685, x18688, x18691);
      |                                                                      ^~~~~~
torch_api_generated.h:1006:104: note: expected 'char *' but argument is of type 'const char *'
 1006 | void atg_fft_irfft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
      |                                                                                                 ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1076_atg_fft_irfftn':
torch_stubs.c:19301:67: warning: passing argument 7 of 'atg_fft_irfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19301 |    atg_fft_irfftn(x18707, x18708, x18709, x18710, x18713, x18714, x18717);
      |                                                                   ^~~~~~
torch_api_generated.h:1007:111: note: expected 'char *' but argument is of type 'const char *'
 1007 | 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__1077_atg_fft_irfftn_out':
torch_stubs.c:19330:31: warning: passing argument 8 of 'atg_fft_irfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19330 |                       x18742, x18745);
      |                               ^~~~~~
torch_api_generated.h:1008:127: note: expected 'char *' but argument is of type 'const char *'
 1008 | 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__1078_atg_fft_rfft':
torch_stubs.c:19356:57: warning: passing argument 6 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19356 |    atg_fft_rfft(x18761, x18762, x18763, x18766, x18769, x18772);
      |                                                         ^~~~~~
torch_api_generated.h:1009:87: note: expected 'char *' but argument is of type 'const char *'
 1009 | void atg_fft_rfft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
      |                                                                                ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1079_atg_fft_rfft2':
torch_stubs.c:19381:66: warning: passing argument 7 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19381 |    atg_fft_rfft2(x18787, x18788, x18789, x18790, x18793, x18794, x18797);
      |                                                                  ^~~~~~
torch_api_generated.h:1010:110: note: expected 'char *' but argument is of type 'const char *'
 1010 | 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__1080_atg_fft_rfft2_out':
torch_stubs.c:19410:30: warning: passing argument 8 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19410 |                      x18822, x18825);
      |                              ^~~~~~
torch_api_generated.h:1011:126: note: expected 'char *' but argument is of type 'const char *'
 1011 | 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__1081_atg_fft_rfft_out':
torch_stubs.c:19438:69: warning: passing argument 7 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19438 |    atg_fft_rfft_out(x18842, x18843, x18844, x18845, x18848, x18851, x18854);
      |                                                                     ^~~~~~
torch_api_generated.h:1012:103: note: expected 'char *' but argument is of type 'const char *'
 1012 | void atg_fft_rfft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
      |                                                                                                ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1084_atg_fft_rfftn':
torch_stubs.c:19486:66: warning: passing argument 7 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19486 |    atg_fft_rfftn(x18902, x18903, x18904, x18905, x18908, x18909, x18912);
      |                                                                  ^~~~~~
torch_api_generated.h:1015:110: note: expected 'char *' but argument is of type 'const char *'
 1015 | 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__1085_atg_fft_rfftn_out':
torch_stubs.c:19515:30: warning: passing argument 8 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
19515 |                      x18937, x18940);
      |                              ^~~~~~
torch_api_generated.h:1016:126: note: expected 'char *' but argument is of type 'const char *'
 1016 | 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__1144_atg_from_file':
torch_stubs.c:20295:26: warning: passing argument 2 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
20295 |    atg_from_file(x19593, x19594, x19595, x19598, x19601, x19604, x19607);
      |                          ^~~~~~
torch_api_generated.h:1075:37: note: expected 'char *' but argument is of type 'const char *'
 1075 | void atg_from_file(tensor *, char * filename, int shared, int64_t size_v, int size_null, int options_kind, int options_device);
      |                              ~~~~~~~^~~~~~~~
torch_stubs.c: In function 'caml__1145_atg_from_file_out':
torch_stubs.c:20320:38: warning: passing argument 3 of 'atg_from_file_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
20320 |    atg_from_file_out(x19624, x19625, x19626, x19627, x19630, x19633);
      |                                      ^~~~~~
torch_api_generated.h:1076:53: note: expected 'char *' but argument is of type 'const char *'
 1076 | void atg_from_file_out(tensor *, tensor out, char * filename, int shared, int64_t size_v, int size_null);
      |                                              ~~~~~~~^~~~~~~~
torch_stubs.c: In function 'caml__1163_atg_gelu':
torch_stubs.c:20588:29: warning: passing argument 3 of 'atg_gelu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
20588 |    atg_gelu(x19885, x19886, x19887);
      |                             ^~~~~~
torch_api_generated.h:1094:45: note: expected 'char *' but argument is of type 'const char *'
 1094 | void atg_gelu(tensor *, tensor self, char * approximate);
      |                                      ~~~~~~~^~~~~~~~~~~
torch_stubs.c: In function 'caml__1164_atg_gelu_':
torch_stubs.c:20596:30: warning: passing argument 3 of 'atg_gelu_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
20596 |    atg_gelu_(x19892, x19893, x19894);
      |                              ^~~~~~
torch_api_generated.h:1095:46: note: expected 'char *' but argument is of type 'const char *'
 1095 | void atg_gelu_(tensor *, tensor self, char * approximate);
      |                                       ~~~~~~~^~~~~~~~~~~
torch_stubs.c: In function 'caml__1165_atg_gelu_backward':
torch_stubs.c:20606:46: warning: passing argument 4 of 'atg_gelu_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
20606 |    atg_gelu_backward(x19900, x19901, x19902, x19903);
      |                                              ^~~~~~
torch_api_generated.h:1096:74: note: expected 'char *' but argument is of type 'const char *'
 1096 | void atg_gelu_backward(tensor *, tensor grad_output, tensor self, char * approximate);
      |                                                                   ~~~~~~~^~~~~~~~~~~
torch_stubs.c: In function 'caml__1166_atg_gelu_backward_grad_input':
torch_stubs.c:20618:65: warning: passing argument 5 of 'atg_gelu_backward_grad_input' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
20618 |    atg_gelu_backward_grad_input(x19910, x19911, x19912, x19913, x19914);
      |                                                                 ^~~~~~
torch_api_generated.h:1097:104: note: expected 'char *' but argument is of type 'const char *'
 1097 | void atg_gelu_backward_grad_input(tensor *, tensor grad_input, tensor grad_output, tensor self, char * approximate);
      |                                                                                                 ~~~~~~~^~~~~~~~~~~
torch_stubs.c: In function 'caml__1167_atg_gelu_out':
torch_stubs.c:20628:41: warning: passing argument 4 of 'atg_gelu_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
20628 |    atg_gelu_out(x19920, x19921, x19922, x19923);
      |                                         ^~~~~~
torch_api_generated.h:1098:61: note: expected 'char *' but argument is of type 'const char *'
 1098 | void atg_gelu_out(tensor *, tensor out, tensor self, char * approximate);
      |                                                      ~~~~~~~^~~~~~~~~~~
torch_stubs.c: In function 'caml__1289_atg_index_reduce':
torch_stubs.c:22293:61: warning: passing argument 6 of 'atg_index_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
22293 |    atg_index_reduce(x21542, x21543, x21544, x21547, x21548, x21549, x21550);
      |                                                             ^~~~~~
torch_api_generated.h:1220:95: note: expected 'char *' but argument is of type 'const char *'
 1220 | void atg_index_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor source, char * reduce, int include_self);
      |                                                                                        ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__1290_atg_index_reduce_':
torch_stubs.c:22320:62: warning: passing argument 6 of 'atg_index_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
22320 |    atg_index_reduce_(x21568, x21569, x21570, x21573, x21574, x21575, x21576);
      |                                                              ^~~~~~
torch_api_generated.h:1221:96: note: expected 'char *' but argument is of type 'const char *'
 1221 | void atg_index_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor source, char * reduce, int include_self);
      |                                                                                         ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__1291_atg_index_reduce_out':
torch_stubs.c:22350:25: warning: passing argument 7 of 'atg_index_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
22350 |                         x21603, x21604);
      |                         ^~~~~~
torch_api_generated.h:1222:111: note: expected 'char *' but argument is of type 'const char *'
 1222 | void atg_index_reduce_out(tensor *, tensor out, tensor self, int64_t dim, tensor index, tensor source, char * reduce, int include_self);
      |                                                                                                        ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__1387_atg_linalg_cond_p_str':
torch_stubs.c:23457:42: warning: passing argument 3 of 'atg_linalg_cond_p_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
23457 |    atg_linalg_cond_p_str(x22675, x22676, x22677);
      |                                          ^~~~~~
torch_api_generated.h:1318:58: note: expected 'char *' but argument is of type 'const char *'
 1318 | void atg_linalg_cond_p_str(tensor *, tensor self, char * p);
      |                                                   ~~~~~~~^
torch_stubs.c: In function 'caml__1388_atg_linalg_cond_p_str_out':
torch_stubs.c:23467:54: warning: passing argument 4 of 'atg_linalg_cond_p_str_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
23467 |    atg_linalg_cond_p_str_out(x22683, x22684, x22685, x22686);
      |                                                      ^~~~~~
torch_api_generated.h:1319:74: note: expected 'char *' but argument is of type 'const char *'
 1319 | void atg_linalg_cond_p_str_out(tensor *, tensor out, tensor self, char * p);
      |                                                                   ~~~~~~~^
torch_stubs.c: In function 'caml__1396_atg_linalg_eigh':
torch_stubs.c:23541:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
23541 |    atg_linalg_eigh(x22758, x22759, x22760);
      |                                    ^~~~~~
torch_api_generated.h:1327:52: note: expected 'char *' but argument is of type 'const char *'
 1327 | void atg_linalg_eigh(tensor *, tensor self, char * UPLO);
      |                                             ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1397_atg_linalg_eigh_eigvals':
torch_stubs.c:23553:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
23553 |    atg_linalg_eigh_eigvals(x22767, x22768, x22769, x22770, x22771);
      |                                                            ^~~~~~
torch_api_generated.h:1328:92: note: expected 'char *' but argument is of type 'const char *'
 1328 | void atg_linalg_eigh_eigvals(tensor *, tensor eigvals, tensor eigvecs, tensor self, char * UPLO);
      |                                                                                     ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1400_atg_linalg_eigvalsh':
torch_stubs.c:23578:40: warning: passing argument 3 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
23578 |    atg_linalg_eigvalsh(x22788, x22789, x22790);
      |                                        ^~~~~~
torch_api_generated.h:1331:56: note: expected 'char *' but argument is of type 'const char *'
 1331 | void atg_linalg_eigvalsh(tensor *, tensor self, char * UPLO);
      |                                                 ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1401_atg_linalg_eigvalsh_out':
torch_stubs.c:23588:52: warning: passing argument 4 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
23588 |    atg_linalg_eigvalsh_out(x22796, x22797, x22798, x22799);
      |                                                    ^~~~~~
torch_api_generated.h:1332:72: note: expected 'char *' but argument is of type 'const char *'
 1332 | void atg_linalg_eigvalsh_out(tensor *, tensor out, tensor self, char * UPLO);
      |                                                                 ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1414_atg_linalg_lstsq':
torch_stubs.c:23754:61: warning: passing argument 6 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
23754 |    atg_linalg_lstsq(x22952, x22953, x22954, x22955, x22958, x22961);
      |                                                             ^~~~~~
torch_api_generated.h:1345:95: note: expected 'char *' but argument is of type 'const char *'
 1345 | void atg_linalg_lstsq(tensor *, tensor self, tensor b, double rcond_v, int rcond_null, char * driver);
      |                                                                                        ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__1415_atg_linalg_lstsq_out':
torch_stubs.c:23786:49: warning: passing argument 10 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
23786 |                         x22985, x22986, x22989, x22992);
      |                                                 ^~~~~~
torch_api_generated.h:1346:171: note: expected 'char *' but argument is of type 'const char *'
 1346 | void atg_linalg_lstsq_out(tensor *, tensor solution, tensor residuals, tensor rank, tensor singular_values, tensor self, tensor b, double rcond_v, int rcond_null, char * driver);
      |                                                                                                                                                                    ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__1448_atg_linalg_qr':
torch_stubs.c:24352:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
24352 |    atg_linalg_qr(x23521, x23522, x23523);
      |                                  ^~~~~~
torch_api_generated.h:1379:47: note: expected 'char *' but argument is of type 'const char *'
 1379 | void atg_linalg_qr(tensor *, tensor A, char * mode);
      |                                        ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1449_atg_linalg_qr_out':
torch_stubs.c:24363:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
24363 |    atg_linalg_qr_out(x23530, x23531, x23532, x23533, x23534);
      |                                                      ^~~~~~
torch_api_generated.h:1380:71: note: expected 'char *' but argument is of type 'const char *'
 1380 | void atg_linalg_qr_out(tensor *, tensor Q, tensor R, tensor A, char * mode);
      |                                                                ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1458_atg_linalg_svd':
torch_stubs.c:24509:43: warning: passing argument 4 of 'atg_linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
24509 |    atg_linalg_svd(x23672, x23673, x23674, x23677);
      |                                           ^~~~~~
torch_api_generated.h:1389:67: note: expected 'char *' but argument is of type 'const char *'
 1389 | void atg_linalg_svd(tensor *, tensor A, int full_matrices, char * driver);
      |                                                            ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__1459_atg_linalg_svd_u':
torch_stubs.c:24523:69: warning: passing argument 7 of 'atg_linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
24523 |    atg_linalg_svd_u(x23686, x23687, x23688, x23689, x23690, x23691, x23694);
      |                                                                     ^~~~~~
torch_api_generated.h:1390:100: note: expected 'char *' but argument is of type 'const char *'
 1390 | void atg_linalg_svd_u(tensor *, tensor U, tensor S, tensor Vh, tensor A, int full_matrices, char * driver);
      |                                                                                             ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__1460_atg_linalg_svdvals':
torch_stubs.c:24544:39: warning: passing argument 3 of 'atg_linalg_svdvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
24544 |    atg_linalg_svdvals(x23706, x23707, x23708);
      |                                       ^~~~~~
torch_api_generated.h:1391:52: note: expected 'char *' but argument is of type 'const char *'
 1391 | void atg_linalg_svdvals(tensor *, tensor A, char * driver);
      |                                             ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__1461_atg_linalg_svdvals_out':
torch_stubs.c:24554:51: warning: passing argument 4 of 'atg_linalg_svdvals_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
24554 |    atg_linalg_svdvals_out(x23714, x23715, x23716, x23717);
      |                                                   ^~~~~~
torch_api_generated.h:1392:68: note: expected 'char *' but argument is of type 'const char *'
 1392 | void atg_linalg_svdvals_out(tensor *, tensor out, tensor A, char * driver);
      |                                                             ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__1587_atg_meshgrid_indexing':
torch_stubs.c:26591:58: warning: passing argument 3 of 'atg_meshgrid_indexing' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
26591 |    void** x25736 = atg_meshgrid_indexing(x25731, x25732, x25735);
      |                                                          ^~~~~~
torch_api_generated.h:1518:77: note: expected 'char *' but argument is of type 'const char *'
 1518 | tensor *atg_meshgrid_indexing(tensor *tensors_data, int tensors_len, char * indexing);
      |                                                                      ~~~~~~~^~~~~~~~
torch_stubs.c: In function 'caml__1688_atg_nanquantile':
torch_stubs.c:29023:68: warning: passing argument 7 of 'atg_nanquantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
29023 |    atg_nanquantile(x28127, x28128, x28129, x28130, x28133, x28136, x28139);
      |                                                                    ^~~~~~
torch_api_generated.h:1619:104: note: expected 'char *' but argument is of type 'const char *'
 1619 | void atg_nanquantile(tensor *, tensor self, tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
      |                                                                                                 ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__1689_atg_nanquantile_out':
torch_stubs.c:29053:32: warning: passing argument 8 of 'atg_nanquantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
29053 |                        x28166, x28169);
      |                                ^~~~~~
torch_api_generated.h:1620:120: note: expected 'char *' but argument is of type 'const char *'
 1620 | void atg_nanquantile_out(tensor *, tensor out, tensor self, tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
      |                                                                                                                 ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__1690_atg_nanquantile_scalar':
torch_stubs.c:29083:27: warning: passing argument 7 of 'atg_nanquantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
29083 |                           x28200);
      |                           ^~~~~~
torch_api_generated.h:1621:111: note: expected 'char *' but argument is of type 'const char *'
 1621 | void atg_nanquantile_scalar(tensor *, tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
      |                                                                                                        ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__1691_atg_nanquantile_scalar_out':
torch_stubs.c:29113:47: warning: passing argument 8 of 'atg_nanquantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
29113 |                               x28226, x28229, x28232);
      |                                               ^~~~~~
torch_api_generated.h:1622:127: note: expected 'char *' but argument is of type 'const char *'
 1622 | void atg_nanquantile_scalar_out(tensor *, tensor out, tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
      |                                                                                                                        ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__1784_atg_pad':
torch_stubs.c:30683:44: warning: passing argument 5 of 'atg_pad' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
30683 |    atg_pad(x29759, x29760, x29761, x29762, x29765, x29766, x29769);
      |                                            ^~~~~~
torch_api_generated.h:1715:76: note: expected 'char *' but argument is of type 'const char *'
 1715 | void atg_pad(tensor *, tensor self, int64_t *pad_data, int pad_len, char * mode, double value_v, int value_null);
      |                                                                     ~~~~~~~^~~~
torch_stubs.c: In function 'caml__1831_atg_quantile':
torch_stubs.c:31208:65: warning: passing argument 7 of 'atg_quantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
31208 |    atg_quantile(x30284, x30285, x30286, x30287, x30290, x30293, x30296);
      |                                                                 ^~~~~~
torch_api_generated.h:1762:101: note: expected 'char *' but argument is of type 'const char *'
 1762 | void atg_quantile(tensor *, tensor self, tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
      |                                                                                              ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__1832_atg_quantile_out':
torch_stubs.c:31237:21: warning: passing argument 8 of 'atg_quantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
31237 |                     x30326);
      |                     ^~~~~~
torch_api_generated.h:1763:117: note: expected 'char *' but argument is of type 'const char *'
 1763 | void atg_quantile_out(tensor *, tensor out, tensor self, tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
      |                                                                                                              ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__1833_atg_quantile_scalar':
torch_stubs.c:31267:24: warning: passing argument 7 of 'atg_quantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
31267 |                        x30357);
      |                        ^~~~~~
torch_api_generated.h:1764:108: note: expected 'char *' but argument is of type 'const char *'
 1764 | void atg_quantile_scalar(tensor *, tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
      |                                                                                                     ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__1834_atg_quantile_scalar_out':
torch_stubs.c:31297:36: warning: passing argument 8 of 'atg_quantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
31297 |                            x30386, x30389);
      |                                    ^~~~~~
torch_api_generated.h:1765:124: note: expected 'char *' but argument is of type 'const char *'
 1765 | void atg_quantile_scalar_out(tensor *, tensor out, tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
      |                                                                                                                     ~~~~~~~^~~~~~~~~~~~~
torch_stubs.c: In function 'caml__1996_atg_scatter_reduce':
torch_stubs.c:33819:63: warning: passing argument 6 of 'atg_scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
33819 |    atg_scatter_reduce(x32865, x32866, x32867, x32870, x32871, x32872);
      |                                                               ^~~~~~
torch_api_generated.h:1927:94: note: expected 'char *' but argument is of type 'const char *'
 1927 | void atg_scatter_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce);
      |                                                                                       ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__1997_atg_scatter_reduce_':
torch_stubs.c:33844:64: warning: passing argument 6 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
33844 |    atg_scatter_reduce_(x32886, x32887, x32888, x32891, x32892, x32893);
      |                                                                ^~~~~~
torch_api_generated.h:1928:95: note: expected 'char *' but argument is of type 'const char *'
 1928 | void atg_scatter_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce);
      |                                                                                        ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__1998_atg_scatter_reduce_out':
torch_stubs.c:33872:27: warning: passing argument 7 of 'atg_scatter_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
33872 |                           x32916);
      |                           ^~~~~~
torch_api_generated.h:1929:110: note: expected 'char *' but argument is of type 'const char *'
 1929 | 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__2003_atg_scatter_value_reduce':
torch_stubs.c:33970:69: warning: passing argument 6 of 'atg_scatter_value_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
33970 |    atg_scatter_value_reduce(x32999, x33000, x33001, x33004, x33005, x33006);
      |                                                                     ^~~~~~
torch_api_generated.h:1934:102: note: expected 'char *' but argument is of type 'const char *'
 1934 | void atg_scatter_value_reduce(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce);
      |                                                                                               ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__2004_atg_scatter_value_reduce_':
torch_stubs.c:33995:70: warning: passing argument 6 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
33995 |    atg_scatter_value_reduce_(x33020, x33021, x33022, x33025, x33026, x33027);
      |                                                                      ^~~~~~
torch_api_generated.h:1935:103: note: expected 'char *' but argument is of type 'const char *'
 1935 | void atg_scatter_value_reduce_(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce);
      |                                                                                                ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__2005_atg_scatter_value_reduce_out':
torch_stubs.c:34023:41: warning: passing argument 7 of 'atg_scatter_value_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
34023 |                                 x33049, x33050);
      |                                         ^~~~~~
torch_api_generated.h:1936:118: note: expected 'char *' but argument is of type 'const char *'
 1936 | 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__2006_atg_searchsorted':
torch_stubs.c:34051:61: warning: passing argument 6 of 'atg_searchsorted' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
34051 |    atg_searchsorted(x33066, x33067, x33068, x33069, x33072, x33075, x33076);
      |                                                             ^~~~~~
torch_api_generated.h:1937:103: note: expected 'char *' but argument is of type 'const char *'
 1937 | void atg_searchsorted(tensor *, tensor sorted_sequence, tensor self, int out_int32, int right, char * side, tensor sorter);
      |                                                                                                ~~~~~~~^~~~
torch_stubs.c: In function 'caml__2007_atg_searchsorted_scalar':
torch_stubs.c:34079:68: warning: passing argument 6 of 'atg_searchsorted_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
34079 |    atg_searchsorted_scalar(x33092, x33093, x33094, x33095, x33098, x33101,
      |                                                                    ^~~~~~
torch_api_generated.h:1938:110: note: expected 'char *' but argument is of type 'const char *'
 1938 | void atg_searchsorted_scalar(tensor *, tensor sorted_sequence, scalar self, int out_int32, int right, char * side, tensor sorter);
      |                                                                                                       ~~~~~~~^~~~
torch_stubs.c: In function 'caml__2008_atg_searchsorted_scalar_out':
torch_stubs.c:34110:40: warning: passing argument 7 of 'atg_searchsorted_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
34110 |                                x33126, x33129, x33130);
      |                                        ^~~~~~
torch_api_generated.h:1939:126: note: expected 'char *' but argument is of type 'const char *'
 1939 | void atg_searchsorted_scalar_out(tensor *, tensor out, tensor sorted_sequence, scalar self, int out_int32, int right, char * side, tensor sorter);
      |                                                                                                                       ~~~~~~~^~~~
torch_stubs.c: In function 'caml__2009_atg_searchsorted_tensor_out':
torch_stubs.c:34141:40: warning: passing argument 7 of 'atg_searchsorted_tensor_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
34141 |                                x33155, x33158, x33159);
      |                                        ^~~~~~
torch_api_generated.h:1940:126: note: expected 'char *' but argument is of type 'const char *'
 1940 | void atg_searchsorted_tensor_out(tensor *, tensor out, tensor sorted_sequence, tensor self, int out_int32, int right, char * side, tensor sorter);
      |                                                                                                                       ~~~~~~~^~~~
torch_stubs.c: In function 'caml__2010_atg_segment_reduce':
torch_stubs.c:34171:39: warning: passing argument 3 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
34171 |    atg_segment_reduce(x33178, x33179, x33180, x33181, x33182, x33183,
      |                                       ^~~~~~
torch_api_generated.h:1941:55: note: expected 'char *' but argument is of type 'const char *'
 1941 | void atg_segment_reduce(tensor *, tensor data, char * reduce, tensor lengths, tensor indices, tensor offsets, int64_t axis, int unsafe, scalar initial);
      |                                                ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__2011_atg_segment_reduce_out':
torch_stubs.c:34206:51: warning: passing argument 4 of 'atg_segment_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
34206 |    atg_segment_reduce_out(x33211, x33212, x33213, x33214, x33215, x33216,
      |                                                   ^~~~~~
torch_api_generated.h:1942:71: note: expected 'char *' but argument is of type 'const char *'
 1942 | void atg_segment_reduce_out(tensor *, tensor out, tensor data, char * reduce, tensor lengths, tensor indices, tensor offsets, int64_t axis, int unsafe, scalar initial);
      |                                                                ~~~~~~~^~~~~~
torch_stubs.c: In function 'caml__2327_atg_stft_center':
torch_stubs.c:38514:36: warning: passing argument 10 of 'atg_stft_center' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
38514 |                    x37092, x37093, x37096, x37097, x37100, x37103);
      |                                    ^~~~~~
torch_api_generated.h:2258:180: note: expected 'char *' but argument is of type 'const char *'
 2258 | void atg_stft_center(tensor *, tensor self, int64_t n_fft, int64_t hop_length_v, int hop_length_null, int64_t win_length_v, int win_length_null, tensor window, int center, char * pad_mode, int normalized, int onesided, int return_complex);
      |                                                                                                                                                                             ~~~~~~~^~~~~~~~
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/unix -I ../_private/default/.pkg/base/target/lib/base -I ../_private/default/.pkg/base/target/lib/base/base_internalhash_types -I ../_private/default/.pkg/base/target/lib/base/shadow_stdlib -I ../_private/default/.pkg/bigarray-compat/target/lib/bigarray-compat -I ../_private/default/.pkg/ctypes-foreign/target/lib/ctypes-foreign -I ../_private/default/.pkg/ctypes/target/lib/ctypes -I ../_private/default/.pkg/ctypes/target/lib/ctypes/stubs -I ../_private/default/.pkg/integers/target/lib/integers -I ../_private/default/.pkg/ocaml_intrinsics_kernel/target/lib/ocaml_intrinsics_kernel -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/stdio/target/lib/stdio -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -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 217, characters 4-32:
217 |     Caml.Format.pp_print_newline formatter ();
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Caml
[since 2023-01] use Stdlib instead of Caml

File "src/torch/tensor.ml", line 217, characters 4-32:
217 |     Caml.Format.pp_print_newline formatter ();
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module "Caml.Format"
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/unix -I ../_private/default/.pkg/base/target/lib/base -I ../_private/default/.pkg/base/target/lib/base/base_internalhash_types -I ../_private/default/.pkg/base/target/lib/base/shadow_stdlib -I ../_private/default/.pkg/bigarray-compat/target/lib/bigarray-compat -I ../_private/default/.pkg/ctypes-foreign/target/lib/ctypes-foreign -I ../_private/default/.pkg/ctypes/target/lib/ctypes -I ../_private/default/.pkg/ctypes/target/lib/ctypes/stubs -I ../_private/default/.pkg/integers/target/lib/integers -I ../_private/default/.pkg/ocaml_intrinsics_kernel/target/lib/ocaml_intrinsics_kernel -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/stdio/target/lib/stdio -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -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 Base.Caml
[since 2023-01] use Stdlib instead of Caml

File "src/torch/checkpointing.ml", line 4, characters 16-37:
4 |   let dirname = Caml.Filename.dirname checkpoint_base in
                    ^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module "Caml.Filename"
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/unix -I ../_private/default/.pkg/base/target/lib/base -I ../_private/default/.pkg/base/target/lib/base/base_internalhash_types -I ../_private/default/.pkg/base/target/lib/base/shadow_stdlib -I ../_private/default/.pkg/bigarray-compat/target/lib/bigarray-compat -I ../_private/default/.pkg/ctypes-foreign/target/lib/ctypes-foreign -I ../_private/default/.pkg/ctypes/target/lib/ctypes -I ../_private/default/.pkg/ctypes/target/lib/ctypes/stubs -I ../_private/default/.pkg/integers/target/lib/integers -I ../_private/default/.pkg/ocaml_intrinsics_kernel/target/lib/ocaml_intrinsics_kernel -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/stdio/target/lib/stdio -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -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 Base.Caml
[since 2023-01] use Stdlib instead of Caml

File "src/torch/text_helper.ml", line 51, characters 4-22:
51 |     Caml.Gc.full_major ()
         ^^^^^^^^^^^^^^^^^^
Error: Unbound module "Caml.Gc"
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/unix -I ../_private/default/.pkg/base/target/lib/base -I ../_private/default/.pkg/base/target/lib/base/base_internalhash_types -I ../_private/default/.pkg/base/target/lib/base/shadow_stdlib -I ../_private/default/.pkg/bigarray-compat/target/lib/bigarray-compat -I ../_private/default/.pkg/ctypes-foreign/target/lib/ctypes-foreign -I ../_private/default/.pkg/ctypes/target/lib/ctypes -I ../_private/default/.pkg/ctypes/target/lib/ctypes/stubs -I ../_private/default/.pkg/integers/target/lib/integers -I ../_private/default/.pkg/ocaml_intrinsics_kernel/target/lib/ocaml_intrinsics_kernel -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/stdio/target/lib/stdio -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -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 Base.Caml
[since 2023-01] use Stdlib instead of Caml

File "src/torch/cifar_helper.ml", line 46, characters 26-46:
46 |   let read_one filename = Caml.Filename.concat dirname filename |> read_file in
                               ^^^^^^^^^^^^^^^^^^^^
Error: Unbound module "Caml.Filename"
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/unix -I ../_private/default/.pkg/base/target/lib/base -I ../_private/default/.pkg/base/target/lib/base/base_internalhash_types -I ../_private/default/.pkg/base/target/lib/base/shadow_stdlib -I ../_private/default/.pkg/bigarray-compat/target/lib/bigarray-compat -I ../_private/default/.pkg/ctypes-foreign/target/lib/ctypes-foreign -I ../_private/default/.pkg/ctypes/target/lib/ctypes -I ../_private/default/.pkg/ctypes/target/lib/ctypes/stubs -I ../_private/default/.pkg/integers/target/lib/integers -I ../_private/default/.pkg/ocaml_intrinsics_kernel/target/lib/ocaml_intrinsics_kernel -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/stdio/target/lib/stdio -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -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 Base.Caml
[since 2023-01] use Stdlib instead of Caml

File "src/torch/dataset_helper.ml", line 142, characters 4-22:
142 |     Caml.Gc.full_major ();
          ^^^^^^^^^^^^^^^^^^
Error: Unbound module "Caml.Gc"
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/torch/.torch.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/unix -I ../_private/default/.pkg/base/target/lib/base -I ../_private/default/.pkg/base/target/lib/base/base_internalhash_types -I ../_private/default/.pkg/base/target/lib/base/shadow_stdlib -I ../_private/default/.pkg/bigarray-compat/target/lib/bigarray-compat -I ../_private/default/.pkg/ctypes-foreign/target/lib/ctypes-foreign -I ../_private/default/.pkg/ctypes/target/lib/ctypes -I ../_private/default/.pkg/ctypes/target/lib/ctypes/stubs -I ../_private/default/.pkg/integers/target/lib/integers -I ../_private/default/.pkg/ocaml_intrinsics_kernel/target/lib/ocaml_intrinsics_kernel -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/stdio/target/lib/stdio -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -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 Base.Caml
[since 2023-01] use Stdlib instead of Caml

File "src/torch/mnist_helper.ml", line 35, characters 17-37:
35 |   let filename = Caml.Filename.concat prefix in
                      ^^^^^^^^^^^^^^^^^^^^
Error: Unbound module "Caml.Filename"
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/vision/.torch_vision.objs/byte -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/unix -I ../_private/default/.pkg/base/target/lib/base -I ../_private/default/.pkg/base/target/lib/base/base_internalhash_types -I ../_private/default/.pkg/base/target/lib/base/shadow_stdlib -I ../_private/default/.pkg/bigarray-compat/target/lib/bigarray-compat -I ../_private/default/.pkg/ctypes-foreign/target/lib/ctypes-foreign -I ../_private/default/.pkg/ctypes/target/lib/ctypes -I ../_private/default/.pkg/ctypes/target/lib/ctypes/stubs -I ../_private/default/.pkg/integers/target/lib/integers -I ../_private/default/.pkg/ocaml_intrinsics_kernel/target/lib/ocaml_intrinsics_kernel -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/stdio/target/lib/stdio -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -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 Base.Caml
[since 2023-01] use Stdlib instead of Caml

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 ();
               ^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module "Caml.Sys"
(cd _build/default && /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-base-compiler.5.2.1-75b062e5006eb0e708315b2ba038a97b/target/lib/ocaml/unix -I ../_private/default/.pkg/base/target/lib/base -I ../_private/default/.pkg/base/target/lib/base/base_internalhash_types -I ../_private/default/.pkg/base/target/lib/base/shadow_stdlib -I ../_private/default/.pkg/bigarray-compat/target/lib/bigarray-compat -I ../_private/default/.pkg/ctypes-foreign/target/lib/ctypes-foreign -I ../_private/default/.pkg/ctypes/target/lib/ctypes -I ../_private/default/.pkg/ctypes/target/lib/ctypes/stubs -I ../_private/default/.pkg/integers/target/lib/integers -I ../_private/default/.pkg/ocaml_intrinsics_kernel/target/lib/ocaml_intrinsics_kernel -I ../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../_private/default/.pkg/stdio/target/lib/stdio -I ../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -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 217, characters 4-32:
217 |     Caml.Format.pp_print_newline formatter ();
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Alert deprecated: module Caml
[since 2023-01] use Stdlib instead of Caml

File "src/torch/tensor.ml", line 217, characters 4-32:
217 |     Caml.Format.pp_print_newline formatter ();
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module "Caml.Format"
opam-health-check: Build failed
"/usr/bin/env" "bash" "-c" "cd $HOME && opam source torch.0.17 && cd torch.0.17 && if [ -f opam ]; then mv opam torch.opam; fi && echo torch >> /tmp/packages-in-repo && for opam in *.opam; do echo ${opam%.opam} >> /tmp/packages-in-repo; done && sed -n 's/(name \(.*\))/\1/p' < dune-project | sed 's/^[[:blank:]]*//;s/[[:blank:]]*$//' >> /tmp/packages-in-repo && while read package ; do opam show --raw ${package}.0.17 > ${package}.opam; done < /tmp/packages-in-repo && opam install ./ --depext-only --with-test --with-doc && opam install --dry-run --with-test ./torch.opam | sed -nE 's/(.*)- install ([^[:blank:]]*)(.*)/\2/p' > /tmp/packages-via-opam && for opam in *.opam; do rm $opam; echo ${opam%.opam} >> /tmp/packages-locally-available; done && opam show --raw torch.0.17 > torch.opam && /tmp/sexp/_opam/bin/sexp change '(try (rewrite (package @X) OPAM-HEALTH-CHECK-DROP))' < dune-project | grep -v OPAM-HEALTH-CHECK-DROP > dune-project-new && mv dune-project-new dune-project && echo '(lang dune 3.17)
(lock_dir
 (repositories overlay  default))

(repository
 (name default)
 (url "file:///home/opam/opam-repository"))


' > dune-workspace && echo torch >> /tmp/packages-to-build && while read package ; do if grep --quiet $package /tmp/packages-via-opam ; then echo $package >> /tmp/packages-to-build ; fi ; done < /tmp/packages-locally-available && while read package ; do opam show --raw $package > $package.opam; done < /tmp/packages-to-build && while read package ; do if [ ! -f ${package}.opam ]; then echo "opam-version: \"2.0\"" > ${package}.opam; fi; done < /tmp/packages-locally-available && paste -s -d , /tmp/packages-to-build > /tmp/packages-for-dune && PATH=$HOME/.local/bin:$PATH dune pkg lock || (echo "opam-health-check: Solve failed" && exit 1)  && grep -v dependency_hash dune.lock/lock.dune > /tmp/lock.dune && mv /tmp/lock.dune dune.lock/lock.dune && PATH=$HOME/.local/bin:$PATH dune build --release --only-packages $(cat /tmp/packages-for-dune) || (echo "opam-health-check: Build failed" && exit 1)" failed with exit status 1
Failed: Build failed