Build:
  1. 0
2025-12-08 20:46.01: New job: build torch.v0.17.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29040/head (54a2a184a6d77f10e4b79113c296cba5261ef4fa)
                              on debian-testing-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-testing-ocaml-5.4@sha256:4a50d93d04a75ef88cfa1dda78ea668e7e7b5869a993260ac3812336825e9554
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn 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-testing\""; 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.01: Using cache hint "ocaml/opam:debian-testing-ocaml-5.4@sha256:4a50d93d04a75ef88cfa1dda78ea668e7e7b5869a993260ac3812336825e9554-torch.v0.17.0-54a2a184a6d77f10e4b79113c296cba5261ef4fa"
2025-12-08 20:46.01: Using OBuilder spec:
((from ocaml/opam:debian-testing-ocaml-5.4@sha256:4a50d93d04a75ef88cfa1dda78ea668e7e7b5869a993260ac3812336825e9554)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn 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-testing\\\"\"; 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.01: Waiting for resource in pool OCluster
2025-12-09 02:07.31: Waiting for worker…
2025-12-09 02:10.23: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
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-testing-ocaml-5.4@sha256:4a50d93d04a75ef88cfa1dda78ea668e7e7b5869a993260ac3812336825e9554)
2025-12-09 02:10.43 ---> saved as "5582659fce49bfb55ca4806d9de6ac071400df61ce961a51c7ff4b6586eb85ce"

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-09 02:10.44 ---> saved as "ed4fc9645b2d8045d61050c36aeae30cf1868be4ce17eaedaef1f12a999607bf"

/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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-09 02:11.04 ---> saved as "6c756bd4383ad582d3c66743fb6db443386457b5da2d1d830e55458f094e6474"

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=unknown
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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 02:11.05 ---> saved as "f111a76f0a4904d859ea7ce67e5f61c9d9a26c2caacde159d8ad8c88954bcfbb"

/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 02:11.17 ---> saved as "05bc70f5a3877d15f33b6f29cda2215d988037ca298669f5ffbb20b4e97017d8"

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-09 02:11.24 ---> saved as "b81fed5a96f54254f7c62bdc3efd542538da0f73390784b6073f32a1570159eb"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-09 02:11.40 ---> saved as "b5882b8e29760a5a82295eab148625443aa49405e05c5bdf1acc41110df7aec8"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian testing InRelease [137 kB]
- Get:2 http://deb.debian.org/debian testing-updates InRelease [40.6 kB]
- Get:3 http://deb.debian.org/debian-security testing-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [63.6 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2025-12-08-2007.21-F-2025-12-05-2006.06.pdiff [275 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2025-12-08-2007.21-F-2025-12-05-2006.06.pdiff [275 kB]
- Fetched 560 kB in 1s (485 kB/s)
- Reading package lists...
2025-12-09 02:11.43 ---> saved as "1e71bdfc21dde7d8e4c94584a5466a73531c22a4cfccd8234e6071887c3c11d0"

/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 02:11.44 ---> saved as "f25b21d199c6919c60bd86724ac995643e61d68ebef5e52c3104684c58bf1037"

