(not at the head of any monitored branch or PR)
2025-12-15 03:22.20: New job: test torch.0.9 with dune-configurator.3.21.0~alpha4, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29096/head (7d6af52f05e2c06c00193b2918193b6994ece701)
                              on debian-13-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29096/head" && git reset --hard 7d6af52f
git fetch origin master
git merge --no-edit 2625e9877b44d517ad87b5bf4ff708f3e44b78d8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn dune-configurator.3.21.0~alpha4 3.21.0~alpha4
RUN opam reinstall dune-configurator.3.21.0~alpha4; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'dune-configurator.3.21.0~alpha4' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall torch.0.9; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'torch.0.9' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test torch.0.9) || true
RUN opam reinstall --with-test --verbose torch.0.9; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'torch.0.9' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2025-12-15 03:22.20: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d-dune-configurator.3.21.0~alpha4-torch.0.9-7d6af52f05e2c06c00193b2918193b6994ece701"
2025-12-15 03:22.20: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn dune-configurator.3.21.0~alpha4 3.21.0~alpha4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune-configurator.3.21.0~alpha4;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'dune-configurator.3.21.0~alpha4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall torch.0.9;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'torch.0.9' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test torch.0.9) || true"))
 (run (shell  "opam reinstall --with-test --verbose torch.0.9;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'torch.0.9' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-15 03:22.20: Waiting for resource in pool OCluster
2025-12-15 03:25.28: Waiting for worker…
2025-12-15 03:28.06: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  82% (15791/19031)
Updating files:  83% (15796/19031)
Updating files:  84% (15987/19031)
Updating files:  85% (16177/19031)
Updating files:  86% (16367/19031)
Updating files:  87% (16557/19031)
Updating files:  88% (16748/19031)
Updating files:  89% (16938/19031)
Updating files:  90% (17128/19031)
Updating files:  91% (17319/19031)
Updating files:  92% (17509/19031)
Updating files:  93% (17699/19031)
Updating files:  94% (17890/19031)
Updating files:  95% (18080/19031)
Updating files:  96% (18270/19031)
Updating files:  97% (18461/19031)
Updating files:  98% (18651/19031)
Updating files:  99% (18841/19031)
Updating files: 100% (19031/19031)
Updating files: 100% (19031/19031), done.
HEAD is now at 2625e9877b Merge pull request #29094 from anmonteiro/patch-9
Updating 2625e9877b..7d6af52f05
Fast-forward
 .../chrome-trace/chrome-trace.3.21.0~alpha4/opam   | 41 ++++++++++++
 .../dune-action-plugin.3.21.0~alpha4/opam          | 54 ++++++++++++++++
 .../dune-build-info.3.21.0~alpha4/opam             | 47 ++++++++++++++
 .../dune-configurator.3.21.0~alpha4/opam           | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.21.0~alpha4/opam    | 44 +++++++++++++
 .../dune-private-libs.3.21.0~alpha4/opam           | 52 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha4/opam   | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.21.0~alpha4/opam      | 46 +++++++++++++
 packages/dune-site/dune-site.3.21.0~alpha4/opam    | 39 +++++++++++
 packages/dune/dune.3.21.0~alpha4/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.21.0~alpha4/opam                | 42 ++++++++++++
 packages/fs-io/fs-io.3.21.0~alpha4/opam            | 41 ++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha4/opam  | 45 +++++++++++++
 packages/ordering/ordering.3.21.0~alpha4/opam      | 40 ++++++++++++
 packages/stdune/stdune.3.21.0~alpha4/opam          | 48 ++++++++++++++
 .../top-closure/top-closure.3.21.0~alpha4/opam     | 40 ++++++++++++
 packages/xdg/xdg.3.21.0~alpha4/opam                | 41 ++++++++++++
 17 files changed, 789 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha4/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha4/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha4/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha4/opam
 create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha4/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha4/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha4/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha4/opam
 create mode 100644 packages/dune-site/dune-site.3.21.0~alpha4/opam
 create mode 100644 packages/dune/dune.3.21.0~alpha4/opam
 create mode 100644 packages/dyn/dyn.3.21.0~alpha4/opam
 create mode 100644 packages/fs-io/fs-io.3.21.0~alpha4/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha4/opam
 create mode 100644 packages/ordering/ordering.3.21.0~alpha4/opam
 create mode 100644 packages/stdune/stdune.3.21.0~alpha4/opam
 create mode 100644 packages/top-closure/top-closure.3.21.0~alpha4/opam
 create mode 100644 packages/xdg/xdg.3.21.0~alpha4/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d)
2025-12-15 03:28.08 ---> using "d81b3b20b9dbe813f4813251eb45f7f230344599357169e34b0d2f872bf65895" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-15 03:28.08 ---> using "4c0c738834a7be54719ab9b07c911eba51e45ad4298c42597f7d3da72b1c15d4" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
  - you won't be able to use mercurial repositories unless you install the hg command on your system.
  - you won't be able to use darcs repositories unless you install the darcs command on your system.

This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-15 03:28.08 ---> using "8bb6d27bb5f7ebe9771219e3ecd730184d5e10ab877134c11c12ee3b1a6d3b96" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-12-15 03:28.08 ---> using "35019bd57e8933485bd938828fe288c3674216a4757e13b1dac8ce6b21035ac2" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2025-12-15 03:28.08 ---> using "e09ab9992a764acab15da9cff99e3d4d978b8a77f33714cc5d19d16d3539eb49" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-15 03:28.10 ---> using "effd8012bb926235286407b71766f59239cdbd05eeb488dee8fd8b0266ec56c0" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-15 03:28.10 ---> using "da8e6b523210d6314ae3052775034fea74104aae3f193362b9609201bf93d1d2" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [84.8 kB]
- Fetched 176 kB in 0s (1813 kB/s)
- Reading package lists...
2025-12-15 03:28.10 ---> using "cd39baac0c78bb4b886710bb093d6b750f25b1cabe39d7490bff23ee544310da" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune-configurator.3.21.0~alpha4 3.21.0~alpha4"))
dune-configurator is now pinned to version 3.21.0~alpha4
2025-12-15 03:28.10 ---> using "7b3cd474b666dc4464c9a9a15760409261404712b0a9534f47f427b10a91e917" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune-configurator.3.21.0~alpha4;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'dune-configurator.3.21.0~alpha4' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune-configurator.3.21.0~alpha4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
  - install csexp             1.5.2                  [required by dune-configurator]
  - install dune              3.21.0~alpha4          [required by dune-configurator]
  - install dune-configurator 3.21.0~alpha4 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.21.0~alpha4, dune-configurator.3.21.0~alpha4  (cached)
-> installed dune.3.21.0~alpha4
-> installed csexp.1.5.2
-> installed dune-configurator.3.21.0~alpha4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-15 03:28.10 ---> using "4381dc27198c5878c4abc161632636ac362e5f10b007d48ac6d7fc7662ba7d0f" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall torch.0.9;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'torch.0.9' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
torch.0.9 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 39 packages
  - install base                v0.16.4 [required by torch]
  - install camlzip             1.13    [required by npy]
  - install cmdliner            2.1.0   [required by torch]
  - install conf-libffi         2.0.0   [required by ctypes-foreign]
  - install conf-pkg-config     4       [required by ctypes-foreign]
  - install conf-zlib           1       [required by camlzip]
  - install ctypes              0.24.0  [required by torch]
  - install ctypes-foreign      0.24.0  [required by torch]
  - install integers            0.7.0   [required by ctypes]
  - install jane-street-headers v0.16.0 [required by time_now]
  - install jst-config          v0.16.0 [required by time_now]
  - install libtorch            1.5.0   [required by torch]
  - install npy                 0.0.9   [required by torch]
  - install num                 1.6     [required by sexplib]
  - install ocaml-compiler-libs v0.12.4 [required by torch]
  - install ocamlfind           1.9.8   [required by camlzip]
  - install parsexp             v0.16.0 [required by sexplib]
  - install ppx_assert          v0.16.0 [required by jst-config]
  - install ppx_base            v0.16.0 [required by time_now]
  - install ppx_cold            v0.16.0 [required by ppx_base]
  - install ppx_compare         v0.16.0 [required by ppx_base]
  - install ppx_custom_printf   v0.16.0 [required by torch]
  - install ppx_derivers        1.2.1   [required by ppxlib]
  - install ppx_enumerate       v0.16.0 [required by ppx_base]
  - install ppx_expect          v0.16.2 [required by torch]
  - install ppx_globalize       v0.16.0 [required by ppx_base]
  - install ppx_hash            v0.16.0 [required by ppx_base]
  - install ppx_here            v0.16.0 [required by ppx_expect]
  - install ppx_inline_test     v0.16.1 [required by ppx_expect]
  - install ppx_optcomp         v0.16.0 [required by time_now]
  - install ppx_sexp_conv       v0.16.0 [required by torch]
  - install ppxlib              0.35.0  [required by ppx_custom_printf, ppx_expect]
  - install re                  1.14.0  [required by ppx_expect]
  - install sexplib             v0.16.0 [required by torch]
  - install sexplib0            v0.16.0 [required by base, sexplib]
  - install stdio               v0.16.0 [required by torch]
  - install stdlib-shims        0.3.0   [required by integers]
  - install time_now            v0.16.0 [required by ppx_inline_test]
  - install torch               0.9

The following system packages will first need to be installed:
    libffi-dev pkg-config zlib1g-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config" "zlib1g-dev"
- Selecting previously unselected package libffi-dev:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20622 files and directories currently installed.)
- Preparing to unpack .../0-libffi-dev_3.4.8-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.8-2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../1-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../2-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../3-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../4-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../5-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libffi-dev:amd64 (3.4.8-2) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up zlib1g-dev:amd64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4  (cached)
-> retrieved camlzip.1.13  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0  (cached)
-> installed conf-pkg-config.4
-> retrieved integers.0.7.0  (cached)
-> retrieved jane-street-headers.v0.16.0  (cached)
-> retrieved jst-config.v0.16.0  (cached)
-> retrieved libtorch.1.5.0  (cached)
-> retrieved npy.0.0.9  (cached)
-> retrieved num.1.6  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved parsexp.v0.16.0  (cached)
-> retrieved ppx_assert.v0.16.0  (cached)
-> retrieved ppx_base.v0.16.0  (cached)
-> retrieved ppx_cold.v0.16.0  (cached)
-> retrieved ppx_compare.v0.16.0  (cached)
-> retrieved ppx_custom_printf.v0.16.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_enumerate.v0.16.0  (cached)
-> retrieved ppx_expect.v0.16.2  (cached)
-> retrieved ppx_globalize.v0.16.0  (cached)
-> retrieved ppx_hash.v0.16.0  (cached)
-> retrieved ppx_here.v0.16.0  (cached)
-> retrieved ppx_inline_test.v0.16.1  (cached)
-> retrieved ppx_optcomp.v0.16.0  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib.v0.16.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdio.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved time_now.v0.16.0  (cached)
-> retrieved torch.0.9  (cached)
-> installed libtorch.1.5.0
-> installed cmdliner.2.1.0
-> installed conf-libffi.2.0.0
-> installed conf-zlib.1
-> installed jane-street-headers.v0.16.0
-> installed num.1.6
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocamlfind.1.9.8
-> installed ppx_derivers.1.2.1
-> installed re.1.14.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed camlzip.1.13
-> installed integers.0.7.0
-> installed npy.0.0.9
-> installed parsexp.v0.16.0
-> installed sexplib.v0.16.0
-> installed base.v0.16.4
-> installed ctypes.0.24.0
-> installed stdio.v0.16.0
-> installed ctypes-foreign.0.24.0
-> installed ppxlib.0.35.0
-> installed ppx_globalize.v0.16.0
-> installed ppx_optcomp.v0.16.0
-> installed ppx_cold.v0.16.0
-> installed ppx_here.v0.16.0
-> installed ppx_enumerate.v0.16.0
-> installed ppx_compare.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
-> installed ppx_hash.v0.16.0
-> installed ppx_assert.v0.16.0
-> installed ppx_base.v0.16.0
-> installed ppx_custom_printf.v0.16.0
-> installed jst-config.v0.16.0
-> installed time_now.v0.16.0
-> installed ppx_inline_test.v0.16.1
-> installed ppx_expect.v0.16.2
[ERROR] The compilation of torch.0.9 failed at "dune build -p torch -j 71".

