Build:
  1. 0
2024-02-11 20:23.52: New job: test torch.0.14 with conf-pkg-config.1.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/25235/head (8c7391d6ec81e93f24de221eb32a886b72d1ede6)
                              on debian-12-ocaml-5.1/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/25235/head" && git reset --hard 8c7391d6
git fetch origin master
git merge --no-edit 8477e9a74beb40d85534ab7653b65d45607a147f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
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
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn conf-pkg-config.1.1 1.1
RUN opam reinstall conf-pkg-config.1.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-pkg-config.1.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam reinstall torch.0.14; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'torch.0.14' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN (opam reinstall --with-test torch.0.14) || true
RUN opam reinstall --with-test --verbose torch.0.14; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'torch.0.14' && 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 .

2024-02-11 20:23.52: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930-conf-pkg-config.1.1-torch.0.14-8c7391d6ec81e93f24de221eb32a886b72d1ede6"
2024-02-11 20:23.52: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
 (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"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (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"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn conf-pkg-config.1.1 1.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-pkg-config.1.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'conf-pkg-config.1.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall torch.0.14;\
             \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-12\\\"\"; 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.14' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (network host)
      (shell "(opam reinstall --with-test torch.0.14) || true"))
 (run (shell  "opam reinstall --with-test --verbose torch.0.14;\
             \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-12\\\"\"; 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.14' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-02-11 20:23.52: Waiting for resource in pool OCluster
2024-02-12 19:45.14: Waiting for worker…
2024-02-12 19:47.17: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  68% (22581/32918)
Updating files:  69% (22714/32918)
Updating files:  70% (23043/32918)
Updating files:  71% (23372/32918)
Updating files:  72% (23701/32918)
Updating files:  73% (24031/32918)
Updating files:  74% (24360/32918)
Updating files:  75% (24689/32918)
Updating files:  76% (25018/32918)
Updating files:  77% (25347/32918)
Updating files:  78% (25677/32918)
Updating files:  79% (26006/32918)
Updating files:  80% (26335/32918)
Updating files:  81% (26664/32918)
Updating files:  82% (26993/32918)
Updating files:  83% (27322/32918)
Updating files:  84% (27652/32918)
Updating files:  85% (27981/32918)
Updating files:  86% (28310/32918)
Updating files:  87% (28639/32918)
Updating files:  88% (28968/32918)
Updating files:  89% (29298/32918)
Updating files:  90% (29627/32918)
Updating files:  91% (29956/32918)
Updating files:  92% (30285/32918)
Updating files:  93% (30614/32918)
Updating files:  94% (30943/32918)
Updating files:  95% (31273/32918)
Updating files:  96% (31602/32918)
Updating files:  97% (31931/32918)
Updating files:  98% (32260/32918)
Updating files:  99% (32589/32918)
Updating files: 100% (32918/32918)
Updating files: 100% (32918/32918), done.
HEAD is now at 8477e9a74b Merge pull request #25221 from nberth/mlgmpidl-1.3.0
Updating 8477e9a74b..8c7391d6ec
Fast-forward
 packages/conf-pkg-config/conf-pkg-config.1.0/opam | 2 +-
 packages/conf-pkg-config/conf-pkg-config.1.1/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.2/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.1.3/opam | 1 +
 packages/conf-pkg-config/conf-pkg-config.2/opam   | 1 +
 packages/conf-pkg-config/conf-pkg-config.3/opam   | 4 +++-
 6 files changed, 8 insertions(+), 2 deletions(-)

(from ocaml/opam:debian-12-ocaml-5.1@sha256:931805f2c2fdb0b5642ae8463ff0780c2ee3f4afb48734a7d94e2d5163429930)
2024-02-12 19:49.04 ---> using "4df7ce52b8e0afe130cbfff7d9b001e43cae58bd8e8710cd073ce7c11b1c6ac8" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-02-12 19:49.04 ---> using "2ee14a5dbb7aa54ab1dfa5adba4422c5a5483941525d4174e8eeed0c4c5e97aa" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2~alpha, 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] synchronised from file:///home/opam/opam-repository
2024-02-12 19:49.04 ---> using "d58131e4d084860f74dbebecfc9a35ebb7fbb42cf58093b5ac6cf0adf11ed898" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/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/"))
2024-02-12 19:49.04 ---> using "e76676ee91f5598b65d18de047738848e5af056a75e3436903dc82ff5702c5a6" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-02-12 19:49.07 ---> using "00dcf922e87fec2f8ccdd0b44355d41faed143c596db4bfe8812d0e9c5f33f02" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-02-12 19:49.07 ---> using "d6c8604b98b9d01914259989eafdfad7780b6c9f761a469dfe3162a56ba73510" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8786 kB]
- Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [137 kB]
- Fetched 9175 kB in 2s (3860 kB/s)
- Reading package lists...
- 
2024-02-12 19:49.07 ---> using "6245d7929b862e6b37f451133c05d21883283d0248743f67197f2e424fe52d69" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (shell "opam pin add -k version -yn conf-pkg-config.1.1 1.1"))
conf-pkg-config is now pinned to version 1.1
2024-02-12 19:49.07 ---> using "efd69474de39398f08b803f28b1c0635d272139b0c33f4b0a322013c52989663" from cache

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