/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-testing\\\"\"; 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 ... 20811 files and directories currently installed.)
- Preparing to unpack .../libffi-dev_3.5.2-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.5.2-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.5.2-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)
-> retrieved core.v0.17.1  (cached)
-> installed conf-pkg-config.4
-> retrieved core_kernel.v0.17.0  (cached)
-> installed conf-libffi.2.0.0
-> 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-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed re.1.14.0
-> installed sexplib0.v0.17.0
-> installed spawn.v0.17.0
-> installed stdlib-shims.0.3.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 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 ctypes-foreign.0.24.0
-> installed ppxlib.0.37.0
-> installed ppx_optcomp.v0.17.1
-> installed ppxlib_jane.v0.17.4
-> installed ppx_cold.v0.17.0
-> installed ppx_disable_unused_warnings.v0.17.0
-> installed ppx_here.v0.17.0
-> installed ppx_stable_witness.v0.17.0
-> installed ppx_tydi.v0.17.1
-> installed ppx_typerep_conv.v0.17.1
-> installed ppx_variants_conv.v0.17.1
-> installed ppx_fields_conv.v0.17.0
-> installed ppx_stable.v0.17.1
-> installed ppx_fixed_literal.v0.17.0
-> installed ppx_ignore_instrumentation.v0.17.0
-> installed ppx_pipebang.v0.17.0
-> installed ppx_globalize.v0.17.2
-> installed ppx_enumerate.v0.17.0
-> 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_assert.v0.17.0
-> installed ppx_sexp_value.v0.17.0
-> installed ppx_sexp_message.v0.17.0
-> installed ppx_custom_printf.v0.17.0
-> installed ppx_base.v0.17.0
-> installed jst-config.v0.17.0
-> installed capitalization.v0.17.0
-> installed sexp_pretty.v0.17.0
-> installed bin_prot.v0.17.0-1
-> installed ppx_string.v0.17.0
-> installed time_now.v0.17.0
-> installed ppx_bin_prot.v0.17.1
-> installed ppx_module_timer.v0.17.0
-> installed ppx_string_conv.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 base_quickcheck.v0.17.1
-> installed ppx_log.v0.17.0
-> 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 255".