#=== ERROR while compiling torch.0.9 ==========================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/torch.0.9
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p torch -j 71
# exit-code            1
# env-file             ~/.opam/log/torch-7-80592f.env
# output-file          ~/.opam/log/torch-7-80592f.out
### output ###
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/config/.discover.eobjs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-configurator -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -no-alias-deps -o src/config/.discover.eobjs/byte/discover.cmo -c -impl src/config/discover.ml)
# File "src/config/discover.ml", line 11, characters 13-33:
# 11 | let ( /^ ) = Caml.Filename.concat
#                   ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 12, characters 18-38:
# 12 | let file_exists = Caml.Sys.file_exists
#                        ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 46, characters 38-59:
# 46 |              if file_exists libdir && Caml.Sys.is_directory libdir
#                                            ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 38, characters 4-20:
# 38 |     Caml.Sys.readdir conda_prefix
#          ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 55, characters 8-27:
# 55 |   match Caml.Sys.getenv_opt "LIBTORCH" with
#              ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 59, characters 19-38:
# 59 |       Option.bind (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
#                         ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 65, characters 13-32:
# 65 |       (match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
#                   ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 75, characters 28-49:
# 75 |   if file_exists cudadir && Caml.Sys.is_directory cudadir
#                                  ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 104, characters 11-30:
# 104 |           (Caml.Sys.getenv_opt "CONDA_PREFIX")
#                  ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 110, characters 16-35:
# 110 |           match Caml.Sys.getenv_opt "LIBTORCH_CXX11_ABI" with
#                       ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 120, characters 11-21:
# 120 |         if Caml.( = ) cuda_flags empty_flags
#                  ^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-configurator -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -intf-suffix .ml -no-alias-deps -o src/config/.discover.eobjs/native/discover.cmx -c -impl src/config/discover.ml)
# File "src/config/discover.ml", line 11, characters 13-33:
# 11 | let ( /^ ) = Caml.Filename.concat
#                   ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 12, characters 18-38:
# 12 | let file_exists = Caml.Sys.file_exists
#                        ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 46, characters 38-59:
# 46 |              if file_exists libdir && Caml.Sys.is_directory libdir
#                                            ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 38, characters 4-20:
# 38 |     Caml.Sys.readdir conda_prefix
#          ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 55, characters 8-27:
# 55 |   match Caml.Sys.getenv_opt "LIBTORCH" with
#              ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 59, characters 19-38:
# 59 |       Option.bind (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
#                         ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 65, characters 13-32:
# 65 |       (match Caml.Sys.getenv_opt "OPAM_SWITCH_PREFIX" with
#                   ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 75, characters 28-49:
# 75 |   if file_exists cudadir && Caml.Sys.is_directory cudadir
#                                  ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 104, characters 11-30:
# 104 |           (Caml.Sys.getenv_opt "CONDA_PREFIX")
#                  ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 110, characters 16-35:
# 110 |           match Caml.Sys.getenv_opt "LIBTORCH_CXX11_ABI" with
#                       ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 120, characters 11-21:
# 120 |         if Caml.( = ) cuda_flags empty_flags
#                  ^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/wrapper/dune", line 4, characters 11-22:
# 4 |   (c_names torch_stubs)
#                ^^^^^^^^^^^
# (cd _build/default/src/wrapper && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/stdlib-shims -o torch_stubs.o -c torch_stubs.c)
# torch_stubs.c: In function 'caml__31_at_save':
# torch_stubs.c:237:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   237 |    at_save(x227, x228);
#       |                  ^~~~
# In file included from torch_stubs.c:1:
# torch_api.h:56:28: note: expected 'char *' but argument is of type 'const char *'
#    56 | void at_save(tensor, char *filename);
#       |                      ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__32_at_load':
# torch_stubs.c:243:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   243 |    void* x232 = at_load(x231);
#       |                         ^~~~
# torch_api.h:57:22: note: expected 'char *' but argument is of type 'const char *'
#    57 | tensor at_load(char *filename);
#       |                ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__33_at_save_multi':
# torch_stubs.c:252:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   252 |    at_save_multi(x237, x238, x239, x242);
#       |                                    ^~~~
# torch_api.h:59:78: note: expected 'char *' but argument is of type 'const char *'
#    59 | void at_save_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
#       |                                                                        ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__34_at_load_multi':
# torch_stubs.c:261:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   261 |    at_load_multi(x248, x249, x250, x253);
#       |                                    ^~~~
# torch_api.h:61:78: note: expected 'char *' but argument is of type 'const char *'
#    61 | void at_load_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
#       |                                                                        ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__35_at_load_multi_':
# torch_stubs.c:270:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   270 |    at_load_multi_(x259, x260, x261, x264);
#       |                                     ^~~~
# torch_api.h:63:79: note: expected 'char *' but argument is of type 'const char *'
#    63 | void at_load_multi_(tensor *tensors, char **tensor_names, int ntensors, char *filename);
#       |                                                                         ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__36_at_load_callback':
# torch_stubs.c:277:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   277 |    at_load_callback(x268, x269);
#       |                     ^~~~
# torch_api.h:65:29: note: expected 'char *' but argument is of type 'const char *'
#    65 | void at_load_callback(char *filename, void (*f)(char *, tensor));
#       |                       ~~~~~~^~~~~~~~
# torch_stubs.c:277:27: error: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
#   277 |    at_load_callback(x268, x269);
#       |                           ^~~~
#       |                           |
#       |                           void (*)(const char *, void *)
# torch_api.h:65:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)'
#    65 | void at_load_callback(char *filename, void (*f)(char *, tensor));
#       |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__63_ati_string':
# torch_stubs.c:469:28: warning: passing argument 1 of 'ati_string' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   469 |    void* x439 = ati_string(x438);
#       |                            ^~~~
# torch_api.h:121:19: note: expected 'char *' but argument is of type 'const char *'
#   121 | ivalue ati_string(char *);
#       |                   ^~~~~~
# torch_stubs.c: In function 'caml__66_atm_load':
# torch_stubs.c:487:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   487 |    void* x448 = atm_load(x447);
#       |                          ^~~~
# torch_api.h:108:17: note: expected 'char *' but argument is of type 'const char *'
#   108 | module atm_load(char *);
#       |                 ^~~~~~
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Dataset_helper.cmo -c -impl src/torch/dataset_helper.ml)
# File "src/torch/dataset_helper.ml", line 148, characters 4-22:
# 148 |     Caml.Gc.full_major ();
#           ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 193, characters 4-22:
# 193 |     Caml.Gc.full_major ()
#           ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 200, characters 8-26:
# 200 |         Caml.Gc.full_major ();
#               ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 207, characters 8-26:
# 207 |         Caml.Gc.full_major ();
#               ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Text_helper.cmo -c -impl src/torch/text_helper.ml)
# File "src/torch/text_helper.ml", line 53, characters 4-22:
# 53 |     Caml.Gc.full_major ()
#          ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Cifar_helper.cmo -c -impl src/torch/cifar_helper.ml)
# File "src/torch/cifar_helper.ml", line 46, characters 26-46:
# 46 |   let read_one filename = Caml.Filename.concat dirname filename |> read_file in
#                                ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/cifar_helper.ml", line 67, characters 21-41:
# 67 |     let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in
#                           ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Mnist_helper.cmo -c -impl src/torch/mnist_helper.ml)
# File "src/torch/mnist_helper.ml", line 36, characters 17-37:
# 36 |   let filename = Caml.Filename.concat prefix in
#                       ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Checkpointing.cmo -c -impl src/torch/checkpointing.ml)
# File "src/torch/checkpointing.ml", line 4, characters 16-37:
# 4 |   let dirname = Caml.Filename.dirname checkpoint_base in
#                     ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 5, characters 17-39:
# 5 |   let basename = Caml.Filename.basename checkpoint_base in
#                      ^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 12, characters 44-64:
# 12 |            (try Some (Int.of_string suffix, Caml.Filename.concat dirname filename) with
#                                                  ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 6, characters 2-18:
# 6 |   Caml.Sys.readdir dirname
#       ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Tensor.cmo -c -impl src/torch/tensor.ml)
# File "src/torch/tensor.ml", line 219, characters 4-32:
# 219 |     Caml.Format.pp_print_newline formatter ();
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 220, characters 4-31:
# 220 |     Caml.Format.pp_print_string formatter (to_string t ~line_size:96);
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 221, characters 4-32:
# 221 |     Caml.Format.pp_print_newline formatter ())
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 226, characters 7-34:
# 226 |     |> Caml.Format.pp_print_string formatter
#              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 375, characters 10-21:
# 375 |   else if Caml.( <> ) (shape t1) (shape t2)
#                 ^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/vision/.torch_vision.objs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/byte/torch_vision__Image.cmo -c -impl src/vision/image.ml)
# File "src/vision/image.ml", line 81, characters 10-31:
# 81 |   if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
#                ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 82, characters 14-30:
# 82 |   let files = Caml.Sys.readdir dir |> Array.to_list in
#                    ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 87, characters 26-46:
# 87 |         match load_image (Caml.Filename.concat dir filename) ?resize with
#                                ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 162, characters 12-33:
# 162 |     if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
#                   ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 167, characters 28-48:
# 167 |              let next_dir = Caml.Filename.concat dir file in
#                                   ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 168, characters 16-37:
# 168 |              if Caml.Sys.is_directory next_dir
#                       ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 165, characters 6-22:
# 165 |       Caml.Sys.readdir dir
#             ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 187, characters 41-61:
# 187 |             load_image ?resize:t.resize (Caml.Filename.concat dir file)
#                                                ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 198, characters 37-57:
# 198 |         load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
#                                            ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Tensor.cmx -c -impl src/torch/tensor.ml)
# File "src/torch/tensor.ml", line 219, characters 4-32:
# 219 |     Caml.Format.pp_print_newline formatter ();
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 220, characters 4-31:
# 220 |     Caml.Format.pp_print_string formatter (to_string t ~line_size:96);
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 221, characters 4-32:
# 221 |     Caml.Format.pp_print_newline formatter ())
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 226, characters 7-34:
# 226 |     |> Caml.Format.pp_print_string formatter
#              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 375, characters 10-21:
# 375 |   else if Caml.( <> ) (shape t1) (shape t2)
#                 ^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Text_helper.cmx -c -impl src/torch/text_helper.ml)
# File "src/torch/text_helper.ml", line 53, characters 4-22:
# 53 |     Caml.Gc.full_major ()
#          ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Dataset_helper.cmx -c -impl src/torch/dataset_helper.ml)
# File "src/torch/dataset_helper.ml", line 148, characters 4-22:
# 148 |     Caml.Gc.full_major ();
#           ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 193, characters 4-22:
# 193 |     Caml.Gc.full_major ()
#           ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 200, characters 8-26:
# 200 |         Caml.Gc.full_major ();
#               ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 207, characters 8-26:
# 207 |         Caml.Gc.full_major ();
#               ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Mnist_helper.cmx -c -impl src/torch/mnist_helper.ml)
# File "src/torch/mnist_helper.ml", line 36, characters 17-37:
# 36 |   let filename = Caml.Filename.concat prefix in
#                       ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Cifar_helper.cmx -c -impl src/torch/cifar_helper.ml)
# File "src/torch/cifar_helper.ml", line 46, characters 26-46:
# 46 |   let read_one filename = Caml.Filename.concat dirname filename |> read_file in
#                                ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/cifar_helper.ml", line 67, characters 21-41:
# 67 |     let cache_file = Caml.Filename.concat dirname "cifar-cache.ot" in
#                           ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Checkpointing.cmx -c -impl src/torch/checkpointing.ml)
# File "src/torch/checkpointing.ml", line 4, characters 16-37:
# 4 |   let dirname = Caml.Filename.dirname checkpoint_base in
#                     ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 5, characters 17-39:
# 5 |   let basename = Caml.Filename.basename checkpoint_base in
#                      ^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 12, characters 44-64:
# 12 |            (try Some (Int.of_string suffix, Caml.Filename.concat dirname filename) with
#                                                  ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 6, characters 2-18:
# 6 |   Caml.Sys.readdir dirname
#       ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/vision/.torch_vision.objs/byte -I src/vision/.torch_vision.objs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ctypes-foreign -I /home/opam/.opam/4.14/lib/ctypes/stubs -I /home/opam/.opam/4.14/lib/integers -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -I /home/opam/.opam/4.14/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/native/torch_vision__Image.cmx -c -impl src/vision/image.ml)
# File "src/vision/image.ml", line 81, characters 10-31:
# 81 |   if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
#                ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 82, characters 14-30:
# 82 |   let files = Caml.Sys.readdir dir |> Array.to_list in
#                    ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 87, characters 26-46:
# 87 |         match load_image (Caml.Filename.concat dir filename) ?resize with
#                                ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 162, characters 12-33:
# 162 |     if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
#                   ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 167, characters 28-48:
# 167 |              let next_dir = Caml.Filename.concat dir file in
#                                   ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 168, characters 16-37:
# 168 |              if Caml.Sys.is_directory next_dir
#                       ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 165, characters 6-22:
# 165 |       Caml.Sys.readdir dir
#             ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 187, characters 41-61:
# 187 |             load_image ?resize:t.resize (Caml.Filename.concat dir file)
#                                                ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 198, characters 37-57:
# 198 |         load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
#                                            ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build torch 0.9
+- 
+- The following changes have been performed
| - install base                v0.16.4
| - install camlzip             1.13
| - install cmdliner            2.1.0
| - install conf-libffi         2.0.0
| - install conf-pkg-config     4
| - install conf-zlib           1
| - install ctypes              0.24.0
| - install ctypes-foreign      0.24.0
| - install integers            0.7.0
| - install jane-street-headers v0.16.0
| - install jst-config          v0.16.0
| - install libtorch            1.5.0
| - install npy                 0.0.9
| - install num                 1.6
| - install ocaml-compiler-libs v0.12.4
| - install ocamlfind           1.9.8
| - install parsexp             v0.16.0
| - install ppx_assert          v0.16.0
| - install ppx_base            v0.16.0
| - install ppx_cold            v0.16.0
| - install ppx_compare         v0.16.0
| - install ppx_custom_printf   v0.16.0
| - install ppx_derivers        1.2.1
| - install ppx_enumerate       v0.16.0
| - install ppx_expect          v0.16.2
| - install ppx_globalize       v0.16.0
| - install ppx_hash            v0.16.0
| - install ppx_here            v0.16.0
| - install ppx_inline_test     v0.16.1
| - install ppx_optcomp         v0.16.0
| - install ppx_sexp_conv       v0.16.0
| - install ppxlib              0.35.0
| - install re                  1.14.0
| - install sexplib             v0.16.0
| - install sexplib0            v0.16.0
| - install stdio               v0.16.0
| - install stdlib-shims        0.3.0
| - install time_now            v0.16.0
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20251215032811.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall torch.0.9;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        partial_fails="";
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'torch.0.9' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2025-12-15 03:33.44: Job failed: Failed: Build failed
2025-12-15 03:33.44: Log analysis:
2025-12-15 03:33.44: >>> 
[ERROR] The compilation of torch.0.9 failed at "dune build -p torch -j 71".
 (score = 20)
2025-12-15 03:33.44: >>> 
# torch_stubs.c:277:27: error: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2025-12-15 03:33.44: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]