Building on asteria.caelum.ci.dev (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam c2aa91694ede: Pulling fs layer c2aa91694ede: Verifying Checksum c2aa91694ede: Download complete c2aa91694ede: Pull complete Digest: sha256:7c6d9811077acef92fbbed09a4554eeecebfe5219c0c383800d1104fadb6e9e5 Status: Downloaded newer image for ocaml/opam:debian-unstable 2025-04-28 07:14.20 ---> 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-28 07:14.20 ---> 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 8106bcf57fc33218275bbf0d02e725f4e9fcd0f6")) 2025-04-28 07:14.20 ---> using "c1d3cab0e821725448ff6a72783085d5ce1a84c594f7b84a50f32a261117ed0f" 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-28 07:14.20 ---> using "07e11857f4d6b50e6fbb679ac6f48cc50a92ca0864bb5fa55287f96a0734b008" 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-dune' '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-dune) 2025-04-28 07:14.20 ---> using "a96e78ca2e6ecfdc74df8bbd33779bfce919c4f6bda915cef9274eec7cee3891" 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] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-04-28-0209.02-F-2025-04-27-0807.28.pdiff [27.3 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-04-28-0209.02-F-2025-04-27-0807.28.pdiff [27.3 kB] - Fetched 296 kB in 1s (214 kB/s) - Reading package lists... - 2025-04-28 07:14.20 ---> using "3d8fe5577a7c2e287650e89f482e09d3841fdb8eae8861425c4631ed81b3edd9" 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.1 The following actions will be performed: === install 1 package - install dune 3.18.1 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved dune.3.18.1 (cached) -> installed dune.3.18.1 Done. # To update the current shell environment, run: eval $(opam env) 2025-04-28 07:14.20 ---> using "342e1acf5efbae47335eeb718fbdb6072f2a294793ab8900f22acc6535757742" 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#-# ##O=# # 0.1% # 1.7% #### 6.0% ######## 11.2% ############## 20.1% ####################### 33.0% ######################## 34.1% ######################### 35.3% ########################## 36.5% ########################### 37.7% ############################ 39.2% ############################# 40.4% ############################## 41.8% ############################### 43.2% ################################ 44.9% ################################# 46.1% ################################## 47.8% ################################### 49.4% #################################### 51.1% ##################################### 52.8% ####################################### 54.4% ######################################## 56.4% ######################################### 58.3% ########################################### 59.9% ############################################ 62.1% ############################################## 64.0% ############################################### 66.1% ################################################# 68.3% ################################################## 70.2% #################################################### 72.6% ##################################################### 74.5% ####################################################### 77.1% ######################################################## 79.0% ########################################################## 81.7% ############################################################ 83.8% ############################################################## 86.4% ############################################################### 88.8% ################################################################# 91.5% ################################################################### 93.8% ##################################################################### 96.7% ####################################################################### 99.3% ######################################################################## 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-28 07:14.20 ---> using "121cf0ae3d07481876c2fdffb420b3260cf096120bf79bb0f2192a757efd0df9" 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.1 [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.1 [required by sexp] - install dune-configurator 3.18.1 [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.1 (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 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 dune.3.18.1, dune-configurator.3.18.1 (cached) -> installed num.1.5-1 -> 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 re2.v0.17.0 (cached) -> retrieved re.1.12.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved regex_parser_intf.v0.17.0 (cached) -> retrieved sexp_diff.v0.17.0 (cached) -> retrieved sexp.v0.17.0 (cached) -> retrieved sexp_macro.v0.17.0 (cached) -> retrieved ppxlib.0.35.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 uutf.1.0.4 (cached) -> retrieved variantslib.v0.17.0 (cached) -> retrieved topkg.1.0.8 (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.1 -> installed jane-street-headers.v0.17.0 -> installed csexp.1.5.2 -> installed cstruct.6.2.0 -> installed ocaml-compiler-libs.v0.17.0 -> installed ocaml-syntax-shims.1.0.0 -> installed ocaml_intrinsics_kernel.v0.17.1 -> installed ppx_derivers.1.2.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.1 -> 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 regex_parser_intf.v0.17.0 -> installed fieldslib.v0.17.0 -> installed stdio.v0.17.0 -> installed typerep.v0.17.1 -> installed ppxlib.0.35.0 -> installed ppx_optcomp.v0.17.0 -> installed ppxlib_jane.v0.17.0 -> installed ppx_tydi.v0.17.0 -> installed ppx_cold.v0.17.0 -> installed ppx_disable_unused_warnings.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_ignore_instrumentation.v0.17.0 -> installed ppx_enumerate.v0.17.0 -> installed ppx_pipebang.v0.17.0 -> installed ppx_globalize.v0.17.0 -> installed ppx_fixed_literal.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 base_quickcheck.v0.17.0 -> installed ppx_log.v0.17.0 -> installed ppx_jane.v0.17.0 -> installed gel.v0.17.0 -> installed uopt.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.1 -> 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-28 07:14.20 ---> using "a8411d7939d562feaf91c04ce60beb499119b4e24a7a828bf71d33a6a150a255" 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-28 07:14.20 ---> using "21f59d4456ab6e4660827d934a96f9edfe16388975f1dc3d2d75e75aa6b1f39e" 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.v0.17.0 && cd torch.v0.17.0 && 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}.v0.17.0 > ${package}.opam; done < /tmp/packages-in-repo && opam install ./ --depext-only --with-test --with-doc || (echo \"opam-health-check: Depext unsolvable\" && exit 1) && 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.v0.17.0 > 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.v0.17.0 The following system packages will first need to be installed: libffi-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config" - 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 ... 20668 files and directories currently installed.) - Preparing to unpack .../libffi-dev_3.4.8-2_amd64.deb ... - Unpacking libffi-dev:amd64 (3.4.8-2) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-4) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-4) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-4) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-4) ... - Setting up libffi-dev:amd64 (3.4.8-2) ... - Setting up libpkgconf3:amd64 (1.8.1-4) ... - Setting up pkgconf-bin (1.8.1-4) ... - Setting up pkgconf:amd64 (1.8.1-4) ... - Setting up pkg-config:amd64 (1.8.1-4) ... - Processing triggers for libc-bin (2.41-7) ... 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.1 - csexp.1.5.2 - ctypes.0.23.0 - ctypes-foreign.0.23.0 - dune-configurator.3.18.1 - 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.3.0 - ocaml-base-compiler.5.3.0 - ocaml-compiler.5.3.0 - 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.2 - 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-compiler.5.3.0 Building ocaml-compiler.5.3.0 Building ocaml-base-compiler.5.3.0 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.3.0 Downloading stdlib-shims.0.3.0 Downloading csexp.1.5.2 Building stdlib-shims.0.3.0 Building csexp.1.5.2 Downloading bigarray-compat.1.1.0 Building bigarray-compat.1.1.0 Downloading integers.0.7.0 Building integers.0.7.0 Downloading dune-configurator.3.18.1 Building dune-configurator.3.18.1 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 jane-street-headers.v0.17.0 Downloading sexplib0.v0.17.0 Building jane-street-headers.v0.17.0 Downloading ocaml_intrinsics_kernel.v0.17.1 Building sexplib0.v0.17.0 Building ocaml_intrinsics_kernel.v0.17.1 Downloading ppx_derivers.1.2.1 Building ppx_derivers.1.2.1 Downloading re.1.12.0 Building re.1.12.0 Downloading spawn.v0.17.0 Building spawn.v0.17.0 Downloading base.v0.17.1 Building base.v0.17.1 Downloading ocaml-compiler-libs.v0.17.0 Building ocaml-compiler-libs.v0.17.0 Downloading parsexp.v0.17.0 Building parsexp.v0.17.0 Downloading num.1.5-1 Building num.1.5-1 Downloading ppxlib.0.35.0 Building ppxlib.0.35.0 Downloading sexplib.v0.17.0 Building sexplib.v0.17.0 Downloading fieldslib.v0.17.0 Downloading variantslib.v0.17.0 Downloading typerep.v0.17.1 Building fieldslib.v0.17.0 Building variantslib.v0.17.0 Building typerep.v0.17.1 Downloading stdio.v0.17.0 Building stdio.v0.17.0 Downloading ppx_cold.v0.17.0 Downloading ppx_variants_conv.v0.17.0 Downloading ppx_ignore_instrumentation.v0.17.0 Downloading ppx_typerep_conv.v0.17.0 Downloading ppx_fields_conv.v0.17.0 Downloading ppx_stable_witness.v0.17.0 Downloading ppx_optcomp.v0.17.0 Downloading ppx_pipebang.v0.17.0 Downloading ppx_here.v0.17.0 Downloading ppxlib_jane.v0.17.2 Building ppx_ignore_instrumentation.v0.17.0 Downloading ppx_tydi.v0.17.0 Downloading ppx_fixed_literal.v0.17.0 Building ppx_pipebang.v0.17.0 Downloading ppx_stable.v0.17.0 Building ppxlib_jane.v0.17.2 Downloading ppx_disable_unused_warnings.v0.17.0 Building ppx_cold.v0.17.0 Building ppx_fields_conv.v0.17.0 Building ppx_variants_conv.v0.17.0 Building ppx_typerep_conv.v0.17.0 Building ppx_stable_witness.v0.17.0 Building ppx_here.v0.17.0 Building ppx_optcomp.v0.17.0 Building ppx_fixed_literal.v0.17.0 Building ppx_tydi.v0.17.0 Building ppx_disable_unused_warnings.v0.17.0 Building ppx_stable.v0.17.0 Downloading ppx_optional.v0.17.0 Downloading ppx_enumerate.v0.17.0 Downloading ppx_sexp_conv.v0.17.0 Building ppx_optional.v0.17.0 Building ppx_enumerate.v0.17.0 Building ppx_sexp_conv.v0.17.0 Downloading ppx_globalize.v0.17.0 Building ppx_globalize.v0.17.0 Downloading ppx_let.v0.17.0 Building ppx_let.v0.17.0 Downloading ppx_compare.v0.17.0 Building ppx_compare.v0.17.0 Downloading ppx_custom_printf.v0.17.0 Downloading ppx_sexp_value.v0.17.0 Building ppx_custom_printf.v0.17.0 Building ppx_sexp_value.v0.17.0 Downloading ppx_sexp_message.v0.17.0 Building ppx_sexp_message.v0.17.0 Downloading ppx_assert.v0.17.0 Downloading ppx_hash.v0.17.0 Building ppx_assert.v0.17.0 Building ppx_hash.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 Downloading capitalization.v0.17.0 Building bin_prot.v0.17.0 Building capitalization.v0.17.0 Downloading ppx_string.v0.17.0 Building ppx_string.v0.17.0 Downloading sexp_pretty.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_module_timer.v0.17.0 Building ppx_module_timer.v0.17.0 Downloading ppx_string_conv.v0.17.0 Downloading ppx_inline_test.v0.17.0 Building ppx_string_conv.v0.17.0 Building ppx_inline_test.v0.17.0 Downloading ppx_expect.v0.17.2 Building ppx_expect.v0.17.2 Downloading ppx_bench.v0.17.0 Building ppx_bench.v0.17.0 Downloading ppx_log.v0.17.0 Building ppx_log.v0.17.0 Downloading splittable_random.v0.17.0 Building splittable_random.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 gel.v0.17.0 Downloading int_repr.v0.17.0 Downloading uopt.v0.17.0 Building gel.v0.17.0 Building int_repr.v0.17.0 Building uopt.v0.17.0 Downloading ppx_diff.v0.17.0 Building ppx_diff.v0.17.0 Downloading base_bigstring.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.1 Building core_unix.v0.17.1 File "src/wrapper/dune", line 4, characters 9-18: 4 | (names torch_api) ^^^^^^^^^ (cd _build/default/src/wrapper && /usr/bin/gcc -std=c++17 -fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -g -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/target/lib/ocaml -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/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/md5 -I ../../../_private/default/.pkg/base/target/lib/base/shadow_stdlib -I ../../../_private/default/.pkg/base_quickcheck/target/lib/base_quickcheck -I ../../../_private/default/.pkg/base_quickcheck/target/lib/base_quickcheck/ppx_quickcheck/runtime -I ../../../_private/default/.pkg/bigarray-compat/target/lib/bigarray-compat -I ../../../_private/default/.pkg/bin_prot/target/lib/bin_prot -I ../../../_private/default/.pkg/bin_prot/target/lib/bin_prot/shape -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/fieldslib/target/lib/fieldslib -I ../../../_private/default/.pkg/integers/target/lib/integers -I ../../../_private/default/.pkg/jane-street-headers/target/lib/jane-street-headers -I ../../../_private/default/.pkg/ocaml_intrinsics_kernel/target/lib/ocaml_intrinsics_kernel -I ../../../_private/default/.pkg/parsexp/target/lib/parsexp -I ../../../_private/default/.pkg/ppx_assert/target/lib/ppx_assert/runtime-lib -I ../../../_private/default/.pkg/ppx_bench/target/lib/ppx_bench/runtime-lib -I ../../../_private/default/.pkg/ppx_compare/target/lib/ppx_compare/runtime-lib -I ../../../_private/default/.pkg/ppx_enumerate/target/lib/ppx_enumerate/runtime-lib -I ../../../_private/default/.pkg/ppx_expect/target/lib/ppx_expect/config -I ../../../_private/default/.pkg/ppx_expect/target/lib/ppx_expect/config_types -I ../../../_private/default/.pkg/ppx_expect/target/lib/ppx_expect/make_corrected_file -I ../../../_private/default/.pkg/ppx_expect/target/lib/ppx_expect/runtime -I ../../../_private/default/.pkg/ppx_hash/target/lib/ppx_hash/runtime-lib -I ../../../_private/default/.pkg/ppx_here/target/lib/ppx_here/runtime-lib -I ../../../_private/default/.pkg/ppx_inline_test/target/lib/ppx_inline_test/config -I ../../../_private/default/.pkg/ppx_inline_test/target/lib/ppx_inline_test/runtime-lib -I ../../../_private/default/.pkg/ppx_log/target/lib/ppx_log/syntax -I ../../../_private/default/.pkg/ppx_log/target/lib/ppx_log/types -I ../../../_private/default/.pkg/ppx_module_timer/target/lib/ppx_module_timer/runtime -I ../../../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../../../_private/default/.pkg/ppx_stable_witness/target/lib/ppx_stable_witness/runtime -I ../../../_private/default/.pkg/ppx_stable_witness/target/lib/ppx_stable_witness/stable_witness -I ../../../_private/default/.pkg/ppx_string/target/lib/ppx_string/runtime -I ../../../_private/default/.pkg/ppxlib/target/lib/ppxlib/print_diff -I ../../../_private/default/.pkg/sexplib/target/lib/sexplib -I ../../../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../../../_private/default/.pkg/splittable_random/target/lib/splittable_random -I ../../../_private/default/.pkg/stdio/target/lib/stdio -I ../../../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I ../../../_private/default/.pkg/time_now/target/lib/time_now -I ../../../_private/default/.pkg/typerep/target/lib/typerep -I ../../../_private/default/.pkg/variantslib/target/lib/variantslib -I ../bindings -o torch_api.o -c torch_api.cpp) torch_api.cpp:1:10: fatal error: torch/csrc/autograd/engine.h: No such file or directory 1 | #include <torch/csrc/autograd/engine.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. File "src/wrapper/dune", line 11, characters 21-42: 11 | (names torch_stubs torch_stubs_generated)) ^^^^^^^^^^^^^^^^^^^^^ (cd _build/default/src/wrapper && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/target/lib/ocaml -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.3.0-128080a60f158774bfad0f37dcf62390/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/md5 -I ../../../_private/default/.pkg/base/target/lib/base/shadow_stdlib -I ../../../_private/default/.pkg/base_quickcheck/target/lib/base_quickcheck -I ../../../_private/default/.pkg/base_quickcheck/target/lib/base_quickcheck/ppx_quickcheck/runtime -I ../../../_private/default/.pkg/bigarray-compat/target/lib/bigarray-compat -I ../../../_private/default/.pkg/bin_prot/target/lib/bin_prot -I ../../../_private/default/.pkg/bin_prot/target/lib/bin_prot/shape -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/fieldslib/target/lib/fieldslib -I ../../../_private/default/.pkg/integers/target/lib/integers -I ../../../_private/default/.pkg/jane-street-headers/target/lib/jane-street-headers -I ../../../_private/default/.pkg/ocaml_intrinsics_kernel/target/lib/ocaml_intrinsics_kernel -I ../../../_private/default/.pkg/parsexp/target/lib/parsexp -I ../../../_private/default/.pkg/ppx_assert/target/lib/ppx_assert/runtime-lib -I ../../../_private/default/.pkg/ppx_bench/target/lib/ppx_bench/runtime-lib -I ../../../_private/default/.pkg/ppx_compare/target/lib/ppx_compare/runtime-lib -I ../../../_private/default/.pkg/ppx_enumerate/target/lib/ppx_enumerate/runtime-lib -I ../../../_private/default/.pkg/ppx_expect/target/lib/ppx_expect/config -I ../../../_private/default/.pkg/ppx_expect/target/lib/ppx_expect/config_types -I ../../../_private/default/.pkg/ppx_expect/target/lib/ppx_expect/make_corrected_file -I ../../../_private/default/.pkg/ppx_expect/target/lib/ppx_expect/runtime -I ../../../_private/default/.pkg/ppx_hash/target/lib/ppx_hash/runtime-lib -I ../../../_private/default/.pkg/ppx_here/target/lib/ppx_here/runtime-lib -I ../../../_private/default/.pkg/ppx_inline_test/target/lib/ppx_inline_test/config -I ../../../_private/default/.pkg/ppx_inline_test/target/lib/ppx_inline_test/runtime-lib -I ../../../_private/default/.pkg/ppx_log/target/lib/ppx_log/syntax -I ../../../_private/default/.pkg/ppx_log/target/lib/ppx_log/types -I ../../../_private/default/.pkg/ppx_module_timer/target/lib/ppx_module_timer/runtime -I ../../../_private/default/.pkg/ppx_sexp_conv/target/lib/ppx_sexp_conv/runtime-lib -I ../../../_private/default/.pkg/ppx_stable_witness/target/lib/ppx_stable_witness/runtime -I ../../../_private/default/.pkg/ppx_stable_witness/target/lib/ppx_stable_witness/stable_witness -I ../../../_private/default/.pkg/ppx_string/target/lib/ppx_string/runtime -I ../../../_private/default/.pkg/ppxlib/target/lib/ppxlib/print_diff -I ../../../_private/default/.pkg/sexplib/target/lib/sexplib -I ../../../_private/default/.pkg/sexplib0/target/lib/sexplib0 -I ../../../_private/default/.pkg/splittable_random/target/lib/splittable_random -I ../../../_private/default/.pkg/stdio/target/lib/stdio -I ../../../_private/default/.pkg/stdlib-shims/target/lib/stdlib-shims -I ../../../_private/default/.pkg/time_now/target/lib/time_now -I ../../../_private/default/.pkg/typerep/target/lib/typerep -I ../../../_private/default/.pkg/variantslib/target/lib/variantslib -I ../bindings -o torch_stubs_generated.o -c torch_stubs_generated.c) torch_stubs_generated.c: In function 'caml__35_at_save': torch_stubs_generated.c:261:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 261 | at_save(x242, x243); | ^~~~ In file included from torch_stubs_generated.c:1: torch_api.h:76:31: note: expected 'char *' but argument is of type 'const char *' 76 | void at_save(gc_tensor, char *filename); | ~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__36_at_load': torch_stubs_generated.c:267:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 267 | void* x247 = at_load(x246); | ^~~~ torch_api.h:77:26: note: expected 'char *' but argument is of type 'const char *' 77 | raw_tensor at_load(char *filename); | ~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__37_at_save_multi': torch_stubs_generated.c:276:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 276 | at_save_multi(x252, x253, x254, x257); | ^~~~ torch_api.h:83:26: note: expected 'char *' but argument is of type 'const char *' 83 | char *filename); | ~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__38_at_load_multi': torch_stubs_generated.c:285:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 285 | at_load_multi(x263, x264, x265, x268); | ^~~~ torch_api.h:86:26: note: expected 'char *' but argument is of type 'const char *' 86 | char *filename); | ~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__39_at_load_multi_': torch_stubs_generated.c:294:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 294 | at_load_multi_(x274, x275, x276, x279); | ^~~~ torch_api.h:89:27: note: expected 'char *' but argument is of type 'const char *' 89 | char *filename); | ~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__40_at_load_callback': torch_stubs_generated.c:301:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 301 | at_load_callback(x283, x284); | ^~~~ torch_api.h:91:29: note: expected 'char *' but argument is of type 'const char *' 91 | void at_load_callback(char *filename, void (*f)(char *, raw_tensor)); | ~~~~~~^~~~~~~~ torch_stubs_generated.c:301:27: error: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types] 301 | at_load_callback(x283, x284); | ^~~~ | | | void (*)(const char *, void *) torch_api.h:91:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)' 91 | void at_load_callback(char *filename, void (*f)(char *, raw_tensor)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__71_ati_string': torch_stubs_generated.c:525:28: warning: passing argument 1 of 'ati_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 525 | void* x486 = ati_string(x485); | ^~~~ torch_api.h:134:19: note: expected 'char *' but argument is of type 'const char *' 134 | ivalue ati_string(char *); | ^~~~~~ torch_stubs_generated.c: In function 'caml__74_atm_load': torch_stubs_generated.c:544:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 544 | void* x499 = atm_load(x495, x496); | ^~~~ torch_api.h:121:17: note: expected 'char *' but argument is of type 'const char *' 121 | module atm_load(char *, int); | ^~~~~~ torch_stubs_generated.c: In function 'caml__75_atm_load_str': torch_stubs_generated.c:552:30: warning: passing argument 1 of 'atm_load_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 552 | void* x510 = atm_load_str(x503, x504, x507); | ^~~~ torch_api.h:122:21: note: expected 'char *' but argument is of type 'const char *' 122 | module atm_load_str(char *, size_t, int); | ^~~~~~ torch_stubs_generated.c: In function 'caml__163_atg__convolution_mode': torch_stubs_generated.c:1522:61: warning: passing argument 6 of 'atg__convolution_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1522 | atg__convolution_mode(x1441, x1442, x1443, x1444, x1445, x1448, x1449, | ^~~~~ In file included from torch_api.h:163: torch_api_generated.h:86:130: note: expected 'char *' but argument is of type 'const char *' 86 | raw_tensor atg__convolution_mode(gc_tensor input, gc_tensor weight, gc_tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); | ~~~~~~~^~~~~~~ torch_stubs_generated.c: In function 'caml__230_atg__functional_assert_async': torch_stubs_generated.c:3418:54: warning: passing argument 2 of 'atg__functional_assert_async' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3418 | void* x3416 = atg__functional_assert_async(x3413, x3414, x3415); | ^~~~~ torch_api_generated.h:153:64: note: expected 'char *' but argument is of type 'const char *' 153 | raw_tensor atg__functional_assert_async(gc_tensor self, char * assert_msg, gc_tensor dep_token); | ~~~~~~~^~~~~~~~~~ torch_stubs_generated.c: In function 'caml__273_atg__linalg_check_errors': torch_stubs_generated.c:4708:36: warning: passing argument 2 of 'atg__linalg_check_errors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4708 | atg__linalg_check_errors(x4829, x4830, x4831); | ^~~~~ torch_api_generated.h:196:54: note: expected 'char *' but argument is of type 'const char *' 196 | void atg__linalg_check_errors(gc_tensor info, char * api_name, int is_matrix); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__276_atg__linalg_eigh': torch_stubs_generated.c:4736:35: warning: passing argument 3 of 'atg__linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4736 | atg__linalg_eigh(x4855, x4856, x4857, x4858); | ^~~~~ torch_api_generated.h:199:57: note: expected 'char *' but argument is of type 'const char *' 199 | void atg__linalg_eigh(raw_tensor *, gc_tensor A, char * UPLO, int compute_v); | ~~~~~~~^~~~ torch_stubs_generated.c: In function 'caml__277_atg__linalg_eigh_eigenvalues': torch_stubs_generated.c:4749:61: warning: passing argument 5 of 'atg__linalg_eigh_eigenvalues' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4749 | atg__linalg_eigh_eigenvalues(x4868, x4869, x4870, x4871, x4872, x4873); | ^~~~~ torch_api_generated.h:200:116: note: expected 'char *' but argument is of type 'const char *' 200 | void atg__linalg_eigh_eigenvalues(raw_tensor *, gc_tensor eigenvalues, gc_tensor eigenvectors, gc_tensor A, char * UPLO, int compute_v); | ~~~~~~~^~~~ torch_stubs_generated.c: In function 'caml__282_atg__linalg_svd': torch_stubs_generated.c:4851:48: warning: passing argument 5 of 'atg__linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4851 | atg__linalg_svd(x4960, x4961, x4962, x4965, x4968, x4969); | ^~~~~ torch_api_generated.h:205:91: note: expected 'char *' but argument is of type 'const char *' 205 | void atg__linalg_svd(raw_tensor *, gc_tensor A, int full_matrices, int compute_uv, char * driver_v, int driver_null); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__283_atg__linalg_svd_u': torch_stubs_generated.c:4878:22: warning: passing argument 8 of 'atg__linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 4878 | x4999, x5000); | ^~~~~ torch_api_generated.h:206:133: note: expected 'char *' but argument is of type 'const char *' 206 | void atg__linalg_svd_u(raw_tensor *, gc_tensor U, gc_tensor S, gc_tensor Vh, gc_tensor A, int full_matrices, int compute_uv, char * driver_v, int driver_null); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__374_atg__scatter_reduce': torch_stubs_generated.c:6633:52: warning: passing argument 5 of 'atg__scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6633 | atg__scatter_reduce(x6711, x6712, x6715, x6716, x6717, x6718); | ^~~~~ torch_api_generated.h:297:100: note: expected 'char *' but argument is of type 'const char *' 297 | raw_tensor atg__scatter_reduce(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce, int include_self); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__375_atg__scatter_reduce_': torch_stubs_generated.c:6657:53: warning: passing argument 5 of 'atg__scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6657 | atg__scatter_reduce_(x6734, x6735, x6738, x6739, x6740, x6741); | ^~~~~ torch_api_generated.h:298:101: note: expected 'char *' but argument is of type 'const char *' 298 | raw_tensor atg__scatter_reduce_(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce, int include_self); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__376_atg__scatter_reduce_two_out': torch_stubs_generated.c:6684:67: warning: passing argument 6 of 'atg__scatter_reduce_two_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6684 | atg__scatter_reduce_two_out(x6758, x6759, x6760, x6763, x6764, x6765, | ^~~~~ torch_api_generated.h:299:123: note: expected 'char *' but argument is of type 'const char *' 299 | raw_tensor atg__scatter_reduce_two_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce, int include_self); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__377_atg__segment_reduce_backward': torch_stubs_generated.c:6715:54: warning: passing argument 4 of 'atg__segment_reduce_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6715 | atg__segment_reduce_backward(x6785, x6786, x6787, x6788, x6789, x6790, | ^~~~~ torch_api_generated.h:300:98: note: expected 'char *' but argument is of type 'const char *' 300 | raw_tensor atg__segment_reduce_backward(gc_tensor grad, gc_tensor output, gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor offsets, int64_t axis, scalar initial); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__378_atg__segment_reduce_backward_out': torch_stubs_generated.c:6749:65: warning: passing argument 5 of 'atg__segment_reduce_backward_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 6749 | atg__segment_reduce_backward_out(x6813, x6814, x6815, x6816, x6817, | ^~~~~ torch_api_generated.h:301:117: note: expected 'char *' but argument is of type 'const char *' 301 | raw_tensor atg__segment_reduce_backward_out(gc_tensor out, gc_tensor grad, gc_tensor output, gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor offsets, int64_t axis, scalar initial); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__416_atg__sparse_mm_reduce': torch_stubs_generated.c:7444:54: warning: passing argument 3 of 'atg__sparse_mm_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7444 | void* x7506 = atg__sparse_mm_reduce(x7503, x7504, x7505); | ^~~~~ torch_api_generated.h:339:76: note: expected 'char *' but argument is of type 'const char *' 339 | raw_tensor atg__sparse_mm_reduce(gc_tensor sparse, gc_tensor dense, char * reduce); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__417_atg__sparse_mm_reduce_impl': torch_stubs_generated.c:7454:52: warning: passing argument 4 of 'atg__sparse_mm_reduce_impl' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7454 | atg__sparse_mm_reduce_impl(x7511, x7512, x7513, x7514); | ^~~~~ torch_api_generated.h:340:87: note: expected 'char *' but argument is of type 'const char *' 340 | void atg__sparse_mm_reduce_impl(raw_tensor *, gc_tensor self, gc_tensor other, char * reduce); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__418_atg__sparse_semi_structured_linear': torch_stubs_generated.c:7468:67: warning: passing argument 5 of 'atg__sparse_semi_structured_linear' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7468 | atg__sparse_semi_structured_linear(x7522, x7523, x7524, x7525, x7526, | ^~~~~ torch_api_generated.h:341:121: note: expected 'char *' but argument is of type 'const char *' 341 | raw_tensor atg__sparse_semi_structured_linear(gc_tensor input, gc_tensor weight, gc_tensor meta, gc_tensor bias, char * activation_v, int activation_null); | ~~~~~~~^~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__442_atg__test_ambiguous_defaults_b': torch_stubs_generated.c:7701:63: warning: passing argument 3 of 'atg__test_ambiguous_defaults_b' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7701 | void* x7762 = atg__test_ambiguous_defaults_b(x7757, x7758, x7761); | ^~~~~ torch_api_generated.h:365:78: note: expected 'char *' but argument is of type 'const char *' 365 | raw_tensor atg__test_ambiguous_defaults_b(gc_tensor dummy, int64_t a, char * b); | ~~~~~~~^ torch_stubs_generated.c: In function 'caml__459_atg__test_string_default': torch_stubs_generated.c:7844:50: warning: passing argument 2 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7844 | void* x7875 = atg__test_string_default(x7872, x7873, x7874); | ^~~~~ torch_api_generated.h:382:61: note: expected 'char *' but argument is of type 'const char *' 382 | raw_tensor atg__test_string_default(gc_tensor dummy, char * a, char * b); | ~~~~~~~^ torch_stubs_generated.c:7844:57: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7844 | void* x7875 = atg__test_string_default(x7872, x7873, x7874); | ^~~~~ torch_api_generated.h:382:71: note: expected 'char *' but argument is of type 'const char *' 382 | raw_tensor atg__test_string_default(gc_tensor dummy, char * a, char * b); | ~~~~~~~^ torch_stubs_generated.c: In function 'caml__869_atg_conv1d_padding': torch_stubs_generated.c:13688:63: warning: passing argument 6 of 'atg_conv1d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13688 | atg_conv1d_padding(x13326, x13327, x13328, x13329, x13330, x13333, | ^~~~~~ torch_api_generated.h:792:127: note: expected 'char *' but argument is of type 'const char *' 792 | raw_tensor atg_conv1d_padding(gc_tensor input, gc_tensor weight, gc_tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); | ~~~~~~~^~~~~~~ torch_stubs_generated.c: In function 'caml__871_atg_conv2d_padding': torch_stubs_generated.c:13757:63: warning: passing argument 6 of 'atg_conv2d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13757 | atg_conv2d_padding(x13399, x13400, x13401, x13402, x13403, x13406, | ^~~~~~ torch_api_generated.h:794:127: note: expected 'char *' but argument is of type 'const char *' 794 | raw_tensor atg_conv2d_padding(gc_tensor input, gc_tensor weight, gc_tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); | ~~~~~~~^~~~~~~ torch_stubs_generated.c: In function 'caml__873_atg_conv3d_padding': torch_stubs_generated.c:13826:63: warning: passing argument 6 of 'atg_conv3d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 13826 | atg_conv3d_padding(x13472, x13473, x13474, x13475, x13476, x13479, | ^~~~~~ torch_api_generated.h:796:127: note: expected 'char *' but argument is of type 'const char *' 796 | raw_tensor atg_conv3d_padding(gc_tensor input, gc_tensor weight, gc_tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups); | ~~~~~~~^~~~~~~ torch_stubs_generated.c: In function 'caml__988_atg_div_out_mode': torch_stubs_generated.c:15811:60: warning: passing argument 4 of 'atg_div_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15811 | void* x15480 = atg_div_out_mode(x15473, x15474, x15475, x15476, x15477); | ^~~~~~ torch_api_generated.h:911:84: note: expected 'char *' but argument is of type 'const char *' 911 | raw_tensor atg_div_out_mode(gc_tensor out, gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null); | ~~~~~~~^~~~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__991_atg_div_scalar_mode': torch_stubs_generated.c:15835:55: warning: passing argument 3 of 'atg_div_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15835 | void* x15501 = atg_div_scalar_mode(x15495, x15496, x15497, x15498); | ^~~~~~ torch_api_generated.h:914:69: note: expected 'char *' but argument is of type 'const char *' 914 | raw_tensor atg_div_scalar_mode(gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null); | ~~~~~~~^~~~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__992_atg_div_scalar_mode_': torch_stubs_generated.c:15845:56: warning: passing argument 3 of 'atg_div_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15845 | void* x15512 = atg_div_scalar_mode_(x15506, x15507, x15508, x15509); | ^~~~~~ torch_api_generated.h:915:70: note: expected 'char *' but argument is of type 'const char *' 915 | raw_tensor atg_div_scalar_mode_(gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null); | ~~~~~~~^~~~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__993_atg_div_scalar_mode_out': torch_stubs_generated.c:15858:52: warning: passing argument 4 of 'atg_div_scalar_mode_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15858 | atg_div_scalar_mode_out(x15518, x15519, x15520, x15521, x15522); | ^~~~~~ torch_api_generated.h:916:88: note: expected 'char *' but argument is of type 'const char *' 916 | raw_tensor atg_div_scalar_mode_out(gc_tensor out, gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null); | ~~~~~~~^~~~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__995_atg_div_tensor_mode': torch_stubs_generated.c:15876:55: warning: passing argument 3 of 'atg_div_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15876 | void* x15543 = atg_div_tensor_mode(x15537, x15538, x15539, x15540); | ^~~~~~ torch_api_generated.h:918:72: note: expected 'char *' but argument is of type 'const char *' 918 | raw_tensor atg_div_tensor_mode(gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null); | ~~~~~~~^~~~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__996_atg_div_tensor_mode_': torch_stubs_generated.c:15886:56: warning: passing argument 3 of 'atg_div_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15886 | void* x15554 = atg_div_tensor_mode_(x15548, x15549, x15550, x15551); | ^~~~~~ torch_api_generated.h:919:73: note: expected 'char *' but argument is of type 'const char *' 919 | raw_tensor atg_div_tensor_mode_(gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null); | ~~~~~~~^~~~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1000_atg_divide_out_mode': torch_stubs_generated.c:15921:48: warning: passing argument 4 of 'atg_divide_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15921 | atg_divide_out_mode(x15577, x15578, x15579, x15580, x15581); | ^~~~~~ torch_api_generated.h:923:87: note: expected 'char *' but argument is of type 'const char *' 923 | raw_tensor atg_divide_out_mode(gc_tensor out, gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null); | ~~~~~~~^~~~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1003_atg_divide_scalar_mode': torch_stubs_generated.c:15945:58: warning: passing argument 3 of 'atg_divide_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15945 | void* x15605 = atg_divide_scalar_mode(x15599, x15600, x15601, x15602); | ^~~~~~ torch_api_generated.h:926:72: note: expected 'char *' but argument is of type 'const char *' 926 | raw_tensor atg_divide_scalar_mode(gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null); | ~~~~~~~^~~~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1004_atg_divide_scalar_mode_': torch_stubs_generated.c:15955:59: warning: passing argument 3 of 'atg_divide_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15955 | void* x15616 = atg_divide_scalar_mode_(x15610, x15611, x15612, x15613); | ^~~~~~ torch_api_generated.h:927:73: note: expected 'char *' but argument is of type 'const char *' 927 | raw_tensor atg_divide_scalar_mode_(gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null); | ~~~~~~~^~~~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1005_atg_divide_tensor_mode': torch_stubs_generated.c:15965:58: warning: passing argument 3 of 'atg_divide_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15965 | void* x15627 = atg_divide_tensor_mode(x15621, x15622, x15623, x15624); | ^~~~~~ torch_api_generated.h:928:75: note: expected 'char *' but argument is of type 'const char *' 928 | raw_tensor atg_divide_tensor_mode(gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null); | ~~~~~~~^~~~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1006_atg_divide_tensor_mode_': torch_stubs_generated.c:15975:59: warning: passing argument 3 of 'atg_divide_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 15975 | void* x15638 = atg_divide_tensor_mode_(x15632, x15633, x15634, x15635); | ^~~~~~ torch_api_generated.h:929:76: note: expected 'char *' but argument is of type 'const char *' 929 | raw_tensor atg_divide_tensor_mode_(gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null); | ~~~~~~~^~~~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1015_atg_einsum': torch_stubs_generated.c:16047:30: warning: passing argument 1 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 16047 | void* x15719 = atg_einsum(x15710, x15711, x15712, x15715, x15716); | ^~~~~~ torch_api_generated.h:938:30: note: expected 'char *' but argument is of type 'const char *' 938 | raw_tensor atg_einsum(char * equation, gc_tensor *tensors_data, int tensors_len, int64_t *path_data, int path_len); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__1098_atg_fft_fft': torch_stubs_generated.c:17149:48: warning: passing argument 5 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17149 | atg_fft_fft(x16709, x16710, x16713, x16716, x16719, x16720); | ^~~~~~ torch_api_generated.h:1021:85: note: expected 'char *' but argument is of type 'const char *' 1021 | raw_tensor atg_fft_fft(gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1099_atg_fft_fft2': torch_stubs_generated.c:17175:57: warning: passing argument 6 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17175 | atg_fft_fft2(x16737, x16738, x16739, x16742, x16743, x16746, x16747); | ^~~~~~ torch_api_generated.h:1022:108: note: expected 'char *' but argument is of type 'const char *' 1022 | raw_tensor atg_fft_fft2(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1100_atg_fft_fft2_out': torch_stubs_generated.c:17204:69: warning: passing argument 7 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17204 | atg_fft_fft2_out(x16766, x16767, x16768, x16769, x16772, x16773, x16776, | ^~~~~~ torch_api_generated.h:1023:127: note: expected 'char *' but argument is of type 'const char *' 1023 | raw_tensor atg_fft_fft2_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1101_atg_fft_fft_out': torch_stubs_generated.c:17234:60: warning: passing argument 6 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17234 | atg_fft_fft_out(x16796, x16797, x16798, x16801, x16804, x16807, x16808); | ^~~~~~ torch_api_generated.h:1024:104: note: expected 'char *' but argument is of type 'const char *' 1024 | raw_tensor atg_fft_fft_out(gc_tensor out, gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1104_atg_fft_fftn': torch_stubs_generated.c:17281:57: warning: passing argument 6 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17281 | atg_fft_fftn(x16854, x16855, x16856, x16859, x16860, x16863, x16864); | ^~~~~~ torch_api_generated.h:1027:108: note: expected 'char *' but argument is of type 'const char *' 1027 | raw_tensor atg_fft_fftn(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1105_atg_fft_fftn_out': torch_stubs_generated.c:17310:69: warning: passing argument 7 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17310 | atg_fft_fftn_out(x16883, x16884, x16885, x16886, x16889, x16890, x16893, | ^~~~~~ torch_api_generated.h:1028:127: note: expected 'char *' but argument is of type 'const char *' 1028 | raw_tensor atg_fft_fftn_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1107_atg_fft_hfft': torch_stubs_generated.c:17346:49: warning: passing argument 5 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17346 | atg_fft_hfft(x16921, x16922, x16925, x16928, x16931, x16932); | ^~~~~~ torch_api_generated.h:1030:86: note: expected 'char *' but argument is of type 'const char *' 1030 | raw_tensor atg_fft_hfft(gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1108_atg_fft_hfft2': torch_stubs_generated.c:17372:58: warning: passing argument 6 of 'atg_fft_hfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17372 | atg_fft_hfft2(x16949, x16950, x16951, x16954, x16955, x16958, x16959); | ^~~~~~ torch_api_generated.h:1031:109: note: expected 'char *' but argument is of type 'const char *' 1031 | raw_tensor atg_fft_hfft2(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1109_atg_fft_hfft2_out': torch_stubs_generated.c:17402:22: warning: passing argument 7 of 'atg_fft_hfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17402 | x16988, x16989); | ^~~~~~ torch_api_generated.h:1032:128: note: expected 'char *' but argument is of type 'const char *' 1032 | raw_tensor atg_fft_hfft2_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1110_atg_fft_hfft_out': torch_stubs_generated.c:17431:61: warning: passing argument 6 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17431 | atg_fft_hfft_out(x17008, x17009, x17010, x17013, x17016, x17019, x17020); | ^~~~~~ torch_api_generated.h:1033:105: note: expected 'char *' but argument is of type 'const char *' 1033 | raw_tensor atg_fft_hfft_out(gc_tensor out, gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1111_atg_fft_hfftn': torch_stubs_generated.c:17459:58: warning: passing argument 6 of 'atg_fft_hfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17459 | atg_fft_hfftn(x17038, x17039, x17040, x17043, x17044, x17047, x17048); | ^~~~~~ torch_api_generated.h:1034:109: note: expected 'char *' but argument is of type 'const char *' 1034 | raw_tensor atg_fft_hfftn(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1112_atg_fft_hfftn_out': torch_stubs_generated.c:17489:22: warning: passing argument 7 of 'atg_fft_hfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 17489 | x17077, x17078); | ^~~~~~ torch_api_generated.h:1035:128: note: expected 'char *' but argument is of type 'const char *' 1035 | raw_tensor atg_fft_hfftn_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1113_atg_fft_ifft': ...TRUNCATED BY DUNE... | ^~~~~~ torch_api_generated.h:1054:129: note: expected 'char *' but argument is of type 'const char *' 1054 | raw_tensor atg_fft_irfftn_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1132_atg_fft_rfft': torch_stubs_generated.c:18034:49: warning: passing argument 5 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18034 | atg_fft_rfft(x17630, x17631, x17634, x17637, x17640, x17641); | ^~~~~~ torch_api_generated.h:1055:86: note: expected 'char *' but argument is of type 'const char *' 1055 | raw_tensor atg_fft_rfft(gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1133_atg_fft_rfft2': torch_stubs_generated.c:18060:58: warning: passing argument 6 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18060 | atg_fft_rfft2(x17658, x17659, x17660, x17663, x17664, x17667, x17668); | ^~~~~~ torch_api_generated.h:1056:109: note: expected 'char *' but argument is of type 'const char *' 1056 | raw_tensor atg_fft_rfft2(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1134_atg_fft_rfft2_out': torch_stubs_generated.c:18090:22: warning: passing argument 7 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18090 | x17697, x17698); | ^~~~~~ torch_api_generated.h:1057:128: note: expected 'char *' but argument is of type 'const char *' 1057 | raw_tensor atg_fft_rfft2_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1135_atg_fft_rfft_out': torch_stubs_generated.c:18119:61: warning: passing argument 6 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18119 | atg_fft_rfft_out(x17717, x17718, x17719, x17722, x17725, x17728, x17729); | ^~~~~~ torch_api_generated.h:1058:105: note: expected 'char *' but argument is of type 'const char *' 1058 | raw_tensor atg_fft_rfft_out(gc_tensor out, gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1138_atg_fft_rfftn': torch_stubs_generated.c:18166:58: warning: passing argument 6 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18166 | atg_fft_rfftn(x17775, x17776, x17777, x17780, x17781, x17784, x17785); | ^~~~~~ torch_api_generated.h:1061:109: note: expected 'char *' but argument is of type 'const char *' 1061 | raw_tensor atg_fft_rfftn(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1139_atg_fft_rfftn_out': torch_stubs_generated.c:18196:22: warning: passing argument 7 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18196 | x17814, x17815); | ^~~~~~ torch_api_generated.h:1062:128: note: expected 'char *' but argument is of type 'const char *' 1062 | raw_tensor atg_fft_rfftn_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1197_atg_from_file': torch_stubs_generated.c:18886:18: warning: passing argument 1 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18886 | atg_from_file(x18352, x18353, x18356, x18359, x18362, x18365); | ^~~~~~ torch_api_generated.h:1120:33: note: expected 'char *' but argument is of type 'const char *' 1120 | raw_tensor atg_from_file(char * filename, int shared, int64_t size_v, int size_null, int options_kind, int options_device); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__1198_atg_from_file_out': torch_stubs_generated.c:18908:45: warning: passing argument 2 of 'atg_from_file_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 18908 | void* x18391 = atg_from_file_out(x18380, x18381, x18382, x18385, x18388); | ^~~~~~ torch_api_generated.h:1121:52: note: expected 'char *' but argument is of type 'const char *' 1121 | raw_tensor atg_from_file_out(gc_tensor out, char * filename, int shared, int64_t size_v, int size_null); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__1216_atg_gelu': torch_stubs_generated.c:19108:36: warning: passing argument 2 of 'atg_gelu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19108 | void* x18582 = atg_gelu(x18580, x18581); | ^~~~~~ torch_api_generated.h:1139:44: note: expected 'char *' but argument is of type 'const char *' 1139 | raw_tensor atg_gelu(gc_tensor self, char * approximate); | ~~~~~~~^~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1217_atg_gelu_': torch_stubs_generated.c:19115:37: warning: passing argument 2 of 'atg_gelu_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19115 | void* x18587 = atg_gelu_(x18585, x18586); | ^~~~~~ torch_api_generated.h:1140:45: note: expected 'char *' but argument is of type 'const char *' 1140 | raw_tensor atg_gelu_(gc_tensor self, char * approximate); | ~~~~~~~^~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1218_atg_gelu_backward': torch_stubs_generated.c:19123:53: warning: passing argument 3 of 'atg_gelu_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19123 | void* x18594 = atg_gelu_backward(x18591, x18592, x18593); | ^~~~~~ torch_api_generated.h:1141:76: note: expected 'char *' but argument is of type 'const char *' 1141 | raw_tensor atg_gelu_backward(gc_tensor grad_output, gc_tensor self, char * approximate); | ~~~~~~~^~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1219_atg_gelu_backward_grad_input': torch_stubs_generated.c:19134:57: warning: passing argument 4 of 'atg_gelu_backward_grad_input' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19134 | atg_gelu_backward_grad_input(x18599, x18600, x18601, x18602); | ^~~~~~ torch_api_generated.h:1142:109: note: expected 'char *' but argument is of type 'const char *' 1142 | raw_tensor atg_gelu_backward_grad_input(gc_tensor grad_input, gc_tensor grad_output, gc_tensor self, char * approximate); | ~~~~~~~^~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1220_atg_gelu_out': torch_stubs_generated.c:19142:48: warning: passing argument 3 of 'atg_gelu_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 19142 | void* x18610 = atg_gelu_out(x18607, x18608, x18609); | ^~~~~~ torch_api_generated.h:1143:63: note: expected 'char *' but argument is of type 'const char *' 1143 | raw_tensor atg_gelu_out(gc_tensor out, gc_tensor self, char * approximate); | ~~~~~~~^~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1342_atg_index_reduce': torch_stubs_generated.c:20465:53: warning: passing argument 5 of 'atg_index_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 20465 | atg_index_reduce(x19896, x19897, x19900, x19901, x19902, x19903); | ^~~~~~ torch_api_generated.h:1265:100: note: expected 'char *' but argument is of type 'const char *' 1265 | raw_tensor atg_index_reduce(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor source, char * reduce, int include_self); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1343_atg_index_reduce_': torch_stubs_generated.c:20490:54: warning: passing argument 5 of 'atg_index_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 20490 | atg_index_reduce_(x19919, x19920, x19923, x19924, x19925, x19926); | ^~~~~~ torch_api_generated.h:1266:101: note: expected 'char *' but argument is of type 'const char *' 1266 | raw_tensor atg_index_reduce_(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor source, char * reduce, int include_self); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1344_atg_index_reduce_out': torch_stubs_generated.c:20518:65: warning: passing argument 6 of 'atg_index_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 20518 | atg_index_reduce_out(x19943, x19944, x19945, x19948, x19949, x19950, | ^~~~~~ torch_api_generated.h:1267:119: note: expected 'char *' but argument is of type 'const char *' 1267 | raw_tensor atg_index_reduce_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, gc_tensor source, char * reduce, int include_self); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__1454_atg_linalg_cond_p_str': torch_stubs_generated.c:21508:49: warning: passing argument 2 of 'atg_linalg_cond_p_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21508 | void* x20844 = atg_linalg_cond_p_str(x20842, x20843); | ^~~~~~ torch_api_generated.h:1377:57: note: expected 'char *' but argument is of type 'const char *' 1377 | raw_tensor atg_linalg_cond_p_str(gc_tensor self, char * p); | ~~~~~~~^ torch_stubs_generated.c: In function 'caml__1455_atg_linalg_cond_p_str_out': torch_stubs_generated.c:21517:61: warning: passing argument 3 of 'atg_linalg_cond_p_str_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21517 | void* x20851 = atg_linalg_cond_p_str_out(x20848, x20849, x20850); | ^~~~~~ torch_api_generated.h:1378:76: note: expected 'char *' but argument is of type 'const char *' 1378 | raw_tensor atg_linalg_cond_p_str_out(gc_tensor out, gc_tensor self, char * p); | ~~~~~~~^ torch_stubs_generated.c: In function 'caml__1463_atg_linalg_eigh': torch_stubs_generated.c:21583:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21583 | atg_linalg_eigh(x20912, x20913, x20914); | ^~~~~~ torch_api_generated.h:1386:59: note: expected 'char *' but argument is of type 'const char *' 1386 | void atg_linalg_eigh(raw_tensor *, gc_tensor self, char * UPLO); | ~~~~~~~^~~~ torch_stubs_generated.c: In function 'caml__1464_atg_linalg_eigh_eigvals': torch_stubs_generated.c:21595:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21595 | atg_linalg_eigh_eigvals(x20921, x20922, x20923, x20924, x20925); | ^~~~~~ torch_api_generated.h:1387:105: note: expected 'char *' but argument is of type 'const char *' 1387 | void atg_linalg_eigh_eigvals(raw_tensor *, gc_tensor eigvals, gc_tensor eigvecs, gc_tensor self, char * UPLO); | ~~~~~~~^~~~ torch_stubs_generated.c: In function 'caml__1467_atg_linalg_eigvalsh': torch_stubs_generated.c:21615:47: warning: passing argument 2 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21615 | void* x20939 = atg_linalg_eigvalsh(x20937, x20938); | ^~~~~~ torch_api_generated.h:1390:55: note: expected 'char *' but argument is of type 'const char *' 1390 | raw_tensor atg_linalg_eigvalsh(gc_tensor self, char * UPLO); | ~~~~~~~^~~~ torch_stubs_generated.c: In function 'caml__1468_atg_linalg_eigvalsh_out': torch_stubs_generated.c:21624:59: warning: passing argument 3 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21624 | void* x20946 = atg_linalg_eigvalsh_out(x20943, x20944, x20945); | ^~~~~~ torch_api_generated.h:1391:74: note: expected 'char *' but argument is of type 'const char *' 1391 | raw_tensor atg_linalg_eigvalsh_out(gc_tensor out, gc_tensor self, char * UPLO); | ~~~~~~~^~~~ torch_stubs_generated.c: In function 'caml__1481_atg_linalg_lstsq': torch_stubs_generated.c:21772:61: warning: passing argument 6 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21772 | atg_linalg_lstsq(x21081, x21082, x21083, x21084, x21087, x21090, x21091); | ^~~~~~ torch_api_generated.h:1404:105: note: expected 'char *' but argument is of type 'const char *' 1404 | void atg_linalg_lstsq(raw_tensor *, gc_tensor self, gc_tensor b, double rcond_v, int rcond_null, char * driver_v, int driver_null); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__1482_atg_linalg_lstsq_out': torch_stubs_generated.c:21807:49: warning: passing argument 10 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 21807 | x21119, x21120, x21123, x21126, x21127); | ^~~~~~ torch_api_generated.h:1405:193: note: expected 'char *' but argument is of type 'const char *' 1405 | void atg_linalg_lstsq_out(raw_tensor *, gc_tensor solution, gc_tensor residuals, gc_tensor rank, gc_tensor singular_values, gc_tensor self, gc_tensor b, double rcond_v, int rcond_null, char * driver_v, int driver_null); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__1515_atg_linalg_qr': torch_stubs_generated.c:22292:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22292 | atg_linalg_qr(x21584, x21585, x21586); | ^~~~~~ torch_api_generated.h:1438:54: note: expected 'char *' but argument is of type 'const char *' 1438 | void atg_linalg_qr(raw_tensor *, gc_tensor A, char * mode); | ~~~~~~~^~~~ torch_stubs_generated.c: In function 'caml__1516_atg_linalg_qr_out': torch_stubs_generated.c:22303:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22303 | atg_linalg_qr_out(x21593, x21594, x21595, x21596, x21597); | ^~~~~~ torch_api_generated.h:1439:84: note: expected 'char *' but argument is of type 'const char *' 1439 | void atg_linalg_qr_out(raw_tensor *, gc_tensor Q, gc_tensor R, gc_tensor A, char * mode); | ~~~~~~~^~~~ torch_stubs_generated.c: In function 'caml__1525_atg_linalg_svd': torch_stubs_generated.c:22430:43: warning: passing argument 4 of 'atg_linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22430 | atg_linalg_svd(x21721, x21722, x21723, x21726, x21727); | ^~~~~~ torch_api_generated.h:1448:74: note: expected 'char *' but argument is of type 'const char *' 1448 | void atg_linalg_svd(raw_tensor *, gc_tensor A, int full_matrices, char * driver_v, int driver_null); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__1526_atg_linalg_svd_u': torch_stubs_generated.c:22445:69: warning: passing argument 7 of 'atg_linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22445 | atg_linalg_svd_u(x21739, x21740, x21741, x21742, x21743, x21744, x21747, | ^~~~~~ torch_api_generated.h:1449:116: note: expected 'char *' but argument is of type 'const char *' 1449 | void atg_linalg_svd_u(raw_tensor *, gc_tensor U, gc_tensor S, gc_tensor Vh, gc_tensor A, int full_matrices, char * driver_v, int driver_null); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__1527_atg_linalg_svdvals': torch_stubs_generated.c:22468:46: warning: passing argument 2 of 'atg_linalg_svdvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22468 | void* x21768 = atg_linalg_svdvals(x21763, x21764, x21765); | ^~~~~~ torch_api_generated.h:1450:51: note: expected 'char *' but argument is of type 'const char *' 1450 | raw_tensor atg_linalg_svdvals(gc_tensor A, char * driver_v, int driver_null); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__1528_atg_linalg_svdvals_out': torch_stubs_generated.c:22478:58: warning: passing argument 3 of 'atg_linalg_svdvals_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 22478 | void* x21779 = atg_linalg_svdvals_out(x21773, x21774, x21775, x21776); | ^~~~~~ torch_api_generated.h:1451:70: note: expected 'char *' but argument is of type 'const char *' 1451 | raw_tensor atg_linalg_svdvals_out(gc_tensor out, gc_tensor A, char * driver_v, int driver_null); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__1657_atg_meshgrid_indexing': torch_stubs_generated.c:24361:58: warning: passing argument 3 of 'atg_meshgrid_indexing' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 24361 | void** x23619 = atg_meshgrid_indexing(x23614, x23615, x23618); | ^~~~~~ torch_api_generated.h:1580:84: note: expected 'char *' but argument is of type 'const char *' 1580 | raw_tensor *atg_meshgrid_indexing(gc_tensor *tensors_data, int tensors_len, char * indexing); | ~~~~~~~^~~~~~~~ torch_stubs_generated.c: In function 'caml__1761_atg_nanquantile': torch_stubs_generated.c:26849:60: warning: passing argument 6 of 'atg_nanquantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 26849 | atg_nanquantile(x26067, x26068, x26069, x26072, x26075, x26078); | ^~~~~~ torch_api_generated.h:1684:106: note: expected 'char *' but argument is of type 'const char *' 1684 | raw_tensor atg_nanquantile(gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); | ~~~~~~~^~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1762_atg_nanquantile_out': torch_stubs_generated.c:26878:24: warning: passing argument 7 of 'atg_nanquantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 26878 | x26105); | ^~~~~~ torch_api_generated.h:1685:125: note: expected 'char *' but argument is of type 'const char *' 1685 | raw_tensor atg_nanquantile_out(gc_tensor out, gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); | ~~~~~~~^~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1763_atg_nanquantile_scalar': torch_stubs_generated.c:26905:67: warning: passing argument 6 of 'atg_nanquantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 26905 | atg_nanquantile_scalar(x26120, x26121, x26124, x26127, x26130, x26133); | ^~~~~~ torch_api_generated.h:1686:110: note: expected 'char *' but argument is of type 'const char *' 1686 | raw_tensor atg_nanquantile_scalar(gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); | ~~~~~~~^~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1764_atg_nanquantile_scalar_out': torch_stubs_generated.c:26934:39: warning: passing argument 7 of 'atg_nanquantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 26934 | x26159, x26162); | ^~~~~~ torch_api_generated.h:1687:129: note: expected 'char *' but argument is of type 'const char *' 1687 | raw_tensor atg_nanquantile_scalar_out(gc_tensor out, gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); | ~~~~~~~^~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1860_atg_pad': torch_stubs_generated.c:28274:51: warning: passing argument 4 of 'atg_pad' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 28274 | void* x27472 = atg_pad(x27460, x27461, x27462, x27465, x27466, x27469); | ^~~~~~ torch_api_generated.h:1783:75: note: expected 'char *' but argument is of type 'const char *' 1783 | raw_tensor atg_pad(gc_tensor self, int64_t *pad_data, int pad_len, char * mode, double value_v, int value_null); | ~~~~~~~^~~~ torch_stubs_generated.c: In function 'caml__1907_atg_quantile': torch_stubs_generated.c:28680:57: warning: passing argument 6 of 'atg_quantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 28680 | atg_quantile(x27853, x27854, x27855, x27858, x27861, x27864); | ^~~~~~ torch_api_generated.h:1830:103: note: expected 'char *' but argument is of type 'const char *' 1830 | raw_tensor atg_quantile(gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); | ~~~~~~~^~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1908_atg_quantile_out': torch_stubs_generated.c:28706:69: warning: passing argument 7 of 'atg_quantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 28706 | atg_quantile_out(x27879, x27880, x27881, x27882, x27885, x27888, x27891); | ^~~~~~ torch_api_generated.h:1831:122: note: expected 'char *' but argument is of type 'const char *' 1831 | raw_tensor atg_quantile_out(gc_tensor out, gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); | ~~~~~~~^~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1909_atg_quantile_scalar': torch_stubs_generated.c:28733:64: warning: passing argument 6 of 'atg_quantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 28733 | atg_quantile_scalar(x27906, x27907, x27910, x27913, x27916, x27919); | ^~~~~~ torch_api_generated.h:1832:107: note: expected 'char *' but argument is of type 'const char *' 1832 | raw_tensor atg_quantile_scalar(gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); | ~~~~~~~^~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__1910_atg_quantile_scalar_out': torch_stubs_generated.c:28762:28: warning: passing argument 7 of 'atg_quantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 28762 | x27948); | ^~~~~~ torch_api_generated.h:1833:126: note: expected 'char *' but argument is of type 'const char *' 1833 | raw_tensor atg_quantile_scalar_out(gc_tensor out, gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation); | ~~~~~~~^~~~~~~~~~~~~ torch_stubs_generated.c: In function 'caml__2076_atg_scatter_reduce': torch_stubs_generated.c:30999:70: warning: passing argument 5 of 'atg_scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 30999 | void* x30128 = atg_scatter_reduce(x30121, x30122, x30125, x30126, x30127); | ^~~~~~ torch_api_generated.h:1999:99: note: expected 'char *' but argument is of type 'const char *' 1999 | raw_tensor atg_scatter_reduce(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__2077_atg_scatter_reduce_': torch_stubs_generated.c:31012:56: warning: passing argument 5 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31012 | atg_scatter_reduce_(x30134, x30135, x30138, x30139, x30140); | ^~~~~~ torch_api_generated.h:2000:100: note: expected 'char *' but argument is of type 'const char *' 2000 | raw_tensor atg_scatter_reduce_(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__2078_atg_scatter_reduce_out': torch_stubs_generated.c:31026:67: warning: passing argument 6 of 'atg_scatter_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31026 | atg_scatter_reduce_out(x30148, x30149, x30150, x30153, x30154, x30155); | ^~~~~~ torch_api_generated.h:2001:118: note: expected 'char *' but argument is of type 'const char *' 2001 | raw_tensor atg_scatter_reduce_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__2083_atg_scatter_value_reduce': torch_stubs_generated.c:31097:61: warning: passing argument 5 of 'atg_scatter_value_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31097 | atg_scatter_value_reduce(x30216, x30217, x30220, x30221, x30222); | ^~~~~~ torch_api_generated.h:2006:104: note: expected 'char *' but argument is of type 'const char *' 2006 | raw_tensor atg_scatter_value_reduce(gc_tensor self, int64_t dim, gc_tensor index, scalar value, char * reduce); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__2084_atg_scatter_value_reduce_': torch_stubs_generated.c:31110:62: warning: passing argument 5 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31110 | atg_scatter_value_reduce_(x30229, x30230, x30233, x30234, x30235); | ^~~~~~ torch_api_generated.h:2007:105: note: expected 'char *' but argument is of type 'const char *' 2007 | raw_tensor atg_scatter_value_reduce_(gc_tensor self, int64_t dim, gc_tensor index, scalar value, char * reduce); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__2085_atg_scatter_value_reduce_out': torch_stubs_generated.c:31125:33: warning: passing argument 6 of 'atg_scatter_value_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31125 | x30250); | ^~~~~~ torch_api_generated.h:2008:123: note: expected 'char *' but argument is of type 'const char *' 2008 | raw_tensor atg_scatter_value_reduce_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, scalar value, char * reduce); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__2086_atg_searchsorted': torch_stubs_generated.c:31152:53: warning: passing argument 5 of 'atg_searchsorted' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31152 | atg_searchsorted(x30265, x30266, x30267, x30270, x30273, x30274, x30277); | ^~~~~~ torch_api_generated.h:2009:105: note: expected 'char *' but argument is of type 'const char *' 2009 | raw_tensor atg_searchsorted(gc_tensor sorted_sequence, gc_tensor self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__2087_atg_searchsorted_scalar': torch_stubs_generated.c:31181:60: warning: passing argument 5 of 'atg_searchsorted_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31181 | atg_searchsorted_scalar(x30293, x30294, x30295, x30298, x30301, x30302, | ^~~~~~ torch_api_generated.h:2010:109: note: expected 'char *' but argument is of type 'const char *' 2010 | raw_tensor atg_searchsorted_scalar(gc_tensor sorted_sequence, scalar self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__2088_atg_searchsorted_scalar_out': torch_stubs_generated.c:31213:32: warning: passing argument 6 of 'atg_searchsorted_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31213 | x30331, x30332, x30335); | ^~~~~~ torch_api_generated.h:2011:128: note: expected 'char *' but argument is of type 'const char *' 2011 | raw_tensor atg_searchsorted_scalar_out(gc_tensor out, gc_tensor sorted_sequence, scalar self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__2089_atg_searchsorted_tensor_out': torch_stubs_generated.c:31245:32: warning: passing argument 6 of 'atg_searchsorted_tensor_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31245 | x30362, x30363, x30366); | ^~~~~~ torch_api_generated.h:2012:131: note: expected 'char *' but argument is of type 'const char *' 2012 | raw_tensor atg_searchsorted_tensor_out(gc_tensor out, gc_tensor sorted_sequence, gc_tensor self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__2090_atg_segment_reduce': torch_stubs_generated.c:31275:31: warning: passing argument 2 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31275 | atg_segment_reduce(x30384, x30385, x30386, x30387, x30388, x30389, | ^~~~~~ torch_api_generated.h:2013:54: note: expected 'char *' but argument is of type 'const char *' 2013 | raw_tensor atg_segment_reduce(gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor indices, gc_tensor offsets, int64_t axis, int unsafe, scalar initial); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__2091_atg_segment_reduce_out': torch_stubs_generated.c:31309:43: warning: passing argument 3 of 'atg_segment_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 31309 | atg_segment_reduce_out(x30414, x30415, x30416, x30417, x30418, x30419, | ^~~~~~ torch_api_generated.h:2014:73: note: expected 'char *' but argument is of type 'const char *' 2014 | raw_tensor atg_segment_reduce_out(gc_tensor out, gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor indices, gc_tensor offsets, int64_t axis, int unsafe, scalar initial); | ~~~~~~~^~~~~~ torch_stubs_generated.c: In function 'caml__2413_atg_stft_center': torch_stubs_generated.c:35007:28: warning: passing argument 9 of 'atg_stft_center' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 35007 | x33586, x33589, x33590, x33593, x33596); | ^~~~~~ torch_api_generated.h:2336:182: note: expected 'char *' but argument is of type 'const char *' 2336 | raw_tensor atg_stft_center(gc_tensor self, int64_t n_fft, int64_t hop_length_v, int hop_length_null, int64_t win_length_v, int win_length_null, gc_tensor window, int center, char * pad_mode, int normalized, int onesided, int return_complex); | ~~~~~~~^~~~~~~~ opam-health-check: Build failed "/usr/bin/env" "bash" "-c" "cd $HOME && opam source torch.v0.17.0 && cd torch.v0.17.0 && 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}.v0.17.0 > ${package}.opam; done < /tmp/packages-in-repo && opam install ./ --depext-only --with-test --with-doc || (echo "opam-health-check: Depext unsolvable" && exit 1) && 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.v0.17.0 > 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