Build:
- 0
2026-02-26 12:33.04: New job: test torch.0.17 with conf-zlib.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29394/head (42b7d54d05b5bc7b2acd4b8e282016921f6064ca)
on debian-13-ocaml-4.14/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29394/head" && git reset --hard 42b7d54d
git fetch origin master
git merge --no-edit e5f44b75d9fef9e17658ad0da2eb5f9a3445c951
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn conf-zlib.1 1
RUN opam reinstall conf-zlib.1; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-zlib.1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall torch.0.17; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'torch.0.17' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test torch.0.17) || true
RUN opam reinstall --with-test --verbose torch.0.17; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'torch.0.17' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2026-02-26 12:33.04: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633-conf-zlib.1-torch.0.17-42b7d54d05b5bc7b2acd4b8e282016921f6064ca"
2026-02-26 12:33.04: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn conf-zlib.1 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-zlib.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-zlib.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall torch.0.17;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'torch.0.17' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test torch.0.17) || true"))
(run (shell "opam reinstall --with-test --verbose torch.0.17;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'torch.0.17' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-02-26 12:33.04: Waiting for resource in pool OCluster
2026-02-26 12:33.30: Waiting for worker…
2026-02-26 23:45.19: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at e5f44b75d9 Merge pull request #29458 from dinosaure/release-vif-v0.0.1_beta2
Merge made by the 'ort' strategy.
packages/conf-zlib/conf-zlib.1/opam | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
(from ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633)
2026-02-26 23:46.21 ---> using "d6079ab6cce1b58b34ac9b5ed11aa86b7980ab728c75f5a6ba9271e98dc1ac1c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-26 23:46.21 ---> using "3c00c47f9d923b8bd6ffb2b949e4b9efd562ec1af5385aec1656ef10f01c4450" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
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.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-02-26 23:46.21 ---> using "a92b73fe3956045426c13ac4a0686c952a1f3abe3c88ddfc7b2f3a6ed1e46736" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.5.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-02-26 23:46.21 ---> using "cae9d187aa902d60c82d0c2150bbd9c0de1870c923aa0b0063ad5a25247acae5" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2026-02-26 23:46.21 ---> using "feb31a4f8ccbcfb9943e7338a457db5bc00688ce26b7db5634b111626cd4af24" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-26 23:46.22 ---> using "218dc454a30b7ab4404235db8c8fdb1f5422091dcaf54e0b4d4c2167f9e06097" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-26 23:46.22 ---> using "61576cb25f4b1f74a3a66394571bc64e478163c1e334ae43ae4cbd84e7d35da7" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [113 kB]
- Fetched 204 kB in 0s (1808 kB/s)
- Reading package lists...
-
2026-02-26 23:46.22 ---> using "f9dbcae3c4d74eb0b927dae4c55293566c19eca2857d90411920e649cc5a13db" from cache
/home/opam: (run (shell "opam pin add -k version -yn conf-zlib.1 1"))
conf-zlib is now pinned to version 1
2026-02-26 23:46.22 ---> using "b3dc7723b35baee5e68f26c58db70bf95a6915aac55a46a8934396bddb440e1c" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-zlib.1;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'conf-zlib.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
conf-zlib.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
- install conf-pkg-config 4 [required by conf-zlib]
- install conf-zlib 1 (pinned)
The following system packages will first need to be installed:
pkg-config zlib1g-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config" "zlib1g-dev"
- Selecting previously unselected package libpkgconf3: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 ... 20623 files and directories currently installed.)
- 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) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12+deb13u1) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> installed conf-zlib.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-02-26 23:46.22 ---> using "065ee5357a4c3a6c6980a96c59bf7001822fe192a1af5dc7d4896c22789bc061" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall torch.0.17;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'torch.0.17' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
torch.0.17 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 40 packages
- install base v0.16.4 [required by torch]
- install camlzip 1.14 [required by npy]
- install cmdliner 2.1.0 [required by torch]
- install conf-libffi 2.0.0 [required by ctypes-foreign]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by torch]
- install ctypes-foreign 0.24.0 [required by torch]
- install dune 3.21.1 [required by torch]
- install dune-configurator 3.21.1 [required by torch]
- install integers 0.7.0 [required by ctypes]
- install jane-street-headers v0.16.0 [required by time_now]
- install jst-config v0.16.0 [required by time_now]
- install libtorch 1.13.0+linux-x86_64 [required by torch]
- install npy 0.0.9 [required by torch]
- install num 1.6 [required by sexplib]
- install ocaml-compiler-libs v0.12.4 [required by torch]
- install ocamlfind 1.9.8 [required by camlzip]
- install parsexp v0.16.0 [required by sexplib]
- install ppx_assert v0.16.0 [required by jst-config]
- install ppx_base v0.16.0 [required by time_now]
- install ppx_cold v0.16.0 [required by ppx_base]
- install ppx_compare v0.16.0 [required by ppx_base]
- install ppx_custom_printf v0.16.0 [required by torch]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_enumerate v0.16.0 [required by ppx_base]
- install ppx_expect v0.16.2 [required by torch]
- install ppx_globalize v0.16.0 [required by ppx_base]
- install ppx_hash v0.16.0 [required by ppx_base]
- install ppx_here v0.16.0 [required by ppx_expect]
- install ppx_inline_test v0.16.1 [required by ppx_expect]
- install ppx_optcomp v0.16.0 [required by time_now]
- install ppx_sexp_conv v0.16.0 [required by torch]
- install ppxlib 0.35.0 [required by ppx_custom_printf, ppx_expect]
- install re 1.14.0 [required by ppx_expect]
- install sexplib v0.16.0 [required by torch]
- install sexplib0 v0.16.0 [required by base, sexplib]
- install stdio v0.16.0 [required by torch]
- install stdlib-shims 0.3.0 [required by integers]
- install time_now v0.16.0 [required by ppx_inline_test]
- install torch 0.17
The following system packages will first need to be installed:
libffi-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev"
- Selecting previously unselected package libffi-dev:amd64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20693 files and directories currently installed.)
- Preparing to unpack .../libffi-dev_3.4.8-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.8-2) ...
- Setting up libffi-dev:amd64 (3.4.8-2) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4 (cached)
-> retrieved camlzip.1.14 (cached)
-> retrieved cmdliner.2.1.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0 (cached)
-> installed conf-libffi.2.0.0
-> retrieved dune.3.21.1, dune-configurator.3.21.1 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved jane-street-headers.v0.16.0 (cached)
-> retrieved jst-config.v0.16.0 (cached)
-> installed cmdliner.2.1.0
-> retrieved libtorch.1.13.0+linux-x86_64 (https://opam.ocaml.org/cache)
-> retrieved npy.0.0.9 (cached)
-> retrieved num.1.6 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> retrieved ppx_assert.v0.16.0 (cached)
-> retrieved ppx_base.v0.16.0 (cached)
-> retrieved ppx_cold.v0.16.0 (cached)
-> retrieved ppx_compare.v0.16.0 (cached)
-> retrieved ppx_custom_printf.v0.16.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_enumerate.v0.16.0 (cached)
-> retrieved ppx_expect.v0.16.2 (cached)
-> retrieved ppx_globalize.v0.16.0 (cached)
-> retrieved ppx_hash.v0.16.0 (cached)
-> retrieved ppx_here.v0.16.0 (cached)
-> retrieved ppx_inline_test.v0.16.1 (cached)
-> retrieved ppx_optcomp.v0.16.0 (cached)
-> retrieved ppx_sexp_conv.v0.16.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdio.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved time_now.v0.16.0 (cached)
-> retrieved torch.0.17 (https://opam.ocaml.org/cache)
-> installed libtorch.1.13.0+linux-x86_64
-> installed num.1.6
-> installed ocamlfind.1.9.8
-> installed camlzip.1.14
-> installed dune.3.21.1
-> installed jane-street-headers.v0.16.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed npy.0.0.9
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.14.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.21.1
-> installed sexplib.v0.16.0
-> installed ctypes.0.24.0
-> installed base.v0.16.4
-> installed stdio.v0.16.0
-> installed ctypes-foreign.0.24.0
-> installed ppxlib.0.35.0
-> installed ppx_globalize.v0.16.0
-> installed ppx_optcomp.v0.16.0
-> installed ppx_cold.v0.16.0
-> installed ppx_here.v0.16.0
-> installed ppx_enumerate.v0.16.0
-> installed ppx_compare.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
-> installed ppx_hash.v0.16.0
-> installed ppx_assert.v0.16.0
-> installed ppx_custom_printf.v0.16.0
-> installed ppx_base.v0.16.0
-> installed jst-config.v0.16.0
-> installed time_now.v0.16.0
-> installed ppx_inline_test.v0.16.1
-> installed ppx_expect.v0.16.2
[ERROR] The compilation of torch.0.17 failed at "dune build -p torch -j 71".
#=== ERROR while compiling torch.0.17 =========================================#
# context 2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14/.opam-switch/build/torch.0.17
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p torch -j 71
# exit-code 1
# env-file ~/.opam/log/torch-7-028dee.env
# output-file ~/.opam/log/torch-7-028dee.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/config/.discover.eobjs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-configurator -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -no-alias-deps -o src/config/.discover.eobjs/byte/discover.cmo -c -impl src/config/discover.ml)
# File "src/config/discover.ml", line 11, characters 13-33:
# 11 | let ( /^ ) = Caml.Filename.concat
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 12, characters 18-38:
# 12 | let file_exists = Caml.Sys.file_exists
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 46, characters 38-59:
# 46 | if file_exists libdir && Caml.Sys.is_directory libdir
# ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 38, characters 4-20:
# 38 | Caml.Sys.readdir conda_prefix
# ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 55, characters 8-27:
# 55 | match Caml.Sys.getenv_opt "LIBTORCH" with
# ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 59, characters 19-38:
# 59 | Option.bind (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
# ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 65, characters 13-32:
# 65 | (match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
# ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 75, characters 28-49:
# 75 | if file_exists cudadir && Caml.Sys.is_directory cudadir
# ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 104, characters 11-30:
# 104 | (Caml.Sys.getenv_opt "CONDA_PREFIX")
# ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 110, characters 16-35:
# 110 | match Caml.Sys.getenv_opt "LIBTORCH_CXX11_ABI" with
# ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 120, characters 11-21:
# 120 | if Caml.( = ) cuda_flags empty_flags
# ^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-configurator -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -intf-suffix .ml -no-alias-deps -o src/config/.discover.eobjs/native/discover.cmx -c -impl src/config/discover.ml)
# File "src/config/discover.ml", line 11, characters 13-33:
# 11 | let ( /^ ) = Caml.Filename.concat
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 12, characters 18-38:
# 12 | let file_exists = Caml.Sys.file_exists
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 46, characters 38-59:
# 46 | if file_exists libdir && Caml.Sys.is_directory libdir
# ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 38, characters 4-20:
# 38 | Caml.Sys.readdir conda_prefix
# ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 55, characters 8-27:
# 55 | match Caml.Sys.getenv_opt "LIBTORCH" with
# ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 59, characters 19-38:
# 59 | Option.bind (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
# ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 65, characters 13-32:
# 65 | (match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
# ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 75, characters 28-49:
# 75 | if file_exists cudadir && Caml.Sys.is_directory cudadir
# ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 104, characters 11-30:
# 104 | (Caml.Sys.getenv_opt "CONDA_PREFIX")
# ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 110, characters 16-35:
# 110 | match Caml.Sys.getenv_opt "LIBTORCH_CXX11_ABI" with
# ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 120, characters 11-21:
# 120 | if Caml.( = ) cuda_flags empty_flags
# ^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/wrapper/dune", line 4, characters 11-22:
# 4 | (c_names torch_stubs)
# ^^^^^^^^^^^
# (cd _build/default/src/wrapper && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/stdlib-shims -o torch_stubs.o -c torch_stubs.c)
# torch_stubs.c: In function 'caml__33_at_save':
# torch_stubs.c:248:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 248 | at_save(x234, x235);
# | ^~~~
# In file included from torch_stubs.c:1:
# torch_api.h:64:28: note: expected 'char *' but argument is of type 'const char *'
# 64 | void at_save(tensor, char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__34_at_load':
# torch_stubs.c:254:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 254 | void* x239 = at_load(x238);
# | ^~~~
# torch_api.h:65:22: note: expected 'char *' but argument is of type 'const char *'
# 65 | tensor at_load(char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__35_at_save_multi':
# torch_stubs.c:263:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 263 | at_save_multi(x244, x245, x246, x249);
# | ^~~~
# torch_api.h:70:78: note: expected 'char *' but argument is of type 'const char *'
# 70 | void at_save_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__36_at_load_multi':
# torch_stubs.c:272:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 272 | at_load_multi(x255, x256, x257, x260);
# | ^~~~
# torch_api.h:72:78: note: expected 'char *' but argument is of type 'const char *'
# 72 | void at_load_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__37_at_load_multi_':
# torch_stubs.c:281:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 281 | at_load_multi_(x266, x267, x268, x271);
# | ^~~~
# torch_api.h:74:79: note: expected 'char *' but argument is of type 'const char *'
# 74 | void at_load_multi_(tensor *tensors, char **tensor_names, int ntensors, char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__38_at_load_callback':
# torch_stubs.c:288:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 288 | at_load_callback(x275, x276);
# | ^~~~
# torch_api.h:76:29: note: expected 'char *' but argument is of type 'const char *'
# 76 | void at_load_callback(char *filename, void (*f)(char *, tensor));
# | ~~~~~~^~~~~~~~
# torch_stubs.c:288:27: error: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
# 288 | at_load_callback(x275, x276);
# | ^~~~
# | |
# | void (*)(const char *, void *)
# torch_api.h:76:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)'
# 76 | void at_load_callback(char *filename, void (*f)(char *, tensor));
# | ~~~~~~~^~~~~~~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__65_ati_string':
# torch_stubs.c:483:28: warning: passing argument 1 of 'ati_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 483 | void* x450 = ati_string(x449);
# | ^~~~
# torch_api.h:133:19: note: expected 'char *' but argument is of type 'const char *'
# 133 | ivalue ati_string(char *);
# | ^~~~~~
# torch_stubs.c: In function 'caml__68_atm_load':
# torch_stubs.c:501:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 501 | void* x459 = atm_load(x458);
# | ^~~~
# torch_api.h:120:17: note: expected 'char *' but argument is of type 'const char *'
# 120 | module atm_load(char *);
# | ^~~~~~
# torch_stubs.c: In function 'caml__155_atg__convolution_mode':
# torch_stubs.c:1619:68: warning: passing argument 7 of 'atg__convolution_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 1619 | atg__convolution_mode(x1573, x1574, x1575, x1576, x1577, x1578, x1581,
# | ^~~~~
# In file included from torch_api.h:162:
# torch_api_generated.h:86:125: note: expected 'char *' but argument is of type 'const char *'
# 86 | void atg__convolution_mode(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
# | ~~~~~~~^~~~~~~
# torch_stubs.c: In function 'caml__238_atg__linalg_check_errors':
# torch_stubs.c:4143:36: warning: passing argument 2 of 'atg__linalg_check_errors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4143 | atg__linalg_check_errors(x4108, x4109, x4110);
# | ^~~~~
# torch_api_generated.h:169:51: note: expected 'char *' but argument is of type 'const char *'
# 169 | void atg__linalg_check_errors(tensor info, char * api_name, int is_matrix);
# | ~~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__241_atg__linalg_eigh':
# torch_stubs.c:4171:35: warning: passing argument 3 of 'atg__linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4171 | atg__linalg_eigh(x4134, x4135, x4136, x4137);
# | ^~~~~
# torch_api_generated.h:172:50: note: expected 'char *' but argument is of type 'const char *'
# 172 | void atg__linalg_eigh(tensor *, tensor A, char * UPLO, int compute_v);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__242_atg__linalg_eigh_eigenvalues':
# torch_stubs.c:4184:61: warning: passing argument 5 of 'atg__linalg_eigh_eigenvalues' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4184 | atg__linalg_eigh_eigenvalues(x4147, x4148, x4149, x4150, x4151, x4152);
# | ^~~~~
# torch_api_generated.h:173:103: note: expected 'char *' but argument is of type 'const char *'
# 173 | void atg__linalg_eigh_eigenvalues(tensor *, tensor eigenvalues, tensor eigenvectors, tensor A, char * UPLO, int compute_v);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__247_atg__linalg_svd':
# torch_stubs.c:4285:48: warning: passing argument 5 of 'atg__linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4285 | atg__linalg_svd(x4238, x4239, x4240, x4243, x4246);
# | ^~~~~
# torch_api_generated.h:178:84: note: expected 'char *' but argument is of type 'const char *'
# 178 | void atg__linalg_svd(tensor *, tensor A, int full_matrices, int compute_uv, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__248_atg__linalg_svd_u':
# torch_stubs.c:4300:71: warning: passing argument 8 of 'atg__linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4300 | atg__linalg_svd_u(x4256, x4257, x4258, x4259, x4260, x4261, x4264, x4267);
# | ^~~~~
# torch_api_generated.h:179:117: note: expected 'char *' but argument is of type 'const char *'
# 179 | void atg__linalg_svd_u(tensor *, tensor U, tensor S, tensor Vh, tensor A, int full_matrices, int compute_uv, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__326_atg__scatter_reduce':
# torch_stubs.c:6039:59: warning: passing argument 6 of 'atg__scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6039 | atg__scatter_reduce(x5977, x5978, x5979, x5982, x5983, x5984, x5985);
# | ^~~~~
# torch_api_generated.h:257:95: note: expected 'char *' but argument is of type 'const char *'
# 257 | void atg__scatter_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce, int include_self);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__327_atg__scatter_reduce_':
# torch_stubs.c:6066:60: warning: passing argument 6 of 'atg__scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6066 | atg__scatter_reduce_(x6003, x6004, x6005, x6008, x6009, x6010, x6011);
# | ^~~~~
# torch_api_generated.h:258:96: note: expected 'char *' but argument is of type 'const char *'
# 258 | void atg__scatter_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce, int include_self);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__328_atg__scatter_reduce_two_out':
# torch_stubs.c:6096:32: warning: passing argument 7 of 'atg__scatter_reduce_two_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6096 | x6038, x6039);
# | ^~~~~
# torch_api_generated.h:259:115: note: expected 'char *' but argument is of type 'const char *'
# 259 | void atg__scatter_reduce_two_out(tensor *, tensor out, tensor self, int64_t dim, tensor index, tensor src, char * reduce, int include_self);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__329_atg__segment_reduce_backward':
# torch_stubs.c:6128:61: warning: passing argument 5 of 'atg__segment_reduce_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6128 | atg__segment_reduce_backward(x6060, x6061, x6062, x6063, x6064, x6065,
# | ^~~~~
# torch_api_generated.h:260:93: note: expected 'char *' but argument is of type 'const char *'
# 260 | void atg__segment_reduce_backward(tensor *, tensor grad, tensor output, tensor data, char * reduce, tensor lengths, tensor offsets, int64_t axis, scalar initial);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__330_atg__segment_reduce_backward_out':
# torch_stubs.c:6165:37: warning: passing argument 6 of 'atg__segment_reduce_backward_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6165 | x6096, x6097, x6098, x6099, x6102);
# | ^~~~~
# torch_api_generated.h:261:109: note: expected 'char *' but argument is of type 'const char *'
# 261 | void atg__segment_reduce_backward_out(tensor *, tensor out, tensor grad, tensor output, tensor data, char * reduce, tensor lengths, tensor offsets, int64_t axis, scalar initial);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__393_atg__test_ambiguous_defaults_b':
# torch_stubs.c:7290:56: warning: passing argument 4 of 'atg__test_ambiguous_defaults_b' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 7290 | atg__test_ambiguous_defaults_b(x7195, x7196, x7197, x7200);
# | ^~~~~
# torch_api_generated.h:324:79: note: expected 'char *' but argument is of type 'const char *'
# 324 | void atg__test_ambiguous_defaults_b(tensor *, tensor dummy, int64_t a, char * b);
# | ~~~~~~~^
# torch_stubs.c: In function 'caml__407_atg__test_string_default':
# torch_stubs.c:7430:43: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 7430 | atg__test_string_default(x7323, x7324, x7325, x7326);
# | ^~~~~
# torch_api_generated.h:338:62: note: expected 'char *' but argument is of type 'const char *'
# 338 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b);
# | ~~~~~~~^
# torch_stubs.c:7430:50: warning: passing argument 4 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 7430 | atg__test_string_default(x7323, x7324, x7325, x7326);
# | ^~~~~
# torch_api_generated.h:338:72: note: expected 'char *' but argument is of type 'const char *'
# 338 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b);
# | ~~~~~~~^
# torch_stubs.c: In function 'caml__819_atg_conv1d_padding':
# torch_stubs.c:14590:23: warning: passing argument 7 of 'atg_conv1d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 14590 | x14040, x14041, x14042, x14045);
# | ^~~~~~
# torch_api_generated.h:750:122: note: expected 'char *' but argument is of type 'const char *'
# 750 | void atg_conv1d_padding(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
# | ~~~~~~~^~~~~~~
# torch_stubs.c: In function 'caml__821_atg_conv2d_padding':
# torch_stubs.c:14662:23: warning: passing argument 7 of 'atg_conv2d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 14662 | x14119, x14120, x14121, x14124);
# | ^~~~~~
# torch_api_generated.h:752:122: note: expected 'char *' but argument is of type 'const char *'
# 752 | void atg_conv2d_padding(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
# | ~~~~~~~^~~~~~~
# torch_stubs.c: In function 'caml__823_atg_conv3d_padding':
# torch_stubs.c:14734:23: warning: passing argument 7 of 'atg_conv3d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 14734 | x14198, x14199, x14200, x14203);
# | ^~~~~~
# torch_api_generated.h:754:122: note: expected 'char *' but argument is of type 'const char *'
# 754 | void atg_conv3d_padding(tensor *, tensor input, tensor weight, tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
# | ~~~~~~~^~~~~~~
# torch_stubs.c: In function 'caml__937_atg_div_out_mode':
# torch_stubs.c:16974:53: warning: passing argument 5 of 'atg_div_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 16974 | atg_div_out_mode(x16480, x16481, x16482, x16483, x16484);
# | ^~~~~~
# torch_api_generated.h:868:79: note: expected 'char *' but argument is of type 'const char *'
# 868 | void atg_div_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__940_atg_div_scalar_mode':
# torch_stubs.c:17000:48: warning: passing argument 4 of 'atg_div_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17000 | atg_div_scalar_mode(x16504, x16505, x16506, x16507);
# | ^~~~~~
# torch_api_generated.h:871:70: note: expected 'char *' but argument is of type 'const char *'
# 871 | void atg_div_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__941_atg_div_scalar_mode_':
# torch_stubs.c:17010:49: warning: passing argument 4 of 'atg_div_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17010 | atg_div_scalar_mode_(x16513, x16514, x16515, x16516);
# | ^~~~~~
# torch_api_generated.h:872:71: note: expected 'char *' but argument is of type 'const char *'
# 872 | void atg_div_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__942_atg_div_scalar_mode_out':
# torch_stubs.c:17022:60: warning: passing argument 5 of 'atg_div_scalar_mode_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17022 | atg_div_scalar_mode_out(x16523, x16524, x16525, x16526, x16527);
# | ^~~~~~
# torch_api_generated.h:873:86: note: expected 'char *' but argument is of type 'const char *'
# 873 | void atg_div_scalar_mode_out(tensor *, tensor out, tensor self, scalar other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__944_atg_div_tensor_mode':
# torch_stubs.c:17042:48: warning: passing argument 4 of 'atg_div_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17042 | atg_div_tensor_mode(x16542, x16543, x16544, x16545);
# | ^~~~~~
# torch_api_generated.h:875:70: note: expected 'char *' but argument is of type 'const char *'
# 875 | void atg_div_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__945_atg_div_tensor_mode_':
# torch_stubs.c:17052:49: warning: passing argument 4 of 'atg_div_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17052 | atg_div_tensor_mode_(x16551, x16552, x16553, x16554);
# | ^~~~~~
# torch_api_generated.h:876:71: note: expected 'char *' but argument is of type 'const char *'
# 876 | void atg_div_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__949_atg_divide_out_mode':
# torch_stubs.c:17089:56: warning: passing argument 5 of 'atg_divide_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17089 | atg_divide_out_mode(x16584, x16585, x16586, x16587, x16588);
# | ^~~~~~
# torch_api_generated.h:880:82: note: expected 'char *' but argument is of type 'const char *'
# 880 | void atg_divide_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__952_atg_divide_scalar_mode':
# torch_stubs.c:17115:51: warning: passing argument 4 of 'atg_divide_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17115 | atg_divide_scalar_mode(x16608, x16609, x16610, x16611);
# | ^~~~~~
# torch_api_generated.h:883:73: note: expected 'char *' but argument is of type 'const char *'
# 883 | void atg_divide_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__953_atg_divide_scalar_mode_':
# torch_stubs.c:17125:52: warning: passing argument 4 of 'atg_divide_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17125 | atg_divide_scalar_mode_(x16617, x16618, x16619, x16620);
# | ^~~~~~
# torch_api_generated.h:884:74: note: expected 'char *' but argument is of type 'const char *'
# 884 | void atg_divide_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__954_atg_divide_tensor_mode':
# torch_stubs.c:17135:51: warning: passing argument 4 of 'atg_divide_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17135 | atg_divide_tensor_mode(x16626, x16627, x16628, x16629);
# | ^~~~~~
# torch_api_generated.h:885:73: note: expected 'char *' but argument is of type 'const char *'
# 885 | void atg_divide_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__955_atg_divide_tensor_mode_':
# torch_stubs.c:17145:52: warning: passing argument 4 of 'atg_divide_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17145 | atg_divide_tensor_mode_(x16635, x16636, x16637, x16638);
# | ^~~~~~
# torch_api_generated.h:886:74: note: expected 'char *' but argument is of type 'const char *'
# 886 | void atg_divide_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__964_atg_einsum':
# torch_stubs.c:17228:23: warning: passing argument 2 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17228 | atg_einsum(x16724, x16725, x16726, x16727, x16730, x16731);
# | ^~~~~~
# torch_api_generated.h:895:34: note: expected 'char *' but argument is of type 'const char *'
# 895 | void atg_einsum(tensor *, char * equation, tensor *tensors_data, int tensors_len, int64_t *path_data, int path_len);
# | ~~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__1044_atg_fft_fft':
# torch_stubs.c:18495:56: warning: passing argument 6 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18495 | atg_fft_fft(x17892, x17893, x17894, x17897, x17900, x17903);
# | ^~~~~~
# torch_api_generated.h:975:86: note: expected 'char *' but argument is of type 'const char *'
# 975 | void atg_fft_fft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1045_atg_fft_fft2':
# torch_stubs.c:18520:65: warning: passing argument 7 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18520 | atg_fft_fft2(x17918, x17919, x17920, x17921, x17924, x17925, x17928);
# | ^~~~~~
# torch_api_generated.h:976:109: note: expected 'char *' but argument is of type 'const char *'
# 976 | void atg_fft_fft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1046_atg_fft_fft2_out':
# torch_stubs.c:18549:21: warning: passing argument 8 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18549 | x17956);
# | ^~~~~~
# torch_api_generated.h:977:125: note: expected 'char *' but argument is of type 'const char *'
# 977 | void atg_fft_fft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1047_atg_fft_fft_out':
# torch_stubs.c:18577:68: warning: passing argument 7 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18577 | atg_fft_fft_out(x17973, x17974, x17975, x17976, x17979, x17982, x17985);
# | ^~~~~~
# torch_api_generated.h:978:102: note: expected 'char *' but argument is of type 'const char *'
# 978 | void atg_fft_fft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1050_atg_fft_fftn':
# torch_stubs.c:18625:65: warning: passing argument 7 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18625 | atg_fft_fftn(x18033, x18034, x18035, x18036, x18039, x18040, x18043);
# | ^~~~~~
# torch_api_generated.h:981:109: note: expected 'char *' but argument is of type 'const char *'
# 981 | void atg_fft_fftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1051_atg_fft_fftn_out':
# torch_stubs.c:18654:21: warning: passing argument 8 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18654 | x18071);
# | ^~~~~~
# torch_api_generated.h:982:125: note: expected 'char *' but argument is of type 'const char *'
# 982 | void atg_fft_fftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1053_atg_fft_hfft':
# torch_stubs.c:18690:57: warning: passing argument 6 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18690 | atg_fft_hfft(x18098, x18099, x18100, x18103, x18106, x18109);
# | ^~~~~~
# torch_api_generated.h:984:87: note: expected 'char *' but argument is of type 'const char *'
# 984 | void atg_fft_hfft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1054_atg_fft_hfft2':
# torch_stubs.c:18715:66: warning: passing argument 7 of 'atg_fft_hfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18715 | atg_fft_hfft2(x18124, x18125, x18126, x18127, x18130, x18131, x18134);
# | ^~~~~~
# torch_api_generated.h:985:110: note: expected 'char *' but argument is of type 'const char *'
# 985 | void atg_fft_hfft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1055_atg_fft_hfft2_out':
# torch_stubs.c:18744:30: warning: passing argument 8 of 'atg_fft_hfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18744 | x18159, x18162);
# | ^~~~~~
# torch_api_generated.h:986:126: note: expected 'char *' but argument is of type 'const char *'
# 986 | void atg_fft_hfft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1056_atg_fft_hfft_out':
# torch_stubs.c:18772:69: warning: passing argument 7 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18772 | atg_fft_hfft_out(x18179, x18180, x18181, x18182, x18185, x18188, x18191);
# | ^~~~~~
# torch_api_generated.h:987:103: note: expected 'char *' but argument is of type 'const char *'
# 987 | void atg_fft_hfft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1057_atg_fft_hfftn':
# torch_stubs.c:18799:66: warning: passing argument 7 of 'atg_fft_hfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18799 | atg_fft_hfftn(x18207, x18208, x18209, x18210, x18213, x18214, x18217);
# | ^~~~~~
# torch_api_generated.h:988:110: note: expected 'char *' but argument is of type 'const char *'
# 988 | void atg_fft_hfftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1058_atg_fft_hfftn_out':
# torch_stubs.c:18828:30: warning: passing argument 8 of 'atg_fft_hfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18828 | x18242, x18245);
# | ^~~~~~
# torch_api_generated.h:989:126: note: expected 'char *' but argument is of type 'const char *'
# 989 | void atg_fft_hfftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1059_atg_fft_ifft':
# torch_stubs.c:18854:57: warning: passing argument 6 of 'atg_fft_ifft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18854 | atg_fft_ifft(x18261, x18262, x18263, x18266, x18269, x18272);
# | ^~~~~~
# torch_api_generated.h:990:87: note: expected 'char *' but argument is of type 'const char *'
# 990 | void atg_fft_ifft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1060_atg_fft_ifft2':
# torch_stubs.c:18879:66: warning: passing argument 7 of 'atg_fft_ifft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18879 | atg_fft_ifft2(x18287, x18288, x18289, x18290, x18293, x18294, x18297);
# | ^~~~~~
# torch_api_generated.h:991:110: note: expected 'char *' but argument is of type 'const char *'
# 991 | void atg_fft_ifft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1061_atg_fft_ifft2_out':
# torch_stubs.c:18908:30: warning: passing argument 8 of 'atg_fft_ifft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18908 | x18322, x18325);
# | ^~~~~~
# torch_api_generated.h:992:126: note: expected 'char *' but argument is of type 'const char *'
# 992 | void atg_fft_ifft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1062_atg_fft_ifft_out':
# torch_stubs.c:18936:69: warning: passing argument 7 of 'atg_fft_ifft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18936 | atg_fft_ifft_out(x18342, x18343, x18344, x18345, x18348, x18351, x18354);
# | ^~~~~~
# torch_api_generated.h:993:103: note: expected 'char *' but argument is of type 'const char *'
# 993 | void atg_fft_ifft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1063_atg_fft_ifftn':
# torch_stubs.c:18963:66: warning: passing argument 7 of 'atg_fft_ifftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18963 | atg_fft_ifftn(x18370, x18371, x18372, x18373, x18376, x18377, x18380);
# | ^~~~~~
# torch_api_generated.h:994:110: note: expected 'char *' but argument is of type 'const char *'
# 994 | void atg_fft_ifftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1064_atg_fft_ifftn_out':
# torch_stubs.c:18992:30: warning: passing argument 8 of 'atg_fft_ifftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18992 | x18405, x18408);
# | ^~~~~~
# torch_api_generated.h:995:126: note: expected 'char *' but argument is of type 'const char *'
# 995 | void atg_fft_ifftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1066_atg_fft_ihfft':
# torch_stubs.c:19028:58: warning: passing argument 6 of 'atg_fft_ihfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19028 | atg_fft_ihfft(x18435, x18436, x18437, x18440, x18443, x18446);
# | ^~~~~~
# torch_api_generated.h:997:88: note: expected 'char *' but argument is of type 'const char *'
# 997 | void atg_fft_ihfft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1067_atg_fft_ihfft2':
# torch_stubs.c:19053:67: warning: passing argument 7 of 'atg_fft_ihfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19053 | atg_fft_ihfft2(x18461, x18462, x18463, x18464, x18467, x18468, x18471);
# | ^~~~~~
# torch_api_generated.h:998:111: note: expected 'char *' but argument is of type 'const char *'
# 998 | void atg_fft_ihfft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1068_atg_fft_ihfft2_out':
# torch_stubs.c:19082:31: warning: passing argument 8 of 'atg_fft_ihfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19082 | x18496, x18499);
# | ^~~~~~
# torch_api_generated.h:999:127: note: expected 'char *' but argument is of type 'const char *'
# 999 | void atg_fft_ihfft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1069_atg_fft_ihfft_out':
# torch_stubs.c:19110:70: warning: passing argument 7 of 'atg_fft_ihfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19110 | atg_fft_ihfft_out(x18516, x18517, x18518, x18519, x18522, x18525, x18528);
# | ^~~~~~
# torch_api_generated.h:1000:104: note: expected 'char *' but argument is of type 'const char *'
# 1000 | void atg_fft_ihfft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1070_atg_fft_ihfftn':
# torch_stubs.c:19137:67: warning: passing argument 7 of 'atg_fft_ihfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19137 | atg_fft_ihfftn(x18544, x18545, x18546, x18547, x18550, x18551, x18554);
# | ^~~~~~
# torch_api_generated.h:1001:111: note: expected 'char *' but argument is of type 'const char *'
# 1001 | void atg_fft_ihfftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1071_atg_fft_ihfftn_out':
# torch_stubs.c:19166:31: warning: passing argument 8 of 'atg_fft_ihfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19166 | x18579, x18582);
# | ^~~~~~
# torch_api_generated.h:1002:127: note: expected 'char *' but argument is of type 'const char *'
# 1002 | void atg_fft_ihfftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1072_atg_fft_irfft':
# torch_stubs.c:19192:58: warning: passing argument 6 of 'atg_fft_irfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19192 | atg_fft_irfft(x18598, x18599, x18600, x18603, x18606, x18609);
# | ^~~~~~
# torch_api_generated.h:1003:88: note: expected 'char *' but argument is of type 'const char *'
# 1003 | void atg_fft_irfft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1073_atg_fft_irfft2':
# torch_stubs.c:19217:67: warning: passing argument 7 of 'atg_fft_irfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19217 | atg_fft_irfft2(x18624, x18625, x18626, x18627, x18630, x18631, x18634);
# | ^~~~~~
# torch_api_generated.h:1004:111: note: expected 'char *' but argument is of type 'const char *'
# 1004 | void atg_fft_irfft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1074_atg_fft_irfft2_out':
# torch_stubs.c:19246:31: warning: passing argument 8 of 'atg_fft_irfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19246 | x18659, x18662);
# | ^~~~~~
# torch_api_generated.h:1005:127: note: expected 'char *' but argument is of type 'const char *'
# 1005 | void atg_fft_irfft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1075_atg_fft_irfft_out':
# torch_stubs.c:19274:70: warning: passing argument 7 of 'atg_fft_irfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19274 | atg_fft_irfft_out(x18679, x18680, x18681, x18682, x18685, x18688, x18691);
# | ^~~~~~
# torch_api_generated.h:1006:104: note: expected 'char *' but argument is of type 'const char *'
# 1006 | void atg_fft_irfft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1076_atg_fft_irfftn':
# torch_stubs.c:19301:67: warning: passing argument 7 of 'atg_fft_irfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19301 | atg_fft_irfftn(x18707, x18708, x18709, x18710, x18713, x18714, x18717);
# | ^~~~~~
# torch_api_generated.h:1007:111: note: expected 'char *' but argument is of type 'const char *'
# 1007 | void atg_fft_irfftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1077_atg_fft_irfftn_out':
# torch_stubs.c:19330:31: warning: passing argument 8 of 'atg_fft_irfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19330 | x18742, x18745);
# | ^~~~~~
# torch_api_generated.h:1008:127: note: expected 'char *' but argument is of type 'const char *'
# 1008 | void atg_fft_irfftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1078_atg_fft_rfft':
# torch_stubs.c:19356:57: warning: passing argument 6 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19356 | atg_fft_rfft(x18761, x18762, x18763, x18766, x18769, x18772);
# | ^~~~~~
# torch_api_generated.h:1009:87: note: expected 'char *' but argument is of type 'const char *'
# 1009 | void atg_fft_rfft(tensor *, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1079_atg_fft_rfft2':
# torch_stubs.c:19381:66: warning: passing argument 7 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19381 | atg_fft_rfft2(x18787, x18788, x18789, x18790, x18793, x18794, x18797);
# | ^~~~~~
# torch_api_generated.h:1010:110: note: expected 'char *' but argument is of type 'const char *'
# 1010 | void atg_fft_rfft2(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1080_atg_fft_rfft2_out':
# torch_stubs.c:19410:30: warning: passing argument 8 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19410 | x18822, x18825);
# | ^~~~~~
# torch_api_generated.h:1011:126: note: expected 'char *' but argument is of type 'const char *'
# 1011 | void atg_fft_rfft2_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1081_atg_fft_rfft_out':
# torch_stubs.c:19438:69: warning: passing argument 7 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19438 | atg_fft_rfft_out(x18842, x18843, x18844, x18845, x18848, x18851, x18854);
# | ^~~~~~
# torch_api_generated.h:1012:103: note: expected 'char *' but argument is of type 'const char *'
# 1012 | void atg_fft_rfft_out(tensor *, tensor out, tensor self, int64_t n_v, int n_null, int64_t dim, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1084_atg_fft_rfftn':
# torch_stubs.c:19486:66: warning: passing argument 7 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19486 | atg_fft_rfftn(x18902, x18903, x18904, x18905, x18908, x18909, x18912);
# | ^~~~~~
# torch_api_generated.h:1015:110: note: expected 'char *' but argument is of type 'const char *'
# 1015 | void atg_fft_rfftn(tensor *, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1085_atg_fft_rfftn_out':
# torch_stubs.c:19515:30: warning: passing argument 8 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19515 | x18937, x18940);
# | ^~~~~~
# torch_api_generated.h:1016:126: note: expected 'char *' but argument is of type 'const char *'
# 1016 | void atg_fft_rfftn_out(tensor *, tensor out, tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1144_atg_from_file':
# torch_stubs.c:20295:26: warning: passing argument 2 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20295 | atg_from_file(x19593, x19594, x19595, x19598, x19601, x19604, x19607);
# | ^~~~~~
# torch_api_generated.h:1075:37: note: expected 'char *' but argument is of type 'const char *'
# 1075 | void atg_from_file(tensor *, char * filename, int shared, int64_t size_v, int size_null, int options_kind, int options_device);
# | ~~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__1145_atg_from_file_out':
# torch_stubs.c:20320:38: warning: passing argument 3 of 'atg_from_file_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20320 | atg_from_file_out(x19624, x19625, x19626, x19627, x19630, x19633);
# | ^~~~~~
# torch_api_generated.h:1076:53: note: expected 'char *' but argument is of type 'const char *'
# 1076 | void atg_from_file_out(tensor *, tensor out, char * filename, int shared, int64_t size_v, int size_null);
# | ~~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__1163_atg_gelu':
# torch_stubs.c:20588:29: warning: passing argument 3 of 'atg_gelu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20588 | atg_gelu(x19885, x19886, x19887);
# | ^~~~~~
# torch_api_generated.h:1094:45: note: expected 'char *' but argument is of type 'const char *'
# 1094 | void atg_gelu(tensor *, tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs.c: In function 'caml__1164_atg_gelu_':
# torch_stubs.c:20596:30: warning: passing argument 3 of 'atg_gelu_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20596 | atg_gelu_(x19892, x19893, x19894);
# | ^~~~~~
# torch_api_generated.h:1095:46: note: expected 'char *' but argument is of type 'const char *'
# 1095 | void atg_gelu_(tensor *, tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs.c: In function 'caml__1165_atg_gelu_backward':
# torch_stubs.c:20606:46: warning: passing argument 4 of 'atg_gelu_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20606 | atg_gelu_backward(x19900, x19901, x19902, x19903);
# | ^~~~~~
# torch_api_generated.h:1096:74: note: expected 'char *' but argument is of type 'const char *'
# 1096 | void atg_gelu_backward(tensor *, tensor grad_output, tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs.c: In function 'caml__1166_atg_gelu_backward_grad_input':
# torch_stubs.c:20618:65: warning: passing argument 5 of 'atg_gelu_backward_grad_input' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20618 | atg_gelu_backward_grad_input(x19910, x19911, x19912, x19913, x19914);
# | ^~~~~~
# torch_api_generated.h:1097:104: note: expected 'char *' but argument is of type 'const char *'
# 1097 | void atg_gelu_backward_grad_input(tensor *, tensor grad_input, tensor grad_output, tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs.c: In function 'caml__1167_atg_gelu_out':
# torch_stubs.c:20628:41: warning: passing argument 4 of 'atg_gelu_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20628 | atg_gelu_out(x19920, x19921, x19922, x19923);
# | ^~~~~~
# torch_api_generated.h:1098:61: note: expected 'char *' but argument is of type 'const char *'
# 1098 | void atg_gelu_out(tensor *, tensor out, tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs.c: In function 'caml__1289_atg_index_reduce':
# torch_stubs.c:22293:61: warning: passing argument 6 of 'atg_index_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22293 | atg_index_reduce(x21542, x21543, x21544, x21547, x21548, x21549, x21550);
# | ^~~~~~
# torch_api_generated.h:1220:95: note: expected 'char *' but argument is of type 'const char *'
# 1220 | void atg_index_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor source, char * reduce, int include_self);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1290_atg_index_reduce_':
# torch_stubs.c:22320:62: warning: passing argument 6 of 'atg_index_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22320 | atg_index_reduce_(x21568, x21569, x21570, x21573, x21574, x21575, x21576);
# | ^~~~~~
# torch_api_generated.h:1221:96: note: expected 'char *' but argument is of type 'const char *'
# 1221 | void atg_index_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor source, char * reduce, int include_self);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1291_atg_index_reduce_out':
# torch_stubs.c:22350:25: warning: passing argument 7 of 'atg_index_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22350 | x21603, x21604);
# | ^~~~~~
# torch_api_generated.h:1222:111: note: expected 'char *' but argument is of type 'const char *'
# 1222 | void atg_index_reduce_out(tensor *, tensor out, tensor self, int64_t dim, tensor index, tensor source, char * reduce, int include_self);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1387_atg_linalg_cond_p_str':
# torch_stubs.c:23457:42: warning: passing argument 3 of 'atg_linalg_cond_p_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23457 | atg_linalg_cond_p_str(x22675, x22676, x22677);
# | ^~~~~~
# torch_api_generated.h:1318:58: note: expected 'char *' but argument is of type 'const char *'
# 1318 | void atg_linalg_cond_p_str(tensor *, tensor self, char * p);
# | ~~~~~~~^
# torch_stubs.c: In function 'caml__1388_atg_linalg_cond_p_str_out':
# torch_stubs.c:23467:54: warning: passing argument 4 of 'atg_linalg_cond_p_str_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23467 | atg_linalg_cond_p_str_out(x22683, x22684, x22685, x22686);
# | ^~~~~~
# torch_api_generated.h:1319:74: note: expected 'char *' but argument is of type 'const char *'
# 1319 | void atg_linalg_cond_p_str_out(tensor *, tensor out, tensor self, char * p);
# | ~~~~~~~^
# torch_stubs.c: In function 'caml__1396_atg_linalg_eigh':
# torch_stubs.c:23541:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23541 | atg_linalg_eigh(x22758, x22759, x22760);
# | ^~~~~~
# torch_api_generated.h:1327:52: note: expected 'char *' but argument is of type 'const char *'
# 1327 | void atg_linalg_eigh(tensor *, tensor self, char * UPLO);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1397_atg_linalg_eigh_eigvals':
# torch_stubs.c:23553:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23553 | atg_linalg_eigh_eigvals(x22767, x22768, x22769, x22770, x22771);
# | ^~~~~~
# torch_api_generated.h:1328:92: note: expected 'char *' but argument is of type 'const char *'
# 1328 | void atg_linalg_eigh_eigvals(tensor *, tensor eigvals, tensor eigvecs, tensor self, char * UPLO);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1400_atg_linalg_eigvalsh':
# torch_stubs.c:23578:40: warning: passing argument 3 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23578 | atg_linalg_eigvalsh(x22788, x22789, x22790);
# | ^~~~~~
# torch_api_generated.h:1331:56: note: expected 'char *' but argument is of type 'const char *'
# 1331 | void atg_linalg_eigvalsh(tensor *, tensor self, char * UPLO);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1401_atg_linalg_eigvalsh_out':
# torch_stubs.c:23588:52: warning: passing argument 4 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23588 | atg_linalg_eigvalsh_out(x22796, x22797, x22798, x22799);
# | ^~~~~~
# torch_api_generated.h:1332:72: note: expected 'char *' but argument is of type 'const char *'
# 1332 | void atg_linalg_eigvalsh_out(tensor *, tensor out, tensor self, char * UPLO);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1414_atg_linalg_lstsq':
# torch_stubs.c:23754:61: warning: passing argument 6 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23754 | atg_linalg_lstsq(x22952, x22953, x22954, x22955, x22958, x22961);
# | ^~~~~~
# torch_api_generated.h:1345:95: note: expected 'char *' but argument is of type 'const char *'
# 1345 | void atg_linalg_lstsq(tensor *, tensor self, tensor b, double rcond_v, int rcond_null, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1415_atg_linalg_lstsq_out':
# torch_stubs.c:23786:49: warning: passing argument 10 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23786 | x22985, x22986, x22989, x22992);
# | ^~~~~~
# torch_api_generated.h:1346:171: note: expected 'char *' but argument is of type 'const char *'
# 1346 | void atg_linalg_lstsq_out(tensor *, tensor solution, tensor residuals, tensor rank, tensor singular_values, tensor self, tensor b, double rcond_v, int rcond_null, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1448_atg_linalg_qr':
# torch_stubs.c:24352:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24352 | atg_linalg_qr(x23521, x23522, x23523);
# | ^~~~~~
# torch_api_generated.h:1379:47: note: expected 'char *' but argument is of type 'const char *'
# 1379 | void atg_linalg_qr(tensor *, tensor A, char * mode);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1449_atg_linalg_qr_out':
# torch_stubs.c:24363:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24363 | atg_linalg_qr_out(x23530, x23531, x23532, x23533, x23534);
# | ^~~~~~
# torch_api_generated.h:1380:71: note: expected 'char *' but argument is of type 'const char *'
# 1380 | void atg_linalg_qr_out(tensor *, tensor Q, tensor R, tensor A, char * mode);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1458_atg_linalg_svd':
# torch_stubs.c:24509:43: warning: passing argument 4 of 'atg_linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24509 | atg_linalg_svd(x23672, x23673, x23674, x23677);
# | ^~~~~~
# torch_api_generated.h:1389:67: note: expected 'char *' but argument is of type 'const char *'
# 1389 | void atg_linalg_svd(tensor *, tensor A, int full_matrices, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1459_atg_linalg_svd_u':
# torch_stubs.c:24523:69: warning: passing argument 7 of 'atg_linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24523 | atg_linalg_svd_u(x23686, x23687, x23688, x23689, x23690, x23691, x23694);
# | ^~~~~~
# torch_api_generated.h:1390:100: note: expected 'char *' but argument is of type 'const char *'
# 1390 | void atg_linalg_svd_u(tensor *, tensor U, tensor S, tensor Vh, tensor A, int full_matrices, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1460_atg_linalg_svdvals':
# torch_stubs.c:24544:39: warning: passing argument 3 of 'atg_linalg_svdvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24544 | atg_linalg_svdvals(x23706, x23707, x23708);
# | ^~~~~~
# torch_api_generated.h:1391:52: note: expected 'char *' but argument is of type 'const char *'
# 1391 | void atg_linalg_svdvals(tensor *, tensor A, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1461_atg_linalg_svdvals_out':
# torch_stubs.c:24554:51: warning: passing argument 4 of 'atg_linalg_svdvals_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24554 | atg_linalg_svdvals_out(x23714, x23715, x23716, x23717);
# | ^~~~~~
# torch_api_generated.h:1392:68: note: expected 'char *' but argument is of type 'const char *'
# 1392 | void atg_linalg_svdvals_out(tensor *, tensor out, tensor A, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1587_atg_meshgrid_indexing':
# torch_stubs.c:26591:58: warning: passing argument 3 of 'atg_meshgrid_indexing' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26591 | void** x25736 = atg_meshgrid_indexing(x25731, x25732, x25735);
# | ^~~~~~
# torch_api_generated.h:1518:77: note: expected 'char *' but argument is of type 'const char *'
# 1518 | tensor *atg_meshgrid_indexing(tensor *tensors_data, int tensors_len, char * indexing);
# | ~~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__1688_atg_nanquantile':
# torch_stubs.c:29023:68: warning: passing argument 7 of 'atg_nanquantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 29023 | atg_nanquantile(x28127, x28128, x28129, x28130, x28133, x28136, x28139);
# | ^~~~~~
# torch_api_generated.h:1619:104: note: expected 'char *' but argument is of type 'const char *'
# 1619 | void atg_nanquantile(tensor *, tensor self, tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__1689_atg_nanquantile_out':
# torch_stubs.c:29053:32: warning: passing argument 8 of 'atg_nanquantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 29053 | x28166, x28169);
# | ^~~~~~
# torch_api_generated.h:1620:120: note: expected 'char *' but argument is of type 'const char *'
# 1620 | void atg_nanquantile_out(tensor *, tensor out, tensor self, tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__1690_atg_nanquantile_scalar':
# torch_stubs.c:29083:27: warning: passing argument 7 of 'atg_nanquantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 29083 | x28200);
# | ^~~~~~
# torch_api_generated.h:1621:111: note: expected 'char *' but argument is of type 'const char *'
# 1621 | void atg_nanquantile_scalar(tensor *, tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__1691_atg_nanquantile_scalar_out':
# torch_stubs.c:29113:47: warning: passing argument 8 of 'atg_nanquantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 29113 | x28226, x28229, x28232);
# | ^~~~~~
# torch_api_generated.h:1622:127: note: expected 'char *' but argument is of type 'const char *'
# 1622 | void atg_nanquantile_scalar_out(tensor *, tensor out, tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__1784_atg_pad':
# torch_stubs.c:30683:44: warning: passing argument 5 of 'atg_pad' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 30683 | atg_pad(x29759, x29760, x29761, x29762, x29765, x29766, x29769);
# | ^~~~~~
# torch_api_generated.h:1715:76: note: expected 'char *' but argument is of type 'const char *'
# 1715 | void atg_pad(tensor *, tensor self, int64_t *pad_data, int pad_len, char * mode, double value_v, int value_null);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1831_atg_quantile':
# torch_stubs.c:31208:65: warning: passing argument 7 of 'atg_quantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31208 | atg_quantile(x30284, x30285, x30286, x30287, x30290, x30293, x30296);
# | ^~~~~~
# torch_api_generated.h:1762:101: note: expected 'char *' but argument is of type 'const char *'
# 1762 | void atg_quantile(tensor *, tensor self, tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__1832_atg_quantile_out':
# torch_stubs.c:31237:21: warning: passing argument 8 of 'atg_quantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31237 | x30326);
# | ^~~~~~
# torch_api_generated.h:1763:117: note: expected 'char *' but argument is of type 'const char *'
# 1763 | void atg_quantile_out(tensor *, tensor out, tensor self, tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__1833_atg_quantile_scalar':
# torch_stubs.c:31267:24: warning: passing argument 7 of 'atg_quantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31267 | x30357);
# | ^~~~~~
# torch_api_generated.h:1764:108: note: expected 'char *' but argument is of type 'const char *'
# 1764 | void atg_quantile_scalar(tensor *, tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__1834_atg_quantile_scalar_out':
# torch_stubs.c:31297:36: warning: passing argument 8 of 'atg_quantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31297 | x30386, x30389);
# | ^~~~~~
# torch_api_generated.h:1765:124: note: expected 'char *' but argument is of type 'const char *'
# 1765 | void atg_quantile_scalar_out(tensor *, tensor out, tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__1996_atg_scatter_reduce':
# torch_stubs.c:33819:63: warning: passing argument 6 of 'atg_scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 33819 | atg_scatter_reduce(x32865, x32866, x32867, x32870, x32871, x32872);
# | ^~~~~~
# torch_api_generated.h:1927:94: note: expected 'char *' but argument is of type 'const char *'
# 1927 | void atg_scatter_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1997_atg_scatter_reduce_':
# torch_stubs.c:33844:64: warning: passing argument 6 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 33844 | atg_scatter_reduce_(x32886, x32887, x32888, x32891, x32892, x32893);
# | ^~~~~~
# torch_api_generated.h:1928:95: note: expected 'char *' but argument is of type 'const char *'
# 1928 | void atg_scatter_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1998_atg_scatter_reduce_out':
# torch_stubs.c:33872:27: warning: passing argument 7 of 'atg_scatter_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 33872 | x32916);
# | ^~~~~~
# torch_api_generated.h:1929:110: note: expected 'char *' but argument is of type 'const char *'
# 1929 | void atg_scatter_reduce_out(tensor *, tensor out, tensor self, int64_t dim, tensor index, tensor src, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__2003_atg_scatter_value_reduce':
# torch_stubs.c:33970:69: warning: passing argument 6 of 'atg_scatter_value_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 33970 | atg_scatter_value_reduce(x32999, x33000, x33001, x33004, x33005, x33006);
# | ^~~~~~
# torch_api_generated.h:1934:102: note: expected 'char *' but argument is of type 'const char *'
# 1934 | void atg_scatter_value_reduce(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__2004_atg_scatter_value_reduce_':
# torch_stubs.c:33995:70: warning: passing argument 6 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 33995 | atg_scatter_value_reduce_(x33020, x33021, x33022, x33025, x33026, x33027);
# | ^~~~~~
# torch_api_generated.h:1935:103: note: expected 'char *' but argument is of type 'const char *'
# 1935 | void atg_scatter_value_reduce_(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__2005_atg_scatter_value_reduce_out':
# torch_stubs.c:34023:41: warning: passing argument 7 of 'atg_scatter_value_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34023 | x33049, x33050);
# | ^~~~~~
# torch_api_generated.h:1936:118: note: expected 'char *' but argument is of type 'const char *'
# 1936 | void atg_scatter_value_reduce_out(tensor *, tensor out, tensor self, int64_t dim, tensor index, scalar value, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__2006_atg_searchsorted':
# torch_stubs.c:34051:61: warning: passing argument 6 of 'atg_searchsorted' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34051 | atg_searchsorted(x33066, x33067, x33068, x33069, x33072, x33075, x33076);
# | ^~~~~~
# torch_api_generated.h:1937:103: note: expected 'char *' but argument is of type 'const char *'
# 1937 | void atg_searchsorted(tensor *, tensor sorted_sequence, tensor self, int out_int32, int right, char * side, tensor sorter);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__2007_atg_searchsorted_scalar':
# torch_stubs.c:34079:68: warning: passing argument 6 of 'atg_searchsorted_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34079 | atg_searchsorted_scalar(x33092, x33093, x33094, x33095, x33098, x33101,
# | ^~~~~~
# torch_api_generated.h:1938:110: note: expected 'char *' but argument is of type 'const char *'
# 1938 | void atg_searchsorted_scalar(tensor *, tensor sorted_sequence, scalar self, int out_int32, int right, char * side, tensor sorter);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__2008_atg_searchsorted_scalar_out':
# torch_stubs.c:34110:40: warning: passing argument 7 of 'atg_searchsorted_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34110 | x33126, x33129, x33130);
# | ^~~~~~
# torch_api_generated.h:1939:126: note: expected 'char *' but argument is of type 'const char *'
# 1939 | void atg_searchsorted_scalar_out(tensor *, tensor out, tensor sorted_sequence, scalar self, int out_int32, int right, char * side, tensor sorter);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__2009_atg_searchsorted_tensor_out':
# torch_stubs.c:34141:40: warning: passing argument 7 of 'atg_searchsorted_tensor_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34141 | x33155, x33158, x33159);
# | ^~~~~~
# torch_api_generated.h:1940:126: note: expected 'char *' but argument is of type 'const char *'
# 1940 | void atg_searchsorted_tensor_out(tensor *, tensor out, tensor sorted_sequence, tensor self, int out_int32, int right, char * side, tensor sorter);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__2010_atg_segment_reduce':
# torch_stubs.c:34171:39: warning: passing argument 3 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34171 | atg_segment_reduce(x33178, x33179, x33180, x33181, x33182, x33183,
# | ^~~~~~
# torch_api_generated.h:1941:55: note: expected 'char *' but argument is of type 'const char *'
# 1941 | void atg_segment_reduce(tensor *, tensor data, char * reduce, tensor lengths, tensor indices, tensor offsets, int64_t axis, int unsafe, scalar initial);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__2011_atg_segment_reduce_out':
# torch_stubs.c:34206:51: warning: passing argument 4 of 'atg_segment_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34206 | atg_segment_reduce_out(x33211, x33212, x33213, x33214, x33215, x33216,
# | ^~~~~~
# torch_api_generated.h:1942:71: note: expected 'char *' but argument is of type 'const char *'
# 1942 | void atg_segment_reduce_out(tensor *, tensor out, tensor data, char * reduce, tensor lengths, tensor indices, tensor offsets, int64_t axis, int unsafe, scalar initial);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__2327_atg_stft_center':
# torch_stubs.c:38514:36: warning: passing argument 10 of 'atg_stft_center' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 38514 | x37092, x37093, x37096, x37097, x37100, x37103);
# | ^~~~~~
# torch_api_generated.h:2258:180: note: expected 'char *' but argument is of type 'const char *'
# 2258 | void atg_stft_center(tensor *, tensor self, int64_t n_fft, int64_t hop_length_v, int hop_length_null, int64_t win_length_v, int win_length_null, tensor window, int center, char * pad_mode, int normalized, int onesided, int return_complex);
# | ~~~~~~~^~~~~~~~
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Checkpointing.cmo -c -impl src/torch/checkpointing.ml)
# File "src/torch/checkpointing.ml", line 4, characters 16-37:
# 4 | let dirname = Caml.Filename.dirname checkpoint_base in
# ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 5, characters 17-39:
# 5 | let basename = Caml.Filename.basename checkpoint_base in
# ^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 12, characters 44-64:
# 12 | (try Some (Int.of_string suffix, Caml.Filename.concat dirname filename) with
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 6, characters 2-18:
# 6 | Caml.Sys.readdir dirname
# ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Mnist_helper.cmo -c -impl src/torch/mnist_helper.ml)
# File "src/torch/mnist_helper.ml", line 35, characters 17-37:
# 35 | let filename = Caml.Filename.concat prefix in
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Dataset_helper.cmo -c -impl src/torch/dataset_helper.ml)
# File "src/torch/dataset_helper.ml", line 142, characters 4-22:
# 142 | Caml.Gc.full_major ();
# ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 187, characters 4-22:
# 187 | Caml.Gc.full_major ()
# ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 194, characters 8-26:
# 194 | Caml.Gc.full_major ();
# ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 201, characters 8-26:
# 201 | Caml.Gc.full_major ();
# ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Cifar_helper.cmo -c -impl src/torch/cifar_helper.ml)
# File "src/torch/cifar_helper.ml", line 46, characters 26-46:
# 46 | let read_one filename = Caml.Filename.concat dirname filename |> read_file in
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/cifar_helper.ml", line 67, characters 21-41:
# 67 | let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Text_helper.cmo -c -impl src/torch/text_helper.ml)
# File "src/torch/text_helper.ml", line 51, characters 4-22:
# 51 | Caml.Gc.full_major ()
# ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Tensor.cmo -c -impl src/torch/tensor.ml)
# File "src/torch/tensor.ml", line 217, characters 4-32:
# 217 | Caml.Format.pp_print_newline formatter ();
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 218, characters 4-31:
# 218 | Caml.Format.pp_print_string formatter (to_string t ~line_size:96);
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 219, characters 4-32:
# 219 | Caml.Format.pp_print_newline formatter ())
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 224, characters 7-34:
# 224 | |> Caml.Format.pp_print_string formatter
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 375, characters 10-21:
# 375 | else if Caml.( <> ) (shape t1) (shape t2)
# ^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/vision/.torch_vision.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/byte/torch_vision__Image.cmo -c -impl src/vision/image.ml)
# File "src/vision/image.ml", line 81, characters 10-31:
# 81 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
# ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 82, characters 14-30:
# 82 | let files = Caml.Sys.readdir dir |> Array.to_list in
# ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 87, characters 26-46:
# 87 | match load_image (Caml.Filename.concat dir filename) ?resize with
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 159, characters 12-33:
# 159 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
# ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 164, characters 28-48:
# 164 | let next_dir = Caml.Filename.concat dir file in
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 165, characters 16-37:
# 165 | if Caml.Sys.is_directory next_dir
# ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 162, characters 6-22:
# 162 | Caml.Sys.readdir dir
# ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 184, characters 41-61:
# 184 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 194, characters 37-57:
# 194 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Tensor.cmx -c -impl src/torch/tensor.ml)
# File "src/torch/tensor.ml", line 217, characters 4-32:
# 217 | Caml.Format.pp_print_newline formatter ();
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 218, characters 4-31:
# 218 | Caml.Format.pp_print_string formatter (to_string t ~line_size:96);
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 219, characters 4-32:
# 219 | Caml.Format.pp_print_newline formatter ())
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 224, characters 7-34:
# 224 | |> Caml.Format.pp_print_string formatter
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 375, characters 10-21:
# 375 | else if Caml.( <> ) (shape t1) (shape t2)
# ^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Text_helper.cmx -c -impl src/torch/text_helper.ml)
# File "src/torch/text_helper.ml", line 51, characters 4-22:
# 51 | Caml.Gc.full_major ()
# ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Dataset_helper.cmx -c -impl src/torch/dataset_helper.ml)
# File "src/torch/dataset_helper.ml", line 142, characters 4-22:
# 142 | Caml.Gc.full_major ();
# ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 187, characters 4-22:
# 187 | Caml.Gc.full_major ()
# ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 194, characters 8-26:
# 194 | Caml.Gc.full_major ();
# ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 201, characters 8-26:
# 201 | Caml.Gc.full_major ();
# ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Cifar_helper.cmx -c -impl src/torch/cifar_helper.ml)
# File "src/torch/cifar_helper.ml", line 46, characters 26-46:
# 46 | let read_one filename = Caml.Filename.concat dirname filename |> read_file in
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/cifar_helper.ml", line 67, characters 21-41:
# 67 | let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Checkpointing.cmx -c -impl src/torch/checkpointing.ml)
# File "src/torch/checkpointing.ml", line 4, characters 16-37:
# 4 | let dirname = Caml.Filename.dirname checkpoint_base in
# ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 5, characters 17-39:
# 5 | let basename = Caml.Filename.basename checkpoint_base in
# ^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 12, characters 44-64:
# 12 | (try Some (Int.of_string suffix, Caml.Filename.concat dirname filename) with
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 6, characters 2-18:
# 6 | Caml.Sys.readdir dirname
# ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Mnist_helper.cmx -c -impl src/torch/mnist_helper.ml)
# File "src/torch/mnist_helper.ml", line 35, characters 17-37:
# 35 | let filename = Caml.Filename.concat prefix in
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/vision/.torch_vision.objs/byte -I src/vision/.torch_vision.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/native/torch_vision__Image.cmx -c -impl src/vision/image.ml)
# File "src/vision/image.ml", line 81, characters 10-31:
# 81 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
# ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 82, characters 14-30:
# 82 | let files = Caml.Sys.readdir dir |> Array.to_list in
# ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 87, characters 26-46:
# 87 | match load_image (Caml.Filename.concat dir filename) ?resize with
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 159, characters 12-33:
# 159 | if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
# ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 164, characters 28-48:
# 164 | let next_dir = Caml.Filename.concat dir file in
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 165, characters 16-37:
# 165 | if Caml.Sys.is_directory next_dir
# ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 162, characters 6-22:
# 162 | Caml.Sys.readdir dir
# ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 184, characters 41-61:
# 184 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 194, characters 37-57:
# 194 | load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
# ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build torch 0.17
+-
+- The following changes have been performed
| - install base v0.16.4
| - install camlzip 1.14
| - install cmdliner 2.1.0
| - install conf-libffi 2.0.0
| - install csexp 1.5.2
| - install ctypes 0.24.0
| - install ctypes-foreign 0.24.0
| - install dune 3.21.1
| - install dune-configurator 3.21.1
| - install integers 0.7.0
| - install jane-street-headers v0.16.0
| - install jst-config v0.16.0
| - install libtorch 1.13.0+linux-x86_64
| - install npy 0.0.9
| - install num 1.6
| - install ocaml-compiler-libs v0.12.4
| - install ocamlfind 1.9.8
| - install parsexp v0.16.0
| - install ppx_assert v0.16.0
| - install ppx_base v0.16.0
| - install ppx_cold v0.16.0
| - install ppx_compare v0.16.0
| - install ppx_custom_printf v0.16.0
| - install ppx_derivers 1.2.1
| - install ppx_enumerate v0.16.0
| - install ppx_expect v0.16.2
| - install ppx_globalize v0.16.0
| - install ppx_hash v0.16.0
| - install ppx_here v0.16.0
| - install ppx_inline_test v0.16.1
| - install ppx_optcomp v0.16.0
| - install ppx_sexp_conv v0.16.0
| - install ppxlib 0.35.0
| - install re 1.14.0
| - install sexplib v0.16.0
| - install sexplib0 v0.16.0
| - install stdio v0.16.0
| - install stdlib-shims 0.3.0
| - install time_now v0.16.0
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260226234623.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall torch.0.17;
res=$?;
test "$res" != 31 && exit "$res";
export OPAMCLI=2.0;
build_dir=$(opam var prefix)/.opam-switch/build;
failed=$(ls "$build_dir");
partial_fails="";
for pkg in $failed; do
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'torch.0.17' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 1
2026-02-26 23:51.44: Job failed: Failed: Build failed
2026-02-26 23:51.44: Log analysis:
2026-02-26 23:51.44: >>>
[ERROR] The compilation of torch.0.17 failed at "dune build -p torch -j 71".
(score = 20)
2026-02-26 23:51.44: >>>
# torch_stubs.c:288:27: error: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2026-02-26 23:51.44: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]