(for PR #29096)
2025-12-15 03:22.20: New job: test torch.v0.16.0 with dune-configurator.3.21.0~alpha4, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29096/head (7d6af52f05e2c06c00193b2918193b6994ece701)
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/29096/head" && git reset --hard 7d6af52f
git fetch origin master
git merge --no-edit 2625e9877b44d517ad87b5bf4ff708f3e44b78d8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d
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 dune-configurator.3.21.0~alpha4 3.21.0~alpha4
RUN opam reinstall dune-configurator.3.21.0~alpha4; \
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" != 'dune-configurator.3.21.0~alpha4' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall torch.v0.16.0; \
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.v0.16.0' && 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.v0.16.0) || true
RUN opam reinstall --with-test --verbose torch.v0.16.0; \
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.v0.16.0' && 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 .
2025-12-15 03:22.20: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d-dune-configurator.3.21.0~alpha4-torch.v0.16.0-7d6af52f05e2c06c00193b2918193b6994ece701"
2025-12-15 03:22.20: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d)
(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 dune-configurator.3.21.0~alpha4 3.21.0~alpha4"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-configurator.3.21.0~alpha4;\
\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\" != 'dune-configurator.3.21.0~alpha4' && 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.v0.16.0;\
\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.v0.16.0' && 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.v0.16.0) || true"))
(run (shell "opam reinstall --with-test --verbose torch.v0.16.0;\
\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.v0.16.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-15 03:22.20: Waiting for resource in pool OCluster
2025-12-15 03:25.14: Waiting for worker…
2025-12-15 03:28.01: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 68% (13044/19031)
Updating files: 69% (13132/19031)
Updating files: 70% (13322/19031)
Updating files: 71% (13513/19031)
Updating files: 72% (13703/19031)
Updating files: 73% (13893/19031)
Updating files: 74% (14083/19031)
Updating files: 75% (14274/19031)
Updating files: 76% (14464/19031)
Updating files: 77% (14654/19031)
Updating files: 78% (14845/19031)
Updating files: 79% (15035/19031)
Updating files: 80% (15225/19031)
Updating files: 81% (15416/19031)
Updating files: 82% (15606/19031)
Updating files: 83% (15796/19031)
Updating files: 84% (15987/19031)
Updating files: 85% (16177/19031)
Updating files: 86% (16367/19031)
Updating files: 87% (16557/19031)
Updating files: 88% (16748/19031)
Updating files: 89% (16938/19031)
Updating files: 90% (17128/19031)
Updating files: 91% (17319/19031)
Updating files: 92% (17509/19031)
Updating files: 93% (17699/19031)
Updating files: 94% (17890/19031)
Updating files: 95% (18080/19031)
Updating files: 96% (18270/19031)
Updating files: 97% (18461/19031)
Updating files: 98% (18651/19031)
Updating files: 99% (18841/19031)
Updating files: 100% (19031/19031)
Updating files: 100% (19031/19031), done.
HEAD is now at 2625e9877b Merge pull request #29094 from anmonteiro/patch-9
Updating 2625e9877b..7d6af52f05
Fast-forward
.../chrome-trace/chrome-trace.3.21.0~alpha4/opam | 41 ++++++++++++
.../dune-action-plugin.3.21.0~alpha4/opam | 54 ++++++++++++++++
.../dune-build-info.3.21.0~alpha4/opam | 47 ++++++++++++++
.../dune-configurator.3.21.0~alpha4/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.21.0~alpha4/opam | 44 +++++++++++++
.../dune-private-libs.3.21.0~alpha4/opam | 52 +++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha4/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.21.0~alpha4/opam | 46 +++++++++++++
packages/dune-site/dune-site.3.21.0~alpha4/opam | 39 +++++++++++
packages/dune/dune.3.21.0~alpha4/opam | 75 ++++++++++++++++++++++
packages/dyn/dyn.3.21.0~alpha4/opam | 42 ++++++++++++
packages/fs-io/fs-io.3.21.0~alpha4/opam | 41 ++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha4/opam | 45 +++++++++++++
packages/ordering/ordering.3.21.0~alpha4/opam | 40 ++++++++++++
packages/stdune/stdune.3.21.0~alpha4/opam | 48 ++++++++++++++
.../top-closure/top-closure.3.21.0~alpha4/opam | 40 ++++++++++++
packages/xdg/xdg.3.21.0~alpha4/opam | 41 ++++++++++++
17 files changed, 789 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha4/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha4/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha4/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha4/opam
create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha4/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha4/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha4/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha4/opam
create mode 100644 packages/dune-site/dune-site.3.21.0~alpha4/opam
create mode 100644 packages/dune/dune.3.21.0~alpha4/opam
create mode 100644 packages/dyn/dyn.3.21.0~alpha4/opam
create mode 100644 packages/fs-io/fs-io.3.21.0~alpha4/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha4/opam
create mode 100644 packages/ordering/ordering.3.21.0~alpha4/opam
create mode 100644 packages/stdune/stdune.3.21.0~alpha4/opam
create mode 100644 packages/top-closure/top-closure.3.21.0~alpha4/opam
create mode 100644 packages/xdg/xdg.3.21.0~alpha4/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d)
2025-12-15 03:28.27 ---> using "d81b3b20b9dbe813f4813251eb45f7f230344599357169e34b0d2f872bf65895" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-15 03:28.27 ---> using "4c0c738834a7be54719ab9b07c911eba51e45ad4298c42597f7d3da72b1c15d4" 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
2025-12-15 03:28.27 ---> using "8bb6d27bb5f7ebe9771219e3ecd730184d5e10ab877134c11c12ee3b1a6d3b96" 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
2025-12-15 03:28.27 ---> using "35019bd57e8933485bd938828fe288c3674216a4757e13b1dac8ce6b21035ac2" 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/"))
2025-12-15 03:28.27 ---> using "e09ab9992a764acab15da9cff99e3d4d978b8a77f33714cc5d19d16d3539eb49" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-15 03:28.29 ---> using "effd8012bb926235286407b71766f59239cdbd05eeb488dee8fd8b0266ec56c0" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-15 03:28.29 ---> using "da8e6b523210d6314ae3052775034fea74104aae3f193362b9609201bf93d1d2" 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 [84.8 kB]
- Fetched 176 kB in 0s (1673 kB/s)
- Reading package lists...
-
2025-12-15 03:28.29 ---> using "cd39baac0c78bb4b886710bb093d6b750f25b1cabe39d7490bff23ee544310da" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune-configurator.3.21.0~alpha4 3.21.0~alpha4"))
dune-configurator is now pinned to version 3.21.0~alpha4
2025-12-15 03:28.29 ---> using "7b3cd474b666dc4464c9a9a15760409261404712b0a9534f47f427b10a91e917" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-configurator.3.21.0~alpha4;\
\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\" != 'dune-configurator.3.21.0~alpha4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dune-configurator.3.21.0~alpha4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.21.0~alpha4 [required by dune-configurator]
- install dune-configurator 3.21.0~alpha4 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.21.0~alpha4, dune-configurator.3.21.0~alpha4 (cached)
-> installed dune.3.21.0~alpha4
-> installed csexp.1.5.2
-> installed dune-configurator.3.21.0~alpha4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 03:28.29 ---> using "4381dc27198c5878c4abc161632636ac362e5f10b007d48ac6d7fc7662ba7d0f" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall torch.v0.16.0;\
\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.v0.16.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
torch.v0.16.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 63 packages
- install base v0.16.4 [required by torch]
- install base_bigstring v0.16.0 [required by core]
- install base_quickcheck v0.16.0 [required by core]
- install bin_prot v0.16.0 [required by core]
- install conf-libffi 2.0.0 [required by ctypes-foreign]
- install conf-pkg-config 4 [required by ctypes-foreign]
- install core v0.16.2 [required by torch]
- install ctypes 0.24.0 [required by torch]
- install ctypes-foreign 0.24.0 [required by torch]
- install fieldslib v0.16.0 [required by core]
- install int_repr v0.16.0 [required by base_bigstring]
- install integers 0.7.0 [required by ctypes]
- install jane-street-headers v0.16.0 [required by core]
- install jst-config v0.16.0 [required by core]
- install libtorch 1.13.0+linux-x86_64 [required by torch]
- install num 1.6 [required by sexplib]
- install ocaml-compiler-libs v0.12.4 [required by torch]
- install parsexp v0.16.0 [required by sexplib]
- install ppx_assert v0.16.0 [required by core]
- install ppx_base v0.16.0 [required by core]
- install ppx_bench v0.16.0 [required by torch]
- install ppx_bin_prot v0.16.0 [required by ppx_jane]
- install ppx_cold v0.16.0 [required by ppx_base]
- install ppx_compare v0.16.0 [required by ppx_base, bin_prot]
- install ppx_custom_printf v0.16.0 [required by ppx_jane]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_disable_unused_warnings v0.16.0 [required by ppx_jane]
- install ppx_enumerate v0.16.0 [required by ppx_base]
- install ppx_expect v0.16.2 [required by torch]
- install ppx_fields_conv v0.16.0 [required by ppx_jane]
- install ppx_fixed_literal v0.16.0 [required by ppx_jane]
- install ppx_globalize v0.16.0 [required by ppx_base]
- install ppx_hash v0.16.0 [required by core]
- install ppx_here v0.16.0 [required by ppx_jane]
- install ppx_ignore_instrumentation v0.16.0 [required by ppx_jane]
- install ppx_inline_test v0.16.1 [required by torch]
- install ppx_jane v0.16.0 [required by torch]
- install ppx_let v0.16.0 [required by ppx_jane]
- install ppx_log v0.16.0 [required by ppx_jane]
- install ppx_module_timer v0.16.0 [required by ppx_jane]
- install ppx_optcomp v0.16.0 [required by core]
- install ppx_optional v0.16.0 [required by ppx_jane]
- install ppx_pipebang v0.16.0 [required by ppx_jane]
- install ppx_sexp_conv v0.16.0 [required by core]
- install ppx_sexp_message v0.16.0 [required by core]
- install ppx_sexp_value v0.16.0 [required by ppx_jane]
- install ppx_stable v0.16.0 [required by ppx_jane]
- install ppx_stable_witness v0.16.0 [required by ppx_jane]
- install ppx_string v0.16.0 [required by ppx_jane]
- install ppx_tydi v0.16.0 [required by ppx_jane]
- install ppx_typerep_conv v0.16.0 [required by ppx_jane]
- install ppx_variants_conv v0.16.0 [required by ppx_jane]
- install ppxlib 0.35.0 [required by ppx_jane]
- install re 1.14.0 [required by ppx_expect]
- install sexplib v0.16.0 [required by core]
- install sexplib0 v0.16.0 [required by base]
- install splittable_random v0.16.0 [required by core]
- 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 core]
- install torch v0.16.0
- install typerep v0.16.0 [required by core]
- install variantslib v0.16.0 [required by core]
The following system packages will first need to be installed:
libffi-dev pkg-config
<><> 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" "pkg-config"
- Selecting previously unselected package libffi-dev:amd64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20622 files and directories currently installed.)
- Preparing to unpack .../libffi-dev_3.4.8-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.8-2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up libffi-dev:amd64 (3.4.8-2) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4 (cached)
-> retrieved base_bigstring.v0.16.0 (cached)
-> retrieved base_quickcheck.v0.16.0 (cached)
-> retrieved bin_prot.v0.16.0 (cached)
-> installed conf-pkg-config.4
-> retrieved core.v0.16.2 (cached)
-> installed conf-libffi.2.0.0
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0 (cached)
-> retrieved fieldslib.v0.16.0 (cached)
-> retrieved int_repr.v0.16.0 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved jane-street-headers.v0.16.0 (cached)
-> retrieved jst-config.v0.16.0 (cached)
-> retrieved libtorch.1.13.0+linux-x86_64 (cached)
-> retrieved num.1.6 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> retrieved ppx_assert.v0.16.0 (cached)
-> retrieved ppx_base.v0.16.0 (cached)
-> retrieved ppx_bench.v0.16.0 (cached)
-> retrieved ppx_bin_prot.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_disable_unused_warnings.v0.16.0 (cached)
-> retrieved ppx_enumerate.v0.16.0 (cached)
-> retrieved ppx_expect.v0.16.2 (cached)
-> retrieved ppx_fields_conv.v0.16.0 (cached)
-> retrieved ppx_fixed_literal.v0.16.0 (cached)
-> retrieved ppx_globalize.v0.16.0 (cached)
-> retrieved ppx_hash.v0.16.0 (cached)
-> retrieved ppx_here.v0.16.0 (cached)
-> retrieved ppx_ignore_instrumentation.v0.16.0 (cached)
-> retrieved ppx_inline_test.v0.16.1 (cached)
-> retrieved ppx_jane.v0.16.0 (cached)
-> retrieved ppx_let.v0.16.0 (cached)
-> retrieved ppx_log.v0.16.0 (cached)
-> retrieved ppx_module_timer.v0.16.0 (cached)
-> retrieved ppx_optcomp.v0.16.0 (cached)
-> retrieved ppx_optional.v0.16.0 (cached)
-> retrieved ppx_pipebang.v0.16.0 (cached)
-> retrieved ppx_sexp_conv.v0.16.0 (cached)
-> retrieved ppx_sexp_message.v0.16.0 (cached)
-> retrieved ppx_sexp_value.v0.16.0 (cached)
-> retrieved ppx_stable.v0.16.0 (cached)
-> retrieved ppx_stable_witness.v0.16.0 (cached)
-> retrieved ppx_string.v0.16.0 (cached)
-> retrieved ppx_tydi.v0.16.0 (cached)
-> retrieved ppx_typerep_conv.v0.16.0 (cached)
-> retrieved ppx_variants_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 splittable_random.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.v0.16.0 (cached)
-> retrieved typerep.v0.16.0 (cached)
-> retrieved variantslib.v0.16.0 (cached)
-> installed libtorch.1.13.0+linux-x86_64
-> installed jane-street-headers.v0.16.0
-> installed num.1.6
-> installed ocaml-compiler-libs.v0.12.4
-> installed ppx_derivers.1.2.1
-> 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 sexplib.v0.16.0
-> installed base.v0.16.4
-> installed ctypes.0.24.0
-> installed fieldslib.v0.16.0
-> installed variantslib.v0.16.0
-> installed stdio.v0.16.0
-> installed typerep.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_tydi.v0.16.0
-> installed ppx_cold.v0.16.0
-> installed ppx_here.v0.16.0
-> installed ppx_disable_unused_warnings.v0.16.0
-> installed ppx_enumerate.v0.16.0
-> installed ppx_stable_witness.v0.16.0
-> installed ppx_typerep_conv.v0.16.0
-> installed ppx_variants_conv.v0.16.0
-> installed ppx_compare.v0.16.0
-> installed ppx_stable.v0.16.0
-> installed ppx_fields_conv.v0.16.0
-> installed ppx_ignore_instrumentation.v0.16.0
-> installed ppx_pipebang.v0.16.0
-> installed ppx_optional.v0.16.0
-> installed ppx_fixed_literal.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
-> installed ppx_let.v0.16.0
-> installed ppx_hash.v0.16.0
-> installed ppx_assert.v0.16.0
-> installed ppx_sexp_value.v0.16.0
-> installed ppx_sexp_message.v0.16.0
-> installed ppx_base.v0.16.0
-> installed ppx_custom_printf.v0.16.0
-> installed jst-config.v0.16.0
-> installed ppx_log.v0.16.0
-> installed ppx_string.v0.16.0
-> installed time_now.v0.16.0
-> installed bin_prot.v0.16.0
-> installed ppx_module_timer.v0.16.0
-> installed ppx_bin_prot.v0.16.0
-> installed ppx_inline_test.v0.16.1
-> installed ppx_bench.v0.16.0
-> installed ppx_expect.v0.16.2
-> installed splittable_random.v0.16.0
-> installed base_quickcheck.v0.16.0
-> installed ppx_jane.v0.16.0
-> installed int_repr.v0.16.0
-> installed base_bigstring.v0.16.0
-> installed core.v0.16.2
[ERROR] The compilation of torch.v0.16.0 failed at "dune build -p torch -j 71".
#=== ERROR while compiling torch.v0.16.0 ======================================#
# 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.v0.16.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p torch -j 71
# exit-code 1
# env-file ~/.opam/log/torch-8-24aadf.env
# output-file ~/.opam/log/torch-8-24aadf.out
### output ###
# File "src/wrapper/dune", line 1, characters 61-72:
# 1 | (library (name torch_core) (public_name torch.core) (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/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/md5 -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/base_quickcheck -I /home/opam/.opam/4.14/lib/base_quickcheck/ppx_quickcheck/runtime -I /home/opam/.opam/4.14/lib/bin_prot -I /home/opam/.opam/4.14/lib/bin_prot/shape -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/fieldslib -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/jane-street-headers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/parsexp -I /home/opam/.opam/4.14/lib/ppx_assert/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_bench/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_expect/collector -I /home/opam/.opam/4.14/lib/ppx_expect/common -I /home/opam/.opam/4.14/lib/ppx_expect/config -I /home/opam/.opam/4.14/lib/ppx_expect/config_types -I /home/opam/.opam/4.14/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_here/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_inline_test/config -I /home/opam/.opam/4.14/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_log/types -I /home/opam/.opam/4.14/lib/ppx_module_timer/runtime -I /home/opam/.opam/4.14/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.14/lib/ppx_stable_witness/runtime -I /home/opam/.opam/4.14/lib/ppx_stable_witness/stable_witness -I /home/opam/.opam/4.14/lib/sexplib -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/splittable_random -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/time_now -I /home/opam/.opam/4.14/lib/typerep -I /home/opam/.opam/4.14/lib/variantslib -o torch_stubs.o -c torch_stubs.c)
# torch_stubs.c: In function 'caml__34_at_save':
# torch_stubs.c:255:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 255 | at_save(x239, x240);
# | ^~~~
# In file included from torch_stubs.c:1:
# torch_api.h:70:28: note: expected 'char *' but argument is of type 'const char *'
# 70 | void at_save(tensor, char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__35_at_load':
# torch_stubs.c:261:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 261 | void* x244 = at_load(x243);
# | ^~~~
# torch_api.h:71:22: note: expected 'char *' but argument is of type 'const char *'
# 71 | tensor at_load(char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__36_at_save_multi':
# torch_stubs.c:270:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 270 | at_save_multi(x249, x250, x251, x254);
# | ^~~~
# torch_api.h:77:26: note: expected 'char *' but argument is of type 'const char *'
# 77 | char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__37_at_load_multi':
# torch_stubs.c:279:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 279 | at_load_multi(x260, x261, x262, x265);
# | ^~~~
# torch_api.h:80:26: note: expected 'char *' but argument is of type 'const char *'
# 80 | char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__38_at_load_multi_':
# torch_stubs.c:288:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 288 | at_load_multi_(x271, x272, x273, x276);
# | ^~~~
# torch_api.h:83:27: note: expected 'char *' but argument is of type 'const char *'
# 83 | char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__39_at_load_callback':
# torch_stubs.c:295:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 295 | at_load_callback(x280, x281);
# | ^~~~
# torch_api.h:85:29: note: expected 'char *' but argument is of type 'const char *'
# 85 | void at_load_callback(char *filename, void (*f)(char *, tensor));
# | ~~~~~~^~~~~~~~
# torch_stubs.c:295:27: error: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
# 295 | at_load_callback(x280, x281);
# | ^~~~
# | |
# | void (*)(const char *, void *)
# torch_api.h:85:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)'
# 85 | void at_load_callback(char *filename, void (*f)(char *, tensor));
# | ~~~~~~~^~~~~~~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__68_ati_string':
# torch_stubs.c:504:28: warning: passing argument 1 of 'ati_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 504 | void* x467 = ati_string(x466);
# | ^~~~
# torch_api.h:127:19: note: expected 'char *' but argument is of type 'const char *'
# 127 | ivalue ati_string(char *);
# | ^~~~~~
# torch_stubs.c: In function 'caml__71_atm_load':
# torch_stubs.c:522:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 522 | void* x476 = atm_load(x475);
# | ^~~~
# torch_api.h:114:17: note: expected 'char *' but argument is of type 'const char *'
# 114 | module atm_load(char *);
# | ^~~~~~
# torch_stubs.c: In function 'caml__72_atm_load_str':
# torch_stubs.c:529:30: warning: passing argument 1 of 'atm_load_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 529 | void* x483 = atm_load_str(x479, x480);
# | ^~~~
# torch_api.h:115:21: note: expected 'char *' but argument is of type 'const char *'
# 115 | module atm_load_str(char *, size_t);
# | ^~~~~~
# torch_stubs.c: In function 'caml__160_atg__convolution_mode':
# torch_stubs.c:1653:68: warning: passing argument 7 of 'atg__convolution_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 1653 | atg__convolution_mode(x1600, x1601, x1602, x1603, x1604, x1605, x1608,
# | ^~~~~
# In file included from torch_api.h:157:
# 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__253_atg__linalg_check_errors':
# torch_stubs.c:4359:36: warning: passing argument 2 of 'atg__linalg_check_errors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4359 | atg__linalg_check_errors(x4355, x4356, x4357);
# | ^~~~~
# torch_api_generated.h:179:51: note: expected 'char *' but argument is of type 'const char *'
# 179 | void atg__linalg_check_errors(tensor info, char * api_name, int is_matrix);
# | ~~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__256_atg__linalg_eigh':
# torch_stubs.c:4387:35: warning: passing argument 3 of 'atg__linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4387 | atg__linalg_eigh(x4381, x4382, x4383, x4384);
# | ^~~~~
# torch_api_generated.h:182:50: note: expected 'char *' but argument is of type 'const char *'
# 182 | void atg__linalg_eigh(tensor *, tensor A, char * UPLO, int compute_v);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__257_atg__linalg_eigh_eigenvalues':
# torch_stubs.c:4400:61: warning: passing argument 5 of 'atg__linalg_eigh_eigenvalues' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4400 | atg__linalg_eigh_eigenvalues(x4394, x4395, x4396, x4397, x4398, x4399);
# | ^~~~~
# torch_api_generated.h:183:103: note: expected 'char *' but argument is of type 'const char *'
# 183 | void atg__linalg_eigh_eigenvalues(tensor *, tensor eigenvalues, tensor eigenvectors, tensor A, char * UPLO, int compute_v);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__262_atg__linalg_svd':
# torch_stubs.c:4501:48: warning: passing argument 5 of 'atg__linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4501 | atg__linalg_svd(x4485, x4486, x4487, x4490, x4493);
# | ^~~~~
# torch_api_generated.h:188:84: note: expected 'char *' but argument is of type 'const char *'
# 188 | void atg__linalg_svd(tensor *, tensor A, int full_matrices, int compute_uv, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__263_atg__linalg_svd_u':
# torch_stubs.c:4516:71: warning: passing argument 8 of 'atg__linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4516 | atg__linalg_svd_u(x4503, x4504, x4505, x4506, x4507, x4508, x4511, x4514);
# | ^~~~~
# torch_api_generated.h:189:117: note: expected 'char *' but argument is of type 'const char *'
# 189 | 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__343_atg__scatter_reduce':
# torch_stubs.c:6266:59: warning: passing argument 6 of 'atg__scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6266 | atg__scatter_reduce(x6229, x6230, x6231, x6234, x6235, x6236, x6237);
# | ^~~~~
# torch_api_generated.h:269:95: note: expected 'char *' but argument is of type 'const char *'
# 269 | 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__344_atg__scatter_reduce_':
# torch_stubs.c:6293:60: warning: passing argument 6 of 'atg__scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6293 | atg__scatter_reduce_(x6255, x6256, x6257, x6260, x6261, x6262, x6263);
# | ^~~~~
# torch_api_generated.h:270:96: note: expected 'char *' but argument is of type 'const char *'
# 270 | 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__345_atg__scatter_reduce_two_out':
# torch_stubs.c:6323:32: warning: passing argument 7 of 'atg__scatter_reduce_two_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6323 | x6290, x6291);
# | ^~~~~
# torch_api_generated.h:271:115: note: expected 'char *' but argument is of type 'const char *'
# 271 | 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__346_atg__segment_reduce_backward':
# torch_stubs.c:6355:61: warning: passing argument 5 of 'atg__segment_reduce_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6355 | atg__segment_reduce_backward(x6312, x6313, x6314, x6315, x6316, x6317,
# | ^~~~~
# torch_api_generated.h:272:93: note: expected 'char *' but argument is of type 'const char *'
# 272 | 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__347_atg__segment_reduce_backward_out':
# torch_stubs.c:6392:37: warning: passing argument 6 of 'atg__segment_reduce_backward_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6392 | x6348, x6349, x6350, x6351, x6354);
# | ^~~~~
# torch_api_generated.h:273:109: note: expected 'char *' but argument is of type 'const char *'
# 273 | 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__410_atg__test_ambiguous_defaults_b':
# torch_stubs.c:7517:56: warning: passing argument 4 of 'atg__test_ambiguous_defaults_b' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 7517 | atg__test_ambiguous_defaults_b(x7447, x7448, x7449, x7452);
# | ^~~~~
# torch_api_generated.h:336:79: note: expected 'char *' but argument is of type 'const char *'
# 336 | void atg__test_ambiguous_defaults_b(tensor *, tensor dummy, int64_t a, char * b);
# | ~~~~~~~^
# torch_stubs.c: In function 'caml__424_atg__test_string_default':
# torch_stubs.c:7657:43: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 7657 | atg__test_string_default(x7575, x7576, x7577, x7578);
# | ^~~~~
# torch_api_generated.h:350:62: note: expected 'char *' but argument is of type 'const char *'
# 350 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b);
# | ~~~~~~~^
# torch_stubs.c:7657:50: warning: passing argument 4 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 7657 | atg__test_string_default(x7575, x7576, x7577, x7578);
# | ^~~~~
# torch_api_generated.h:350:72: note: expected 'char *' but argument is of type 'const char *'
# 350 | void atg__test_string_default(tensor *, tensor dummy, char * a, char * b);
# | ~~~~~~~^
# torch_stubs.c: In function 'caml__842_atg_conv1d_padding':
# torch_stubs.c:14897:23: warning: passing argument 7 of 'atg_conv1d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 14897 | x14364, x14365, x14366, x14369);
# | ^~~~~~
# torch_api_generated.h:768:122: note: expected 'char *' but argument is of type 'const char *'
# 768 | 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__844_atg_conv2d_padding':
# torch_stubs.c:14969:23: warning: passing argument 7 of 'atg_conv2d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 14969 | x14443, x14444, x14445, x14448);
# | ^~~~~~
# torch_api_generated.h:770:122: note: expected 'char *' but argument is of type 'const char *'
# 770 | 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__846_atg_conv3d_padding':
# torch_stubs.c:15041:23: warning: passing argument 7 of 'atg_conv3d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15041 | x14522, x14523, x14524, x14527);
# | ^~~~~~
# torch_api_generated.h:772:122: note: expected 'char *' but argument is of type 'const char *'
# 772 | 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__962_atg_div_out_mode':
# torch_stubs.c:17293:53: warning: passing argument 5 of 'atg_div_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17293 | atg_div_out_mode(x16810, x16811, x16812, x16813, x16814);
# | ^~~~~~
# torch_api_generated.h:888:79: note: expected 'char *' but argument is of type 'const char *'
# 888 | void atg_div_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__965_atg_div_scalar_mode':
# torch_stubs.c:17319:48: warning: passing argument 4 of 'atg_div_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17319 | atg_div_scalar_mode(x16834, x16835, x16836, x16837);
# | ^~~~~~
# torch_api_generated.h:891:70: note: expected 'char *' but argument is of type 'const char *'
# 891 | void atg_div_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__966_atg_div_scalar_mode_':
# torch_stubs.c:17329:49: warning: passing argument 4 of 'atg_div_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17329 | atg_div_scalar_mode_(x16843, x16844, x16845, x16846);
# | ^~~~~~
# torch_api_generated.h:892:71: note: expected 'char *' but argument is of type 'const char *'
# 892 | void atg_div_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__967_atg_div_scalar_mode_out':
# torch_stubs.c:17341:60: warning: passing argument 5 of 'atg_div_scalar_mode_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17341 | atg_div_scalar_mode_out(x16853, x16854, x16855, x16856, x16857);
# | ^~~~~~
# torch_api_generated.h:893:86: note: expected 'char *' but argument is of type 'const char *'
# 893 | void atg_div_scalar_mode_out(tensor *, tensor out, tensor self, scalar other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__969_atg_div_tensor_mode':
# torch_stubs.c:17361:48: warning: passing argument 4 of 'atg_div_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17361 | atg_div_tensor_mode(x16872, x16873, x16874, x16875);
# | ^~~~~~
# torch_api_generated.h:895:70: note: expected 'char *' but argument is of type 'const char *'
# 895 | void atg_div_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__970_atg_div_tensor_mode_':
# torch_stubs.c:17371:49: warning: passing argument 4 of 'atg_div_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17371 | atg_div_tensor_mode_(x16881, x16882, x16883, x16884);
# | ^~~~~~
# torch_api_generated.h:896:71: note: expected 'char *' but argument is of type 'const char *'
# 896 | void atg_div_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__974_atg_divide_out_mode':
# torch_stubs.c:17408:56: warning: passing argument 5 of 'atg_divide_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17408 | atg_divide_out_mode(x16914, x16915, x16916, x16917, x16918);
# | ^~~~~~
# torch_api_generated.h:900:82: note: expected 'char *' but argument is of type 'const char *'
# 900 | void atg_divide_out_mode(tensor *, tensor out, tensor self, tensor other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__977_atg_divide_scalar_mode':
# torch_stubs.c:17434:51: warning: passing argument 4 of 'atg_divide_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17434 | atg_divide_scalar_mode(x16938, x16939, x16940, x16941);
# | ^~~~~~
# torch_api_generated.h:903:73: note: expected 'char *' but argument is of type 'const char *'
# 903 | void atg_divide_scalar_mode(tensor *, tensor self, scalar other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__978_atg_divide_scalar_mode_':
# torch_stubs.c:17444:52: warning: passing argument 4 of 'atg_divide_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17444 | atg_divide_scalar_mode_(x16947, x16948, x16949, x16950);
# | ^~~~~~
# torch_api_generated.h:904:74: note: expected 'char *' but argument is of type 'const char *'
# 904 | void atg_divide_scalar_mode_(tensor *, tensor self, scalar other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__979_atg_divide_tensor_mode':
# torch_stubs.c:17454:51: warning: passing argument 4 of 'atg_divide_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17454 | atg_divide_tensor_mode(x16956, x16957, x16958, x16959);
# | ^~~~~~
# torch_api_generated.h:905:73: note: expected 'char *' but argument is of type 'const char *'
# 905 | void atg_divide_tensor_mode(tensor *, tensor self, tensor other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__980_atg_divide_tensor_mode_':
# torch_stubs.c:17464:52: warning: passing argument 4 of 'atg_divide_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17464 | atg_divide_tensor_mode_(x16965, x16966, x16967, x16968);
# | ^~~~~~
# torch_api_generated.h:906:74: note: expected 'char *' but argument is of type 'const char *'
# 906 | void atg_divide_tensor_mode_(tensor *, tensor self, tensor other, char * rounding_mode);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__989_atg_einsum':
# torch_stubs.c:17547:23: warning: passing argument 2 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17547 | atg_einsum(x17054, x17055, x17056, x17057, x17060, x17061);
# | ^~~~~~
# torch_api_generated.h:915:34: note: expected 'char *' but argument is of type 'const char *'
# 915 | 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__1070_atg_fft_fft':
# torch_stubs.c:18823:56: warning: passing argument 6 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18823 | atg_fft_fft(x18227, x18228, x18229, x18232, x18235, x18238);
# | ^~~~~~
# torch_api_generated.h:996:86: note: expected 'char *' but argument is of type 'const char *'
# 996 | 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__1071_atg_fft_fft2':
# torch_stubs.c:18848:65: warning: passing argument 7 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18848 | atg_fft_fft2(x18253, x18254, x18255, x18256, x18259, x18260, x18263);
# | ^~~~~~
# torch_api_generated.h:997:109: note: expected 'char *' but argument is of type 'const char *'
# 997 | 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__1072_atg_fft_fft2_out':
# torch_stubs.c:18877:21: warning: passing argument 8 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18877 | x18291);
# | ^~~~~~
# torch_api_generated.h:998:125: note: expected 'char *' but argument is of type 'const char *'
# 998 | 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__1073_atg_fft_fft_out':
# torch_stubs.c:18905:68: warning: passing argument 7 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18905 | atg_fft_fft_out(x18308, x18309, x18310, x18311, x18314, x18317, x18320);
# | ^~~~~~
# torch_api_generated.h:999:102: note: expected 'char *' but argument is of type 'const char *'
# 999 | 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__1076_atg_fft_fftn':
# torch_stubs.c:18953:65: warning: passing argument 7 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18953 | atg_fft_fftn(x18368, x18369, x18370, x18371, x18374, x18375, x18378);
# | ^~~~~~
# torch_api_generated.h:1002:109: note: expected 'char *' but argument is of type 'const char *'
# 1002 | 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__1077_atg_fft_fftn_out':
# torch_stubs.c:18982:21: warning: passing argument 8 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18982 | x18406);
# | ^~~~~~
# torch_api_generated.h:1003:125: note: expected 'char *' but argument is of type 'const char *'
# 1003 | 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__1079_atg_fft_hfft':
# torch_stubs.c:19018:57: warning: passing argument 6 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19018 | atg_fft_hfft(x18433, x18434, x18435, x18438, x18441, x18444);
# | ^~~~~~
# torch_api_generated.h:1005:87: note: expected 'char *' but argument is of type 'const char *'
# 1005 | 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__1080_atg_fft_hfft2':
# torch_stubs.c:19043:66: warning: passing argument 7 of 'atg_fft_hfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19043 | atg_fft_hfft2(x18459, x18460, x18461, x18462, x18465, x18466, x18469);
# | ^~~~~~
# torch_api_generated.h:1006:110: note: expected 'char *' but argument is of type 'const char *'
# 1006 | 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__1081_atg_fft_hfft2_out':
# torch_stubs.c:19072:30: warning: passing argument 8 of 'atg_fft_hfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19072 | x18494, x18497);
# | ^~~~~~
# torch_api_generated.h:1007:126: note: expected 'char *' but argument is of type 'const char *'
# 1007 | 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__1082_atg_fft_hfft_out':
# torch_stubs.c:19100:69: warning: passing argument 7 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19100 | atg_fft_hfft_out(x18514, x18515, x18516, x18517, x18520, x18523, x18526);
# | ^~~~~~
# torch_api_generated.h:1008:103: note: expected 'char *' but argument is of type 'const char *'
# 1008 | 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__1083_atg_fft_hfftn':
# torch_stubs.c:19127:66: warning: passing argument 7 of 'atg_fft_hfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19127 | atg_fft_hfftn(x18542, x18543, x18544, x18545, x18548, x18549, x18552);
# | ^~~~~~
# torch_api_generated.h:1009:110: note: expected 'char *' but argument is of type 'const char *'
# 1009 | 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__1084_atg_fft_hfftn_out':
# torch_stubs.c:19156:30: warning: passing argument 8 of 'atg_fft_hfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19156 | x18577, x18580);
# | ^~~~~~
# torch_api_generated.h:1010:126: note: expected 'char *' but argument is of type 'const char *'
# 1010 | 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__1085_atg_fft_ifft':
# torch_stubs.c:19182:57: warning: passing argument 6 of 'atg_fft_ifft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19182 | atg_fft_ifft(x18596, x18597, x18598, x18601, x18604, x18607);
# | ^~~~~~
# torch_api_generated.h:1011:87: note: expected 'char *' but argument is of type 'const char *'
# 1011 | 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__1086_atg_fft_ifft2':
# torch_stubs.c:19207:66: warning: passing argument 7 of 'atg_fft_ifft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19207 | atg_fft_ifft2(x18622, x18623, x18624, x18625, x18628, x18629, x18632);
# | ^~~~~~
# torch_api_generated.h:1012:110: note: expected 'char *' but argument is of type 'const char *'
# 1012 | 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__1087_atg_fft_ifft2_out':
# torch_stubs.c:19236:30: warning: passing argument 8 of 'atg_fft_ifft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19236 | x18657, x18660);
# | ^~~~~~
# torch_api_generated.h:1013:126: note: expected 'char *' but argument is of type 'const char *'
# 1013 | 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__1088_atg_fft_ifft_out':
# torch_stubs.c:19264:69: warning: passing argument 7 of 'atg_fft_ifft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19264 | atg_fft_ifft_out(x18677, x18678, x18679, x18680, x18683, x18686, x18689);
# | ^~~~~~
# torch_api_generated.h:1014:103: note: expected 'char *' but argument is of type 'const char *'
# 1014 | 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__1089_atg_fft_ifftn':
# torch_stubs.c:19291:66: warning: passing argument 7 of 'atg_fft_ifftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19291 | atg_fft_ifftn(x18705, x18706, x18707, x18708, x18711, x18712, x18715);
# | ^~~~~~
# torch_api_generated.h:1015:110: note: expected 'char *' but argument is of type 'const char *'
# 1015 | 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__1090_atg_fft_ifftn_out':
# torch_stubs.c:19320:30: warning: passing argument 8 of 'atg_fft_ifftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19320 | x18740, x18743);
# | ^~~~~~
# torch_api_generated.h:1016:126: note: expected 'char *' but argument is of type 'const char *'
# 1016 | 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__1092_atg_fft_ihfft':
# torch_stubs.c:19356:58: warning: passing argument 6 of 'atg_fft_ihfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19356 | atg_fft_ihfft(x18770, x18771, x18772, x18775, x18778, x18781);
# | ^~~~~~
# torch_api_generated.h:1018:88: note: expected 'char *' but argument is of type 'const char *'
# 1018 | 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__1093_atg_fft_ihfft2':
# torch_stubs.c:19381:67: warning: passing argument 7 of 'atg_fft_ihfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19381 | atg_fft_ihfft2(x18796, x18797, x18798, x18799, x18802, x18803, x18806);
# | ^~~~~~
# torch_api_generated.h:1019:111: note: expected 'char *' but argument is of type 'const char *'
# 1019 | 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__1094_atg_fft_ihfft2_out':
# torch_stubs.c:19410:31: warning: passing argument 8 of 'atg_fft_ihfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19410 | x18831, x18834);
# | ^~~~~~
# torch_api_generated.h:1020:127: note: expected 'char *' but argument is of type 'const char *'
# 1020 | 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__1095_atg_fft_ihfft_out':
# torch_stubs.c:19438:70: warning: passing argument 7 of 'atg_fft_ihfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19438 | atg_fft_ihfft_out(x18851, x18852, x18853, x18854, x18857, x18860, x18863);
# | ^~~~~~
# torch_api_generated.h:1021:104: note: expected 'char *' but argument is of type 'const char *'
# 1021 | 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__1096_atg_fft_ihfftn':
# torch_stubs.c:19465:67: warning: passing argument 7 of 'atg_fft_ihfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19465 | atg_fft_ihfftn(x18879, x18880, x18881, x18882, x18885, x18886, x18889);
# | ^~~~~~
# torch_api_generated.h:1022:111: note: expected 'char *' but argument is of type 'const char *'
# 1022 | 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__1097_atg_fft_ihfftn_out':
# torch_stubs.c:19494:31: warning: passing argument 8 of 'atg_fft_ihfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19494 | x18914, x18917);
# | ^~~~~~
# torch_api_generated.h:1023:127: note: expected 'char *' but argument is of type 'const char *'
# 1023 | 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__1098_atg_fft_irfft':
# torch_stubs.c:19520:58: warning: passing argument 6 of 'atg_fft_irfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19520 | atg_fft_irfft(x18933, x18934, x18935, x18938, x18941, x18944);
# | ^~~~~~
# torch_api_generated.h:1024:88: note: expected 'char *' but argument is of type 'const char *'
# 1024 | 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__1099_atg_fft_irfft2':
# torch_stubs.c:19545:67: warning: passing argument 7 of 'atg_fft_irfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19545 | atg_fft_irfft2(x18959, x18960, x18961, x18962, x18965, x18966, x18969);
# | ^~~~~~
# torch_api_generated.h:1025:111: note: expected 'char *' but argument is of type 'const char *'
# 1025 | 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__1100_atg_fft_irfft2_out':
# torch_stubs.c:19574:31: warning: passing argument 8 of 'atg_fft_irfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19574 | x18994, x18997);
# | ^~~~~~
# torch_api_generated.h:1026:127: note: expected 'char *' but argument is of type 'const char *'
# 1026 | 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__1101_atg_fft_irfft_out':
# torch_stubs.c:19602:70: warning: passing argument 7 of 'atg_fft_irfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19602 | atg_fft_irfft_out(x19014, x19015, x19016, x19017, x19020, x19023, x19026);
# | ^~~~~~
# torch_api_generated.h:1027:104: note: expected 'char *' but argument is of type 'const char *'
# 1027 | 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__1102_atg_fft_irfftn':
# torch_stubs.c:19629:67: warning: passing argument 7 of 'atg_fft_irfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19629 | atg_fft_irfftn(x19042, x19043, x19044, x19045, x19048, x19049, x19052);
# | ^~~~~~
# torch_api_generated.h:1028:111: note: expected 'char *' but argument is of type 'const char *'
# 1028 | 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__1103_atg_fft_irfftn_out':
# torch_stubs.c:19658:31: warning: passing argument 8 of 'atg_fft_irfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19658 | x19077, x19080);
# | ^~~~~~
# torch_api_generated.h:1029:127: note: expected 'char *' but argument is of type 'const char *'
# 1029 | 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__1104_atg_fft_rfft':
# torch_stubs.c:19684:57: warning: passing argument 6 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19684 | atg_fft_rfft(x19096, x19097, x19098, x19101, x19104, x19107);
# | ^~~~~~
# torch_api_generated.h:1030:87: note: expected 'char *' but argument is of type 'const char *'
# 1030 | 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__1105_atg_fft_rfft2':
# torch_stubs.c:19709:66: warning: passing argument 7 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19709 | atg_fft_rfft2(x19122, x19123, x19124, x19125, x19128, x19129, x19132);
# | ^~~~~~
# torch_api_generated.h:1031:110: note: expected 'char *' but argument is of type 'const char *'
# 1031 | 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__1106_atg_fft_rfft2_out':
# torch_stubs.c:19738:30: warning: passing argument 8 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19738 | x19157, x19160);
# | ^~~~~~
# torch_api_generated.h:1032:126: note: expected 'char *' but argument is of type 'const char *'
# 1032 | 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__1107_atg_fft_rfft_out':
# torch_stubs.c:19766:69: warning: passing argument 7 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19766 | atg_fft_rfft_out(x19177, x19178, x19179, x19180, x19183, x19186, x19189);
# | ^~~~~~
# torch_api_generated.h:1033:103: note: expected 'char *' but argument is of type 'const char *'
# 1033 | 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__1110_atg_fft_rfftn':
# torch_stubs.c:19814:66: warning: passing argument 7 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19814 | atg_fft_rfftn(x19237, x19238, x19239, x19240, x19243, x19244, x19247);
# | ^~~~~~
# torch_api_generated.h:1036:110: note: expected 'char *' but argument is of type 'const char *'
# 1036 | 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__1111_atg_fft_rfftn_out':
# torch_stubs.c:19843:30: warning: passing argument 8 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19843 | x19272, x19275);
# | ^~~~~~
# torch_api_generated.h:1037:126: note: expected 'char *' but argument is of type 'const char *'
# 1037 | 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__1170_atg_from_file':
# torch_stubs.c:20623:26: warning: passing argument 2 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20623 | atg_from_file(x19928, x19929, x19930, x19933, x19936, x19939, x19942);
# | ^~~~~~
# torch_api_generated.h:1096:37: note: expected 'char *' but argument is of type 'const char *'
# 1096 | 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__1171_atg_from_file_out':
# torch_stubs.c:20648:38: warning: passing argument 3 of 'atg_from_file_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20648 | atg_from_file_out(x19959, x19960, x19961, x19962, x19965, x19968);
# | ^~~~~~
# torch_api_generated.h:1097:53: note: expected 'char *' but argument is of type 'const char *'
# 1097 | 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__1189_atg_gelu':
# torch_stubs.c:20916:29: warning: passing argument 3 of 'atg_gelu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20916 | atg_gelu(x20220, x20221, x20222);
# | ^~~~~~
# torch_api_generated.h:1115:45: note: expected 'char *' but argument is of type 'const char *'
# 1115 | void atg_gelu(tensor *, tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs.c: In function 'caml__1190_atg_gelu_':
# torch_stubs.c:20924:30: warning: passing argument 3 of 'atg_gelu_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20924 | atg_gelu_(x20227, x20228, x20229);
# | ^~~~~~
# torch_api_generated.h:1116:46: note: expected 'char *' but argument is of type 'const char *'
# 1116 | void atg_gelu_(tensor *, tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs.c: In function 'caml__1191_atg_gelu_backward':
# torch_stubs.c:20934:46: warning: passing argument 4 of 'atg_gelu_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20934 | atg_gelu_backward(x20235, x20236, x20237, x20238);
# | ^~~~~~
# torch_api_generated.h:1117:74: note: expected 'char *' but argument is of type 'const char *'
# 1117 | void atg_gelu_backward(tensor *, tensor grad_output, tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs.c: In function 'caml__1192_atg_gelu_backward_grad_input':
# torch_stubs.c:20946:65: warning: passing argument 5 of 'atg_gelu_backward_grad_input' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20946 | atg_gelu_backward_grad_input(x20245, x20246, x20247, x20248, x20249);
# | ^~~~~~
# torch_api_generated.h:1118:104: note: expected 'char *' but argument is of type 'const char *'
# 1118 | void atg_gelu_backward_grad_input(tensor *, tensor grad_input, tensor grad_output, tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs.c: In function 'caml__1193_atg_gelu_out':
# torch_stubs.c:20956:41: warning: passing argument 4 of 'atg_gelu_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20956 | atg_gelu_out(x20255, x20256, x20257, x20258);
# | ^~~~~~
# torch_api_generated.h:1119:61: note: expected 'char *' but argument is of type 'const char *'
# 1119 | void atg_gelu_out(tensor *, tensor out, tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs.c: In function 'caml__1315_atg_index_reduce':
# torch_stubs.c:22621:61: warning: passing argument 6 of 'atg_index_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22621 | atg_index_reduce(x21877, x21878, x21879, x21882, x21883, x21884, x21885);
# | ^~~~~~
# torch_api_generated.h:1241:95: note: expected 'char *' but argument is of type 'const char *'
# 1241 | 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__1316_atg_index_reduce_':
# torch_stubs.c:22648:62: warning: passing argument 6 of 'atg_index_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22648 | atg_index_reduce_(x21903, x21904, x21905, x21908, x21909, x21910, x21911);
# | ^~~~~~
# torch_api_generated.h:1242:96: note: expected 'char *' but argument is of type 'const char *'
# 1242 | 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__1317_atg_index_reduce_out':
# torch_stubs.c:22678:25: warning: passing argument 7 of 'atg_index_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22678 | x21938, x21939);
# | ^~~~~~
# torch_api_generated.h:1243:111: note: expected 'char *' but argument is of type 'const char *'
# 1243 | 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__1427_atg_linalg_cond_p_str':
# torch_stubs.c:23871:42: warning: passing argument 3 of 'atg_linalg_cond_p_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23871 | atg_linalg_cond_p_str(x23059, x23060, x23061);
# | ^~~~~~
# torch_api_generated.h:1353:58: note: expected 'char *' but argument is of type 'const char *'
# 1353 | void atg_linalg_cond_p_str(tensor *, tensor self, char * p);
# | ~~~~~~~^
# torch_stubs.c: In function 'caml__1428_atg_linalg_cond_p_str_out':
# torch_stubs.c:23881:54: warning: passing argument 4 of 'atg_linalg_cond_p_str_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23881 | atg_linalg_cond_p_str_out(x23067, x23068, x23069, x23070);
# | ^~~~~~
# torch_api_generated.h:1354:74: note: expected 'char *' but argument is of type 'const char *'
# 1354 | void atg_linalg_cond_p_str_out(tensor *, tensor out, tensor self, char * p);
# | ~~~~~~~^
# torch_stubs.c: In function 'caml__1436_atg_linalg_eigh':
# torch_stubs.c:23955:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23955 | atg_linalg_eigh(x23142, x23143, x23144);
# | ^~~~~~
# torch_api_generated.h:1362:52: note: expected 'char *' but argument is of type 'const char *'
# 1362 | void atg_linalg_eigh(tensor *, tensor self, char * UPLO);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1437_atg_linalg_eigh_eigvals':
# torch_stubs.c:23967:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23967 | atg_linalg_eigh_eigvals(x23151, x23152, x23153, x23154, x23155);
# | ^~~~~~
# torch_api_generated.h:1363:92: note: expected 'char *' but argument is of type 'const char *'
# 1363 | void atg_linalg_eigh_eigvals(tensor *, tensor eigvals, tensor eigvecs, tensor self, char * UPLO);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1440_atg_linalg_eigvalsh':
# torch_stubs.c:23992:40: warning: passing argument 3 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 23992 | atg_linalg_eigvalsh(x23172, x23173, x23174);
# | ^~~~~~
# torch_api_generated.h:1366:56: note: expected 'char *' but argument is of type 'const char *'
# 1366 | void atg_linalg_eigvalsh(tensor *, tensor self, char * UPLO);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1441_atg_linalg_eigvalsh_out':
# torch_stubs.c:24002:52: warning: passing argument 4 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24002 | atg_linalg_eigvalsh_out(x23180, x23181, x23182, x23183);
# | ^~~~~~
# torch_api_generated.h:1367:72: note: expected 'char *' but argument is of type 'const char *'
# 1367 | void atg_linalg_eigvalsh_out(tensor *, tensor out, tensor self, char * UPLO);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1454_atg_linalg_lstsq':
# torch_stubs.c:24168:61: warning: passing argument 6 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24168 | atg_linalg_lstsq(x23336, x23337, x23338, x23339, x23342, x23345);
# | ^~~~~~
# torch_api_generated.h:1380:95: note: expected 'char *' but argument is of type 'const char *'
# 1380 | void atg_linalg_lstsq(tensor *, tensor self, tensor b, double rcond_v, int rcond_null, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1455_atg_linalg_lstsq_out':
# torch_stubs.c:24200:49: warning: passing argument 10 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24200 | x23369, x23370, x23373, x23376);
# | ^~~~~~
# torch_api_generated.h:1381:171: note: expected 'char *' but argument is of type 'const char *'
# 1381 | 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__1488_atg_linalg_qr':
# torch_stubs.c:24766:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24766 | atg_linalg_qr(x23905, x23906, x23907);
# | ^~~~~~
# torch_api_generated.h:1414:47: note: expected 'char *' but argument is of type 'const char *'
# 1414 | void atg_linalg_qr(tensor *, tensor A, char * mode);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1489_atg_linalg_qr_out':
# torch_stubs.c:24777:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24777 | atg_linalg_qr_out(x23914, x23915, x23916, x23917, x23918);
# | ^~~~~~
# torch_api_generated.h:1415:71: note: expected 'char *' but argument is of type 'const char *'
# 1415 | void atg_linalg_qr_out(tensor *, tensor Q, tensor R, tensor A, char * mode);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__1498_atg_linalg_svd':
# torch_stubs.c:24923:43: warning: passing argument 4 of 'atg_linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24923 | atg_linalg_svd(x24056, x24057, x24058, x24061);
# | ^~~~~~
# torch_api_generated.h:1424:67: note: expected 'char *' but argument is of type 'const char *'
# 1424 | void atg_linalg_svd(tensor *, tensor A, int full_matrices, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1499_atg_linalg_svd_u':
# torch_stubs.c:24937:69: warning: passing argument 7 of 'atg_linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24937 | atg_linalg_svd_u(x24070, x24071, x24072, x24073, x24074, x24075, x24078);
# | ^~~~~~
# torch_api_generated.h:1425:100: note: expected 'char *' but argument is of type 'const char *'
# 1425 | 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__1500_atg_linalg_svdvals':
# torch_stubs.c:24958:39: warning: passing argument 3 of 'atg_linalg_svdvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24958 | atg_linalg_svdvals(x24090, x24091, x24092);
# | ^~~~~~
# torch_api_generated.h:1426:52: note: expected 'char *' but argument is of type 'const char *'
# 1426 | void atg_linalg_svdvals(tensor *, tensor A, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1501_atg_linalg_svdvals_out':
# torch_stubs.c:24968:51: warning: passing argument 4 of 'atg_linalg_svdvals_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24968 | atg_linalg_svdvals_out(x24098, x24099, x24100, x24101);
# | ^~~~~~
# torch_api_generated.h:1427:68: note: expected 'char *' but argument is of type 'const char *'
# 1427 | void atg_linalg_svdvals_out(tensor *, tensor out, tensor A, char * driver);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__1627_atg_meshgrid_indexing':
# torch_stubs.c:27005:58: warning: passing argument 3 of 'atg_meshgrid_indexing' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 27005 | void** x26120 = atg_meshgrid_indexing(x26115, x26116, x26119);
# | ^~~~~~
# torch_api_generated.h:1553:77: note: expected 'char *' but argument is of type 'const char *'
# 1553 | tensor *atg_meshgrid_indexing(tensor *tensors_data, int tensors_len, char * indexing);
# | ~~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__1728_atg_nanquantile':
# torch_stubs.c:29437:68: warning: passing argument 7 of 'atg_nanquantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 29437 | atg_nanquantile(x28511, x28512, x28513, x28514, x28517, x28520, x28523);
# | ^~~~~~
# torch_api_generated.h:1654:104: note: expected 'char *' but argument is of type 'const char *'
# 1654 | 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__1729_atg_nanquantile_out':
# torch_stubs.c:29467:32: warning: passing argument 8 of 'atg_nanquantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 29467 | x28550, x28553);
# | ^~~~~~
# torch_api_generated.h:1655:120: note: expected 'char *' but argument is of type 'const char *'
# 1655 | 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__1730_atg_nanquantile_scalar':
# torch_stubs.c:29497:27: warning: passing argument 7 of 'atg_nanquantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 29497 | x28584);
# | ^~~~~~
# torch_api_generated.h:1656:111: note: expected 'char *' but argument is of type 'const char *'
# 1656 | 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__1731_atg_nanquantile_scalar_out':
# torch_stubs.c:29527:47: warning: passing argument 8 of 'atg_nanquantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 29527 | x28610, x28613, x28616);
# | ^~~~~~
# torch_api_generated.h:1657:127: note: expected 'char *' but argument is of type 'const char *'
# 1657 | 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__1825_atg_pad':
# torch_stubs.c:31103:44: warning: passing argument 5 of 'atg_pad' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31103 | atg_pad(x30146, x30147, x30148, x30149, x30152, x30153, x30156);
# | ^~~~~~
# torch_api_generated.h:1751:76: note: expected 'char *' but argument is of type 'const char *'
# 1751 | 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__1875_atg_quantile':
# torch_stubs.c:31646:65: warning: passing argument 7 of 'atg_quantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31646 | atg_quantile(x30680, x30681, x30682, x30683, x30686, x30689, x30692);
# | ^~~~~~
# torch_api_generated.h:1801:101: note: expected 'char *' but argument is of type 'const char *'
# 1801 | 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__1876_atg_quantile_out':
# torch_stubs.c:31675:21: warning: passing argument 8 of 'atg_quantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31675 | x30722);
# | ^~~~~~
# torch_api_generated.h:1802:117: note: expected 'char *' but argument is of type 'const char *'
# 1802 | 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__1877_atg_quantile_scalar':
# torch_stubs.c:31705:24: warning: passing argument 7 of 'atg_quantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31705 | x30753);
# | ^~~~~~
# torch_api_generated.h:1803:108: note: expected 'char *' but argument is of type 'const char *'
# 1803 | 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__1878_atg_quantile_scalar_out':
# torch_stubs.c:31735:36: warning: passing argument 8 of 'atg_quantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31735 | x30782, x30785);
# | ^~~~~~
# torch_api_generated.h:1804:124: note: expected 'char *' but argument is of type 'const char *'
# 1804 | 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__2041_atg_scatter_reduce':
# torch_stubs.c:34263:63: warning: passing argument 6 of 'atg_scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34263 | atg_scatter_reduce(x33264, x33265, x33266, x33269, x33270, x33271);
# | ^~~~~~
# torch_api_generated.h:1967:94: note: expected 'char *' but argument is of type 'const char *'
# 1967 | void atg_scatter_reduce(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__2042_atg_scatter_reduce_':
# torch_stubs.c:34288:64: warning: passing argument 6 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34288 | atg_scatter_reduce_(x33285, x33286, x33287, x33290, x33291, x33292);
# | ^~~~~~
# torch_api_generated.h:1968:95: note: expected 'char *' but argument is of type 'const char *'
# 1968 | void atg_scatter_reduce_(tensor *, tensor self, int64_t dim, tensor index, tensor src, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__2043_atg_scatter_reduce_out':
# torch_stubs.c:34316:27: warning: passing argument 7 of 'atg_scatter_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34316 | x33315);
# | ^~~~~~
# torch_api_generated.h:1969:110: note: expected 'char *' but argument is of type 'const char *'
# 1969 | 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__2048_atg_scatter_value_reduce':
# torch_stubs.c:34414:69: warning: passing argument 6 of 'atg_scatter_value_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34414 | atg_scatter_value_reduce(x33398, x33399, x33400, x33403, x33404, x33405);
# | ^~~~~~
# torch_api_generated.h:1974:102: note: expected 'char *' but argument is of type 'const char *'
# 1974 | void atg_scatter_value_reduce(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__2049_atg_scatter_value_reduce_':
# torch_stubs.c:34439:70: warning: passing argument 6 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34439 | atg_scatter_value_reduce_(x33419, x33420, x33421, x33424, x33425, x33426);
# | ^~~~~~
# torch_api_generated.h:1975:103: note: expected 'char *' but argument is of type 'const char *'
# 1975 | void atg_scatter_value_reduce_(tensor *, tensor self, int64_t dim, tensor index, scalar value, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs.c: In function 'caml__2050_atg_scatter_value_reduce_out':
# torch_stubs.c:34467:41: warning: passing argument 7 of 'atg_scatter_value_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34467 | x33448, x33449);
# | ^~~~~~
# torch_api_generated.h:1976:118: note: expected 'char *' but argument is of type 'const char *'
# 1976 | 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__2051_atg_searchsorted':
# torch_stubs.c:34495:61: warning: passing argument 6 of 'atg_searchsorted' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34495 | atg_searchsorted(x33465, x33466, x33467, x33468, x33471, x33474, x33475);
# | ^~~~~~
# torch_api_generated.h:1977:103: note: expected 'char *' but argument is of type 'const char *'
# 1977 | void atg_searchsorted(tensor *, tensor sorted_sequence, tensor self, int out_int32, int right, char * side, tensor sorter);
# | ~~~~~~~^~~~
# torch_stubs.c: In function 'caml__2052_atg_searchsorted_scalar':
# torch_stubs.c:34523:68: warning: passing argument 6 of 'atg_searchsorted_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34523 | atg_searchsorted_scalar(x33491, x33492, x33493, x33494, x33497, x33500,
# | ^~~~~~
# torch_api_generated.h:1978:110: note: expected 'char *' but argument is of type 'const char *'
# 1978 | 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__2053_atg_searchsorted_scalar_out':
# torch_stubs.c:34554:40: warning: passing argument 7 of 'atg_searchsorted_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34554 | x33525, x33528, x33529);
# | ^~~~~~
# torch_api_generated.h:1979:126: note: expected 'char *' but argument is of type 'const char *'
# 1979 | 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__2054_atg_searchsorted_tensor_out':
# torch_stubs.c:34585:40: warning: passing argument 7 of 'atg_searchsorted_tensor_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34585 | x33554, x33557, x33558);
# | ^~~~~~
# torch_api_generated.h:1980:126: note: expected 'char *' but argument is of type 'const char *'
# 1980 | 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__2055_atg_segment_reduce':
# torch_stubs.c:34615:39: warning: passing argument 3 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34615 | atg_segment_reduce(x33577, x33578, x33579, x33580, x33581, x33582,
# | ^~~~~~
# torch_api_generated.h:1981:55: note: expected 'char *' but argument is of type 'const char *'
# 1981 | 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__2056_atg_segment_reduce_out':
# torch_stubs.c:34650:51: warning: passing argument 4 of 'atg_segment_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 34650 | atg_segment_reduce_out(x33610, x33611, x33612, x33613, x33614, x33615,
# | ^~~~~~
# torch_api_generated.h:1982:71: note: expected 'char *' but argument is of type 'const char *'
# 1982 | 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__2374_atg_stft_center':
# torch_stubs.c:38971:36: warning: passing argument 10 of 'atg_stft_center' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 38971 | x37501, x37502, x37505, x37506, x37509, x37512);
# | ^~~~~~
# torch_api_generated.h:2300:180: note: expected 'char *' but argument is of type 'const char *'
# 2300 | 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);
# | ~~~~~~~^~~~~~~~
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build torch v0.16.0
+-
+- The following changes have been performed
| - install base v0.16.4
| - install base_bigstring v0.16.0
| - install base_quickcheck v0.16.0
| - install bin_prot v0.16.0
| - install conf-libffi 2.0.0
| - install conf-pkg-config 4
| - install core v0.16.2
| - install ctypes 0.24.0
| - install ctypes-foreign 0.24.0
| - install fieldslib v0.16.0
| - install int_repr v0.16.0
| - 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 num 1.6
| - install ocaml-compiler-libs v0.12.4
| - install parsexp v0.16.0
| - install ppx_assert v0.16.0
| - install ppx_base v0.16.0
| - install ppx_bench v0.16.0
| - install ppx_bin_prot 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_disable_unused_warnings v0.16.0
| - install ppx_enumerate v0.16.0
| - install ppx_expect v0.16.2
| - install ppx_fields_conv v0.16.0
| - install ppx_fixed_literal v0.16.0
| - install ppx_globalize v0.16.0
| - install ppx_hash v0.16.0
| - install ppx_here v0.16.0
| - install ppx_ignore_instrumentation v0.16.0
| - install ppx_inline_test v0.16.1
| - install ppx_jane v0.16.0
| - install ppx_let v0.16.0
| - install ppx_log v0.16.0
| - install ppx_module_timer v0.16.0
| - install ppx_optcomp v0.16.0
| - install ppx_optional v0.16.0
| - install ppx_pipebang v0.16.0
| - install ppx_sexp_conv v0.16.0
| - install ppx_sexp_message v0.16.0
| - install ppx_sexp_value v0.16.0
| - install ppx_stable v0.16.0
| - install ppx_stable_witness v0.16.0
| - install ppx_string v0.16.0
| - install ppx_tydi v0.16.0
| - install ppx_typerep_conv v0.16.0
| - install ppx_variants_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 splittable_random v0.16.0
| - install stdio v0.16.0
| - install stdlib-shims 0.3.0
| - install time_now v0.16.0
| - install typerep v0.16.0
| - install variantslib 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-20251215032830.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.v0.16.0;
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.v0.16.0' && 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
2025-12-15 03:32.45: Job failed: Failed: Build failed
2025-12-15 03:32.45: Log analysis:
2025-12-15 03:32.45: >>>
[ERROR] The compilation of torch.v0.16.0 failed at "dune build -p torch -j 71".
(score = 20)
2025-12-15 03:32.45: >>>
# torch_stubs.c:295:27: error: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2025-12-15 03:32.45: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]