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
8d9b0d1957d2: Already exists
77bd5ce6de14: Already exists
59ace7bbb792: Already exists
b44820cf8c7c: Already exists
01779645db39: Already exists
2eff1215ea11: Already exists
cd204a506c17: Already exists
fdbe9d71b607: Already exists
1d1ef689aa4e: Already exists
21d29e096296: Already exists
f3c0f441dc5a: Already exists
24e024f45d9d: Already exists
70f2fc20df5f: Already exists
dc1d3669f80d: Already exists
d1960fd642f1: Already exists
5a522f53743b: Already exists
69c97573612d: Already exists
69c97573612d: Already exists
e309391d441d: Already exists
db1ca6399fa8: Already exists
14889b83b326: Already exists
44e6acdbb29a: Already exists
4f4fb700ef54: Already exists
1976d6d05edb: Already exists
847e4a574c7f: Already exists
6b92941a3055: Already exists
37281440a7ab: Already exists
b771055b6fbe: Already exists
8f4ee55b4bf4: Already exists
d31d3386bb00: Already exists
aa71471fafa8: Already exists
cab8c018bf1d: Already exists
efe6eb884787: Already exists
22ff1b490950: Already exists
08392e8ad44d: Already exists
06179f88ab5e: Pulling fs layer
d150b9aac864: Pulling fs layer
4b7a641c6ed8: Pulling fs layer
853fd7bbd04f: Pulling fs layer
2f5aec184633: Pulling fs layer
2b5266412aec: Pulling fs layer
5a4d87a519ef: Pulling fs layer
4d560378f42c: Pulling fs layer
2f5aec184633: Waiting
5379b5daecdd: Pulling fs layer
d076c2fe356f: Pulling fs layer
22bb05e2e184: Pulling fs layer
bb66a4d8e571: Pulling fs layer
5f23220c0aaf: Pulling fs layer
853fd7bbd04f: Waiting
5a4d87a519ef: Waiting
22bb05e2e184: Waiting
4d560378f42c: Waiting
5f23220c0aaf: Waiting
bb66a4d8e571: Waiting
5379b5daecdd: Waiting
d076c2fe356f: Waiting
2b5266412aec: Waiting
853fd7bbd04f: Verifying Checksum
853fd7bbd04f: Download complete
2f5aec184633: Download complete
2b5266412aec: Verifying Checksum
2b5266412aec: Download complete
5a4d87a519ef: Verifying Checksum
5a4d87a519ef: Download complete
06179f88ab5e: Verifying Checksum
06179f88ab5e: Download complete
5379b5daecdd: Verifying Checksum
5379b5daecdd: Download complete
4b7a641c6ed8: Verifying Checksum
4b7a641c6ed8: Download complete
22bb05e2e184: Verifying Checksum
22bb05e2e184: Download complete
bb66a4d8e571: Verifying Checksum
bb66a4d8e571: Download complete
5f23220c0aaf: Verifying Checksum
5f23220c0aaf: Download complete
4d560378f42c: Verifying Checksum
4d560378f42c: Download complete
d076c2fe356f: Verifying Checksum
d076c2fe356f: Download complete
06179f88ab5e: Pull complete
d150b9aac864: Pull complete
4b7a641c6ed8: Pull complete
853fd7bbd04f: Pull complete
2f5aec184633: Pull complete
2b5266412aec: Pull complete
5a4d87a519ef: Pull complete
4d560378f42c: Pull complete
5379b5daecdd: Pull complete
d076c2fe356f: Pull complete
22bb05e2e184: Pull complete
bb66a4d8e571: Pull complete
5f23220c0aaf: Pull complete
Digest: sha256:1e0b6f576b8d607b19de55c9b0f077afe05eb64669ad8fa98a8169a64a417a6f
Status: Downloaded newer image for ocaml/opam:debian-unstable
2025-12-29 16:57.06 ---> 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-12-29 16:57.06 ---> 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 c239a62d58deaede2e5dce17c2715a55397b73f2"))
2025-12-29 16:57.06 ---> using "56be004b76cb51085f35c8dfc91ba3175ea97907d421b4b0b02e7c1a630a1108" 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.
2025-12-29 16:57.06 ---> using "ed7ae9bae0c3d5c49db6159e96a47bbcbdddbc9479c9fe4d51c2f1b00ae1b7e2" 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"}]
<><> 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-12-29 16:57.06 ---> using "0ba1ecff5cbacf2ff346c199d5bbb730ff1dcfadffcf4be94bc48e3deffb25ce" from cache
/: (run (network host)
(shell "opam update --depexts"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [187 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-12-29-0804.39-F-2025-12-26-2020.11.pdiff [262 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-12-29-0804.39-F-2025-12-26-2020.11.pdiff [262 kB]
- Fetched 513 kB in 1s (352 kB/s)
- Reading package lists...
-
2025-12-29 16:57.06 ---> using "97503196a5b2c8ead5d015466bb8c6e9d7ca051a246b7973b527720b7364d9be" 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.20.2
The following actions will be performed:
=== install 1 package
- install dune 3.20.2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.2 (cached)
-> installed dune.3.20.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-29 16:57.06 ---> using "dfd390be8db08de5b82f6ea38b022735693c9445c8de9f86c9fd82f00e2c81f9" 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"))
################## 25.4%
######################################################################## 100.0%
dune x86_64-unknown-linux-musl was installed successfully to ~/.local/bin/dune
#=#=#
# 2.1%
### 4.6%
##### 7.3%
####### 10.2%
######### 12.7%
########### 15.5%
############# 18.1%
############### 21.0%
################# 23.6%
################## 26.4%
#################### 29.0%
###################### 31.7%
######################## 34.5%
########################## 37.4%
############################ 39.3%
############################## 41.8%
################################ 44.8%
################################## 47.6%
#################################### 50.6%
###################################### 53.0%
######################################## 55.9%
########################################## 58.5%
############################################ 61.3%
############################################## 64.2%
############################################### 66.4%
################################################# 68.5%
################################################### 71.1%
##################################################### 73.9%
####################################################### 76.7%
######################################################## 79.1%
########################################################## 81.8%
############################################################ 84.6%
############################################################## 86.8%
################################################################ 89.1%
################################################################## 91.9%
#################################################################### 94.8%
###################################################################### 97.6%
######################################################################## 100.0%
Revision cache was populated successfully
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-12-29 16:57.06 ---> using "bf6995863db7a7d87d60b6e8e5300471ffd01701d87b656d0683e35e71df2072" 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 100 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.3 [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-1 [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.20.2 [required by sexp]
- install dune-configurator 3.20.2 [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.11.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.6 [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.14.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 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.1.1 [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.3 (cached)
-> retrieved base_bigstring.v0.17.0 (cached)
-> retrieved base_quickcheck.v0.17.0 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved bin_prot.v0.17.0-1 (cached)
-> retrieved capitalization.v0.17.0 (cached)
-> retrieved core.v0.17.1 (cached)
-> installed conf-g++.1.0
-> retrieved core_kernel.v0.17.0 (cached)
-> 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.11.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 num.1.6 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved ppx_assert.v0.17.0 (cached)
-> retrieved ppx_base.v0.17.0 (cached)
-> retrieved ppx_bench.v0.17.0 (cached)
-> retrieved ppx_bin_prot.v0.17.0 (cached)
-> retrieved ppx_cold.v0.17.0 (cached)
-> retrieved ppx_compare.v0.17.0 (cached)
-> retrieved ppx_custom_printf.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_disable_unused_warnings.v0.17.0 (cached)
-> retrieved ppx_diff.v0.17.0 (cached)
-> retrieved ppx_enumerate.v0.17.0 (cached)
-> retrieved ppx_fields_conv.v0.17.0 (cached)
-> retrieved ppx_expect.v0.17.2 (cached)
-> retrieved ppx_fixed_literal.v0.17.0 (cached)
-> retrieved ppx_globalize.v0.17.0 (cached)
-> retrieved ppx_hash.v0.17.0 (cached)
-> retrieved ppx_here.v0.17.0 (cached)
-> retrieved ppx_ignore_instrumentation.v0.17.0 (cached)
-> retrieved ppx_inline_test.v0.17.0 (cached)
-> retrieved ppx_jane.v0.17.0 (cached)
-> retrieved ppx_let.v0.17.0 (cached)
-> retrieved ppx_log.v0.17.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> installed num.1.6
-> 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_message.v0.17.0 (cached)
-> retrieved ppx_sexp_conv.v0.17.0 (cached)
-> retrieved ppx_sexp_value.v0.17.0 (cached)
-> retrieved ppx_stable.v0.17.0 (cached)
-> retrieved ppx_stable_witness.v0.17.0 (cached)
-> retrieved ppx_string.v0.17.0 (cached)
-> retrieved ppx_string_conv.v0.17.0 (cached)
-> retrieved ppx_tydi.v0.17.0 (cached)
-> retrieved ppx_typerep_conv.v0.17.0 (cached)
-> retrieved ppx_variants_conv.v0.17.0 (cached)
-> retrieved ppxlib_jane.v0.17.0 (cached)
-> retrieved protocol_version_header.v0.17.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved re2.v0.17.0 (cached)
-> 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 sexp_pretty.v0.17.0 (cached)
-> retrieved ppxlib.0.35.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.1.1 (cached)
-> installed ocamlbuild.0.16.1
-> installed ocamlfind.1.9.8
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed dune.3.20.2
-> 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.14.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.20.2
-> installed bigstringaf.0.10.0
-> installed sexplib.v0.17.0
-> installed faraday.0.8.2
-> installed angstrom.0.16.1
-> installed base.v0.17.3
-> installed fieldslib.v0.17.0
-> installed regex_parser_intf.v0.17.0
-> installed variantslib.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_fields_conv.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_stable.v0.17.0
-> installed ppx_fixed_literal.v0.17.0
-> installed ppx_ignore_instrumentation.v0.17.0
-> installed ppx_pipebang.v0.17.0
-> installed ppx_enumerate.v0.17.0
-> installed ppx_globalize.v0.17.0
-> installed ppx_compare.v0.17.0
-> installed ppx_optional.v0.17.0
-> installed ppx_sexp_conv.v0.17.0
-> installed ppx_let.v0.17.0
-> installed ppx_hash.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed ppx_sexp_value.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-1
-> 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 uopt.v0.17.0
-> installed gel.v0.17.0
-> installed jane_rope.v0.17.0
-> installed int_repr.v0.17.0
-> installed jsonaf.v0.17.0
-> installed base_bigstring.v0.17.0
-> installed ppx_diff.v0.17.0
-> installed core.v0.17.1
-> installed protocol_version_header.v0.17.0
-> installed csvfields.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-12-29 16:57.06 ---> using "bc7669dd5d84a58447ad6a3d1d7008d73b2b93a4c67dc1e7fac77df9c973eb86" 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
Dependencies common to all supported platforms:
- ocaml.5.3.0
- ocaml-base-compiler.5.3.0
- ocaml-compiler.5.3.0
- ocaml-config.3
2025-12-29 16:57.06 ---> using "9bcabb8795dcd26a81fdac926e310bcc5d29ecbfe856c8b3cc8b0b04ed84d512" 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 --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-no-pkg && mv dune-project dune-project-pkg && mv dune-project-no-pkg 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 && export DUNE_CONFIG__PORTABLE_LOCK_DIR=disabled && PATH=$HOME/.local/bin:$PATH dune pkg lock || (echo \"opam-health-check: Solve failed\" && exit 1) && PATH=$HOME/.local/bin:$PATH dune show depexts 2> /tmp/depexts-from-dune && paste -s -d \" \" /tmp/depexts-from-dune > /tmp/depexts-for-apt && sudo apt-get install -y $(cat /tmp/depexts-for-apt) && grep -v dependency_hash dune.lock/lock.dune > /tmp/lock.dune && mv /tmp/lock.dune dune.lock/lock.dune && mv dune-project-pkg dune-project && 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
Solution for dune.lock:
- base.v0.17.3
- base-threads.base
- base-unix.base
- base_bigstring.v0.17.0
- base_quickcheck.v0.17.1
- bin_prot.v0.17.0-1
- 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.24.0
- ctypes-foreign.0.24.0
- dune-configurator.3.20.2
- 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.6
- ocaml.5.4.0
- ocaml-base-compiler.5.4.0
- ocaml-compiler.5.4.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.1
- ppx_bin_prot.v0.17.1
- 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.1
- ppx_disable_unused_warnings.v0.17.0
- ppx_enumerate.v0.17.0
- ppx_expect.v0.17.3
- ppx_fields_conv.v0.17.0
- ppx_fixed_literal.v0.17.0
- ppx_globalize.v0.17.2
- ppx_hash.v0.17.0
- ppx_here.v0.17.0
- ppx_ignore_instrumentation.v0.17.0
- ppx_inline_test.v0.17.1
- ppx_jane.v0.17.0
- ppx_let.v0.17.1
- ppx_log.v0.17.0
- ppx_module_timer.v0.17.0
- ppx_optcomp.v0.17.1
- ppx_optional.v0.17.0
- ppx_pipebang.v0.17.0
- ppx_sexp_conv.v0.17.1
- ppx_sexp_message.v0.17.0
- ppx_sexp_value.v0.17.0
- ppx_stable.v0.17.1
- ppx_stable_witness.v0.17.0
- ppx_string.v0.17.0
- ppx_string_conv.v0.17.0
- ppx_tydi.v0.17.1
- ppx_typerep_conv.v0.17.1
- ppx_variants_conv.v0.17.1
- ppxlib.0.37.0
- ppxlib_jane.v0.17.4
- re.1.14.0
- 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
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
The following additional packages will be installed:
libpkgconf3 pkgconf pkgconf-bin
The following NEW packages will be installed:
libffi-dev libpkgconf3 pkg-config pkgconf pkgconf-bin
0 upgraded, 5 newly installed, 0 to remove and 5 not upgraded.
Need to get 171 kB of archives.
After this operation, 653 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian unstable/main amd64 libffi-dev amd64 3.5.2-3 [64.3 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 libpkgconf3 amd64 1.8.1-4 [36.4 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 pkgconf-bin amd64 1.8.1-4 [30.2 kB]
Get:4 http://deb.debian.org/debian unstable/main amd64 pkgconf amd64 1.8.1-4 [26.2 kB]
Get:5 http://deb.debian.org/debian unstable/main amd64 pkg-config amd64 1.8.1-4 [14.0 kB]
Fetched 171 kB in 0s (3383 kB/s)
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 ... 20808 files and directories currently installed.)
Preparing to unpack .../libffi-dev_3.5.2-3_amd64.deb ...
Unpacking libffi-dev:amd64 (3.5.2-3) ...
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.5.2-3) ...
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.42-6) ...
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.4.0-ab1bec68ab3ec3d71e1fae73e730464a/target/lib/ocaml -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.4.0-ab1bec68ab3ec3d71e1fae73e730464a/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.4.0-ab1bec68ab3ec3d71e1fae73e730464a/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.4.0-ab1bec68ab3ec3d71e1fae73e730464a/target/lib/ocaml/unix -I ../../../_private/default/.pkg/base.v0.17.3-5810d550d751fe453fa830d5d230ea94/target/lib/base -I ../../../_private/default/.pkg/base.v0.17.3-5810d550d751fe453fa830d5d230ea94/target/lib/base/base_internalhash_types -I ../../../_private/default/.pkg/base.v0.17.3-5810d550d751fe453fa830d5d230ea94/target/lib/base/md5 -I ../../../_private/default/.pkg/base.v0.17.3-5810d550d751fe453fa830d5d230ea94/target/lib/base/shadow_stdlib -I ../../../_private/default/.pkg/base_quickcheck.v0.17.1-f55befc6ebbb66fee88c4f28bb78dca0/target/lib/base_quickcheck -I ../../../_private/default/.pkg/base_quickcheck.v0.17.1-f55befc6ebbb66fee88c4f28bb78dca0/target/lib/base_quickcheck/ppx_quickcheck/runtime -I ../../../_private/default/.pkg/bin_prot.v0.17.0-1-7f8143ae360d9771b570fbfaa0218fea/target/lib/bin_prot -I ../../../_private/default/.pkg/bin_prot.v0.17.0-1-7f8143ae360d9771b570fbfaa0218fea/target/lib/bin_prot/shape -I ../../../_private/default/.pkg/ctypes-foreign.0.24.0-6e928d46031adc4dbe2a231a54c38ab1/target/lib/ctypes-foreign -I ../../../_private/default/.pkg/ctypes.0.24.0-f3c924ca304c533e19d88a251ee0cefb/target/lib/ctypes -I ../../../_private/default/.pkg/ctypes.0.24.0-f3c924ca304c533e19d88a251ee0cefb/target/lib/ctypes/stubs -I ../../../_private/default/.pkg/fieldslib.v0.17.0-e31812b65e85ff8047bfcbf41880d9d5/target/lib/fieldslib -I ../../../_private/default/.pkg/integers.0.7.0-237a757cb326676f3de01d62ea2e662d/target/lib/integers -I ../../../_private/default/.pkg/jane-street-headers.v0.17.0-34b26ced8d2daff69229059e86ee3e8e/target/lib/jane-street-headers -I ../../../_private/default/.pkg/ocaml_intrinsics_kernel.v0.17.1-a7bfa1d29c207f85f6497f0e4f413c80/target/lib/ocaml_intrinsics_kernel -I ../../../_private/default/.pkg/parsexp.v0.17.0-ab3d218b4fd9d27a599c69dcc5359d8b/target/lib/parsexp -I ../../../_private/default/.pkg/ppx_assert.v0.17.0-633ebf7c49ad7adba8982fd474509258/target/lib/ppx_assert/runtime-lib -I ../../../_private/default/.pkg/ppx_bench.v0.17.1-a588462cd816c3d98c98864b88ca9331/target/lib/ppx_bench/runtime-lib -I ../../../_private/default/.pkg/ppx_compare.v0.17.0-36821869a24d220812db91d629219435/target/lib/ppx_compare/runtime-lib -I ../../../_private/default/.pkg/ppx_enumerate.v0.17.0-4989408bbc020d089918c9d33cd412b2/target/lib/ppx_enumerate/runtime-lib -I ../../../_private/default/.pkg/ppx_expect.v0.17.3-f147af872837645f21bc93370600d976/target/lib/ppx_expect/config -I ../../../_private/default/.pkg/ppx_expect.v0.17.3-f147af872837645f21bc93370600d976/target/lib/ppx_expect/config_types -I ../../../_private/default/.pkg/ppx_expect.v0.17.3-f147af872837645f21bc93370600d976/target/lib/ppx_expect/make_corrected_file -I ../../../_private/default/.pkg/ppx_expect.v0.17.3-f147af872837645f21bc93370600d976/target/lib/ppx_expect/runtime -I ../../../_private/default/.pkg/ppx_hash.v0.17.0-2e8ed97ffb502c9d62914f6fd36a752d/target/lib/ppx_hash/runtime-lib -I ../../../_private/default/.pkg/ppx_here.v0.17.0-7362a25798b94cf94be8822cc0c98f60/target/lib/ppx_here/runtime-lib -I ../../../_private/default/.pkg/ppx_inline_test.v0.17.1-0f1f78c631f3a4cde1ffd81aa077b6a4/target/lib/ppx_inline_test/config -I ../../../_private/default/.pkg/ppx_inline_test.v0.17.1-0f1f78c631f3a4cde1ffd81aa077b6a4/target/lib/ppx_inline_test/runtime-lib -I ../../../_private/default/.pkg/ppx_log.v0.17.0-d2d44399ea667b23c6ad847ddd74a5c3/target/lib/ppx_log/syntax -I ../../../_private/default/.pkg/ppx_log.v0.17.0-d2d44399ea667b23c6ad847ddd74a5c3/target/lib/ppx_log/types -I ../../../_private/default/.pkg/ppx_module_timer.v0.17.0-81d92b55e397e9b98cd29b8a1277c5c8/target/lib/ppx_module_timer/runtime -I ../../../_private/default/.pkg/ppx_sexp_conv.v0.17.1-59e7f9155c0cfdbeb7f5bddd3d7c1110/target/lib/ppx_sexp_conv/runtime-lib -I ../../../_private/default/.pkg/ppx_stable_witness.v0.17.0-b81b8ff324202626339b9c95200bd495/target/lib/ppx_stable_witness/runtime -I ../../../_private/default/.pkg/ppx_stable_witness.v0.17.0-b81b8ff324202626339b9c95200bd495/target/lib/ppx_stable_witness/stable_witness -I ../../../_private/default/.pkg/ppx_string.v0.17.0-63767bf4d8d5bb3b26f915b829233503/target/lib/ppx_string/runtime -I ../../../_private/default/.pkg/ppxlib.0.37.0-20d3eeb9de2c82a809caa18ae106c167/target/lib/ppxlib/print_diff -I ../../../_private/default/.pkg/sexplib.v0.17.0-78bfa005c0db33ebb78bde18ca3c7112/target/lib/sexplib -I ../../../_private/default/.pkg/sexplib0.v0.17.0-08ac41df0652ce16618496764327ee18/target/lib/sexplib0 -I ../../../_private/default/.pkg/splittable_random.v0.17.0-460cfe3d4dbd4d0ed7cc40f05dd727c2/target/lib/splittable_random -I ../../../_private/default/.pkg/stdio.v0.17.0-e15090d733f89d572baebbde31bc5209/target/lib/stdio -I ../../../_private/default/.pkg/stdlib-shims.0.3.0-7a10dd4b1c143be9e5be069abbab7b3e/target/lib/stdlib-shims -I ../../../_private/default/.pkg/time_now.v0.17.0-1f15758a8c8f132195881a92f8c5b84b/target/lib/time_now -I ../../../_private/default/.pkg/typerep.v0.17.1-f8c6b209511829a00b5fcbbe10df4bff/target/lib/typerep -I ../../../_private/default/.pkg/variantslib.v0.17.0-e780c80810b3387117c7d7c90f28decf/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.4.0-ab1bec68ab3ec3d71e1fae73e730464a/target/lib/ocaml -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.4.0-ab1bec68ab3ec3d71e1fae73e730464a/target/lib/ocaml/str -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.4.0-ab1bec68ab3ec3d71e1fae73e730464a/target/lib/ocaml/threads -I /home/opam/.cache/dune/toolchains/ocaml-compiler.5.4.0-ab1bec68ab3ec3d71e1fae73e730464a/target/lib/ocaml/unix -I ../../../_private/default/.pkg/base.v0.17.3-5810d550d751fe453fa830d5d230ea94/target/lib/base -I ../../../_private/default/.pkg/base.v0.17.3-5810d550d751fe453fa830d5d230ea94/target/lib/base/base_internalhash_types -I ../../../_private/default/.pkg/base.v0.17.3-5810d550d751fe453fa830d5d230ea94/target/lib/base/md5 -I ../../../_private/default/.pkg/base.v0.17.3-5810d550d751fe453fa830d5d230ea94/target/lib/base/shadow_stdlib -I ../../../_private/default/.pkg/base_quickcheck.v0.17.1-f55befc6ebbb66fee88c4f28bb78dca0/target/lib/base_quickcheck -I ../../../_private/default/.pkg/base_quickcheck.v0.17.1-f55befc6ebbb66fee88c4f28bb78dca0/target/lib/base_quickcheck/ppx_quickcheck/runtime -I ../../../_private/default/.pkg/bin_prot.v0.17.0-1-7f8143ae360d9771b570fbfaa0218fea/target/lib/bin_prot -I ../../../_private/default/.pkg/bin_prot.v0.17.0-1-7f8143ae360d9771b570fbfaa0218fea/target/lib/bin_prot/shape -I ../../../_private/default/.pkg/ctypes-foreign.0.24.0-6e928d46031adc4dbe2a231a54c38ab1/target/lib/ctypes-foreign -I ../../../_private/default/.pkg/ctypes.0.24.0-f3c924ca304c533e19d88a251ee0cefb/target/lib/ctypes -I ../../../_private/default/.pkg/ctypes.0.24.0-f3c924ca304c533e19d88a251ee0cefb/target/lib/ctypes/stubs -I ../../../_private/default/.pkg/fieldslib.v0.17.0-e31812b65e85ff8047bfcbf41880d9d5/target/lib/fieldslib -I ../../../_private/default/.pkg/integers.0.7.0-237a757cb326676f3de01d62ea2e662d/target/lib/integers -I ../../../_private/default/.pkg/jane-street-headers.v0.17.0-34b26ced8d2daff69229059e86ee3e8e/target/lib/jane-street-headers -I ../../../_private/default/.pkg/ocaml_intrinsics_kernel.v0.17.1-a7bfa1d29c207f85f6497f0e4f413c80/target/lib/ocaml_intrinsics_kernel -I ../../../_private/default/.pkg/parsexp.v0.17.0-ab3d218b4fd9d27a599c69dcc5359d8b/target/lib/parsexp -I ../../../_private/default/.pkg/ppx_assert.v0.17.0-633ebf7c49ad7adba8982fd474509258/target/lib/ppx_assert/runtime-lib -I ../../../_private/default/.pkg/ppx_bench.v0.17.1-a588462cd816c3d98c98864b88ca9331/target/lib/ppx_bench/runtime-lib -I ../../../_private/default/.pkg/ppx_compare.v0.17.0-36821869a24d220812db91d629219435/target/lib/ppx_compare/runtime-lib -I ../../../_private/default/.pkg/ppx_enumerate.v0.17.0-4989408bbc020d089918c9d33cd412b2/target/lib/ppx_enumerate/runtime-lib -I ../../../_private/default/.pkg/ppx_expect.v0.17.3-f147af872837645f21bc93370600d976/target/lib/ppx_expect/config -I ../../../_private/default/.pkg/ppx_expect.v0.17.3-f147af872837645f21bc93370600d976/target/lib/ppx_expect/config_types -I ../../../_private/default/.pkg/ppx_expect.v0.17.3-f147af872837645f21bc93370600d976/target/lib/ppx_expect/make_corrected_file -I ../../../_private/default/.pkg/ppx_expect.v0.17.3-f147af872837645f21bc93370600d976/target/lib/ppx_expect/runtime -I ../../../_private/default/.pkg/ppx_hash.v0.17.0-2e8ed97ffb502c9d62914f6fd36a752d/target/lib/ppx_hash/runtime-lib -I ../../../_private/default/.pkg/ppx_here.v0.17.0-7362a25798b94cf94be8822cc0c98f60/target/lib/ppx_here/runtime-lib -I ../../../_private/default/.pkg/ppx_inline_test.v0.17.1-0f1f78c631f3a4cde1ffd81aa077b6a4/target/lib/ppx_inline_test/config -I ../../../_private/default/.pkg/ppx_inline_test.v0.17.1-0f1f78c631f3a4cde1ffd81aa077b6a4/target/lib/ppx_inline_test/runtime-lib -I ../../../_private/default/.pkg/ppx_log.v0.17.0-d2d44399ea667b23c6ad847ddd74a5c3/target/lib/ppx_log/syntax -I ../../../_private/default/.pkg/ppx_log.v0.17.0-d2d44399ea667b23c6ad847ddd74a5c3/target/lib/ppx_log/types -I ../../../_private/default/.pkg/ppx_module_timer.v0.17.0-81d92b55e397e9b98cd29b8a1277c5c8/target/lib/ppx_module_timer/runtime -I ../../../_private/default/.pkg/ppx_sexp_conv.v0.17.1-59e7f9155c0cfdbeb7f5bddd3d7c1110/target/lib/ppx_sexp_conv/runtime-lib -I ../../../_private/default/.pkg/ppx_stable_witness.v0.17.0-b81b8ff324202626339b9c95200bd495/target/lib/ppx_stable_witness/runtime -I ../../../_private/default/.pkg/ppx_stable_witness.v0.17.0-b81b8ff324202626339b9c95200bd495/target/lib/ppx_stable_witness/stable_witness -I ../../../_private/default/.pkg/ppx_string.v0.17.0-63767bf4d8d5bb3b26f915b829233503/target/lib/ppx_string/runtime -I ../../../_private/default/.pkg/ppxlib.0.37.0-20d3eeb9de2c82a809caa18ae106c167/target/lib/ppxlib/print_diff -I ../../../_private/default/.pkg/sexplib.v0.17.0-78bfa005c0db33ebb78bde18ca3c7112/target/lib/sexplib -I ../../../_private/default/.pkg/sexplib0.v0.17.0-08ac41df0652ce16618496764327ee18/target/lib/sexplib0 -I ../../../_private/default/.pkg/splittable_random.v0.17.0-460cfe3d4dbd4d0ed7cc40f05dd727c2/target/lib/splittable_random -I ../../../_private/default/.pkg/stdio.v0.17.0-e15090d733f89d572baebbde31bc5209/target/lib/stdio -I ../../../_private/default/.pkg/stdlib-shims.0.3.0-7a10dd4b1c143be9e5be069abbab7b3e/target/lib/stdlib-shims -I ../../../_private/default/.pkg/time_now.v0.17.0-1f15758a8c8f132195881a92f8c5b84b/target/lib/time_now -I ../../../_private/default/.pkg/typerep.v0.17.1-f8c6b209511829a00b5fcbbe10df4bff/target/lib/typerep -I ../../../_private/default/.pkg/variantslib.v0.17.0-e780c80810b3387117c7d7c90f28decf/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);
...TRUNCATED BY DUNE...
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 --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-no-pkg && mv dune-project dune-project-pkg && mv dune-project-no-pkg 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 && export DUNE_CONFIG__PORTABLE_LOCK_DIR=disabled && PATH=$HOME/.local/bin:$PATH dune pkg lock || (echo "opam-health-check: Solve failed" && exit 1) && PATH=$HOME/.local/bin:$PATH dune show depexts 2> /tmp/depexts-from-dune && paste -s -d " " /tmp/depexts-from-dune > /tmp/depexts-for-apt && sudo apt-get install -y $(cat /tmp/depexts-for-apt) && grep -v dependency_hash dune.lock/lock.dune > /tmp/lock.dune && mv /tmp/lock.dune dune.lock/lock.dune && mv dune-project-pkg dune-project && 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