#=== ERROR while compiling torch.v0.17.0 ======================================#
# context              2.5.0 | 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 255
# exit-code            1
# env-file             ~/.opam/log/torch-7-3699b2.env
# output-file          ~/.opam/log/torch-7-3699b2.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);
# ...TRUNCATED BY DUNE...
# torch_api_generated.h:1386:59: note: expected 'char *' but argument is of type 'const char *'
#  1386 | void atg_linalg_eigh(raw_tensor *, gc_tensor self, char * UPLO);
#       |                                                    ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1464_atg_linalg_eigh_eigvals':
# torch_stubs_generated.c:21595:60: warning: passing argument 5 of 'atg_linalg_eigh_eigvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21595 |    atg_linalg_eigh_eigvals(x20921, x20922, x20923, x20924, x20925);
#       |                                                            ^~~~~~
# torch_api_generated.h:1387:105: note: expected 'char *' but argument is of type 'const char *'
#  1387 | void atg_linalg_eigh_eigvals(raw_tensor *, gc_tensor eigvals, gc_tensor eigvecs, gc_tensor self, char * UPLO);
#       |                                                                                                  ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1467_atg_linalg_eigvalsh':
# torch_stubs_generated.c:21615:47: warning: passing argument 2 of 'atg_linalg_eigvalsh' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21615 |    void* x20939 = atg_linalg_eigvalsh(x20937, x20938);
#       |                                               ^~~~~~
# torch_api_generated.h:1390:55: note: expected 'char *' but argument is of type 'const char *'
#  1390 | raw_tensor atg_linalg_eigvalsh(gc_tensor self, char * UPLO);
#       |                                                ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1468_atg_linalg_eigvalsh_out':
# torch_stubs_generated.c:21624:59: warning: passing argument 3 of 'atg_linalg_eigvalsh_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21624 |    void* x20946 = atg_linalg_eigvalsh_out(x20943, x20944, x20945);
#       |                                                           ^~~~~~
# torch_api_generated.h:1391:74: note: expected 'char *' but argument is of type 'const char *'
#  1391 | raw_tensor atg_linalg_eigvalsh_out(gc_tensor out, gc_tensor self, char * UPLO);
#       |                                                                   ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1481_atg_linalg_lstsq':
# torch_stubs_generated.c:21772:61: warning: passing argument 6 of 'atg_linalg_lstsq' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21772 |    atg_linalg_lstsq(x21081, x21082, x21083, x21084, x21087, x21090, x21091);
#       |                                                             ^~~~~~
# torch_api_generated.h:1404:105: note: expected 'char *' but argument is of type 'const char *'
#  1404 | void atg_linalg_lstsq(raw_tensor *, gc_tensor self, gc_tensor b, double rcond_v, int rcond_null, char * driver_v, int driver_null);
#       |                                                                                                  ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1482_atg_linalg_lstsq_out':
# torch_stubs_generated.c:21807:49: warning: passing argument 10 of 'atg_linalg_lstsq_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 21807 |                         x21119, x21120, x21123, x21126, x21127);
#       |                                                 ^~~~~~
# torch_api_generated.h:1405:193: note: expected 'char *' but argument is of type 'const char *'
#  1405 | void atg_linalg_lstsq_out(raw_tensor *, gc_tensor solution, gc_tensor residuals, gc_tensor rank, gc_tensor singular_values, gc_tensor self, gc_tensor b, double rcond_v, int rcond_null, char * driver_v, int driver_null);
#       |                                                                                                                                                                                          ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1515_atg_linalg_qr':
# torch_stubs_generated.c:22292:34: warning: passing argument 3 of 'atg_linalg_qr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22292 |    atg_linalg_qr(x21584, x21585, x21586);
#       |                                  ^~~~~~
# torch_api_generated.h:1438:54: note: expected 'char *' but argument is of type 'const char *'
#  1438 | void atg_linalg_qr(raw_tensor *, gc_tensor A, char * mode);
#       |                                               ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1516_atg_linalg_qr_out':
# torch_stubs_generated.c:22303:54: warning: passing argument 5 of 'atg_linalg_qr_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22303 |    atg_linalg_qr_out(x21593, x21594, x21595, x21596, x21597);
#       |                                                      ^~~~~~
# torch_api_generated.h:1439:84: note: expected 'char *' but argument is of type 'const char *'
#  1439 | void atg_linalg_qr_out(raw_tensor *, gc_tensor Q, gc_tensor R, gc_tensor A, char * mode);
#       |                                                                             ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1525_atg_linalg_svd':
# torch_stubs_generated.c:22430:43: warning: passing argument 4 of 'atg_linalg_svd' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22430 |    atg_linalg_svd(x21721, x21722, x21723, x21726, x21727);
#       |                                           ^~~~~~
# torch_api_generated.h:1448:74: note: expected 'char *' but argument is of type 'const char *'
#  1448 | void atg_linalg_svd(raw_tensor *, gc_tensor A, int full_matrices, char * driver_v, int driver_null);
#       |                                                                   ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1526_atg_linalg_svd_u':
# torch_stubs_generated.c:22445:69: warning: passing argument 7 of 'atg_linalg_svd_u' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22445 |    atg_linalg_svd_u(x21739, x21740, x21741, x21742, x21743, x21744, x21747,
#       |                                                                     ^~~~~~
# torch_api_generated.h:1449:116: note: expected 'char *' but argument is of type 'const char *'
#  1449 | void atg_linalg_svd_u(raw_tensor *, gc_tensor U, gc_tensor S, gc_tensor Vh, gc_tensor A, int full_matrices, char * driver_v, int driver_null);
#       |                                                                                                             ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1527_atg_linalg_svdvals':
# torch_stubs_generated.c:22468:46: warning: passing argument 2 of 'atg_linalg_svdvals' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22468 |    void* x21768 = atg_linalg_svdvals(x21763, x21764, x21765);
#       |                                              ^~~~~~
# torch_api_generated.h:1450:51: note: expected 'char *' but argument is of type 'const char *'
#  1450 | raw_tensor atg_linalg_svdvals(gc_tensor A, char * driver_v, int driver_null);
#       |                                            ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1528_atg_linalg_svdvals_out':
# torch_stubs_generated.c:22478:58: warning: passing argument 3 of 'atg_linalg_svdvals_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 22478 |    void* x21779 = atg_linalg_svdvals_out(x21773, x21774, x21775, x21776);
#       |                                                          ^~~~~~
# torch_api_generated.h:1451:70: note: expected 'char *' but argument is of type 'const char *'
#  1451 | raw_tensor atg_linalg_svdvals_out(gc_tensor out, gc_tensor A, char * driver_v, int driver_null);
#       |                                                               ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1657_atg_meshgrid_indexing':
# torch_stubs_generated.c:24361:58: warning: passing argument 3 of 'atg_meshgrid_indexing' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 24361 |    void** x23619 = atg_meshgrid_indexing(x23614, x23615, x23618);
#       |                                                          ^~~~~~
# torch_api_generated.h:1580:84: note: expected 'char *' but argument is of type 'const char *'
#  1580 | raw_tensor *atg_meshgrid_indexing(gc_tensor *tensors_data, int tensors_len, char * indexing);
#       |                                                                             ~~~~~~~^~~~~~~~
# torch_stubs_generated.c: In function 'caml__1761_atg_nanquantile':
# torch_stubs_generated.c:26849:60: warning: passing argument 6 of 'atg_nanquantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26849 |    atg_nanquantile(x26067, x26068, x26069, x26072, x26075, x26078);
#       |                                                            ^~~~~~
# torch_api_generated.h:1684:106: note: expected 'char *' but argument is of type 'const char *'
#  1684 | raw_tensor atg_nanquantile(gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                   ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1762_atg_nanquantile_out':
# torch_stubs_generated.c:26878:24: warning: passing argument 7 of 'atg_nanquantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26878 |                        x26105);
#       |                        ^~~~~~
# torch_api_generated.h:1685:125: note: expected 'char *' but argument is of type 'const char *'
#  1685 | raw_tensor atg_nanquantile_out(gc_tensor out, gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                                      ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1763_atg_nanquantile_scalar':
# torch_stubs_generated.c:26905:67: warning: passing argument 6 of 'atg_nanquantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26905 |    atg_nanquantile_scalar(x26120, x26121, x26124, x26127, x26130, x26133);
#       |                                                                   ^~~~~~
# torch_api_generated.h:1686:110: note: expected 'char *' but argument is of type 'const char *'
#  1686 | raw_tensor atg_nanquantile_scalar(gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                       ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1764_atg_nanquantile_scalar_out':
# torch_stubs_generated.c:26934:39: warning: passing argument 7 of 'atg_nanquantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 26934 |                               x26159, x26162);
#       |                                       ^~~~~~
# torch_api_generated.h:1687:129: note: expected 'char *' but argument is of type 'const char *'
#  1687 | raw_tensor atg_nanquantile_scalar_out(gc_tensor out, gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                                          ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1860_atg_pad':
# torch_stubs_generated.c:28274:51: warning: passing argument 4 of 'atg_pad' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28274 |    void* x27472 = atg_pad(x27460, x27461, x27462, x27465, x27466, x27469);
#       |                                                   ^~~~~~
# torch_api_generated.h:1783:75: note: expected 'char *' but argument is of type 'const char *'
#  1783 | raw_tensor atg_pad(gc_tensor self, int64_t *pad_data, int pad_len, char * mode, double value_v, int value_null);
#       |                                                                    ~~~~~~~^~~~
# torch_stubs_generated.c: In function 'caml__1907_atg_quantile':
# torch_stubs_generated.c:28680:57: warning: passing argument 6 of 'atg_quantile' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28680 |    atg_quantile(x27853, x27854, x27855, x27858, x27861, x27864);
#       |                                                         ^~~~~~
# torch_api_generated.h:1830:103: note: expected 'char *' but argument is of type 'const char *'
#  1830 | raw_tensor atg_quantile(gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1908_atg_quantile_out':
# torch_stubs_generated.c:28706:69: warning: passing argument 7 of 'atg_quantile_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28706 |    atg_quantile_out(x27879, x27880, x27881, x27882, x27885, x27888, x27891);
#       |                                                                     ^~~~~~
# torch_api_generated.h:1831:122: note: expected 'char *' but argument is of type 'const char *'
#  1831 | raw_tensor atg_quantile_out(gc_tensor out, gc_tensor self, gc_tensor q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                                   ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1909_atg_quantile_scalar':
# torch_stubs_generated.c:28733:64: warning: passing argument 6 of 'atg_quantile_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28733 |    atg_quantile_scalar(x27906, x27907, x27910, x27913, x27916, x27919);
#       |                                                                ^~~~~~
# torch_api_generated.h:1832:107: note: expected 'char *' but argument is of type 'const char *'
#  1832 | raw_tensor atg_quantile_scalar(gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                    ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__1910_atg_quantile_scalar_out':
# torch_stubs_generated.c:28762:28: warning: passing argument 7 of 'atg_quantile_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 28762 |                            x27948);
#       |                            ^~~~~~
# torch_api_generated.h:1833:126: note: expected 'char *' but argument is of type 'const char *'
#  1833 | raw_tensor atg_quantile_scalar_out(gc_tensor out, gc_tensor self, double q, int64_t dim_v, int dim_null, int keepdim, char * interpolation);
#       |                                                                                                                       ~~~~~~~^~~~~~~~~~~~~
# torch_stubs_generated.c: In function 'caml__2076_atg_scatter_reduce':
# torch_stubs_generated.c:30999:70: warning: passing argument 5 of 'atg_scatter_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 30999 |    void* x30128 = atg_scatter_reduce(x30121, x30122, x30125, x30126, x30127);
#       |                                                                      ^~~~~~
# torch_api_generated.h:1999:99: note: expected 'char *' but argument is of type 'const char *'
#  1999 | raw_tensor atg_scatter_reduce(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce);
#       |                                                                                            ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2077_atg_scatter_reduce_':
# torch_stubs_generated.c:31012:56: warning: passing argument 5 of 'atg_scatter_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31012 |    atg_scatter_reduce_(x30134, x30135, x30138, x30139, x30140);
#       |                                                        ^~~~~~
# torch_api_generated.h:2000:100: note: expected 'char *' but argument is of type 'const char *'
#  2000 | raw_tensor atg_scatter_reduce_(gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce);
#       |                                                                                             ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2078_atg_scatter_reduce_out':
# torch_stubs_generated.c:31026:67: warning: passing argument 6 of 'atg_scatter_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31026 |    atg_scatter_reduce_out(x30148, x30149, x30150, x30153, x30154, x30155);
#       |                                                                   ^~~~~~
# torch_api_generated.h:2001:118: note: expected 'char *' but argument is of type 'const char *'
#  2001 | raw_tensor atg_scatter_reduce_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, gc_tensor src, char * reduce);
#       |                                                                                                               ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2083_atg_scatter_value_reduce':
# torch_stubs_generated.c:31097:61: warning: passing argument 5 of 'atg_scatter_value_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31097 |    atg_scatter_value_reduce(x30216, x30217, x30220, x30221, x30222);
#       |                                                             ^~~~~~
# torch_api_generated.h:2006:104: note: expected 'char *' but argument is of type 'const char *'
#  2006 | raw_tensor atg_scatter_value_reduce(gc_tensor self, int64_t dim, gc_tensor index, scalar value, char * reduce);
#       |                                                                                                 ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2084_atg_scatter_value_reduce_':
# torch_stubs_generated.c:31110:62: warning: passing argument 5 of 'atg_scatter_value_reduce_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31110 |    atg_scatter_value_reduce_(x30229, x30230, x30233, x30234, x30235);
#       |                                                              ^~~~~~
# torch_api_generated.h:2007:105: note: expected 'char *' but argument is of type 'const char *'
#  2007 | raw_tensor atg_scatter_value_reduce_(gc_tensor self, int64_t dim, gc_tensor index, scalar value, char * reduce);
#       |                                                                                                  ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2085_atg_scatter_value_reduce_out':
# torch_stubs_generated.c:31125:33: warning: passing argument 6 of 'atg_scatter_value_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31125 |                                 x30250);
#       |                                 ^~~~~~
# torch_api_generated.h:2008:123: note: expected 'char *' but argument is of type 'const char *'
#  2008 | raw_tensor atg_scatter_value_reduce_out(gc_tensor out, gc_tensor self, int64_t dim, gc_tensor index, scalar value, char * reduce);
#       |                                                                                                                    ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2086_atg_searchsorted':
# torch_stubs_generated.c:31152:53: warning: passing argument 5 of 'atg_searchsorted' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31152 |    atg_searchsorted(x30265, x30266, x30267, x30270, x30273, x30274, x30277);
#       |                                                     ^~~~~~
# torch_api_generated.h:2009:105: note: expected 'char *' but argument is of type 'const char *'
#  2009 | raw_tensor atg_searchsorted(gc_tensor sorted_sequence, gc_tensor self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter);
#       |                                                                                                  ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2087_atg_searchsorted_scalar':
# torch_stubs_generated.c:31181:60: warning: passing argument 5 of 'atg_searchsorted_scalar' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31181 |    atg_searchsorted_scalar(x30293, x30294, x30295, x30298, x30301, x30302,
#       |                                                            ^~~~~~
# torch_api_generated.h:2010:109: note: expected 'char *' but argument is of type 'const char *'
#  2010 | raw_tensor atg_searchsorted_scalar(gc_tensor sorted_sequence, scalar self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter);
#       |                                                                                                      ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2088_atg_searchsorted_scalar_out':
# torch_stubs_generated.c:31213:32: warning: passing argument 6 of 'atg_searchsorted_scalar_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31213 |                                x30331, x30332, x30335);
#       |                                ^~~~~~
# torch_api_generated.h:2011:128: note: expected 'char *' but argument is of type 'const char *'
#  2011 | raw_tensor atg_searchsorted_scalar_out(gc_tensor out, gc_tensor sorted_sequence, scalar self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter);
#       |                                                                                                                         ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2089_atg_searchsorted_tensor_out':
# torch_stubs_generated.c:31245:32: warning: passing argument 6 of 'atg_searchsorted_tensor_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31245 |                                x30362, x30363, x30366);
#       |                                ^~~~~~
# torch_api_generated.h:2012:131: note: expected 'char *' but argument is of type 'const char *'
#  2012 | raw_tensor atg_searchsorted_tensor_out(gc_tensor out, gc_tensor sorted_sequence, gc_tensor self, int out_int32, int right, char * side_v, int side_null, gc_tensor sorter);
#       |                                                                                                                            ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2090_atg_segment_reduce':
# torch_stubs_generated.c:31275:31: warning: passing argument 2 of 'atg_segment_reduce' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31275 |    atg_segment_reduce(x30384, x30385, x30386, x30387, x30388, x30389,
#       |                               ^~~~~~
# torch_api_generated.h:2013:54: note: expected 'char *' but argument is of type 'const char *'
#  2013 | raw_tensor atg_segment_reduce(gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor indices, gc_tensor offsets, int64_t axis, int unsafe, scalar initial);
#       |                                               ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2091_atg_segment_reduce_out':
# torch_stubs_generated.c:31309:43: warning: passing argument 3 of 'atg_segment_reduce_out' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 31309 |    atg_segment_reduce_out(x30414, x30415, x30416, x30417, x30418, x30419,
#       |                                           ^~~~~~
# torch_api_generated.h:2014:73: note: expected 'char *' but argument is of type 'const char *'
#  2014 | raw_tensor atg_segment_reduce_out(gc_tensor out, gc_tensor data, char * reduce, gc_tensor lengths, gc_tensor indices, gc_tensor offsets, int64_t axis, int unsafe, scalar initial);
#       |                                                                  ~~~~~~~^~~~~~
# torch_stubs_generated.c: In function 'caml__2413_atg_stft_center':
# torch_stubs_generated.c:35007:28: warning: passing argument 9 of 'atg_stft_center' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 35007 |                    x33586, x33589, x33590, x33593, x33596);
#       |                            ^~~~~~
# torch_api_generated.h:2336:182: note: expected 'char *' but argument is of type 'const char *'
#  2336 | raw_tensor atg_stft_center(gc_tensor self, int64_t n_fft, int64_t hop_length_v, int hop_length_null, int64_t win_length_v, int win_length_null, gc_tensor window, int center, char * pad_mode, int normalized, int onesided, int return_complex);
#       |                                                                                                                                                                               ~~~~~~~^~~~~~~~



<><> 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-20251209021145.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-testing\""; 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 02:14.48: Job failed: Failed: Build failed
2025-12-09 02:14.48: Log analysis:
2025-12-09 02:14.48: >>> 
[ERROR] The compilation of torch.v0.17.0 failed at "dune build -p torch -j 255".
 (score = 20)
2025-12-09 02:14.48: >>> 
# 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 02:14.48: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]