The following system packages will first need to be installed:
    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" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18774 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u4) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.1.1
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:49.07 ---> using "0686843ae3c31f38ac5563a3bcd57d9eed648c8dbf66daffdc86057dfb09ccb3" from cache

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall torch.0.14;\
                        \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-12\\\"\"; 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.14' && 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.14 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 43 packages
  - install base                v0.16.3             [required by torch]
  - install bigarray-compat     1.1.0               [required by ctypes]
  - install camlzip             1.11                [required by npy]
  - install cmdliner            1.2.0               [required by torch]
  - install conf-libffi         2.0.0               [required by ctypes-foreign]
  - install conf-zlib           1                   [required by camlzip]
  - install csexp               1.5.2               [required by dune-configurator]
  - install ctypes              0.21.1              [required by torch]
  - install ctypes-foreign      0.21.1              [required by torch]
  - install dune                3.13.1              [required by torch]
  - install dune-configurator   3.13.1              [required by torch]
  - install integers            0.7.0               [required by ctypes]
  - install jane-street-headers v0.16.0             [required by time_now]
  - install jst-config          v0.16.0             [required by time_now]
  - install libtorch            1.10.0+linux-x86_64 [required by torch]
  - install npy                 0.0.9               [required by torch]
  - install num                 1.5                 [required by sexplib]
  - install ocaml-compiler-libs v0.12.4             [required by torch]
  - install ocamlfind           1.9.6               [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.0             [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.32.0              [required by ppx_custom_printf, ppx_expect]
  - install re                  1.11.0              [required by ppx_expect]
  - install seq                 base                [required by re]
  - 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.14

The following system packages will first need to be installed:
    libffi-dev 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" "zlib1g-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 18810 files and directories currently installed.)
- Preparing to unpack .../libffi-dev_3.4.4-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.4-1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libffi-dev:amd64 (3.4.4-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.3  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved camlzip.1.11  (cached)
-> retrieved cmdliner.1.2.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.21.1, ctypes-foreign.0.21.1  (cached)
-> installed conf-libffi.2.0.0
-> installed conf-zlib.1
-> retrieved dune.3.13.1, dune-configurator.3.13.1  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved jane-street-headers.v0.16.0  (cached)
-> retrieved jst-config.v0.16.0  (cached)
-> retrieved libtorch.1.10.0+linux-x86_64  (cached)
-> retrieved npy.0.0.9  (cached)
-> retrieved num.1.5  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> installed cmdliner.1.2.0
-> retrieved ocamlfind.1.9.6  (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.0  (cached)
-> retrieved ppx_globalize.v0.16.0  (cached)
-> retrieved ppx_hash.v0.16.0  (cached)
-> retrieved ppx_here.v0.16.0  (cached)
-> retrieved ppx_inline_test.v0.16.1  (cached)
-> retrieved ppx_optcomp.v0.16.0  (cached)
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
-> retrieved ppxlib.0.32.0  (cached)
-> retrieved re.1.11.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.14  (cached)
-> installed libtorch.1.10.0+linux-x86_64
-> installed num.1.5
-> installed ocamlfind.1.9.6
-> installed seq.base
-> installed camlzip.1.11
-> installed dune.3.13.1
-> installed jane-street-headers.v0.16.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed npy.0.0.9
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed integers.0.7.0
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.13.1
-> installed sexplib.v0.16.0
-> installed ctypes.0.21.1
-> installed base.v0.16.3
-> installed stdio.v0.16.0
-> installed ctypes-foreign.0.21.1
-> installed ppxlib.0.32.0
-> installed ppx_globalize.v0.16.0
-> installed ppx_optcomp.v0.16.0
-> installed ppx_cold.v0.16.0
-> installed ppx_here.v0.16.0
-> installed ppx_enumerate.v0.16.0
-> installed ppx_compare.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
-> installed ppx_hash.v0.16.0
-> installed ppx_assert.v0.16.0
-> installed ppx_custom_printf.v0.16.0
-> installed ppx_base.v0.16.0
-> installed jst-config.v0.16.0
-> installed time_now.v0.16.0
-> installed ppx_inline_test.v0.16.1
-> installed ppx_expect.v0.16.0
-> installed torch.0.14
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:51.59 ---> saved as "c72ad399adb173bca142a1dc96cfd4e7e536f51b63c55fa788c84f198f81be9e"

/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test torch.0.14) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile torch 0.14

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved torch.0.14  (https://github.com/LaurentMazare/ocaml-torch/archive/0.14.tar.gz)
-> removed   torch.0.14
-> installed torch.0.14
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:53.24 ---> saved as "7ec91bed39eea78ac8a5f0fd8aa15865ac4f61568f415f1d1a4f94007071890c"

/home/opam: (run (shell  "opam reinstall --with-test --verbose torch.0.14;\
                        \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-12\\\"\"; 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.14' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile torch 0.14

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4:
-> retrieved torch.0.14  (cached)
Processing  2/4: [torch: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "torch" "-j" "71" (CWD=/home/opam/.opam/5.1/.opam-switch/build/torch.0.14)
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/config/.discover.eobjs/byte -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/csexp -I /home/opam/.opam/5.1/lib/dune-configurator -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/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/5.1/bin/ocamlopt.opt -w -40 -g -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/csexp -I /home/opam/.opam/5.1/lib/dune-configurator -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/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
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Text_helper.cmo -c -impl src/torch/text_helper.ml)
- File "src/torch/text_helper.ml", line 51, characters 4-22:
- 51 |     Caml.Gc.full_major ()
-          ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Mnist_helper.cmo -c -impl src/torch/mnist_helper.ml)
- File "src/torch/mnist_helper.ml", line 35, characters 17-37:
- 35 |   let filename = Caml.Filename.concat prefix in
-                       ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/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/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/byte/torch__Dataset_helper.cmo -c -impl src/torch/dataset_helper.ml)
- File "src/torch/dataset_helper.ml", line 142, characters 4-22:
- 142 |     Caml.Gc.full_major ();
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 187, characters 4-22:
- 187 |     Caml.Gc.full_major ()
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 194, characters 8-26:
- 194 |         Caml.Gc.full_major ();
-               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 201, characters 8-26:
- 201 |         Caml.Gc.full_major ();
-               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/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/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/torch/.torch.objs/byte -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/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 377, characters 10-21:
- 377 |   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/5.1/bin/ocamlc.opt -w -40 -g -bin-annot -I src/vision/.torch_vision.objs/byte -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/wrapper/.torch_core.objs/byte -intf-suffix .ml -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/byte/torch_vision__Image.cmo -c -impl src/vision/image.ml)
- File "src/vision/image.ml", line 81, characters 10-31:
- 81 |   if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 82, characters 14-30:
- 82 |   let files = Caml.Sys.readdir dir |> Array.to_list in
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 87, characters 26-46:
- 87 |         match load_image (Caml.Filename.concat dir filename) ?resize with
-                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 159, characters 12-33:
- 159 |     if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
-                   ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 164, characters 28-48:
- 164 |              let next_dir = Caml.Filename.concat dir file in
-                                   ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 165, characters 16-37:
- 165 |              if Caml.Sys.is_directory next_dir
-                       ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 162, characters 6-22:
- 162 |       Caml.Sys.readdir dir
-             ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 184, characters 41-61:
- 184 |             load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
-                                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 194, characters 37-57:
- 194 |         load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
-                                            ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/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 377, characters 10-21:
- 377 |   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/5.1/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Text_helper.cmx -c -impl src/torch/text_helper.ml)
- File "src/torch/text_helper.ml", line 51, characters 4-22:
- 51 |     Caml.Gc.full_major ()
-          ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Dataset_helper.cmx -c -impl src/torch/dataset_helper.ml)
- File "src/torch/dataset_helper.ml", line 142, characters 4-22:
- 142 |     Caml.Gc.full_major ();
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 187, characters 4-22:
- 187 |     Caml.Gc.full_major ()
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 194, characters 8-26:
- 194 |         Caml.Gc.full_major ();
-               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/torch/dataset_helper.ml", line 201, characters 8-26:
- 201 |         Caml.Gc.full_major ();
-               ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/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/5.1/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch__ -o src/torch/.torch.objs/native/torch__Mnist_helper.cmx -c -impl src/torch/mnist_helper.ml)
- File "src/torch/mnist_helper.ml", line 35, characters 17-37:
- 35 |   let filename = Caml.Filename.concat prefix in
-                       ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/5.1/bin/ocamlopt.opt -w -40 -g -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/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/5.1/bin/ocamlopt.opt -w -40 -g -I src/vision/.torch_vision.objs/byte -I src/vision/.torch_vision.objs/native -I /home/opam/.opam/5.1/lib/base -I /home/opam/.opam/5.1/lib/base/base_internalhash_types -I /home/opam/.opam/5.1/lib/base/caml -I /home/opam/.opam/5.1/lib/base/shadow_stdlib -I /home/opam/.opam/5.1/lib/bigarray-compat -I /home/opam/.opam/5.1/lib/ctypes -I /home/opam/.opam/5.1/lib/ctypes-foreign -I /home/opam/.opam/5.1/lib/ctypes/stubs -I /home/opam/.opam/5.1/lib/integers -I /home/opam/.opam/5.1/lib/ocaml/str -I /home/opam/.opam/5.1/lib/ocaml/threads -I /home/opam/.opam/5.1/lib/ocaml/unix -I /home/opam/.opam/5.1/lib/sexplib0 -I /home/opam/.opam/5.1/lib/stdio -I /home/opam/.opam/5.1/lib/stdlib-shims -I src/torch/.torch.objs/byte -I src/torch/.torch.objs/native -I src/wrapper/.torch_core.objs/byte -I src/wrapper/.torch_core.objs/native -intf-suffix .ml -no-alias-deps -open Torch_vision -o src/vision/.torch_vision.objs/native/torch_vision__Image.cmx -c -impl src/vision/image.ml)
- File "src/vision/image.ml", line 81, characters 10-31:
- 81 |   if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 82, characters 14-30:
- 82 |   let files = Caml.Sys.readdir dir |> Array.to_list in
-                    ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 87, characters 26-46:
- 87 |         match load_image (Caml.Filename.concat dir filename) ?resize with
-                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 159, characters 12-33:
- 159 |     if not (Caml.Sys.is_directory dir) then Printf.failwithf "not a directory %s" dir ();
-                   ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 164, characters 28-48:
- 164 |              let next_dir = Caml.Filename.concat dir file in
-                                   ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 165, characters 16-37:
- 165 |              if Caml.Sys.is_directory next_dir
-                       ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 162, characters 6-22:
- 162 |       Caml.Sys.readdir dir
-             ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 184, characters 41-61:
- 184 |             load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
-                                                ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- 
- File "src/vision/image.ml", line 194, characters 37-57:
- 194 |         load_image ?resize:t.resize (Caml.Filename.concat dir file) |> Or_error.ok_exn)
-                                            ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
-> compiled  torch.0.14
-> removed   torch.0.14
-> installed torch.0.14
Done.
# Run eval $(opam env) to update the current shell environment
2024-02-12 19:54.55 ---> saved as "15c8816a7806126731da556840e3557dfbc30a97797d04e8036618c402870886"
Job succeeded
2024-02-12 19:55.03: Job succeeded