Build:
- 0
2025-12-08 20:46.21: New job: build torch.v0.17.0, using opam 2.4
from https://github.com/ocaml/opam-repository.git#refs/pull/29040/head (54a2a184a6d77f10e4b79113c296cba5261ef4fa)
on debian-13-ocaml-5.4/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/29040/head" && git reset --hard 54a2a184
git fetch origin master
git merge --no-edit 4c9d80b7312698c8f185350873cbec03fdf0471a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.4 /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 torch.v0.17.0 v0.17.0
RUN opam reinstall torch.v0.17.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.17.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-08 20:46.21: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04-torch.v0.17.0-54a2a184a6d77f10e4b79113c296cba5261ef4fa"
2025-12-08 20:46.21: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 torch.v0.17.0 v0.17.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall torch.v0.17.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.17.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-08 20:46.21: Waiting for resource in pool OCluster
2025-12-09 05:23.42: Waiting for worker…
2025-12-09 05:27.35: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 66% (12652/18985)
Updating files: 67% (12720/18985)
Updating files: 68% (12910/18985)
Updating files: 69% (13100/18985)
Updating files: 70% (13290/18985)
Updating files: 71% (13480/18985)
Updating files: 72% (13670/18985)
Updating files: 73% (13860/18985)
Updating files: 74% (14049/18985)
Updating files: 75% (14239/18985)
Updating files: 76% (14429/18985)
Updating files: 77% (14619/18985)
Updating files: 78% (14809/18985)
Updating files: 79% (14999/18985)
Updating files: 80% (15188/18985)
Updating files: 81% (15378/18985)
Updating files: 82% (15568/18985)
Updating files: 83% (15758/18985)
Updating files: 84% (15948/18985)
Updating files: 85% (16138/18985)
Updating files: 86% (16328/18985)
Updating files: 87% (16517/18985)
Updating files: 88% (16707/18985)
Updating files: 89% (16897/18985)
Updating files: 90% (17087/18985)
Updating files: 91% (17277/18985)
Updating files: 92% (17467/18985)
Updating files: 93% (17657/18985)
Updating files: 94% (17846/18985)
Updating files: 95% (18036/18985)
Updating files: 96% (18226/18985)
Updating files: 97% (18416/18985)
Updating files: 98% (18606/18985)
Updating files: 99% (18796/18985)
Updating files: 100% (18985/18985)
Updating files: 100% (18985/18985), done.
HEAD is now at 4c9d80b731 Merge pull request #29031 from NielsMommen/release-ppx_parser-0.2.1
Updating 4c9d80b731..54a2a184a6
Fast-forward
packages/SZXX/SZXX.4.0.0/opam | 2 +-
.../abstract_algebra/abstract_algebra.v0.17.0/opam | 4 +-
packages/accessor/accessor.v0.17.0/opam | 6 +-
.../accessor_async/accessor_async.v0.17.0/opam | 10 +--
packages/accessor_base/accessor_base.v0.17.0/opam | 10 +--
packages/accessor_core/accessor_core.v0.17.0/opam | 10 +--
packages/async/async.v0.17.0/opam | 18 ++---
packages/async_durable/async_durable.v0.17.0/opam | 10 +--
packages/async_extra/async_extra.v0.17.0/opam | 8 +--
packages/async_find/async_find.v0.17.0/opam | 6 +-
packages/async_inotify/async_inotify.v0.17.0/opam | 10 +--
.../async_interactive.v0.17.0/opam | 8 +--
packages/async_js/async_js.v0.17.0/opam | 8 +--
packages/async_kernel/async_kernel.v0.17.0/opam | 6 +-
packages/async_log/async_log.v0.17.0/opam | 12 ++--
.../async_rpc_kernel/async_rpc_kernel.v0.17.0/opam | 12 ++--
.../async_rpc_websocket.v0.17.0/opam | 6 +-
.../async_sendfile/async_sendfile.v0.17.0/opam | 8 +--
packages/async_shell/async_shell.v0.17.0/opam | 8 +--
packages/async_smtp/async_smtp.v0.17.0/opam | 28 ++++----
packages/async_ssl/async_ssl.v0.17.0-1/opam | 12 ++--
packages/async_ssl/async_ssl.v0.17.0/opam | 12 ++--
packages/async_udp/async_udp.v0.17.0/opam | 6 +-
packages/async_unix/async_unix.v0.17.0/opam | 12 ++--
.../async_websocket/async_websocket.v0.17.0/opam | 6 +-
packages/babel/babel.v0.17.0/opam | 12 ++--
packages/base/base.v0.17.0/opam | 4 +-
packages/base/base.v0.17.1/opam | 8 +--
packages/base/base.v0.17.3/opam | 4 +-
.../base_bigstring/base_bigstring.v0.17.0/opam | 6 +-
.../base_quickcheck/base_quickcheck.v0.17.0/opam | 16 ++---
.../base_quickcheck/base_quickcheck.v0.17.1/opam | 16 ++---
packages/base_trie/base_trie.v0.17.0/opam | 8 +--
packages/bigdecimal/bigdecimal.v0.17.0/opam | 6 +-
packages/bignum/bignum.v0.17.0/opam | 10 +--
packages/bin_prot/bin_prot.v0.17.0-1/opam | 16 ++---
packages/bin_prot/bin_prot.v0.17.0/opam | 16 ++---
packages/bonsai/bonsai.v0.17.0/opam | 78 +++++++++++-----------
.../capitalization/capitalization.v0.17.0/opam | 4 +-
.../cmdlang-to-base/cmdlang-to-base.0.0.9/opam | 22 +++---
packages/codicons/codicons.v0.17.0/opam | 6 +-
.../cohttp_async_websocket.v0.17.0/opam | 10 +--
.../cohttp_static_handler.v0.17.0/opam | 2 +-
packages/command_rpc/command_rpc.v0.17.0/opam | 6 +-
.../content_security_policy.v0.17.0/opam | 4 +-
packages/coq-lsp/coq-lsp.0.2.0+8.17/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.0+8.18/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.0+8.19/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.0+8.20/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.2+8.17/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.2+8.18/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.2+8.19/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.2+8.20/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.3+8.17/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.3+8.18/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.3+8.19/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.3+8.20/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.3+9.0/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.4+8.20/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.4+9.0/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.4+9.1/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.5+8.20/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.5+9.0/opam | 8 +--
packages/coq-lsp/coq-lsp.0.2.5+9.1/opam | 8 +--
packages/coq-serapi/coq-serapi.8.20.0+0.20.0/opam | 8 +--
packages/core/core.v0.17.0/opam | 44 ++++++------
packages/core/core.v0.17.1/opam | 44 ++++++------
packages/core_bench/core_bench.v0.17.0/opam | 24 +++----
packages/core_extended/core_extended.v0.17.0/opam | 10 +--
packages/core_kernel/core_kernel.v0.17.0/opam | 12 ++--
packages/core_profiler/core_profiler.v0.17.0/opam | 16 ++---
packages/core_unix/core_unix.v0.17.0/opam | 22 +++---
packages/core_unix/core_unix.v0.17.1/opam | 22 +++---
packages/csvfields/csvfields.v0.17.0/opam | 6 +-
packages/dedent/dedent.v0.17.0/opam | 6 +-
.../delimited_parsing.v0.17.0/opam | 8 +--
packages/ecaml/ecaml.v0.17.0/opam | 16 ++---
packages/email_message/email_message.v0.17.0/opam | 12 ++--
packages/env_config/env_config.v0.17.0/opam | 8 +--
.../expect_test_helpers_async.v0.17.0/opam | 12 ++--
.../expect_test_helpers_core.v0.17.0/opam | 12 ++--
packages/fieldslib/fieldslib.v0.17.0/opam | 2 +-
packages/file-rewriter/file-rewriter.0.0.3/opam | 2 +-
packages/file_path/file_path.v0.17.0/opam | 14 ++--
packages/fuzzy_match/fuzzy_match.v0.17.0/opam | 4 +-
packages/fzf/fzf.v0.17.0/opam | 6 +-
packages/gel/gel.v0.17.0/opam | 4 +-
packages/hardcaml/hardcaml.v0.17.0/opam | 12 ++--
packages/hardcaml/hardcaml.v0.17.1/opam | 12 ++--
packages/hardcaml_axi/hardcaml_axi.v0.17.0/opam | 12 ++--
packages/hardcaml_c/hardcaml_c.v0.17.0/opam | 10 +--
.../hardcaml_circuits.v0.17.0/opam | 8 +--
.../hardcaml_event_driven_sim.v0.17.0/opam | 10 +--
.../hardcaml_fixed_point.v0.17.0/opam | 6 +-
.../hardcaml_handshake.v0.17.0/opam | 8 +--
.../hardcaml_of_verilog.v0.17.0/opam | 20 +++---
.../hardcaml_step_testbench.v0.17.0/opam | 10 +--
.../hardcaml_verify/hardcaml_verify.v0.17.0/opam | 12 ++--
.../hardcaml_verilator.v0.17.0/opam | 10 +--
.../hardcaml_waveterm.v0.17.0/opam | 12 ++--
.../hardcaml_xilinx/hardcaml_xilinx.v0.17.0/opam | 10 +--
.../hardcaml_xilinx_components.v0.17.0/opam | 12 ++--
.../hardcaml_xilinx_reports.v0.17.0/opam | 18 ++---
packages/hex_encode/hex_encode.v0.17.0/opam | 4 +-
packages/hg_lib/hg_lib.v0.17.0/opam | 10 +--
packages/higher_kinded/higher_kinded.v0.17.0/opam | 4 +-
packages/incr_dom/incr_dom.v0.17.0/opam | 18 ++---
.../incr_dom_interactive.v0.17.0/opam | 18 ++---
.../incr_dom_partial_render.v0.17.0/opam | 10 +--
.../incr_dom_sexp_form.v0.17.0/opam | 16 ++---
packages/incr_map/incr_map.v0.17.0/opam | 18 ++---
packages/incr_select/incr_select.v0.17.0/opam | 6 +-
packages/incremental/incremental.v0.17.0/opam | 12 ++--
.../indentation_buffer.v0.17.0/opam | 4 +-
packages/int_repr/int_repr.v0.17.0/opam | 4 +-
packages/jane_rope/jane_rope.v0.17.0/opam | 4 +-
.../janestreet_cpuid/janestreet_cpuid.v0.17.0/opam | 6 +-
.../janestreet_csv/janestreet_csv.v0.17.0/opam | 22 +++---
.../janestreet_lru_cache.v0.17.0/opam | 4 +-
packages/jsonaf/jsonaf.v0.17.0/opam | 4 +-
packages/jst-config/jst-config.v0.17.0/opam | 4 +-
.../legacy_diffable/legacy_diffable.v0.17.0/opam | 8 +--
packages/line-up-words/line-up-words.v0.17.0/opam | 10 +--
.../man_in_the_middle_debugger.v0.17.0/opam | 6 +-
.../memtrace_viewer/memtrace_viewer.v0.17.0/opam | 18 ++---
packages/mlt_parser/mlt_parser.v0.17.0/opam | 6 +-
packages/n_ary/n_ary.v0.17.0/opam | 16 ++---
packages/netsnmp/netsnmp.v0.17.0/opam | 6 +-
packages/notty_async/notty_async.v0.17.0/opam | 4 +-
.../numeric_string/numeric_string.v0.17.0/opam | 4 +-
.../ocaml-embed-file/ocaml-embed-file.v0.17.0/opam | 8 +--
.../ocaml_intrinsics/ocaml_intrinsics.v0.17.0/opam | 2 +-
.../ocaml_openapi_generator.v0.17.0/opam | 16 ++---
packages/of_json/of_json.v0.17.0/opam | 8 +--
.../ordinal_abbreviation.v0.17.0/opam | 4 +-
packages/pam/pam.v0.17.0/opam | 4 +-
packages/parsexp/parsexp.v0.17.0/opam | 2 +-
packages/parsexp_io/parsexp_io.v0.17.0/opam | 8 +--
packages/patdiff/patdiff.v0.17.0/opam | 12 ++--
packages/patience_diff/patience_diff.v0.17.0/opam | 6 +-
.../polling_state_rpc.v0.17.0/opam | 12 ++--
packages/posixat/posixat.v0.17.0/opam | 6 +-
.../postgres_async/postgres_async.v0.17.0/opam | 10 +--
packages/ppx_accessor/ppx_accessor.v0.17.0/opam | 4 +-
packages/ppx_assert/ppx_assert.v0.17.0/opam | 10 +--
packages/ppx_base/ppx_base.v0.17.0/opam | 12 ++--
packages/ppx_bench/ppx_bench.v0.17.0/opam | 2 +-
packages/ppx_bench/ppx_bench.v0.17.1/opam | 2 +-
packages/ppx_bin_prot/ppx_bin_prot.v0.17.0/opam | 6 +-
packages/ppx_bin_prot/ppx_bin_prot.v0.17.1/opam | 8 +--
packages/ppx_cold/ppx_cold.v0.17.0/opam | 2 +-
packages/ppx_compare/ppx_compare.v0.17.0/opam | 4 +-
packages/ppx_conv_func/ppx_conv_func.v0.17.0/opam | 2 +-
packages/ppx_css/ppx_css.v0.17.0/opam | 24 +++----
packages/ppx_csv_conv/ppx_csv_conv.v0.17.0/opam | 8 +--
.../ppx_custom_printf.v0.17.0/opam | 4 +-
packages/ppx_demo/ppx_demo.v0.17.0/opam | 6 +-
.../ppx_derive_at_runtime.v0.17.0/opam | 6 +-
.../ppx_derive_at_runtime.v0.17.1/opam | 6 +-
packages/ppx_diff/ppx_diff.v0.17.0/opam | 12 ++--
packages/ppx_diff/ppx_diff.v0.17.1/opam | 12 ++--
.../ppx_disable_unused_warnings.v0.17.0/opam | 2 +-
.../ppx_embed_file/ppx_embed_file.v0.17.0/opam | 6 +-
packages/ppx_enumerate/ppx_enumerate.v0.17.0/opam | 4 +-
packages/ppx_expect/ppx_expect.v0.17.0/opam | 8 +--
packages/ppx_expect/ppx_expect.v0.17.1/opam | 8 +--
packages/ppx_expect/ppx_expect.v0.17.2/opam | 8 +--
packages/ppx_expect/ppx_expect.v0.17.3/opam | 8 +--
.../ppx_expect_nobase.v0.17.2/opam | 2 +-
.../ppx_fields_conv/ppx_fields_conv.v0.17.0/opam | 4 +-
.../ppx_fixed_literal.v0.17.0/opam | 2 +-
packages/ppx_globalize/ppx_globalize.v0.17.0/opam | 2 +-
packages/ppx_globalize/ppx_globalize.v0.17.2/opam | 4 +-
packages/ppx_hardcaml/ppx_hardcaml.v0.17.0/opam | 6 +-
packages/ppx_hardcaml/ppx_hardcaml.v0.17.1/opam | 6 +-
packages/ppx_hash/ppx_hash.v0.17.0/opam | 8 +--
packages/ppx_here/ppx_here.v0.17.0/opam | 2 +-
.../ppx_inline_test/ppx_inline_test.v0.17.0/opam | 4 +-
.../ppx_inline_test/ppx_inline_test.v0.17.1/opam | 4 +-
.../ppx_inline_test_nobase.v0.17.0.2/opam | 2 +-
.../ppx_inline_test_nobase.v0.17.0/opam | 2 +-
packages/ppx_jane/ppx_jane.v0.17.0/opam | 54 +++++++--------
packages/ppx_js_style/ppx_js_style.v0.17.0/opam | 2 +-
packages/ppx_js_style/ppx_js_style.v0.17.1/opam | 2 +-
.../ppx_jsonaf_conv/ppx_jsonaf_conv.v0.17.0/opam | 6 +-
.../ppx_jsonaf_conv/ppx_jsonaf_conv.v0.17.1/opam | 6 +-
packages/ppx_let/ppx_let.v0.17.0/opam | 4 +-
packages/ppx_let/ppx_let.v0.17.1/opam | 4 +-
packages/ppx_log/ppx_log.v0.17.0/opam | 28 ++++----
.../ppx_module_timer/ppx_module_timer.v0.17.0/opam | 8 +--
packages/ppx_optcomp/ppx_optcomp.v0.17.0/opam | 4 +-
packages/ppx_optcomp/ppx_optcomp.v0.17.1/opam | 4 +-
packages/ppx_optional/ppx_optional.v0.17.0/opam | 4 +-
.../ppx_pattern_bind/ppx_pattern_bind.v0.17.0/opam | 4 +-
.../ppx_pattern_bind/ppx_pattern_bind.v0.17.1/opam | 4 +-
packages/ppx_python/ppx_python.v0.17.0/opam | 4 +-
.../ppx_quick_test/ppx_quick_test.v0.17.0/opam | 24 +++----
.../ppx_quick_test/ppx_quick_test.v0.17.1/opam | 24 +++----
packages/ppx_sexp_conv/ppx_sexp_conv.v0.17.0/opam | 6 +-
packages/ppx_sexp_conv/ppx_sexp_conv.v0.17.1/opam | 6 +-
.../ppx_sexp_message/ppx_sexp_message.v0.17.0/opam | 6 +-
.../ppx_sexp_value/ppx_sexp_value.v0.17.0/opam | 6 +-
packages/ppx_stable/ppx_stable.v0.17.0/opam | 2 +-
packages/ppx_stable/ppx_stable.v0.17.1/opam | 2 +-
.../ppx_stable_witness.v0.17.0/opam | 2 +-
packages/ppx_string/ppx_string.v0.17.0/opam | 4 +-
.../ppx_string_conv/ppx_string_conv.v0.17.0/opam | 8 +--
packages/ppx_tydi/ppx_tydi.v0.17.0/opam | 2 +-
packages/ppx_tydi/ppx_tydi.v0.17.1/opam | 2 +-
.../ppx_typed_fields/ppx_typed_fields.v0.17.0/opam | 18 ++---
.../ppx_typed_fields/ppx_typed_fields.v0.17.1/opam | 18 ++---
.../ppx_typerep_conv/ppx_typerep_conv.v0.17.0/opam | 4 +-
.../ppx_typerep_conv/ppx_typerep_conv.v0.17.1/opam | 4 +-
.../ppx_variants_conv.v0.17.0/opam | 4 +-
.../ppx_variants_conv.v0.17.1/opam | 4 +-
packages/ppx_xml_conv/ppx_xml_conv.v0.17.0/opam | 8 +--
.../ppx_yojson_conv/ppx_yojson_conv.v0.17.0/opam | 6 +-
.../ppx_yojson_conv/ppx_yojson_conv.v0.17.1/opam | 6 +-
packages/profunctor/profunctor.v0.17.0/opam | 6 +-
.../protocol_version_header.v0.17.0/opam | 4 +-
packages/re2/re2.v0.17.0/opam | 8 +--
packages/re_parser/re_parser.v0.17.0/opam | 4 +-
.../record_builder/record_builder.v0.17.0/opam | 4 +-
packages/redis-async/redis-async.v0.17.0/opam | 10 +--
.../regex_parser_intf.v0.17.0/opam | 2 +-
.../resource_cache/resource_cache.v0.17.0/opam | 8 +--
packages/rpc_parallel/rpc_parallel.v0.17.0/opam | 12 ++--
.../semantic_version/semantic_version.v0.17.0/opam | 4 +-
.../sequencer_table/sequencer_table.v0.17.0/opam | 6 +-
packages/sexp/sexp.v0.17.0/opam | 28 ++++----
packages/sexp_diff/sexp_diff.v0.17.0/opam | 4 +-
packages/sexp_grammar/sexp_grammar.v0.17.0/opam | 14 ++--
packages/sexp_macro/sexp_macro.v0.17.0/opam | 8 +--
packages/sexp_pretty/sexp_pretty.v0.17.0/opam | 6 +-
packages/sexp_select/sexp_select.v0.17.0/opam | 6 +-
.../sexp_string_quickcheck.v0.17.0/opam | 6 +-
packages/sexplib/sexplib.v0.17.0/opam | 4 +-
packages/sexps-rewriter/sexps-rewriter.0.0.3/opam | 4 +-
packages/shell/shell.v0.17.0/opam | 10 +--
packages/shexp/shexp.v0.17.0/opam | 4 +-
packages/splay_tree/splay_tree.v0.17.0/opam | 4 +-
.../splittable_random.v0.17.0/opam | 10 +--
packages/stdio/stdio.v0.17.0/opam | 2 +-
.../stored_reversed/stored_reversed.v0.17.0/opam | 4 +-
packages/streamable/streamable.v0.17.0/opam | 12 ++--
packages/streamable/streamable.v0.17.1/opam | 12 ++--
packages/string_dict/string_dict.v0.17.0/opam | 6 +-
packages/tdigest/tdigest.2.2.1/opam | 2 +-
packages/textutils/textutils.v0.17.0/opam | 8 +--
.../textutils_kernel/textutils_kernel.v0.17.0/opam | 4 +-
packages/tilde_f/tilde_f.v0.17.0/opam | 4 +-
packages/time_now/time_now.v0.17.0/opam | 10 +--
packages/timezone/timezone.v0.17.0/opam | 4 +-
.../toplevel_backend/toplevel_backend.v0.17.0/opam | 8 +--
.../toplevel_expect_test.v0.17.0/opam | 16 ++---
.../topological_sort/topological_sort.v0.17.0/opam | 6 +-
packages/torch/torch.v0.17.0/opam | 16 ++---
packages/tracing/tracing.v0.17.0/opam | 10 +--
packages/typerep/typerep.v0.17.0/opam | 2 +-
packages/typerep/typerep.v0.17.1/opam | 2 +-
packages/uopt/uopt.v0.17.0/opam | 4 +-
.../username_kernel/username_kernel.v0.17.0/opam | 4 +-
packages/variantslib/variantslib.v0.17.0/opam | 2 +-
.../versioned_polling_state_rpc.v0.17.0/opam | 10 +--
packages/virtual_dom/virtual_dom.v0.17.0/opam | 12 ++--
.../virtual_dom_toplayer.v0.17.0/opam | 10 +--
packages/zstandard/zstandard.v0.17.0/opam | 6 +-
267 files changed, 1181 insertions(+), 1181 deletions(-)
(from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
2025-12-09 05:27.40 ---> using "5f87df8c1f6f0886e7311dfd3df40b8bbb961cc34c83c0d033c6dd248c84bc7d" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-12-09 05:27.40 ---> using "e2ed12606bde6a7dfe0d5decbe80a04d9950f5b7108ad372448d4ebd34e7eaa0" 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-09 05:27.40 ---> using "145b1e1f27e1a0e5086e54ac6311e6c677c1fdc1e999a8f5284b620dc92813d6" 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.4.1
# 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 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2025-12-09 05:27.40 ---> using "3282dbdc2b2748e0483047e9d1f60c06e23ba9b63d3b9076bd0e5cf200b2412f" 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-09 05:27.59 ---> saved as "922bff7f23c0622b1457bffae9cfb9acb1b3744a3e61de99688600738e3da7c9"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-09 05:28.15 ---> saved as "c3a7bea5803857dfba807d835bcaa5241ff283d18252b595fa5d17088c37456b"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-09 05:28.40 ---> saved as "0fa01b827deb127a0b08e3e775ae27ffb2975abb78b0d920f581325eb27e82b7"
/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 [81.7 kB]
- Fetched 172 kB in 0s (1157 kB/s)
- Reading package lists...
-
2025-12-09 05:28.42 ---> saved as "d06f8e7835af65419c443b59d92bfd5dd6a6ba7cced42c837513e93994c53322"
/home/opam: (run (shell "opam pin add -k version -yn torch.v0.17.0 v0.17.0"))
torch is now pinned to version v0.17.0
2025-12-09 05:28.43 ---> saved as "d65d87e569279cd4030f461e80aada429ec8331985c3471ab8fa294a12b33e83"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall torch.v0.17.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.17.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.17.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 78 packages
- install base v0.17.3 [required by torch]
- install base_bigstring v0.17.0 [required by core]
- install base_quickcheck v0.17.1 [required by core]
- install bin_prot v0.17.0-1 [required by core]
- install capitalization v0.17.0 [required by ppx_string_conv]
- install conf-libffi 2.0.0 [required by ctypes-foreign]
- install conf-pkg-config 4 [required by ctypes-foreign]
- install core v0.17.1 [required by torch]
- install core_kernel v0.17.0 [required by core_unix]
- install core_unix v0.17.1 [required by torch]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by torch]
- install ctypes-foreign 0.24.0 [required by torch]
- install dune 3.20.2 [required by torch]
- install dune-configurator 3.20.2 [required by torch]
- install expect_test_helpers_core v0.17.0 [required by core_unix]
- install fieldslib v0.17.0 [required by core]
- install gel v0.17.0 [required by ppx_diff]
- install int_repr v0.17.0 [required by base_bigstring, core_kernel]
- install integers 0.7.0 [required by ctypes]
- install jane-street-headers v0.17.0 [required by core, core_unix]
- install jst-config v0.17.0 [required by core, core_unix]
- install num 1.6 [required by sexplib]
- install ocaml-compiler-libs v0.17.0 [required by torch]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install parsexp v0.17.0 [required by sexplib]
- install ppx_assert v0.17.0 [required by core]
- install ppx_base v0.17.0 [required by core]
- install ppx_bench v0.17.1 [required by torch]
- install ppx_bin_prot v0.17.1 [required by ppx_jane]
- install ppx_cold v0.17.0 [required by ppx_base]
- install ppx_compare v0.17.0 [required by ppx_diff]
- install ppx_custom_printf v0.17.0 [required by ppx_jane]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_diff v0.17.1 [required by core]
- install ppx_disable_unused_warnings v0.17.0 [required by ppx_jane]
- install ppx_enumerate v0.17.0 [required by ppx_diff]
- install ppx_expect v0.17.3 [required by ppx_jane]
- install ppx_fields_conv v0.17.0 [required by ppx_jane]
- install ppx_fixed_literal v0.17.0 [required by ppx_jane]
- install ppx_globalize v0.17.2 [required by ppx_base]
- install ppx_hash v0.17.0 [required by core]
- install ppx_here v0.17.0 [required by ppx_jane]
- install ppx_ignore_instrumentation v0.17.0 [required by ppx_jane]
- install ppx_inline_test v0.17.1 [required by torch]
- install ppx_jane v0.17.0 [required by torch]
- install ppx_let v0.17.1 [required by ppx_jane]
- install ppx_log v0.17.0 [required by ppx_jane]
- install ppx_module_timer v0.17.0 [required by ppx_jane]
- install ppx_optcomp v0.17.1 [required by core, core_unix]
- install ppx_optional v0.17.0 [required by ppx_jane]
- install ppx_pipebang v0.17.0 [required by ppx_jane]
- install ppx_sexp_conv v0.17.1 [required by core]
- install ppx_sexp_message v0.17.0 [required by core]
- install ppx_sexp_value v0.17.0 [required by ppx_jane]
- install ppx_stable v0.17.1 [required by ppx_jane]
- install ppx_stable_witness v0.17.0 [required by ppx_jane]
- install ppx_string v0.17.0 [required by torch]
- install ppx_string_conv v0.17.0 [required by ppx_jane]
- install ppx_tydi v0.17.1 [required by ppx_jane]
- install ppx_typerep_conv v0.17.1 [required by ppx_jane]
- install ppx_variants_conv v0.17.1 [required by ppx_jane]
- install ppxlib 0.37.0 [required by ppx_diff]
- install ppxlib_jane v0.17.4 [required by ppx_diff]
- install re 1.14.0 [required by expect_test_helpers_core]
- install sexp_pretty v0.17.0 [required by expect_test_helpers_core]
- install sexplib v0.17.0 [required by core, core_unix]
- install sexplib0 v0.17.0 [required by base]
- install spawn v0.17.0 [required by core_unix]
- install splittable_random v0.17.0 [required by core]
- install stdio v0.17.0 [required by torch]
- install stdlib-shims 0.3.0 [required by integers]
- install time_now v0.17.0 [required by core]
- install timezone v0.17.0 [required by core_unix]
- install torch v0.17.0 (pinned)
- install typerep v0.17.1 [required by core]
- install uopt v0.17.0 [required by core_unix]
- install variantslib v0.17.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 ... 20653 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.17.3 (cached)
-> retrieved base_bigstring.v0.17.0 (cached)
-> retrieved base_quickcheck.v0.17.1 (cached)
-> retrieved bin_prot.v0.17.0-1 (cached)
-> retrieved capitalization.v0.17.0 (cached)
-> installed conf-pkg-config.4
-> retrieved core.v0.17.1 (cached)
-> installed conf-libffi.2.0.0
-> retrieved core_kernel.v0.17.0 (cached)
-> retrieved core_unix.v0.17.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0 (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved expect_test_helpers_core.v0.17.0 (cached)
-> retrieved fieldslib.v0.17.0 (cached)
-> retrieved gel.v0.17.0 (cached)
-> retrieved int_repr.v0.17.0 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved jane-street-headers.v0.17.0 (cached)
-> retrieved jst-config.v0.17.0 (cached)
-> retrieved num.1.6 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved parsexp.v0.17.0 (cached)
-> retrieved ppx_assert.v0.17.0 (cached)
-> retrieved ppx_base.v0.17.0 (cached)
-> retrieved ppx_bench.v0.17.1 (cached)
-> retrieved ppx_bin_prot.v0.17.1 (cached)
-> retrieved ppx_cold.v0.17.0 (cached)
-> retrieved ppx_compare.v0.17.0 (cached)
-> retrieved ppx_custom_printf.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_diff.v0.17.1 (cached)
-> retrieved ppx_disable_unused_warnings.v0.17.0 (cached)
-> retrieved ppx_enumerate.v0.17.0 (cached)
-> retrieved ppx_expect.v0.17.3 (cached)
-> retrieved ppx_fields_conv.v0.17.0 (cached)
-> retrieved ppx_fixed_literal.v0.17.0 (cached)
-> retrieved ppx_globalize.v0.17.2 (cached)
-> retrieved ppx_hash.v0.17.0 (cached)
-> retrieved ppx_here.v0.17.0 (cached)
-> retrieved ppx_ignore_instrumentation.v0.17.0 (cached)
-> retrieved ppx_inline_test.v0.17.1 (cached)
-> retrieved ppx_jane.v0.17.0 (cached)
-> retrieved ppx_let.v0.17.1 (cached)
-> retrieved ppx_log.v0.17.0 (cached)
-> retrieved ppx_module_timer.v0.17.0 (cached)
-> retrieved ppx_optcomp.v0.17.1 (cached)
-> retrieved ppx_optional.v0.17.0 (cached)
-> retrieved ppx_pipebang.v0.17.0 (cached)
-> retrieved ppx_sexp_conv.v0.17.1 (cached)
-> retrieved ppx_sexp_message.v0.17.0 (cached)
-> retrieved ppx_sexp_value.v0.17.0 (cached)
-> retrieved ppx_stable.v0.17.1 (cached)
-> retrieved ppx_stable_witness.v0.17.0 (cached)
-> retrieved ppx_string.v0.17.0 (cached)
-> retrieved ppx_string_conv.v0.17.0 (cached)
-> retrieved ppx_tydi.v0.17.1 (cached)
-> retrieved ppx_typerep_conv.v0.17.1 (cached)
-> retrieved ppx_variants_conv.v0.17.1 (cached)
-> retrieved ppxlib.0.37.0 (cached)
-> retrieved ppxlib_jane.v0.17.4 (cached)
-> retrieved re.1.14.0 (cached)
-> retrieved sexp_pretty.v0.17.0 (cached)
-> retrieved sexplib.v0.17.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved spawn.v0.17.0 (cached)
-> retrieved splittable_random.v0.17.0 (cached)
-> retrieved stdio.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved time_now.v0.17.0 (cached)
-> retrieved timezone.v0.17.0 (cached)
-> retrieved torch.v0.17.0 (cached)
-> retrieved typerep.v0.17.1 (cached)
-> retrieved uopt.v0.17.0 (cached)
-> retrieved variantslib.v0.17.0 (cached)
-> installed num.1.6
-> installed dune.3.20.2
-> installed jane-street-headers.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed spawn.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed re.1.14.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed integers.0.7.0
-> installed parsexp.v0.17.0
-> installed dune-configurator.3.20.2
-> installed sexplib.v0.17.0
-> installed ctypes.0.24.0
-> installed ctypes-foreign.0.24.0
-> installed base.v0.17.3
-> installed fieldslib.v0.17.0
-> installed variantslib.v0.17.0
-> installed stdio.v0.17.0
-> installed typerep.v0.17.1
-> installed ppxlib.0.37.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_optcomp.v0.17.1
-> installed ppx_cold.v0.17.0
-> installed ppx_disable_unused_warnings.v0.17.0
-> installed ppx_here.v0.17.0
-> installed ppx_tydi.v0.17.1
-> installed ppx_typerep_conv.v0.17.1
-> installed ppx_variants_conv.v0.17.1
-> installed ppx_stable_witness.v0.17.0
-> installed ppx_fields_conv.v0.17.0
-> installed ppx_pipebang.v0.17.0
-> installed ppx_fixed_literal.v0.17.0
-> installed ppx_ignore_instrumentation.v0.17.0
-> installed ppx_stable.v0.17.1
-> installed ppx_enumerate.v0.17.0
-> installed ppx_globalize.v0.17.2
-> installed ppx_compare.v0.17.0
-> installed ppx_optional.v0.17.0
-> installed ppx_sexp_conv.v0.17.1
-> installed ppx_let.v0.17.1
-> installed ppx_hash.v0.17.0
-> installed ppx_sexp_value.v0.17.0
-> installed ppx_sexp_message.v0.17.0
-> installed ppx_assert.v0.17.0
-> installed ppx_base.v0.17.0
-> installed ppx_custom_printf.v0.17.0
-> installed capitalization.v0.17.0
-> installed sexp_pretty.v0.17.0
-> installed jst-config.v0.17.0
-> installed bin_prot.v0.17.0-1
-> installed ppx_string.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_bin_prot.v0.17.1
-> installed ppx_string_conv.v0.17.0
-> installed ppx_module_timer.v0.17.0
-> installed ppx_inline_test.v0.17.1
-> installed ppx_bench.v0.17.1
-> installed ppx_expect.v0.17.3
-> installed splittable_random.v0.17.0
-> installed ppx_log.v0.17.0
-> installed base_quickcheck.v0.17.1
-> installed ppx_jane.v0.17.0
-> installed uopt.v0.17.0
-> installed gel.v0.17.0
-> installed int_repr.v0.17.0
-> installed base_bigstring.v0.17.0
-> installed ppx_diff.v0.17.1
-> installed core.v0.17.1
-> installed timezone.v0.17.0
-> installed expect_test_helpers_core.v0.17.0
-> installed core_kernel.v0.17.0
-> installed core_unix.v0.17.1
[ERROR] The compilation of torch.v0.17.0 failed at "dune build -p torch -j 71".
#=== ERROR while compiling torch.v0.17.0 ======================================#
# context 2.4.1 | linux/x86_64 | ocaml-base-compiler.5.4.0 | pinned(https://github.com/janestreet/torch/archive/refs/tags/v0.17.0.tar.gz)
# path ~/.opam/5.4/.opam-switch/build/torch.v0.17.0
# command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p torch -j 71
# exit-code 1
# env-file ~/.opam/log/torch-7-27208d.env
# output-file ~/.opam/log/torch-7-27208d.out
### output ###
# File "src/wrapper/dune", line 4, characters 9-18:
# 4 | (names torch_api)
# ^^^^^^^^^
# (cd _build/default/src/wrapper && /usr/bin/gcc -std=c++17 -fPIC -D_GLIBCXX_USE_CXX11_ABI=1 -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/base -I /home/opam/.opam/5.4/lib/base/base_internalhash_types -I /home/opam/.opam/5.4/lib/base/md5 -I /home/opam/.opam/5.4/lib/base/shadow_stdlib -I /home/opam/.opam/5.4/lib/base_quickcheck -I /home/opam/.opam/5.4/lib/base_quickcheck/ppx_quickcheck/runtime -I /home/opam/.opam/5.4/lib/bin_prot -I /home/opam/.opam/5.4/lib/bin_prot/shape -I /home/opam/.opam/5.4/lib/ctypes -I /home/opam/.opam/5.4/lib/ctypes-foreign -I /home/opam/.opam/5.4/lib/ctypes/stubs -I /home/opam/.opam/5.4/lib/fieldslib -I /home/opam/.opam/5.4/lib/integers -I /home/opam/.opam/5.4/lib/jane-street-headers -I /home/opam/.opam/5.4/lib/ocaml/str -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ocaml_intrinsics_kernel -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_assert/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_bench/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_compare/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_expect/config -I /home/opam/.opam/5.4/lib/ppx_expect/config_types -I /home/opam/.opam/5.4/lib/ppx_expect/make_corrected_file -I /home/opam/.opam/5.4/lib/ppx_expect/runtime -I /home/opam/.opam/5.4/lib/ppx_hash/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_here/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_inline_test/config -I /home/opam/.opam/5.4/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_log/syntax -I /home/opam/.opam/5.4/lib/ppx_log/types -I /home/opam/.opam/5.4/lib/ppx_module_timer/runtime -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_stable_witness/runtime -I /home/opam/.opam/5.4/lib/ppx_stable_witness/stable_witness -I /home/opam/.opam/5.4/lib/ppx_string/runtime -I /home/opam/.opam/5.4/lib/ppxlib/print_diff -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/splittable_random -I /home/opam/.opam/5.4/lib/stdio -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/time_now -I /home/opam/.opam/5.4/lib/typerep -I /home/opam/.opam/5.4/lib/variantslib -I ../bindings -o torch_api.o -c torch_api.cpp)
# torch_api.cpp:1:10: fatal error: torch/csrc/autograd/engine.h: No such file or directory
# 1 | #include <torch/csrc/autograd/engine.h>
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# compilation terminated.
# File "src/wrapper/dune", line 11, characters 21-42:
# 11 | (names torch_stubs torch_stubs_generated))
# ^^^^^^^^^^^^^^^^^^^^^
# (cd _build/default/src/wrapper && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -Wall -fdiagnostics-color=always -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/base -I /home/opam/.opam/5.4/lib/base/base_internalhash_types -I /home/opam/.opam/5.4/lib/base/md5 -I /home/opam/.opam/5.4/lib/base/shadow_stdlib -I /home/opam/.opam/5.4/lib/base_quickcheck -I /home/opam/.opam/5.4/lib/base_quickcheck/ppx_quickcheck/runtime -I /home/opam/.opam/5.4/lib/bin_prot -I /home/opam/.opam/5.4/lib/bin_prot/shape -I /home/opam/.opam/5.4/lib/ctypes -I /home/opam/.opam/5.4/lib/ctypes-foreign -I /home/opam/.opam/5.4/lib/ctypes/stubs -I /home/opam/.opam/5.4/lib/fieldslib -I /home/opam/.opam/5.4/lib/integers -I /home/opam/.opam/5.4/lib/jane-street-headers -I /home/opam/.opam/5.4/lib/ocaml/str -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/ocaml_intrinsics_kernel -I /home/opam/.opam/5.4/lib/parsexp -I /home/opam/.opam/5.4/lib/ppx_assert/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_bench/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_compare/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_enumerate/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_expect/config -I /home/opam/.opam/5.4/lib/ppx_expect/config_types -I /home/opam/.opam/5.4/lib/ppx_expect/make_corrected_file -I /home/opam/.opam/5.4/lib/ppx_expect/runtime -I /home/opam/.opam/5.4/lib/ppx_hash/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_here/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_inline_test/config -I /home/opam/.opam/5.4/lib/ppx_inline_test/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_log/syntax -I /home/opam/.opam/5.4/lib/ppx_log/types -I /home/opam/.opam/5.4/lib/ppx_module_timer/runtime -I /home/opam/.opam/5.4/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/5.4/lib/ppx_stable_witness/runtime -I /home/opam/.opam/5.4/lib/ppx_stable_witness/stable_witness -I /home/opam/.opam/5.4/lib/ppx_string/runtime -I /home/opam/.opam/5.4/lib/ppxlib/print_diff -I /home/opam/.opam/5.4/lib/sexplib -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/splittable_random -I /home/opam/.opam/5.4/lib/stdio -I /home/opam/.opam/5.4/lib/stdlib-shims -I /home/opam/.opam/5.4/lib/time_now -I /home/opam/.opam/5.4/lib/typerep -I /home/opam/.opam/5.4/lib/variantslib -I ../bindings -o torch_stubs_generated.o -c torch_stubs_generated.c)
# torch_stubs_generated.c: In function 'caml__35_at_save':
# torch_stubs_generated.c:261:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 261 | at_save(x242, x243);
# | ^~~~
# In file included from torch_stubs_generated.c:1:
# torch_api.h:76:31: note: expected 'char *' but argument is of type 'const char *'
# 76 | void at_save(gc_tensor, char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__36_at_load':
# torch_stubs_generated.c:267:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 267 | void* x247 = at_load(x246);
# | ^~~~
# torch_api.h:77:26: note: expected 'char *' but argument is of type 'const char *'
# 77 | raw_tensor at_load(char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__37_at_save_multi':
# torch_stubs_generated.c:276:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 276 | at_save_multi(x252, x253, x254, x257);
# | ^~~~
# torch_api.h:83:26: note: expected 'char *' but argument is of type 'const char *'
# 83 | char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__38_at_load_multi':
# torch_stubs_generated.c:285:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 285 | at_load_multi(x263, x264, x265, x268);
# | ^~~~
# torch_api.h:86:26: note: expected 'char *' but argument is of type 'const char *'
# 86 | char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__39_at_load_multi_':
# torch_stubs_generated.c:294:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 294 | at_load_multi_(x274, x275, x276, x279);
# | ^~~~
# torch_api.h:89:27: note: expected 'char *' but argument is of type 'const char *'
# 89 | char *filename);
# | ~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__40_at_load_callback':
# torch_stubs_generated.c:301:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 301 | at_load_callback(x283, x284);
# | ^~~~
# torch_api.h:91:29: note: expected 'char *' but argument is of type 'const char *'
# 91 | void at_load_callback(char *filename, void (*f)(char *, raw_tensor));
# | ~~~~~~^~~~~~~~
# torch_stubs_generated.c:301:27: error: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
# 301 | at_load_callback(x283, x284);
# | ^~~~
# | |
# | void (*)(const char *, void *)
# torch_api.h:91:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)'
# 91 | void at_load_callback(char *filename, void (*f)(char *, raw_tensor));
# | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__71_ati_string':
# torch_stubs_generated.c:525:28: warning: passing argument 1 of 'ati_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 525 | void* x486 = ati_string(x485);
# | ^~~~
# torch_api.h:134:19: note: expected 'char *' but argument is of type 'const char *'
# 134 | ivalue ati_string(char *);
# | ^~~~~~
# torch_stubs_generated.c: In function 'caml__74_atm_load':
# torch_stubs_generated.c:544:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 544 | void* x499 = atm_load(x495, x496);
# | ^~~~
# torch_api.h:121:17: note: expected 'char *' but argument is of type 'const char *'
# 121 | module atm_load(char *, int);
# | ^~~~~~
# torch_stubs_generated.c: In function 'caml__75_atm_load_str':
# torch_stubs_generated.c:552:30: warning: passing argument 1 of 'atm_load_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 552 | void* x510 = atm_load_str(x503, x504, x507);
# | ^~~~
# torch_api.h:122:21: note: expected 'char *' but argument is of type 'const char *'
# 122 | module atm_load_str(char *, size_t, int);
# | ^~~~~~
# torch_stubs_generated.c: In function 'caml__163_atg__convolution_mode':
# torch_stubs_generated.c:1522:61: warning: passing argument 6 of 'atg__convolution_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 1522 | atg__convolution_mode(x1441, x1442, x1443, x1444, x1445, x1448, x1449,
# | ^~~~~
# In file included from torch_api.h:163:
# torch_api_generated.h:86:130: note: expected 'char *' but argument is of type 'const char *'
# 86 | raw_tensor atg__convolution_mode(gc_tensor input, gc_tensor weight, gc_tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
# | ~~~~~~~^~~~~~~
# torch_stubs_generated.c: In function 'caml__230_atg__functional_assert_async':
# torch_stubs_generated.c:3418:54: warning: passing argument 2 of 'atg__functional_assert_async' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 3418 | void* x3416 = atg__functional_assert_async(x3413, x3414, x3415);
# | ^~~~~
# torch_api_generated.h:153:64: note: expected 'char *' but argument is of type 'const char *'
# 153 | raw_tensor atg__functional_assert_async(gc_tensor self, char * assert_msg, gc_tensor dep_token);
# | ~~~~~~~^~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__273_atg__linalg_check_errors':
# torch_stubs_generated.c:4708:36: warning: passing argument 2 of 'atg__linalg_check_errors' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4708 | atg__linalg_check_errors(x4829, x4830, x4831);
# | ^~~~~
# torch_api_generated.h:196:54: note: expected 'char *' but argument is of type 'const char *'
# 196 | void atg__linalg_check_errors(gc_tensor info, char * api_name, int is_matrix);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__276_atg__linalg_eigh':
# torch_stubs_generated.c:4736:35: warning: passing argument 3 of 'atg__linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4736 | atg__linalg_eigh(x4855, x4856, x4857, x4858);
# | ^~~~~
# torch_api_generated.h:199:57: note: expected 'char *' but argument is of type 'const char *'
# 199 | void atg__linalg_eigh(raw_tensor *, gc_tensor A, char * UPLO, int compute_v);
# | ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__277_atg__linalg_eigh_eigenvalues':
# torch_stubs_generated.c:4749:61: warning: passing argument 5 of 'atg__linalg_eigh_eigenvalues' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4749 | atg__linalg_eigh_eigenvalues(x4868, x4869, x4870, x4871, x4872, x4873);
# | ^~~~~
# torch_api_generated.h:200:116: note: expected 'char *' but argument is of type 'const char *'
# 200 | void atg__linalg_eigh_eigenvalues(raw_tensor *, gc_tensor eigenvalues, gc_tensor eigenvectors, gc_tensor A, char * UPLO, int compute_v);
# | ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__282_atg__linalg_svd':
# torch_stubs_generated.c:4851:48: warning: passing argument 5 of 'atg__linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4851 | atg__linalg_svd(x4960, x4961, x4962, x4965, x4968, x4969);
# | ^~~~~
# torch_api_generated.h:205:91: note: expected 'char *' but argument is of type 'const char *'
# 205 | void atg__linalg_svd(raw_tensor *, gc_tensor A, int full_matrices, int compute_uv, char * driver_v, int driver_null);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__283_atg__linalg_svd_u':
# torch_stubs_generated.c:4878:22: warning: passing argument 8 of 'atg__linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 4878 | x4999, x5000);
# | ^~~~~
# torch_api_generated.h:206:133: note: expected 'char *' but argument is of type 'const char *'
# 206 | void atg__linalg_svd_u(raw_tensor *, gc_tensor U, gc_tensor S, gc_tensor Vh, gc_tensor A, int full_matrices, int compute_uv, char * driver_v, int driver_null);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__374_atg__scatter_reduce':
# torch_stubs_generated.c:6633:52: warning: passing argument 5 of 'atg__scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6633 | atg__scatter_reduce(x6711, x6712, x6715, x6716, x6717, x6718);
# | ^~~~~
# torch_api_generated.h:297:100: note: expected 'char *' but argument is of type 'const char *'
# 297 | raw_tensor atg__scatter_reduce(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce, int include_self);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__375_atg__scatter_reduce_':
# torch_stubs_generated.c:6657:53: warning: passing argument 5 of 'atg__scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6657 | atg__scatter_reduce_(x6734, x6735, x6738, x6739, x6740, x6741);
# | ^~~~~
# torch_api_generated.h:298:101: note: expected 'char *' but argument is of type 'const char *'
# 298 | raw_tensor atg__scatter_reduce_(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce, int include_self);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__376_atg__scatter_reduce_two_out':
# torch_stubs_generated.c:6684:67: warning: passing argument 6 of 'atg__scatter_reduce_two_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6684 | atg__scatter_reduce_two_out(x6758, x6759, x6760, x6763, x6764, x6765,
# | ^~~~~
# torch_api_generated.h:299:123: note: expected 'char *' but argument is of type 'const char *'
# 299 | raw_tensor atg__scatter_reduce_two_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce, int include_self);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__377_atg__segment_reduce_backward':
# torch_stubs_generated.c:6715:54: warning: passing argument 4 of 'atg__segment_reduce_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6715 | atg__segment_reduce_backward(x6785, x6786, x6787, x6788, x6789, x6790,
# | ^~~~~
# torch_api_generated.h:300:98: note: expected 'char *' but argument is of type 'const char *'
# 300 | raw_tensor atg__segment_reduce_backward(gc_tensor grad, gc_tensor output, gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor offsets, int64_t axis, scalar initial);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__378_atg__segment_reduce_backward_out':
# torch_stubs_generated.c:6749:65: warning: passing argument 5 of 'atg__segment_reduce_backward_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 6749 | atg__segment_reduce_backward_out(x6813, x6814, x6815, x6816, x6817,
# | ^~~~~
# torch_api_generated.h:301:117: note: expected 'char *' but argument is of type 'const char *'
# 301 | raw_tensor atg__segment_reduce_backward_out(gc_tensor out, gc_tensor grad, gc_tensor output, gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor offsets, int64_t axis, scalar initial);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__416_atg__sparse_mm_reduce':
# torch_stubs_generated.c:7444:54: warning: passing argument 3 of 'atg__sparse_mm_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 7444 | void* x7506 = atg__sparse_mm_reduce(x7503, x7504, x7505);
# | ^~~~~
# torch_api_generated.h:339:76: note: expected 'char *' but argument is of type 'const char *'
# 339 | raw_tensor atg__sparse_mm_reduce(gc_tensor sparse, gc_tensor dense, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__417_atg__sparse_mm_reduce_impl':
# torch_stubs_generated.c:7454:52: warning: passing argument 4 of 'atg__sparse_mm_reduce_impl' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 7454 | atg__sparse_mm_reduce_impl(x7511, x7512, x7513, x7514);
# | ^~~~~
# torch_api_generated.h:340:87: note: expected 'char *' but argument is of type 'const char *'
# 340 | void atg__sparse_mm_reduce_impl(raw_tensor *, gc_tensor self, gc_tensor other, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__418_atg__sparse_semi_structured_linear':
# torch_stubs_generated.c:7468:67: warning: passing argument 5 of 'atg__sparse_semi_structured_linear' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 7468 | atg__sparse_semi_structured_linear(x7522, x7523, x7524, x7525, x7526,
# | ^~~~~
# torch_api_generated.h:341:121: note: expected 'char *' but argument is of type 'const char *'
# 341 | raw_tensor atg__sparse_semi_structured_linear(gc_tensor input, gc_tensor weight, gc_tensor meta, gc_tensor bias, char * activation_v, int activation_null);
# | ~~~~~~~^~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__442_atg__test_ambiguous_defaults_b':
# torch_stubs_generated.c:7701:63: warning: passing argument 3 of 'atg__test_ambiguous_defaults_b' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 7701 | void* x7762 = atg__test_ambiguous_defaults_b(x7757, x7758, x7761);
# | ^~~~~
# torch_api_generated.h:365:78: note: expected 'char *' but argument is of type 'const char *'
# 365 | raw_tensor atg__test_ambiguous_defaults_b(gc_tensor dummy, int64_t a, char * b);
# | ~~~~~~~^
# torch_stubs_generated.c: In function 'caml__459_atg__test_string_default':
# torch_stubs_generated.c:7844:50: warning: passing argument 2 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 7844 | void* x7875 = atg__test_string_default(x7872, x7873, x7874);
# | ^~~~~
# torch_api_generated.h:382:61: note: expected 'char *' but argument is of type 'const char *'
# 382 | raw_tensor atg__test_string_default(gc_tensor dummy, char * a, char * b);
# | ~~~~~~~^
# torch_stubs_generated.c:7844:57: warning: passing argument 3 of 'atg__test_string_default' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 7844 | void* x7875 = atg__test_string_default(x7872, x7873, x7874);
# | ^~~~~
# torch_api_generated.h:382:71: note: expected 'char *' but argument is of type 'const char *'
# 382 | raw_tensor atg__test_string_default(gc_tensor dummy, char * a, char * b);
# | ~~~~~~~^
# torch_stubs_generated.c: In function 'caml__869_atg_conv1d_padding':
# torch_stubs_generated.c:13688:63: warning: passing argument 6 of 'atg_conv1d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 13688 | atg_conv1d_padding(x13326, x13327, x13328, x13329, x13330, x13333,
# | ^~~~~~
# torch_api_generated.h:792:127: note: expected 'char *' but argument is of type 'const char *'
# 792 | raw_tensor atg_conv1d_padding(gc_tensor input, gc_tensor weight, gc_tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
# | ~~~~~~~^~~~~~~
# torch_stubs_generated.c: In function 'caml__871_atg_conv2d_padding':
# torch_stubs_generated.c:13757:63: warning: passing argument 6 of 'atg_conv2d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 13757 | atg_conv2d_padding(x13399, x13400, x13401, x13402, x13403, x13406,
# | ^~~~~~
# torch_api_generated.h:794:127: note: expected 'char *' but argument is of type 'const char *'
# 794 | raw_tensor atg_conv2d_padding(gc_tensor input, gc_tensor weight, gc_tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
# | ~~~~~~~^~~~~~~
# torch_stubs_generated.c: In function 'caml__873_atg_conv3d_padding':
# torch_stubs_generated.c:13826:63: warning: passing argument 6 of 'atg_conv3d_padding' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 13826 | atg_conv3d_padding(x13472, x13473, x13474, x13475, x13476, x13479,
# | ^~~~~~
# torch_api_generated.h:796:127: note: expected 'char *' but argument is of type 'const char *'
# 796 | raw_tensor atg_conv3d_padding(gc_tensor input, gc_tensor weight, gc_tensor bias, int64_t *stride_data, int stride_len, char * padding, int64_t *dilation_data, int dilation_len, int64_t groups);
# | ~~~~~~~^~~~~~~
# torch_stubs_generated.c: In function 'caml__988_atg_div_out_mode':
# torch_stubs_generated.c:15811:60: warning: passing argument 4 of 'atg_div_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15811 | void* x15480 = atg_div_out_mode(x15473, x15474, x15475, x15476, x15477);
# | ^~~~~~
# torch_api_generated.h:911:84: note: expected 'char *' but argument is of type 'const char *'
# 911 | raw_tensor atg_div_out_mode(gc_tensor out, gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null);
# | ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__991_atg_div_scalar_mode':
# torch_stubs_generated.c:15835:55: warning: passing argument 3 of 'atg_div_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15835 | void* x15501 = atg_div_scalar_mode(x15495, x15496, x15497, x15498);
# | ^~~~~~
# torch_api_generated.h:914:69: note: expected 'char *' but argument is of type 'const char *'
# 914 | raw_tensor atg_div_scalar_mode(gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null);
# | ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__992_atg_div_scalar_mode_':
# torch_stubs_generated.c:15845:56: warning: passing argument 3 of 'atg_div_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15845 | void* x15512 = atg_div_scalar_mode_(x15506, x15507, x15508, x15509);
# | ^~~~~~
# torch_api_generated.h:915:70: note: expected 'char *' but argument is of type 'const char *'
# 915 | raw_tensor atg_div_scalar_mode_(gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null);
# | ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__993_atg_div_scalar_mode_out':
# torch_stubs_generated.c:15858:52: warning: passing argument 4 of 'atg_div_scalar_mode_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15858 | atg_div_scalar_mode_out(x15518, x15519, x15520, x15521, x15522);
# | ^~~~~~
# torch_api_generated.h:916:88: note: expected 'char *' but argument is of type 'const char *'
# 916 | raw_tensor atg_div_scalar_mode_out(gc_tensor out, gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null);
# | ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__995_atg_div_tensor_mode':
# torch_stubs_generated.c:15876:55: warning: passing argument 3 of 'atg_div_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15876 | void* x15543 = atg_div_tensor_mode(x15537, x15538, x15539, x15540);
# | ^~~~~~
# torch_api_generated.h:918:72: note: expected 'char *' but argument is of type 'const char *'
# 918 | raw_tensor atg_div_tensor_mode(gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null);
# | ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__996_atg_div_tensor_mode_':
# torch_stubs_generated.c:15886:56: warning: passing argument 3 of 'atg_div_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15886 | void* x15554 = atg_div_tensor_mode_(x15548, x15549, x15550, x15551);
# | ^~~~~~
# torch_api_generated.h:919:73: note: expected 'char *' but argument is of type 'const char *'
# 919 | raw_tensor atg_div_tensor_mode_(gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null);
# | ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1000_atg_divide_out_mode':
# torch_stubs_generated.c:15921:48: warning: passing argument 4 of 'atg_divide_out_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15921 | atg_divide_out_mode(x15577, x15578, x15579, x15580, x15581);
# | ^~~~~~
# torch_api_generated.h:923:87: note: expected 'char *' but argument is of type 'const char *'
# 923 | raw_tensor atg_divide_out_mode(gc_tensor out, gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null);
# | ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1003_atg_divide_scalar_mode':
# torch_stubs_generated.c:15945:58: warning: passing argument 3 of 'atg_divide_scalar_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15945 | void* x15605 = atg_divide_scalar_mode(x15599, x15600, x15601, x15602);
# | ^~~~~~
# torch_api_generated.h:926:72: note: expected 'char *' but argument is of type 'const char *'
# 926 | raw_tensor atg_divide_scalar_mode(gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null);
# | ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1004_atg_divide_scalar_mode_':
# torch_stubs_generated.c:15955:59: warning: passing argument 3 of 'atg_divide_scalar_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15955 | void* x15616 = atg_divide_scalar_mode_(x15610, x15611, x15612, x15613);
# | ^~~~~~
# torch_api_generated.h:927:73: note: expected 'char *' but argument is of type 'const char *'
# 927 | raw_tensor atg_divide_scalar_mode_(gc_tensor self, scalar other, char * rounding_mode_v, int rounding_mode_null);
# | ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1005_atg_divide_tensor_mode':
# torch_stubs_generated.c:15965:58: warning: passing argument 3 of 'atg_divide_tensor_mode' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15965 | void* x15627 = atg_divide_tensor_mode(x15621, x15622, x15623, x15624);
# | ^~~~~~
# torch_api_generated.h:928:75: note: expected 'char *' but argument is of type 'const char *'
# 928 | raw_tensor atg_divide_tensor_mode(gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null);
# | ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1006_atg_divide_tensor_mode_':
# torch_stubs_generated.c:15975:59: warning: passing argument 3 of 'atg_divide_tensor_mode_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 15975 | void* x15638 = atg_divide_tensor_mode_(x15632, x15633, x15634, x15635);
# | ^~~~~~
# torch_api_generated.h:929:76: note: expected 'char *' but argument is of type 'const char *'
# 929 | raw_tensor atg_divide_tensor_mode_(gc_tensor self, gc_tensor other, char * rounding_mode_v, int rounding_mode_null);
# | ~~~~~~~^~~~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1015_atg_einsum':
# torch_stubs_generated.c:16047:30: warning: passing argument 1 of 'atg_einsum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 16047 | void* x15719 = atg_einsum(x15710, x15711, x15712, x15715, x15716);
# | ^~~~~~
# torch_api_generated.h:938:30: note: expected 'char *' but argument is of type 'const char *'
# 938 | raw_tensor atg_einsum(char * equation, gc_tensor *tensors_data, int tensors_len, int64_t *path_data, int path_len);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1098_atg_fft_fft':
# torch_stubs_generated.c:17149:48: warning: passing argument 5 of 'atg_fft_fft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17149 | atg_fft_fft(x16709, x16710, x16713, x16716, x16719, x16720);
# | ^~~~~~
# torch_api_generated.h:1021:85: note: expected 'char *' but argument is of type 'const char *'
# 1021 | raw_tensor atg_fft_fft(gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1099_atg_fft_fft2':
# torch_stubs_generated.c:17175:57: warning: passing argument 6 of 'atg_fft_fft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17175 | atg_fft_fft2(x16737, x16738, x16739, x16742, x16743, x16746, x16747);
# | ^~~~~~
# torch_api_generated.h:1022:108: note: expected 'char *' but argument is of type 'const char *'
# 1022 | raw_tensor atg_fft_fft2(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1100_atg_fft_fft2_out':
# torch_stubs_generated.c:17204:69: warning: passing argument 7 of 'atg_fft_fft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17204 | atg_fft_fft2_out(x16766, x16767, x16768, x16769, x16772, x16773, x16776,
# | ^~~~~~
# torch_api_generated.h:1023:127: note: expected 'char *' but argument is of type 'const char *'
# 1023 | raw_tensor atg_fft_fft2_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1101_atg_fft_fft_out':
# torch_stubs_generated.c:17234:60: warning: passing argument 6 of 'atg_fft_fft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17234 | atg_fft_fft_out(x16796, x16797, x16798, x16801, x16804, x16807, x16808);
# | ^~~~~~
# torch_api_generated.h:1024:104: note: expected 'char *' but argument is of type 'const char *'
# 1024 | raw_tensor atg_fft_fft_out(gc_tensor out, gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1104_atg_fft_fftn':
# torch_stubs_generated.c:17281:57: warning: passing argument 6 of 'atg_fft_fftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17281 | atg_fft_fftn(x16854, x16855, x16856, x16859, x16860, x16863, x16864);
# | ^~~~~~
# torch_api_generated.h:1027:108: note: expected 'char *' but argument is of type 'const char *'
# 1027 | raw_tensor atg_fft_fftn(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1105_atg_fft_fftn_out':
# torch_stubs_generated.c:17310:69: warning: passing argument 7 of 'atg_fft_fftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17310 | atg_fft_fftn_out(x16883, x16884, x16885, x16886, x16889, x16890, x16893,
# | ^~~~~~
# torch_api_generated.h:1028:127: note: expected 'char *' but argument is of type 'const char *'
# 1028 | raw_tensor atg_fft_fftn_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1107_atg_fft_hfft':
# torch_stubs_generated.c:17346:49: warning: passing argument 5 of 'atg_fft_hfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17346 | atg_fft_hfft(x16921, x16922, x16925, x16928, x16931, x16932);
# | ^~~~~~
# torch_api_generated.h:1030:86: note: expected 'char *' but argument is of type 'const char *'
# 1030 | raw_tensor atg_fft_hfft(gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1108_atg_fft_hfft2':
# torch_stubs_generated.c:17372:58: warning: passing argument 6 of 'atg_fft_hfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17372 | atg_fft_hfft2(x16949, x16950, x16951, x16954, x16955, x16958, x16959);
# | ^~~~~~
# torch_api_generated.h:1031:109: note: expected 'char *' but argument is of type 'const char *'
# 1031 | raw_tensor atg_fft_hfft2(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1109_atg_fft_hfft2_out':
# torch_stubs_generated.c:17402:22: warning: passing argument 7 of 'atg_fft_hfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17402 | x16988, x16989);
# | ^~~~~~
# torch_api_generated.h:1032:128: note: expected 'char *' but argument is of type 'const char *'
# 1032 | raw_tensor atg_fft_hfft2_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1110_atg_fft_hfft_out':
# torch_stubs_generated.c:17431:61: warning: passing argument 6 of 'atg_fft_hfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17431 | atg_fft_hfft_out(x17008, x17009, x17010, x17013, x17016, x17019, x17020);
# | ^~~~~~
# torch_api_generated.h:1033:105: note: expected 'char *' but argument is of type 'const char *'
# 1033 | raw_tensor atg_fft_hfft_out(gc_tensor out, gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1111_atg_fft_hfftn':
# torch_stubs_generated.c:17459:58: warning: passing argument 6 of 'atg_fft_hfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17459 | atg_fft_hfftn(x17038, x17039, x17040, x17043, x17044, x17047, x17048);
# | ^~~~~~
# torch_api_generated.h:1034:109: note: expected 'char *' but argument is of type 'const char *'
# 1034 | raw_tensor atg_fft_hfftn(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1112_atg_fft_hfftn_out':
# torch_stubs_generated.c:17489:22: warning: passing argument 7 of 'atg_fft_hfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 17489 | x17077, x17078);
# | ^~~~~~
# torch_api_generated.h:1035:128: note: expected 'char *' but argument is of type 'const char *'
# 1035 | raw_tensor atg_fft_hfftn_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1113_atg_fft_ifft':
# ...TRUNCATED BY DUNE...
# | ^~~~~~
# torch_api_generated.h:1054:129: note: expected 'char *' but argument is of type 'const char *'
# 1054 | raw_tensor atg_fft_irfftn_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1132_atg_fft_rfft':
# torch_stubs_generated.c:18034:49: warning: passing argument 5 of 'atg_fft_rfft' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18034 | atg_fft_rfft(x17630, x17631, x17634, x17637, x17640, x17641);
# | ^~~~~~
# torch_api_generated.h:1055:86: note: expected 'char *' but argument is of type 'const char *'
# 1055 | raw_tensor atg_fft_rfft(gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1133_atg_fft_rfft2':
# torch_stubs_generated.c:18060:58: warning: passing argument 6 of 'atg_fft_rfft2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18060 | atg_fft_rfft2(x17658, x17659, x17660, x17663, x17664, x17667, x17668);
# | ^~~~~~
# torch_api_generated.h:1056:109: note: expected 'char *' but argument is of type 'const char *'
# 1056 | raw_tensor atg_fft_rfft2(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1134_atg_fft_rfft2_out':
# torch_stubs_generated.c:18090:22: warning: passing argument 7 of 'atg_fft_rfft2_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18090 | x17697, x17698);
# | ^~~~~~
# torch_api_generated.h:1057:128: note: expected 'char *' but argument is of type 'const char *'
# 1057 | raw_tensor atg_fft_rfft2_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1135_atg_fft_rfft_out':
# torch_stubs_generated.c:18119:61: warning: passing argument 6 of 'atg_fft_rfft_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18119 | atg_fft_rfft_out(x17717, x17718, x17719, x17722, x17725, x17728, x17729);
# | ^~~~~~
# torch_api_generated.h:1058:105: note: expected 'char *' but argument is of type 'const char *'
# 1058 | raw_tensor atg_fft_rfft_out(gc_tensor out, gc_tensor self, int64_t n_v, int n_null, int64_t dim, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1138_atg_fft_rfftn':
# torch_stubs_generated.c:18166:58: warning: passing argument 6 of 'atg_fft_rfftn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18166 | atg_fft_rfftn(x17775, x17776, x17777, x17780, x17781, x17784, x17785);
# | ^~~~~~
# torch_api_generated.h:1061:109: note: expected 'char *' but argument is of type 'const char *'
# 1061 | raw_tensor atg_fft_rfftn(gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1139_atg_fft_rfftn_out':
# torch_stubs_generated.c:18196:22: warning: passing argument 7 of 'atg_fft_rfftn_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18196 | x17814, x17815);
# | ^~~~~~
# torch_api_generated.h:1062:128: note: expected 'char *' but argument is of type 'const char *'
# 1062 | raw_tensor atg_fft_rfftn_out(gc_tensor out, gc_tensor self, int64_t *s_data, int s_len, int64_t *dim_data, int dim_len, char * norm_v, int norm_null);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1197_atg_from_file':
# torch_stubs_generated.c:18886:18: warning: passing argument 1 of 'atg_from_file' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18886 | atg_from_file(x18352, x18353, x18356, x18359, x18362, x18365);
# | ^~~~~~
# torch_api_generated.h:1120:33: note: expected 'char *' but argument is of type 'const char *'
# 1120 | raw_tensor atg_from_file(char * filename, int shared, int64_t size_v, int size_null, int options_kind, int options_device);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1198_atg_from_file_out':
# torch_stubs_generated.c:18908:45: warning: passing argument 2 of 'atg_from_file_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 18908 | void* x18391 = atg_from_file_out(x18380, x18381, x18382, x18385, x18388);
# | ^~~~~~
# torch_api_generated.h:1121:52: note: expected 'char *' but argument is of type 'const char *'
# 1121 | raw_tensor atg_from_file_out(gc_tensor out, char * filename, int shared, int64_t size_v, int size_null);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1216_atg_gelu':
# torch_stubs_generated.c:19108:36: warning: passing argument 2 of 'atg_gelu' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19108 | void* x18582 = atg_gelu(x18580, x18581);
# | ^~~~~~
# torch_api_generated.h:1139:44: note: expected 'char *' but argument is of type 'const char *'
# 1139 | raw_tensor atg_gelu(gc_tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1217_atg_gelu_':
# torch_stubs_generated.c:19115:37: warning: passing argument 2 of 'atg_gelu_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19115 | void* x18587 = atg_gelu_(x18585, x18586);
# | ^~~~~~
# torch_api_generated.h:1140:45: note: expected 'char *' but argument is of type 'const char *'
# 1140 | raw_tensor atg_gelu_(gc_tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1218_atg_gelu_backward':
# torch_stubs_generated.c:19123:53: warning: passing argument 3 of 'atg_gelu_backward' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19123 | void* x18594 = atg_gelu_backward(x18591, x18592, x18593);
# | ^~~~~~
# torch_api_generated.h:1141:76: note: expected 'char *' but argument is of type 'const char *'
# 1141 | raw_tensor atg_gelu_backward(gc_tensor grad_output, gc_tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1219_atg_gelu_backward_grad_input':
# torch_stubs_generated.c:19134:57: warning: passing argument 4 of 'atg_gelu_backward_grad_input' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19134 | atg_gelu_backward_grad_input(x18599, x18600, x18601, x18602);
# | ^~~~~~
# torch_api_generated.h:1142:109: note: expected 'char *' but argument is of type 'const char *'
# 1142 | raw_tensor atg_gelu_backward_grad_input(gc_tensor grad_input, gc_tensor grad_output, gc_tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1220_atg_gelu_out':
# torch_stubs_generated.c:19142:48: warning: passing argument 3 of 'atg_gelu_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 19142 | void* x18610 = atg_gelu_out(x18607, x18608, x18609);
# | ^~~~~~
# torch_api_generated.h:1143:63: note: expected 'char *' but argument is of type 'const char *'
# 1143 | raw_tensor atg_gelu_out(gc_tensor out, gc_tensor self, char * approximate);
# | ~~~~~~~^~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1342_atg_index_reduce':
# torch_stubs_generated.c:20465:53: warning: passing argument 5 of 'atg_index_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20465 | atg_index_reduce(x19896, x19897, x19900, x19901, x19902, x19903);
# | ^~~~~~
# torch_api_generated.h:1265:100: note: expected 'char *' but argument is of type 'const char *'
# 1265 | raw_tensor atg_index_reduce(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor source, char * reduce, int include_self);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1343_atg_index_reduce_':
# torch_stubs_generated.c:20490:54: warning: passing argument 5 of 'atg_index_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20490 | atg_index_reduce_(x19919, x19920, x19923, x19924, x19925, x19926);
# | ^~~~~~
# torch_api_generated.h:1266:101: note: expected 'char *' but argument is of type 'const char *'
# 1266 | raw_tensor atg_index_reduce_(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor source, char * reduce, int include_self);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1344_atg_index_reduce_out':
# torch_stubs_generated.c:20518:65: warning: passing argument 6 of 'atg_index_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 20518 | atg_index_reduce_out(x19943, x19944, x19945, x19948, x19949, x19950,
# | ^~~~~~
# torch_api_generated.h:1267:119: note: expected 'char *' but argument is of type 'const char *'
# 1267 | raw_tensor atg_index_reduce_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, gc_tensor source, char * reduce, int include_self);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__1454_atg_linalg_cond_p_str':
# torch_stubs_generated.c:21508:49: warning: passing argument 2 of 'atg_linalg_cond_p_str' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21508 | void* x20844 = atg_linalg_cond_p_str(x20842, x20843);
# | ^~~~~~
# torch_api_generated.h:1377:57: note: expected 'char *' but argument is of type 'const char *'
# 1377 | raw_tensor atg_linalg_cond_p_str(gc_tensor self, char * p);
# | ~~~~~~~^
# torch_stubs_generated.c: In function 'caml__1455_atg_linalg_cond_p_str_out':
# torch_stubs_generated.c:21517:61: warning: passing argument 3 of 'atg_linalg_cond_p_str_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21517 | void* x20851 = atg_linalg_cond_p_str_out(x20848, x20849, x20850);
# | ^~~~~~
# torch_api_generated.h:1378:76: note: expected 'char *' but argument is of type 'const char *'
# 1378 | raw_tensor atg_linalg_cond_p_str_out(gc_tensor out, gc_tensor self, char * p);
# | ~~~~~~~^
# torch_stubs_generated.c: In function 'caml__1463_atg_linalg_eigh':
# torch_stubs_generated.c:21583:36: warning: passing argument 3 of 'atg_linalg_eigh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21583 | atg_linalg_eigh(x20912, x20913, x20914);
# | ^~~~~~
# torch_api_generated.h:1386:59: note: expected 'char *' but argument is of type 'const char *'
# 1386 | void atg_linalg_eigh(raw_tensor *, gc_tensor self, char * UPLO);
# | ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1464_atg_linalg_eigh_eigvals':
# torch_stubs_generated.c:21595:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21595 | atg_linalg_eigh_eigvals(x20921, x20922, x20923, x20924, x20925);
# | ^~~~~~
# torch_api_generated.h:1387:105: note: expected 'char *' but argument is of type 'const char *'
# 1387 | void atg_linalg_eigh_eigvals(raw_tensor *, gc_tensor eigvals, gc_tensor eigvecs, gc_tensor self, char * UPLO);
# | ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1467_atg_linalg_eigvalsh':
# torch_stubs_generated.c:21615:47: warning: passing argument 2 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21615 | void* x20939 = atg_linalg_eigvalsh(x20937, x20938);
# | ^~~~~~
# torch_api_generated.h:1390:55: note: expected 'char *' but argument is of type 'const char *'
# 1390 | raw_tensor atg_linalg_eigvalsh(gc_tensor self, char * UPLO);
# | ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1468_atg_linalg_eigvalsh_out':
# torch_stubs_generated.c:21624:59: warning: passing argument 3 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21624 | void* x20946 = atg_linalg_eigvalsh_out(x20943, x20944, x20945);
# | ^~~~~~
# torch_api_generated.h:1391:74: note: expected 'char *' but argument is of type 'const char *'
# 1391 | raw_tensor atg_linalg_eigvalsh_out(gc_tensor out, gc_tensor self, char * UPLO);
# | ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1481_atg_linalg_lstsq':
# torch_stubs_generated.c:21772:61: warning: passing argument 6 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21772 | atg_linalg_lstsq(x21081, x21082, x21083, x21084, x21087, x21090, x21091);
# | ^~~~~~
# torch_api_generated.h:1404:105: note: expected 'char *' but argument is of type 'const char *'
# 1404 | void atg_linalg_lstsq(raw_tensor *, gc_tensor self, gc_tensor b, double rcond_v, int rcond_null, char * driver_v, int driver_null);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1482_atg_linalg_lstsq_out':
# torch_stubs_generated.c:21807:49: warning: passing argument 10 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21807 | x21119, x21120, x21123, x21126, x21127);
# | ^~~~~~
# torch_api_generated.h:1405:193: note: expected 'char *' but argument is of type 'const char *'
# 1405 | void atg_linalg_lstsq_out(raw_tensor *, gc_tensor solution, gc_tensor residuals, gc_tensor rank, gc_tensor singular_values, gc_tensor self, gc_tensor b, double rcond_v, int rcond_null, char * driver_v, int driver_null);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1515_atg_linalg_qr':
# torch_stubs_generated.c:22292:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22292 | atg_linalg_qr(x21584, x21585, x21586);
# | ^~~~~~
# torch_api_generated.h:1438:54: note: expected 'char *' but argument is of type 'const char *'
# 1438 | void atg_linalg_qr(raw_tensor *, gc_tensor A, char * mode);
# | ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1516_atg_linalg_qr_out':
# torch_stubs_generated.c:22303:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22303 | atg_linalg_qr_out(x21593, x21594, x21595, x21596, x21597);
# | ^~~~~~
# torch_api_generated.h:1439:84: note: expected 'char *' but argument is of type 'const char *'
# 1439 | void atg_linalg_qr_out(raw_tensor *, gc_tensor Q, gc_tensor R, gc_tensor A, char * mode);
# | ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1525_atg_linalg_svd':
# torch_stubs_generated.c:22430:43: warning: passing argument 4 of 'atg_linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22430 | atg_linalg_svd(x21721, x21722, x21723, x21726, x21727);
# | ^~~~~~
# torch_api_generated.h:1448:74: note: expected 'char *' but argument is of type 'const char *'
# 1448 | void atg_linalg_svd(raw_tensor *, gc_tensor A, int full_matrices, char * driver_v, int driver_null);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1526_atg_linalg_svd_u':
# torch_stubs_generated.c:22445:69: warning: passing argument 7 of 'atg_linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22445 | atg_linalg_svd_u(x21739, x21740, x21741, x21742, x21743, x21744, x21747,
# | ^~~~~~
# torch_api_generated.h:1449:116: note: expected 'char *' but argument is of type 'const char *'
# 1449 | void atg_linalg_svd_u(raw_tensor *, gc_tensor U, gc_tensor S, gc_tensor Vh, gc_tensor A, int full_matrices, char * driver_v, int driver_null);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1527_atg_linalg_svdvals':
# torch_stubs_generated.c:22468:46: warning: passing argument 2 of 'atg_linalg_svdvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22468 | void* x21768 = atg_linalg_svdvals(x21763, x21764, x21765);
# | ^~~~~~
# torch_api_generated.h:1450:51: note: expected 'char *' but argument is of type 'const char *'
# 1450 | raw_tensor atg_linalg_svdvals(gc_tensor A, char * driver_v, int driver_null);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1528_atg_linalg_svdvals_out':
# torch_stubs_generated.c:22478:58: warning: passing argument 3 of 'atg_linalg_svdvals_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22478 | void* x21779 = atg_linalg_svdvals_out(x21773, x21774, x21775, x21776);
# | ^~~~~~
# torch_api_generated.h:1451:70: note: expected 'char *' but argument is of type 'const char *'
# 1451 | raw_tensor atg_linalg_svdvals_out(gc_tensor out, gc_tensor A, char * driver_v, int driver_null);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1657_atg_meshgrid_indexing':
# torch_stubs_generated.c:24361:58: warning: passing argument 3 of 'atg_meshgrid_indexing' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24361 | void** x23619 = atg_meshgrid_indexing(x23614, x23615, x23618);
# | ^~~~~~
# torch_api_generated.h:1580:84: note: expected 'char *' but argument is of type 'const char *'
# 1580 | raw_tensor *atg_meshgrid_indexing(gc_tensor *tensors_data, int tensors_len, char * indexing);
# | ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1761_atg_nanquantile':
# torch_stubs_generated.c:26849:60: warning: passing argument 6 of 'atg_nanquantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26849 | atg_nanquantile(x26067, x26068, x26069, x26072, x26075, x26078);
# | ^~~~~~
# torch_api_generated.h:1684:106: note: expected 'char *' but argument is of type 'const char *'
# 1684 | raw_tensor atg_nanquantile(gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1762_atg_nanquantile_out':
# torch_stubs_generated.c:26878:24: warning: passing argument 7 of 'atg_nanquantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26878 | x26105);
# | ^~~~~~
# torch_api_generated.h:1685:125: note: expected 'char *' but argument is of type 'const char *'
# 1685 | raw_tensor atg_nanquantile_out(gc_tensor out, gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1763_atg_nanquantile_scalar':
# torch_stubs_generated.c:26905:67: warning: passing argument 6 of 'atg_nanquantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26905 | atg_nanquantile_scalar(x26120, x26121, x26124, x26127, x26130, x26133);
# | ^~~~~~
# torch_api_generated.h:1686:110: note: expected 'char *' but argument is of type 'const char *'
# 1686 | raw_tensor atg_nanquantile_scalar(gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1764_atg_nanquantile_scalar_out':
# torch_stubs_generated.c:26934:39: warning: passing argument 7 of 'atg_nanquantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26934 | x26159, x26162);
# | ^~~~~~
# torch_api_generated.h:1687:129: note: expected 'char *' but argument is of type 'const char *'
# 1687 | raw_tensor atg_nanquantile_scalar_out(gc_tensor out, gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1860_atg_pad':
# torch_stubs_generated.c:28274:51: warning: passing argument 4 of 'atg_pad' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28274 | void* x27472 = atg_pad(x27460, x27461, x27462, x27465, x27466, x27469);
# | ^~~~~~
# torch_api_generated.h:1783:75: note: expected 'char *' but argument is of type 'const char *'
# 1783 | raw_tensor atg_pad(gc_tensor self, int64_t *pad_data, int pad_len, char * mode, double value_v, int value_null);
# | ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1907_atg_quantile':
# torch_stubs_generated.c:28680:57: warning: passing argument 6 of 'atg_quantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28680 | atg_quantile(x27853, x27854, x27855, x27858, x27861, x27864);
# | ^~~~~~
# torch_api_generated.h:1830:103: note: expected 'char *' but argument is of type 'const char *'
# 1830 | raw_tensor atg_quantile(gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1908_atg_quantile_out':
# torch_stubs_generated.c:28706:69: warning: passing argument 7 of 'atg_quantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28706 | atg_quantile_out(x27879, x27880, x27881, x27882, x27885, x27888, x27891);
# | ^~~~~~
# torch_api_generated.h:1831:122: note: expected 'char *' but argument is of type 'const char *'
# 1831 | raw_tensor atg_quantile_out(gc_tensor out, gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1909_atg_quantile_scalar':
# torch_stubs_generated.c:28733:64: warning: passing argument 6 of 'atg_quantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28733 | atg_quantile_scalar(x27906, x27907, x27910, x27913, x27916, x27919);
# | ^~~~~~
# torch_api_generated.h:1832:107: note: expected 'char *' but argument is of type 'const char *'
# 1832 | raw_tensor atg_quantile_scalar(gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1910_atg_quantile_scalar_out':
# torch_stubs_generated.c:28762:28: warning: passing argument 7 of 'atg_quantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28762 | x27948);
# | ^~~~~~
# torch_api_generated.h:1833:126: note: expected 'char *' but argument is of type 'const char *'
# 1833 | raw_tensor atg_quantile_scalar_out(gc_tensor out, gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
# | ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__2076_atg_scatter_reduce':
# torch_stubs_generated.c:30999:70: warning: passing argument 5 of 'atg_scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 30999 | void* x30128 = atg_scatter_reduce(x30121, x30122, x30125, x30126, x30127);
# | ^~~~~~
# torch_api_generated.h:1999:99: note: expected 'char *' but argument is of type 'const char *'
# 1999 | raw_tensor atg_scatter_reduce(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2077_atg_scatter_reduce_':
# torch_stubs_generated.c:31012:56: warning: passing argument 5 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31012 | atg_scatter_reduce_(x30134, x30135, x30138, x30139, x30140);
# | ^~~~~~
# torch_api_generated.h:2000:100: note: expected 'char *' but argument is of type 'const char *'
# 2000 | raw_tensor atg_scatter_reduce_(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2078_atg_scatter_reduce_out':
# torch_stubs_generated.c:31026:67: warning: passing argument 6 of 'atg_scatter_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31026 | atg_scatter_reduce_out(x30148, x30149, x30150, x30153, x30154, x30155);
# | ^~~~~~
# torch_api_generated.h:2001:118: note: expected 'char *' but argument is of type 'const char *'
# 2001 | raw_tensor atg_scatter_reduce_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2083_atg_scatter_value_reduce':
# torch_stubs_generated.c:31097:61: warning: passing argument 5 of 'atg_scatter_value_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31097 | atg_scatter_value_reduce(x30216, x30217, x30220, x30221, x30222);
# | ^~~~~~
# torch_api_generated.h:2006:104: note: expected 'char *' but argument is of type 'const char *'
# 2006 | raw_tensor atg_scatter_value_reduce(gc_tensor self, int64_t dim, gc_tensor index, scalar value, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2084_atg_scatter_value_reduce_':
# torch_stubs_generated.c:31110:62: warning: passing argument 5 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31110 | atg_scatter_value_reduce_(x30229, x30230, x30233, x30234, x30235);
# | ^~~~~~
# torch_api_generated.h:2007:105: note: expected 'char *' but argument is of type 'const char *'
# 2007 | raw_tensor atg_scatter_value_reduce_(gc_tensor self, int64_t dim, gc_tensor index, scalar value, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2085_atg_scatter_value_reduce_out':
# torch_stubs_generated.c:31125:33: warning: passing argument 6 of 'atg_scatter_value_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31125 | x30250);
# | ^~~~~~
# torch_api_generated.h:2008:123: note: expected 'char *' but argument is of type 'const char *'
# 2008 | raw_tensor atg_scatter_value_reduce_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, scalar value, char * reduce);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2086_atg_searchsorted':
# torch_stubs_generated.c:31152:53: warning: passing argument 5 of 'atg_searchsorted' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31152 | atg_searchsorted(x30265, x30266, x30267, x30270, x30273, x30274, x30277);
# | ^~~~~~
# torch_api_generated.h:2009:105: note: expected 'char *' but argument is of type 'const char *'
# 2009 | raw_tensor atg_searchsorted(gc_tensor sorted_sequence, gc_tensor self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2087_atg_searchsorted_scalar':
# torch_stubs_generated.c:31181:60: warning: passing argument 5 of 'atg_searchsorted_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31181 | atg_searchsorted_scalar(x30293, x30294, x30295, x30298, x30301, x30302,
# | ^~~~~~
# torch_api_generated.h:2010:109: note: expected 'char *' but argument is of type 'const char *'
# 2010 | raw_tensor atg_searchsorted_scalar(gc_tensor sorted_sequence, scalar self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2088_atg_searchsorted_scalar_out':
# torch_stubs_generated.c:31213:32: warning: passing argument 6 of 'atg_searchsorted_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31213 | x30331, x30332, x30335);
# | ^~~~~~
# torch_api_generated.h:2011:128: note: expected 'char *' but argument is of type 'const char *'
# 2011 | raw_tensor atg_searchsorted_scalar_out(gc_tensor out, gc_tensor sorted_sequence, scalar self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2089_atg_searchsorted_tensor_out':
# torch_stubs_generated.c:31245:32: warning: passing argument 6 of 'atg_searchsorted_tensor_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31245 | x30362, x30363, x30366);
# | ^~~~~~
# torch_api_generated.h:2012:131: note: expected 'char *' but argument is of type 'const char *'
# 2012 | raw_tensor atg_searchsorted_tensor_out(gc_tensor out, gc_tensor sorted_sequence, gc_tensor self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2090_atg_segment_reduce':
# torch_stubs_generated.c:31275:31: warning: passing argument 2 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31275 | atg_segment_reduce(x30384, x30385, x30386, x30387, x30388, x30389,
# | ^~~~~~
# torch_api_generated.h:2013:54: note: expected 'char *' but argument is of type 'const char *'
# 2013 | raw_tensor atg_segment_reduce(gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor indices, gc_tensor offsets, int64_t axis, int unsafe, scalar initial);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2091_atg_segment_reduce_out':
# torch_stubs_generated.c:31309:43: warning: passing argument 3 of 'atg_segment_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31309 | atg_segment_reduce_out(x30414, x30415, x30416, x30417, x30418, x30419,
# | ^~~~~~
# torch_api_generated.h:2014:73: note: expected 'char *' but argument is of type 'const char *'
# 2014 | raw_tensor atg_segment_reduce_out(gc_tensor out, gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor indices, gc_tensor offsets, int64_t axis, int unsafe, scalar initial);
# | ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2413_atg_stft_center':
# torch_stubs_generated.c:35007:28: warning: passing argument 9 of 'atg_stft_center' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 35007 | x33586, x33589, x33590, x33593, x33596);
# | ^~~~~~
# torch_api_generated.h:2336:182: note: expected 'char *' but argument is of type 'const char *'
# 2336 | raw_tensor atg_stft_center(gc_tensor self, int64_t n_fft, int64_t hop_length_v, int hop_length_null, int64_t win_length_v, int win_length_null, gc_tensor window, int center, char * pad_mode, int normalized, int onesided, int return_complex);
# | ~~~~~~~^~~~~~~~
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build torch v0.17.0
+-
+- The following changes have been performed
| - install base v0.17.3
| - install base_bigstring v0.17.0
| - install base_quickcheck v0.17.1
| - install bin_prot v0.17.0-1
| - install capitalization v0.17.0
| - install conf-libffi 2.0.0
| - install conf-pkg-config 4
| - install core v0.17.1
| - install core_kernel v0.17.0
| - install core_unix v0.17.1
| - install csexp 1.5.2
| - install ctypes 0.24.0
| - install ctypes-foreign 0.24.0
| - install dune 3.20.2
| - install dune-configurator 3.20.2
| - install expect_test_helpers_core v0.17.0
| - install fieldslib v0.17.0
| - install gel v0.17.0
| - install int_repr v0.17.0
| - install integers 0.7.0
| - install jane-street-headers v0.17.0
| - install jst-config v0.17.0
| - install num 1.6
| - install ocaml-compiler-libs v0.17.0
| - install ocaml_intrinsics_kernel v0.17.1
| - install parsexp v0.17.0
| - install ppx_assert v0.17.0
| - install ppx_base v0.17.0
| - install ppx_bench v0.17.1
| - install ppx_bin_prot v0.17.1
| - install ppx_cold v0.17.0
| - install ppx_compare v0.17.0
| - install ppx_custom_printf v0.17.0
| - install ppx_derivers 1.2.1
| - install ppx_diff v0.17.1
| - install ppx_disable_unused_warnings v0.17.0
| - install ppx_enumerate v0.17.0
| - install ppx_expect v0.17.3
| - install ppx_fields_conv v0.17.0
| - install ppx_fixed_literal v0.17.0
| - install ppx_globalize v0.17.2
| - install ppx_hash v0.17.0
| - install ppx_here v0.17.0
| - install ppx_ignore_instrumentation v0.17.0
| - install ppx_inline_test v0.17.1
| - install ppx_jane v0.17.0
| - install ppx_let v0.17.1
| - install ppx_log v0.17.0
| - install ppx_module_timer v0.17.0
| - install ppx_optcomp v0.17.1
| - install ppx_optional v0.17.0
| - install ppx_pipebang v0.17.0
| - install ppx_sexp_conv v0.17.1
| - install ppx_sexp_message v0.17.0
| - install ppx_sexp_value v0.17.0
| - install ppx_stable v0.17.1
| - install ppx_stable_witness v0.17.0
| - install ppx_string v0.17.0
| - install ppx_string_conv v0.17.0
| - install ppx_tydi v0.17.1
| - install ppx_typerep_conv v0.17.1
| - install ppx_variants_conv v0.17.1
| - install ppxlib 0.37.0
| - install ppxlib_jane v0.17.4
| - install re 1.14.0
| - install sexp_pretty v0.17.0
| - install sexplib v0.17.0
| - install sexplib0 v0.17.0
| - install spawn v0.17.0
| - install splittable_random v0.17.0
| - install stdio v0.17.0
| - install stdlib-shims 0.3.0
| - install time_now v0.17.0
| - install timezone v0.17.0
| - install typerep v0.17.1
| - install uopt v0.17.0
| - install variantslib v0.17.0
+-
<><> torch.v0.17.0 troubleshooting ><><><><><><><><><><><><><><><><><><><><><><>
=> Installation of ocaml-torch failed. This likely happened
because there is no system installation of libtorch to compile
OCaml bindings against. Please instal the CPU version of libtorch
through opam, or the appropriate version of libtorch for your GPU
through the official distribution.
# 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/5.4/.opam-switch/backup/state-20251209052844.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.17.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.17.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-09 05:38.40: Job failed: Failed: Build failed
2025-12-09 05:38.40: Log analysis:
2025-12-09 05:38.40: >>>
[ERROR] The compilation of torch.v0.17.0 failed at "dune build -p torch -j 71".
(score = 20)
2025-12-09 05:38.40: >>>
# torch_stubs_generated.c:301:27: error: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
(score = 30)
2025-12-09 05:38.40: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]