Build:
  1. 0
2024-09-12 08:35.52: New job: Voodoo prep torch.0.2; b777cabd72858b3ed7a62a5fd1f94567
2024-09-12 08:35.52: Waiting for resource in pool OCluster
2024-09-12 19:01.48: Waiting for worker…
2024-09-12 19:01.48: Got resource from pool OCluster
2024-09-12 19:01.48: Using cache hint "docs-universe-prep-4.14.2"

To reproduce locally:

cat > prep.spec <<'END-OF-SPEC'
((build tools
        ((from ocaml/opam:debian-12-ocaml-4.14@sha256:2135d0c56fc438ebc9377f99b020c06d4ecd43611be356b669914fea73ab2be1)
         (user (uid 1000) (gid 1000))
         (workdir /home/opam)
         (run (shell "sudo chown opam:opam /home/opam"))
         (run (network host)
              (shell "sudo apt-get update && sudo apt-get install -yy m4 pkg-config"))
         (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
              (network host)
              (shell "opam pin -ny https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9  && opam depext -iy voodoo-prep"))
         (run (shell "cp $(opam config var bin)/voodoo-prep /home/opam"))))
 (from ocaml/opam:debian-12-ocaml-4.14@sha256:2135d0c56fc438ebc9377f99b020c06d4ecd43611be356b669914fea73ab2be1)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo chown opam:opam /home/opam"))
 (run (shell "sudo mkdir /src"))
 (copy (src packages) (dst /src/packages))
 (copy (src repo) (dst /src/repo))
 (run (network host)
      (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam init --reinit -ni"))
 (run (shell "opam repo remove default && opam repo add opam /src"))
 (copy (from (build tools)) (src /home/opam/voodoo-prep) (dst /home/opam/))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
      (network host)
      (shell "opam install dune.3.16.0 ocamlfind.1.9.6"))
 (env DUNE_CACHE enabled)
 (env DUNE_CACHE_TRANSPORT direct)
 (env DUNE_CACHE_DUPLICATION copy)
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
      (network host)
      (shell "(sudo apt update) && ((opam depext -viy torch.0.2 time_now.v0.16.0 stdlib-shims.0.3.0 stdio.v0.16.0 stb_image_write.0.2 stb_image.0.5 sexplib0.v0.16.0 sexplib.v0.16.0 seq.base result.1.5 re.1.12.0 ppxlib.0.33.0 ppx_sexp_conv.v0.16.0 ppx_optcomp.v0.16.0 ppx_inline_test.v0.16.1 ppx_here.v0.16.0 ppx_hash.v0.16.0 ppx_globalize.v0.16.0 ppx_expect.v0.16.0 ppx_enumerate.v0.16.0 ppx_derivers.1.2.1 ppx_custom_printf.v0.16.0 ppx_compare.v0.16.0 ppx_cold.v0.16.0 ppx_base.v0.16.0 ppx_assert.v0.16.0 parsexp.v0.16.0 ocamlfind.1.9.6 ocaml-compiler-libs.v0.12.4 num.1.5-1 npy.0.0.9 libtorch.1.0.1 jst-config.v0.16.0 jane-street-headers.v0.16.0 integers.0.7.0 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 ctypes-foreign.0.23.0 ctypes.0.23.0 csexp.1.5.2 conf-zlib.1 conf-pkg-config.3 conf-libffi.2.0.0 conf-bash.1 cmdliner.1.3.0 camlzip.1.12 bigarray-compat.1.1.0 base.v0.16.3 2>&1 | tee ~/opam.err.log) || echo 'Failed to install all packages')"))
 (run (shell "opam exec -- ~/voodoo-prep -u torch:b777cabd72858b3ed7a62a5fd1f94567,stb_image_write:49bc592fc0b4321b8356083410166b69"))
 (run (network host)
      (secrets (ssh_privkey (target /home/opam/.ssh/id_rsa)) (ssh_pubkey (target /home/opam/.ssh/id_rsa.pub)) (ssh_config (target /home/opam/.ssh/config)))
      (shell "(echo '0.339290') && (for DATA in prep/universes/49bc592fc0b4321b8356083410166b69/stb_image_write/0.2,stb_image_write.0.2-49bc592fc0b4321b8356083410166b69,stb_image_write.0.2 prep/universes/b777cabd72858b3ed7a62a5fd1f94567/torch/0.2,torch.0.2-b777cabd72858b3ed7a62a5fd1f94567,torch.0.2; do IFS=\",\"; set -- $DATA; ([ -d $1 ] || (echo \"FAILED:$2\" && mkdir -p $1 && cp ~/opam.err.log $1 && opam show $3 --raw > $1/opam)) && (shopt -s nullglob && ((tar -cvf $1.tar $1/*  && rm -R $1/* && mv $1.tar $1/content.tar) || (echo 'Empty directory'))) done) && (for DATA in prep/universes/49bc592fc0b4321b8356083410166b69/stb_image_write/0.2,stb_image_write.0.2-49bc592fc0b4321b8356083410166b69,stb_image_write.0.2 prep/universes/b777cabd72858b3ed7a62a5fd1f94567/torch/0.2,torch.0.2-b777cabd72858b3ed7a62a5fd1f94567,torch.0.2; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/49bc592fc0b4321b8356083410166b69/stb_image_write/0.2,stb_image_write.0.2-49bc592fc0b4321b8356083410166b69,stb_image_write.0.2 prep/universes/b777cabd72858b3ed7a62a5fd1f94567/torch/0.2,torch.0.2-b777cabd72858b3ed7a62a5fd1f94567,torch.0.2; do IFS=\",\"; set -- $DATA; HASH=$((sha256sum $1/content.tar | cut -d \" \" -f 1)  || echo -n 'empty'); printf \"HASHES:$2:$HASH\\n\"; done)"))
)
END-OF-SPEC

ocluster-client submit-obuilder https://github.com/ocaml/opam-repository.git 7feaa1f912b00a5f981075e59af0763556f8bc75 --local-file prep.spec \
--pool linux-x86_64 --connect ocluster-submission.cap --cache-hint docs-universe-prep-4.14.2 \
--secret ssh_privkey:id_rsa --secret ssh_pubkey:id_rsa.pub--secret ssh_config:ssh_config

2024-09-12 19:01.48: RETRYING: 2024-09-12/083552-voodoo-prep-b3dcb9 Number of retries: 0 (retriable error condition)
Building on doris.caelum.ci.dev
All commits already cached
Updating files:  71% (22819/32082)
Updating files:  72% (23100/32082)
Updating files:  73% (23420/32082)
Updating files:  74% (23741/32082)
Updating files:  75% (24062/32082)
Updating files:  76% (24383/32082)
Updating files:  77% (24704/32082)
Updating files:  78% (25024/32082)
Updating files:  79% (25345/32082)
Updating files:  80% (25666/32082)
Updating files:  81% (25987/32082)
Updating files:  82% (26308/32082)
Updating files:  83% (26629/32082)
Updating files:  84% (26949/32082)
Updating files:  85% (27270/32082)
Updating files:  86% (27591/32082)
Updating files:  87% (27912/32082)
Updating files:  88% (28233/32082)
Updating files:  89% (28553/32082)
Updating files:  90% (28874/32082)
Updating files:  91% (29195/32082)
Updating files:  92% (29516/32082)
Updating files:  93% (29837/32082)
Updating files:  94% (30158/32082)
Updating files:  95% (30478/32082)
Updating files:  96% (30799/32082)
Updating files:  97% (31120/32082)
Updating files:  98% (31441/32082)
Updating files:  99% (31762/32082)
Updating files: 100% (32082/32082)
Updating files: 100% (32082/32082), done.
HEAD is now at 7feaa1f912 Apply suggestions from code review

(build "tools" …)

(from ocaml/opam:debian-12-ocaml-4.14@sha256:2135d0c56fc438ebc9377f99b020c06d4ecd43611be356b669914fea73ab2be1)
2024-09-12 18:55.15 ---> using "103a548bcf08062184789f8399ddfc3128a2d5d426168f6d2c8435f8ce1ce572" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-09-12 18:55.15 ---> using "b735425389b73ff0dbaabb86e65c55ba3d4affc0ec07062c4ba9fb8523aca05a" from cache

/home/opam: (run (network host)
                 (shell "sudo apt-get update && sudo apt-get install -yy m4 pkg-config"))
Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [11.7 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
Fetched 295 kB in 0s (940 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpkgconf3 pkgconf pkgconf-bin
Suggested packages:
  m4-doc
The following NEW packages will be installed:
  libpkgconf3 m4 pkg-config pkgconf pkgconf-bin
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 392 kB of archives.
After this operation, 969 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libpkgconf3 amd64 1.8.1-1 [36.1 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 m4 amd64 1.4.19-3 [287 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 pkgconf-bin amd64 1.8.1-1 [29.5 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 pkgconf amd64 1.8.1-1 [25.9 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 pkg-config amd64 1.8.1-1 [13.7 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 392 kB in 0s (7516 kB/s)
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 ... 18733 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 m4.
Preparing to unpack .../archives/m4_1.4.19-3_amd64.deb ...
Unpacking m4 (1.4.19-3) ...
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 m4 (1.4.19-3) ...
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+deb12u8) ...
2024-09-12 18:55.15 ---> using "64027e071d7f4bb79a519ab4cf43cd8d13e54fe5188051a605e9293619bec9b3" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
                 (network host)
                 (shell "opam pin -ny https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9  && opam depext -iy voodoo-prep"))
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo: git]
[voodoo] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
This will pin the following packages: voodoo-prep, voodoo-lib, voodoo-gen, voodoo-do. Continue? [Y/n] y
Package voodoo-prep does not exist, create as a NEW package? [Y/n] y
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev: git]
[voodoo-prep.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
voodoo-prep is now pinned to git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9 (version ~dev)
Package voodoo-lib does not exist, create as a NEW package? [Y/n] y
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev: git]
[voodoo-lib.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
voodoo-lib is now pinned to git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9 (version ~dev)
Package voodoo-gen does not exist, create as a NEW package? [Y/n] y
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev: git]
[voodoo-gen.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
voodoo-gen is now pinned to git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9 (version ~dev)
Package voodoo-do does not exist, create as a NEW package? [Y/n] y
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev: git]
[voodoo-do.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9
voodoo-do is now pinned to git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9 (version ~dev)
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
# Now letting opam install the packages

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[voodoo-prep.~dev] no changes from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9

The following actions will be performed:
  - install ocamlbuild       0.15.0 [required by bos]
  - install dune             3.16.0 [required by voodoo-prep]
  - install ocamlfind        1.9.6  [required by bos]
  - install cmdliner         1.3.0  [required by voodoo-prep]
  - install seq              base   [required by re]
  - install swhid_core       0.1    [required by opam-core]
  - install stdlib-shims     0.3.0  [required by ocamlgraph, sha]
  - install opam-file-format 2.1.6  [required by opam-format]
  - install topkg            1.0.7  [required by bos]
  - install re               1.12.0 [required by opam-format]
  - install sha              1.15.4 [required by opam-core]
  - install ocamlgraph       2.1.0  [required by opam-core]
  - install uutf             1.0.3  [required by opam-core]
  - install rresult          0.7.0  [required by bos]
  - install fmt              0.9.0  [required by bos]
  - install astring          0.8.5  [required by bos]
  - install jsonm            1.0.2  [required by opam-core]
  - install logs             0.7.0  [required by bos]
  - install fpath            0.7.3  [required by voodoo-prep]
  - install opam-core        2.2.1  [required by opam-format]
  - install bos              0.2.1  [required by voodoo-prep]
  - install opam-format      2.2.1  [required by voodoo-prep]
  - install voodoo-prep      ~dev*
===== 23 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[astring.0.8.5] found in cache
[bos.0.2.1] found in cache
[cmdliner.1.3.0] found in cache
[dune.3.16.0] found in cache
[fmt.0.9.0] found in cache
[fpath.0.7.3] found in cache
[jsonm.1.0.2] found in cache
[logs.0.7.0] found in cache
[ocamlbuild.0.15.0] found in cache
[ocamlfind.1.9.6] found in cache
[ocamlgraph.2.1.0] found in cache
[opam-core.2.2.1] found in cache
[opam-file-format.2.1.6] found in cache
[opam-format.2.2.1] found in cache
[re.1.12.0] found in cache
[rresult.0.7.0] found in cache
[sha.1.15.4] found in cache
[stdlib-shims.0.3.0] found in cache
[swhid_core.0.1] found in cache
[topkg.1.0.7] found in cache
[uutf.1.0.3] found in cache
[voodoo-prep.~dev] synchronised from git+https://github.com/ocaml-doc/voodoo.git#67ccabec49b5f4d24147839291fcae7c19d3e8c9

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed cmdliner.1.3.0
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.15.0
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed jsonm.1.0.2
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed bos.0.2.1
-> installed dune.3.16.0
-> installed stdlib-shims.0.3.0
-> installed swhid_core.0.1
-> installed opam-file-format.2.1.6
-> installed re.1.12.0
-> installed sha.1.15.4
-> installed ocamlgraph.2.1.0
-> installed opam-core.2.2.1
-> installed opam-format.2.2.1
-> installed voodoo-prep.~dev
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-12 18:55.15 ---> using "4b3eae20ee556ce466265d261fd5d7184b7506cfcf8217eea177582bdd289d8b" from cache

/home/opam: (run (shell "cp $(opam config var bin)/voodoo-prep /home/opam"))
2024-09-12 18:55.15 ---> using "ff9243a4acf95fb20c4e62f411801f15f8ec3c4e6fcc150de31a9042ea281b68" from cache
2024-09-12 18:55.15 --> finished "tools"

(from ocaml/opam:debian-12-ocaml-4.14@sha256:2135d0c56fc438ebc9377f99b020c06d4ecd43611be356b669914fea73ab2be1)
2024-09-12 18:55.15 ---> using "103a548bcf08062184789f8399ddfc3128a2d5d426168f6d2c8435f8ce1ce572" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo chown opam:opam /home/opam"))
2024-09-12 18:55.15 ---> using "b735425389b73ff0dbaabb86e65c55ba3d4affc0ec07062c4ba9fb8523aca05a" from cache

/home/opam: (run (shell "sudo mkdir /src"))
2024-09-12 18:55.15 ---> using "589fc247a47cee4820aea953ca0c6137d5c05903e8d36d67782083bf9b53dcd0" from cache

/home/opam: (copy (src packages) (dst /src/packages))
2024-09-12 18:55.17 ---> using "1468f6612852817700791a789969f82634708b94afab7ed5825bb962e590a078" from cache

/home/opam: (copy (src repo) (dst /src/repo))
2024-09-12 18:55.17 ---> using "6b46b2e0ebf62795247fa5ded5a7bb9472ed1353ab7c9a1dde9a7fde7a884c6f" from cache

/home/opam: (run (network host)
                 (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam && opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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.1, 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-09-12 18:55.17 ---> using "633836012e439ba5ef91aaeba22d379a3ab81ce46fa926a641532ee4ce50d418" from cache

/home/opam: (run (shell "opam repo remove default && opam repo add opam /src"))
Repositories removed from the selections of switch 4.14. Use '--all' to forget about them altogether.
[opam] Initialised
[NOTE] Repository opam has been added to the selections of switch 4.14 only.
       Run `opam repository add opam --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.

2024-09-12 18:55.17 ---> using "9a0138444d9972839667b5e4e57a45fb6654e44061cafbac8643ce816e8b4864" from cache

/home/opam: (copy (from (build tools))
                  (src /home/opam/voodoo-prep)
                  (dst /home/opam/))
2024-09-12 18:55.17 ---> using "c4cfc8007459f64be4abd081b4b678e19425ce645ca89afe23ff53b761918e50" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
                 (network host)
                 (shell "opam install dune.3.16.0 ocamlfind.1.9.6"))
The following actions will be performed:
  - install dune      3.16.0
  - install ocamlfind 1.9.6
===== 2 to install =====

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved dune.3.16.0  (cached)
-> installed ocamlfind.1.9.6
-> installed dune.3.16.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-09-12 18:55.17 ---> using "051ecb480b9299697c66539105c05c46d44ac0371334ac12ea029e7e216413b1" from cache

/home/opam: (env DUNE_CACHE enabled)

/home/opam: (env DUNE_CACHE_TRANSPORT direct)

/home/opam: (env DUNE_CACHE_DUPLICATION copy)

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)) (opam-dune-cache (target /home/opam/.cache/dune)))
                 (network host)
                 (shell "(sudo apt update) && ((opam depext -viy torch.0.2 time_now.v0.16.0 stdlib-shims.0.3.0 stdio.v0.16.0 stb_image_write.0.2 stb_image.0.5 sexplib0.v0.16.0 sexplib.v0.16.0 seq.base result.1.5 re.1.12.0 ppxlib.0.33.0 ppx_sexp_conv.v0.16.0 ppx_optcomp.v0.16.0 ppx_inline_test.v0.16.1 ppx_here.v0.16.0 ppx_hash.v0.16.0 ppx_globalize.v0.16.0 ppx_expect.v0.16.0 ppx_enumerate.v0.16.0 ppx_derivers.1.2.1 ppx_custom_printf.v0.16.0 ppx_compare.v0.16.0 ppx_cold.v0.16.0 ppx_base.v0.16.0 ppx_assert.v0.16.0 parsexp.v0.16.0 ocamlfind.1.9.6 ocaml-compiler-libs.v0.12.4 num.1.5-1 npy.0.0.9 libtorch.1.0.1 jst-config.v0.16.0 jane-street-headers.v0.16.0 integers.0.7.0 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 ctypes-foreign.0.23.0 ctypes.0.23.0 csexp.1.5.2 conf-zlib.1 conf-pkg-config.3 conf-libffi.2.0.0 conf-bash.1 cmdliner.1.3.0 camlzip.1.12 bigarray-compat.1.1.0 base.v0.16.3 2>&1 | tee ~/opam.err.log) || echo 'Failed to install all packages')"))

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://deb.debian.org/debian bookworm InRelease
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [11.7 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-09-10-2011.55-F-2024-09-10-2011.55.pdiff [1116 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [179 kB]
Fetched 295 kB in 0s (1024 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
Opam plugin "depext" may require upgrading/reinstalling. Reinstall the plugin on the current switch? [Y/n] y
The following actions will be performed:
  - recompile opam-depext 1.2.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> installed opam-depext.1.2.3
Done.

<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment

<><> Carrying on to "opam depext -viy torch.0.2 time_now.v0.16.0 stdlib-shims.0.3.0 stdio.v0.16.0 stb_image_write.0.2 stb_image.0.5 sexplib0.v0.16.0 sexplib.v0.16.0 seq.base result.1.5 re.1.12.0 ppxlib.0.33.0 ppx_sexp_conv.v0.16.0 ppx_optcomp.v0.16.0 ppx_inline_test.v0.16.1 ppx_here.v0.16.0 ppx_hash.v0.16.0 ppx_globalize.v0.16.0 ppx_expect.v0.16.0 ppx_enumerate.v0.16.0 ppx_derivers.1.2.1 ppx_custom_printf.v0.16.0 ppx_compare.v0.16.0 ppx_cold.v0.16.0 ppx_base.v0.16.0 ppx_assert.v0.16.0 parsexp.v0.16.0 ocamlfind.1.9.6 ocaml-compiler-libs.v0.12.4 num.1.5-1 npy.0.0.9 libtorch.1.0.1 jst-config.v0.16.0 jane-street-headers.v0.16.0 integers.0.7.0 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 ctypes-foreign.0.23.0 ctypes.0.23.0 csexp.1.5.2 conf-zlib.1 conf-pkg-config.3 conf-libffi.2.0.0 conf-bash.1 cmdliner.1.3.0 camlzip.1.12 bigarray-compat.1.1.0 base.v0.16.3" 

Since version 2.1, opam now handles external dependencies alongside OCaml ones, and the `depext` plugin interface is provided for backwards compatibility only. Consider using your usual `opam install` command to install both OCaml and system dependencies, or `opam install <pkg> --depext-only` if you want to only install external dependencies.
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libffi-dev
pkg-config
zlib1g-dev
[NOTE] Package dune is already installed (current version is 3.16.0).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
  - install ppx_derivers        1.2.1
  - install conf-bash           1
  - install num                 1.5-1
  - install bigarray-compat     1.1.0
  - install seq                 base
  - install ocaml-compiler-libs v0.12.4
  - install stdlib-shims        0.3.0
  - install conf-pkg-config     3
  - install stb_image_write     0.2
  - install libtorch            1.0.1
  - install cmdliner            1.3.0
  - install jane-street-headers v0.16.0
  - install result              1.5
  - install csexp               1.5.2
  - install sexplib0            v0.16.0
  - install re                  1.12.0
  - install integers            0.7.0
  - install conf-zlib           1
  - install conf-libffi         2.0.0
  - install stb_image           0.5
  - install dune-configurator   3.16.0
  - install ppxlib              0.33.0
  - install parsexp             v0.16.0
  - install camlzip             1.12
  - install ctypes              0.23.0
  - install base                v0.16.3
  - install sexplib             v0.16.0
  - install npy                 0.0.9
  - install ctypes-foreign      0.23.0
  - install stdio               v0.16.0
  - install ppx_sexp_conv       v0.16.0
  - install ppx_here            v0.16.0
  - install ppx_globalize       v0.16.0
  - install ppx_enumerate       v0.16.0
  - install ppx_compare         v0.16.0
  - install ppx_cold            v0.16.0
  - install ppx_optcomp         v0.16.0
  - install ppx_custom_printf   v0.16.0
  - install ppx_hash            v0.16.0
  - install ppx_assert          v0.16.0
  - install ppx_base            v0.16.0
  - install jst-config          v0.16.0
  - install time_now            v0.16.0
  - install ppx_inline_test     v0.16.1
  - install ppx_expect          v0.16.0
  - install torch               0.2
===== 46 to install =====

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

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config" "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 ... 18733 files and directories currently installed.)
- Preparing to unpack .../0-libffi-dev_3.4.4-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.4-1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../1-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../2-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../3-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../4-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../5-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 libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-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+deb12u8) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/138:
Processing  2/138:
Processing  3/138:
-> retrieved base.v0.16.3  (cached)
Processing  4/138:
-> retrieved bigarray-compat.1.1.0  (cached)
Processing  5/138:
Processing  6/138:
Processing  7/138:
Processing  8/138:
Processing  9/138:
Processing 10/138: [bigarray-compat: dune build]
Processing 11/138: [bigarray-compat: dune build] [conf-bash: bash]
Processing 12/138: [bigarray-compat: dune build] [conf-bash: bash] [conf-pkg-config: pkg-config]
-> retrieved camlzip.1.12  (cached)
Processing 13/138: [bigarray-compat: dune build] [conf-bash: bash] [conf-pkg-config: pkg-config]
-> retrieved cmdliner.1.3.0  (cached)
Processing 14/138: [bigarray-compat: dune build] [conf-bash: bash] [conf-pkg-config: pkg-config]
Processing 15/138: [bigarray-compat: dune build] [cmdliner: make all] [conf-bash: bash] [conf-pkg-config: pkg-config]
-> retrieved csexp.1.5.2  (cached)
Processing 16/138: [bigarray-compat: dune build] [cmdliner: make all] [conf-bash: bash] [conf-pkg-config: pkg-config]
Processing 17/138: [bigarray-compat: dune build] [cmdliner: make all] [conf-bash: bash] [conf-pkg-config: pkg-config] [csexp: dune build]
- GNU bash, version 5.2.15(1)-release (x86_64-pc-linux-gnu)
- Copyright (C) 2022 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- 
- This is free software; you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
-> compiled  conf-bash.1
Processing 17/138: [bigarray-compat: dune build] [cmdliner: make all] [conf-pkg-config: pkg-config] [csexp: dune build]
-> installed conf-bash.1
Processing 18/138: [bigarray-compat: dune build] [cmdliner: make all] [conf-pkg-config: pkg-config] [csexp: dune build]
- usage: pkgconf [OPTIONS] [LIBRARIES]
- 
- basic options:
- 
-   --help                            this message
-   --about                           print pkgconf version and license to stdout
-   --version                         print supported pkg-config version to stdout
-   --atleast-pkgconfig-version       check whether or not pkgconf is compatible
-                                     with a specified pkg-config version
-   --errors-to-stdout                print all errors on stdout instead of stderr
-   --print-errors                    ensure all errors are printed
-   --short-errors                    be less verbose about some errors
-   --silence-errors                  explicitly be silent about errors
-   --list-all                        list all known packages
-   --list-package-names              list all known package names
-   --simulate                        simulate walking the calculated dependency graph
-   --no-cache                        do not cache already seen packages when
-                                     walking the dependency graph
-   --log-file=filename               write an audit log to a specified file
-   --with-path=path                  adds a directory to the search path
-   --define-prefix                   override the prefix variable with one that is guessed based on
-                                     the location of the .pc file
-   --dont-define-prefix              do not override the prefix variable under any circumstances
-   --prefix-variable=varname         sets the name of the variable that pkgconf considers
-                                     to be the package prefix
-   --relocate=path                   relocates a path and exits (mostly for testsuite)
-   --dont-relocate-paths             disables path relocation support
- 
- cross-compilation personality support:
- 
-   --personality=triplet|filename    sets the personality to 'triplet' or a file named 'filename'
-   --dump-personality                dumps details concerning selected personality
- 
- checking specific pkg-config database entries:
- 
-   --atleast-version                 require a specific version of a module
-   --exact-version                   require an exact version of a module
-   --max-version                     require a maximum version of a module
-   --exists                          check whether or not a module exists
-   --uninstalled                     check whether or not an uninstalled module will be used
-   --no-uninstalled                  never use uninstalled modules when satisfying dependencies
-   --no-provides                     do not use 'provides' rules to resolve dependencies
-   --maximum-traverse-depth          maximum allowed depth for dependency graph
-   --static                          be more aggressive when computing dependency graph
-                                     (for static linking)
-   --shared                          use a simplified dependency graph (usually default)
-   --pure                            optimize a static dependency graph as if it were a normal
-                                     dependency graph
-   --env-only                        look only for package entries in PKG_CONFIG_PATH
-   --ignore-conflicts                ignore 'conflicts' rules in modules
-   --validate                        validate specific .pc files for correctness
- 
- querying specific pkg-config database fields:
- 
-   --define-variable=varname=value   define variable 'varname' as 'value'
-   --variable=varname                print specified variable entry to stdout
-   --cflags                          print required CFLAGS to stdout
-   --cflags-only-I                   print required include-dir CFLAGS to stdout
-   --cflags-only-other               print required non-include-dir CFLAGS to stdout
-   --libs                            print required linker flags to stdout
-   --libs-only-L                     print required LDPATH linker flags to stdout
-   --libs-only-l                     print required LIBNAME linker flags to stdout
-   --libs-only-other                 print required other linker flags to stdout
-   --print-requires                  print required dependency frameworks to stdout
-   --print-requires-private          print required dependency frameworks for static
-                                     linking to stdout
-   --print-provides                  print provided dependencies to stdout
-   --print-variables                 print all known variables in module to stdout
-   --digraph                         print entire dependency graph in graphviz 'dot' format
-   --keep-system-cflags              keep -I/usr/include entries in cflags output
-   --keep-system-libs                keep -L/lib:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnux32:/lib32:/libx32:/usr/lib:/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnux32:/usr/lib32:/usr/libx32 entries in libs output
-   --path                            show the exact filenames for any matching .pc files
-   --modversion                      print the specified module's version to stdout
-   --internal-cflags                 do not filter 'internal' cflags from output
- 
- filtering output:
- 
-   --msvc-syntax                     print translatable fragments in MSVC syntax
-   --fragment-filter=types           filter output fragments to the specified types
- 
- report bugs to <https://github.com/pkgconf/pkgconf/issues/new>.
-> compiled  conf-pkg-config.3
Processing 18/138: [bigarray-compat: dune build] [cmdliner: make all] [csexp: dune build]
-> installed conf-pkg-config.3
Processing 19/138: [bigarray-compat: dune build] [cmdliner: make all] [csexp: dune build]
Processing 20/138: [bigarray-compat: dune build] [cmdliner: make all] [conf-libffi: pkg-config libffi] [csexp: dune build]
Processing 21/138: [bigarray-compat: dune build] [cmdliner: make all] [conf-libffi: pkg-config libffi] [conf-zlib: pkg-config zlib] [csexp: dune build]
-> retrieved ctypes.0.23.0  (cached)
Processing 22/138: [bigarray-compat: dune build] [cmdliner: make all] [conf-libffi: pkg-config libffi] [conf-zlib: pkg-config zlib] [csexp: dune build]
-> retrieved ctypes-foreign.0.23.0  (cached)
Processing 23/138: [bigarray-compat: dune build] [cmdliner: make all] [conf-libffi: pkg-config libffi] [conf-zlib: pkg-config zlib] [csexp: dune build]
-> compiled  conf-libffi.2.0.0
Processing 23/138: [bigarray-compat: dune build] [cmdliner: make all] [conf-zlib: pkg-config zlib] [csexp: dune build]
-> installed conf-libffi.2.0.0
Processing 24/138: [bigarray-compat: dune build] [cmdliner: make all] [conf-zlib: pkg-config zlib] [csexp: dune build]
-> compiled  conf-zlib.1
Processing 24/138: [bigarray-compat: dune build] [cmdliner: make all] [csexp: dune build]
-> installed conf-zlib.1
Processing 25/138: [bigarray-compat: dune build] [cmdliner: make all] [csexp: dune build]
Processing 26/138: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build]
-> retrieved integers.0.7.0  (cached)
Processing 27/138: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build]
-> retrieved jane-street-headers.v0.16.0  (cached)
-> retrieved libtorch.1.0.1  (cached)
Processing 28/138: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build]
Processing 29/138: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build]
Processing 30/138: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build] [jane-street-headers: dune build]
Processing 31/138: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build] [jane-street-headers: dune build]
Processing 32/138: [bigarray-compat: dune build] [camlzip: make all] [cmdliner: make all] [csexp: dune build] [jane-street-headers: dune build] [libtorch: sh]
-> compiled  bigarray-compat.1.1.0
Processing 32/138: [camlzip: make all] [cmdliner: make all] [csexp: dune build] [jane-street-headers: dune build] [libtorch: sh]
-> retrieved dune-configurator.3.16.0  (cached)
Processing 33/138: [camlzip: make all] [cmdliner: make all] [csexp: dune build] [jane-street-headers: dune build] [libtorch: sh]
- ocaml build.ml cma
- ocaml build.ml cmxa
- ocaml build.ml cmxs
-> compiled  cmdliner.1.3.0
Processing 33/138: [camlzip: make all] [csexp: dune build] [jane-street-headers: dune build] [libtorch: sh]
-> compiled  csexp.1.5.2
Processing 33/138: [camlzip: make all] [jane-street-headers: dune build] [libtorch: sh]
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c -ccopt -g  zlibstubs.c
- ocamlfind ocamlmklib -oc camlzip zlibstubs.o  -lz
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c zlib.mli
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c zlib.ml
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c zip.mli
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c zip.ml
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c gzip.mli
- ocamlfind ocamlc -g -safe-string -bin-annot -package unix -c gzip.ml
- ocamlfind ocamlmklib -o zip -oc camlzip zlib.cmo zip.cmo gzip.cmo  -lz
- ocamlfind ocamlopt -safe-string -package unix -c zlib.ml
- ocamlfind ocamlopt -safe-string -package unix -c zip.ml
- ocamlfind ocamlopt -safe-string -package unix -c gzip.ml
- ocamlfind ocamlmklib -o zip -oc camlzip zlib.cmx zip.cmx gzip.cmx  -lz
- ocamlfind ocamlopt -safe-string -package unix -shared -linkall -I ./ -o zip.cmxs zip.cmxa libcamlzip.a
-> compiled  camlzip.1.12
Processing 33/138: [jane-street-headers: dune build] [libtorch: sh]
-> retrieved jst-config.v0.16.0  (cached)
Processing 34/138: [jane-street-headers: dune build] [libtorch: sh]
-> retrieved npy.0.0.9  (cached)
Processing 35/138: [jane-street-headers: dune build] [libtorch: sh]
-> compiled  jane-street-headers.v0.16.0
Processing 35/138: [libtorch: sh]
-> retrieved num.1.5-1  (cached)
Processing 36/138: [libtorch: sh]
[num: patch] applying num-in-findlib-dir.patch
Processing 37/138: [num: patch] [libtorch: sh]
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
Processing 38/138: [num: patch] [libtorch: sh]
Processing 39/138: [num: patch] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved parsexp.v0.16.0  (cached)
Processing 40/138: [num: patch] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved ppx_assert.v0.16.0  (cached)
Processing 41/138: [num: patch] [ocaml-compiler-libs: dune build] [libtorch: sh]
Processing 41/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved ppx_base.v0.16.0  (cached)
Processing 42/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved ppx_cold.v0.16.0  (cached)
Processing 43/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved ppx_compare.v0.16.0  (cached)
Processing 44/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved ppx_custom_printf.v0.16.0  (cached)
Processing 45/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved ppx_derivers.1.2.1  (cached)
Processing 46/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
Processing 47/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_enumerate.v0.16.0  (cached)
Processing 48/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_expect.v0.16.0  (cached)
Processing 49/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_globalize.v0.16.0  (cached)
Processing 50/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_hash.v0.16.0  (cached)
Processing 51/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_here.v0.16.0  (cached)
Processing 52/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_inline_test.v0.16.1  (cached)
Processing 53/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_optcomp.v0.16.0  (cached)
Processing 54/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved ppx_sexp_conv.v0.16.0  (cached)
Processing 55/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> retrieved re.1.12.0  (cached)
-> retrieved seq.base  (cached)
Processing 56/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
Processing 57/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
Processing 58/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [ppx_derivers: dune build] [libtorch: sh]
-> compiled  ppx_derivers.1.2.1
Processing 58/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
-> retrieved result.1.5  (cached)
Processing 59/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [libtorch: sh]
Processing 60/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [libtorch: sh]
-> retrieved ppxlib.0.33.0  (cached)
Processing 61/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [libtorch: sh]
-> retrieved sexplib.v0.16.0  (cached)
Processing 62/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [libtorch: sh]
-> retrieved sexplib0.v0.16.0  (cached)
Processing 63/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [libtorch: sh]
Processing 64/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [sexplib0: dune build] [libtorch: sh]
-> retrieved stb_image.0.5  (cached)
Processing 65/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [sexplib0: dune build] [libtorch: sh]
-> retrieved stb_image_write.0.2  (cached)
Processing 66/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [sexplib0: dune build] [libtorch: sh]
Processing 67/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [sexplib0: dune build] [stb_image_write: make] [libtorch: sh]
-> retrieved stdio.v0.16.0  (cached)
Processing 68/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [sexplib0: dune build] [stb_image_write: make] [libtorch: sh]
-> retrieved stdlib-shims.0.3.0  (cached)
Processing 69/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [result: dune build] [sexplib0: dune build] [stb_image_write: make] [stdlib-shims: dune build] [libtorch: sh]
-> retrieved time_now.v0.16.0  (cached)
-> retrieved torch.0.2  (cached)
-> compiled  result.1.5
Processing 69/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stb_image_write: make] [stdlib-shims: dune build] [libtorch: sh]
-> compiled  stdlib-shims.0.3.0
Processing 69/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stb_image_write: make] [libtorch: sh]
- Archive:  libtorch-linux.zip
-    creating: libtorch/
-    creating: libtorch/lib/
-   inflating: libtorch/lib/libgtest.a  
-   inflating: libtorch/lib/libbenchmark.a  
-   inflating: libtorch/lib/libonnx_proto.a  
-   inflating: libtorch/lib/libonnxifi_loader.a  
-   inflating: libtorch/lib/libclog.a  
-   inflating: libtorch/lib/libprotobuf-lite.a  
-   inflating: libtorch/lib/libmkldnn.so  
-   inflating: libtorch/lib/libonnxifi_dummy.so  
-   inflating: libtorch/lib/libTHD.a   
-   inflating: libtorch/lib/libcaffe2.so  
-   inflating: libtorch/lib/libcaffe2_module_test_dynamic.so  
-   inflating: libtorch/lib/libprotoc.a  
-   inflating: libtorch/lib/libnnpack_reference_layers.a  
-   inflating: libtorch/lib/libcaffe2_protos.a  
-   inflating: libtorch/lib/libmkldnn.so.0.14.0  
-   inflating: libtorch/lib/libgomp-7bcb08ae.so.1  
-   inflating: libtorch/lib/libgloo_builder.a  
-   inflating: libtorch/lib/libmkldnn.so.0  
-   inflating: libtorch/lib/libonnx.a  
-   inflating: libtorch/lib/libc10d.a  
-   inflating: libtorch/lib/libtorch.so  
-   inflating: libtorch/lib/libbenchmark_main.a  
-   inflating: libtorch/lib/libonnxifi.so  
-   inflating: libtorch/lib/libnnpack.a  
-   inflating: libtorch/lib/libtorch.so.1  
-   inflating: libtorch/lib/libc10.so  
-   inflating: libtorch/lib/libgtest_main.a  
-   inflating: libtorch/lib/libgloo.a  
-   inflating: libtorch/lib/libpthreadpool.a  
-   inflating: libtorch/lib/libprotobuf.a  
-   inflating: libtorch/lib/libcpuinfo.a  
-    creating: libtorch/share/
-    creating: libtorch/share/cmake/
-    creating: libtorch/share/cmake/Caffe2/
-   inflating: libtorch/share/cmake/Caffe2/Caffe2Targets-release.cmake  
-    creating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/
-    creating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/CMakeInitializeConfigs.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindPackageMessage.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindPackageHandleStandardArgs.cmake  
-    creating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA/
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA/run_nvcc.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA/parse_cubin.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA/select_compute_arch.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/upstream/FindCUDA/make2cmake.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Modules_CUDA_fix/FindCUDA.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Caffe2Config.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Caffe2Targets.cmake  
-    creating: libtorch/share/cmake/Caffe2/public/
-   inflating: libtorch/share/cmake/Caffe2/public/utils.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/protobuf.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/gflags.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/glog.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/threads.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/mkldnn.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/cuda.cmake  
-   inflating: libtorch/share/cmake/Caffe2/public/mkl.cmake  
-   inflating: libtorch/share/cmake/Caffe2/Caffe2ConfigVersion.cmake  
-    creating: libtorch/share/cmake/Gloo/
-   inflating: libtorch/share/cmake/Gloo/GlooConfig.cmake  
-   inflating: libtorch/share/cmake/Gloo/GlooTargets.cmake  
-   inflating: libtorch/share/cmake/Gloo/GlooTargets-release.cmake  
-   inflating: libtorch/share/cmake/Gloo/GlooConfigVersion.cmake  
-    creating: libtorch/share/cmake/ATen/
-   inflating: libtorch/share/cmake/ATen/ATenConfig.cmake  
-    creating: libtorch/share/cmake/Torch/
-   inflating: libtorch/share/cmake/Torch/TorchConfig.cmake  
-   inflating: libtorch/share/cmake/Torch/TorchConfigVersion.cmake  
-  extracting: libtorch/build-version  
-    creating: libtorch/bin/
-    creating: libtorch/include/
-    creating: libtorch/include/pybind11/
-   inflating: libtorch/include/pybind11/chrono.h  
-   inflating: libtorch/include/pybind11/pytypes.h  
-   inflating: libtorch/include/pybind11/eigen.h  
-    creating: libtorch/include/pybind11/detail/
-   inflating: libtorch/include/pybind11/detail/init.h  
-   inflating: libtorch/include/pybind11/detail/common.h  
-   inflating: libtorch/include/pybind11/detail/class.h  
-   inflating: libtorch/include/pybind11/detail/descr.h  
-   inflating: libtorch/include/pybind11/detail/internals.h  
-   inflating: libtorch/include/pybind11/detail/typeid.h  
-   inflating: libtorch/include/pybind11/eval.h  
-   inflating: libtorch/include/pybind11/options.h  
-   inflating: libtorch/include/pybind11/iostream.h  
-   inflating: libtorch/include/pybind11/embed.h  
-   inflating: libtorch/include/pybind11/attr.h  
-   inflating: libtorch/include/pybind11/buffer_info.h  
-   inflating: libtorch/include/pybind11/functional.h  
-   inflating: libtorch/include/pybind11/common.h  
-   inflating: libtorch/include/pybind11/pybind11.h  
-   inflating: libtorch/include/pybind11/stl_bind.h  
-   inflating: libtorch/include/pybind11/stl.h  
-   inflating: libtorch/include/pybind11/numpy.h  
-   inflating: libtorch/include/pybind11/cast.h  
-   inflating: libtorch/include/pybind11/operators.h  
-   inflating: libtorch/include/pybind11/complex.h  
-    creating: libtorch/include/torch/
-   inflating: libtorch/include/torch/extension.h  
-   inflating: libtorch/include/torch/script.h  
-    creating: libtorch/include/torch/csrc/
-   inflating: libtorch/include/torch/csrc/THP_export.h  
-   inflating: libtorch/include/torch/csrc/Module.h  
-   inflating: libtorch/include/torch/csrc/DataLoader.h  
-   inflating: libtorch/include/torch/csrc/WindowsTorchApiMacro.h  
-   inflating: libtorch/include/torch/csrc/PythonTypes.h  
-   inflating: libtorch/include/torch/csrc/serialization.h  
-   inflating: libtorch/include/torch/csrc/StorageDefs.h  
-   inflating: libtorch/include/torch/csrc/Dtype.h  
-   inflating: libtorch/include/torch/csrc/PtrWrapper.h  
-    creating: libtorch/include/torch/csrc/api/
-    creating: libtorch/include/torch/csrc/api/include/
-    creating: libtorch/include/torch/csrc/api/include/torch/
-   inflating: libtorch/include/torch/csrc/api/include/torch/all.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/data/
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/example.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/dataloader_options.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/data/detail/
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/detail/sequencers.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/detail/queue.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/detail/data_shuttle.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/datasets.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/data/transforms/
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/transforms/tensor.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/transforms/base.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/transforms/collate.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/transforms/stack.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/transforms/lambda.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/worker_exception.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/dataloader.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/iterator.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/data/samplers/
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers/base.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers/stream.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers/custom_batch_request.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers/sequential.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers/serialize.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers/random.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/data/datasets/
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/datasets/map.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/datasets/tensor.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/datasets/base.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/datasets/shared.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/datasets/mnist.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/samplers.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data/transforms.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/detail/
-   inflating: libtorch/include/torch/csrc/api/include/torch/detail/static.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/jit.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/expanding_array.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/torch.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/cuda.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/utils.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/optim/
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/lbfgs.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/sgd.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/optimizer.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/adam.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/rmsprop.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/adagrad.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/optim/serialize.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/nn/
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/pimpl-inl.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/nn/modules/
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/batchnorm.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/rnn.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/embedding.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/linear.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/any.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/functional.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/dropout.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/sequential.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules/conv.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/cloneable.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/init.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/nn/parallel/
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/parallel/data_parallel.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/pimpl.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/module.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn/modules.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/data.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/arg.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/python.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/ordered_dict.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/types.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/nn.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/serialize.h  
-    creating: libtorch/include/torch/csrc/api/include/torch/serialize/
-   inflating: libtorch/include/torch/csrc/api/include/torch/serialize/input-archive.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/serialize/tensor.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/serialize/archive.h  
-   inflating: libtorch/include/torch/csrc/api/include/torch/serialize/output-archive.h  
-   inflating: libtorch/include/torch/csrc/byte_order.h  
-   inflating: libtorch/include/torch/csrc/Storage.h  
-   inflating: libtorch/include/torch/csrc/Layout.h  
-   inflating: libtorch/include/torch/csrc/DynamicTypes.h  
-   inflating: libtorch/include/torch/csrc/Generator.h  
-    creating: libtorch/include/torch/csrc/utils/
-   inflating: libtorch/include/torch/csrc/utils/tensor_new.h  
-   inflating: libtorch/include/torch/csrc/utils/python_scalars.h  
-   inflating: libtorch/include/torch/csrc/utils/numpy_stub.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_numpy.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_list.h  
-   inflating: libtorch/include/torch/csrc/utils/python_stub.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_flatten.h  
-   inflating: libtorch/include/torch/csrc/utils/tuple_parser.h  
-   inflating: libtorch/include/torch/csrc/utils/disallow_copy.h  
-   inflating: libtorch/include/torch/csrc/utils/python_tuples.h  
-   inflating: libtorch/include/torch/csrc/utils/hash.h  
-   inflating: libtorch/include/torch/csrc/utils/auto_gil.h  
-   inflating: libtorch/include/torch/csrc/utils/memory.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_layouts.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_dtypes.h  
-   inflating: libtorch/include/torch/csrc/utils/invalid_arguments.h  
-   inflating: libtorch/include/torch/csrc/utils/python_compat.h  
-   inflating: libtorch/include/torch/csrc/utils/python_arg_parser.h  
-   inflating: libtorch/include/torch/csrc/utils/variadic.h  
-   inflating: libtorch/include/torch/csrc/utils/cuda_lazy_init.h  
-   inflating: libtorch/include/torch/csrc/utils/functional.h  
-   inflating: libtorch/include/torch/csrc/utils/object_ptr.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_types.h  
-   inflating: libtorch/include/torch/csrc/utils/cuda_enabled.h  
-   inflating: libtorch/include/torch/csrc/utils/tempfile.h  
-   inflating: libtorch/include/torch/csrc/utils/pybind.h  
-   inflating: libtorch/include/torch/csrc/utils/python_strings.h  
-   inflating: libtorch/include/torch/csrc/utils/tensor_apply.h  
-   inflating: libtorch/include/torch/csrc/utils/python_numbers.h  
-   inflating: libtorch/include/torch/csrc/THP.h  
-   inflating: libtorch/include/torch/csrc/Exceptions.h  
-   inflating: libtorch/include/torch/csrc/utils.h  
-   inflating: libtorch/include/torch/csrc/THP_API.h  
-   inflating: libtorch/include/torch/csrc/Size.h  
-   inflating: libtorch/include/torch/csrc/variable_tensor_functions.h  
-   inflating: libtorch/include/torch/csrc/Types.h  
-    creating: libtorch/include/torch/csrc/autograd/
-   inflating: libtorch/include/torch/csrc/autograd/variable.h  
-   inflating: libtorch/include/torch/csrc/autograd/VariableTypeUtils.h  
-   inflating: libtorch/include/torch/csrc/autograd/variable_version.h  
-   inflating: libtorch/include/torch/csrc/autograd/function_hook.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_variable.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_legacy_variable.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_variable_indexing.h  
-   inflating: libtorch/include/torch/csrc/autograd/engine.h  
-   inflating: libtorch/include/torch/csrc/autograd/input_buffer.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_hook.h  
-   inflating: libtorch/include/torch/csrc/autograd/saved_variable.h  
-   inflating: libtorch/include/torch/csrc/autograd/grad_mode.h  
-   inflating: libtorch/include/torch/csrc/autograd/function.h  
-   inflating: libtorch/include/torch/csrc/autograd/anomaly_mode.h  
-   inflating: libtorch/include/torch/csrc/autograd/autograd.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_function.h  
-    creating: libtorch/include/torch/csrc/autograd/generated/
-   inflating: libtorch/include/torch/csrc/autograd/generated/python_nn_functions.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/python_functions.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/python_nn_functions_dispatch.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/Functions.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/variable_factories.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/python_torch_functions_dispatch.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/python_variable_methods_dispatch.h  
-   inflating: libtorch/include/torch/csrc/autograd/generated/VariableType.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_cpp_function.h  
-   inflating: libtorch/include/torch/csrc/autograd/symbolic.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_anomaly_mode.h  
-   inflating: libtorch/include/torch/csrc/autograd/edge.h  
-   inflating: libtorch/include/torch/csrc/autograd/profiler.h  
-   inflating: libtorch/include/torch/csrc/autograd/input_metadata.h  
-  extracting: libtorch/include/torch/csrc/autograd/type_and_shape.h  
-   inflating: libtorch/include/torch/csrc/autograd/python_engine.h  
-   inflating: libtorch/include/torch/csrc/Device.h  
-   inflating: libtorch/include/torch/csrc/python_headers.h  
-    creating: libtorch/include/torch/csrc/cuda/
-   inflating: libtorch/include/torch/csrc/cuda/override_macros.h  
-   inflating: libtorch/include/torch/csrc/cuda/cuda_check.h  
-   inflating: libtorch/include/torch/csrc/cuda/Module.h  
-   inflating: libtorch/include/torch/csrc/cuda/serialization.h  
-   inflating: libtorch/include/torch/csrc/cuda/THCP.h  
-   inflating: libtorch/include/torch/csrc/cuda/Stream.h  
-   inflating: libtorch/include/torch/csrc/cuda/undef_macros.h  
-   inflating: libtorch/include/torch/csrc/cuda/Storage.h  
-   inflating: libtorch/include/torch/csrc/cuda/nccl.h  
-   inflating: libtorch/include/torch/csrc/cuda/python_comm.h  
-   inflating: libtorch/include/torch/csrc/cuda/utils.h  
-   inflating: libtorch/include/torch/csrc/cuda/restore_macros.h  
-   inflating: libtorch/include/torch/csrc/cuda/device_set.h  
-   inflating: libtorch/include/torch/csrc/cuda/comm.h  
-   inflating: libtorch/include/torch/csrc/cuda/python_nccl.h  
-    creating: libtorch/include/torch/csrc/jit/
-   inflating: libtorch/include/torch/csrc/jit/python_arg_flatten.h  
-   inflating: libtorch/include/torch/csrc/jit/code_template.h  
-   inflating: libtorch/include/torch/csrc/jit/function_schema.h  
-    creating: libtorch/include/torch/csrc/jit/passes/
-   inflating: libtorch/include/torch/csrc/jit/passes/canonicalize_ops.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/to_batch.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/dead_code_elimination.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/loop_unrolling.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/constant_pooling.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/canonicalize.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/requires_grad_analysis.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/create_autodiff_subgraphs.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/onnx.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/lower_grad_of.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/graph_fuser.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/inplace_check.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/shape_analysis.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/remove_inplace_ops.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/lower_tuples.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/alias_analysis.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/batch_mm.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/peephole.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/inline_autodiff_subgraphs.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/python_print.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/specialize_undef.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/remove_expands.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/constant_propagation.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/erase_number_types.h  
-   inflating: libtorch/include/torch/csrc/jit/passes/common_subexpression_elimination.h  
-   inflating: libtorch/include/torch/csrc/jit/symbolic_variable.h  
-   inflating: libtorch/include/torch/csrc/jit/alias_info.h  
-   inflating: libtorch/include/torch/csrc/jit/node_hashing.h  
-   inflating: libtorch/include/torch/csrc/jit/tracer.h  
-   inflating: libtorch/include/torch/csrc/jit/argument_spec.h  
-   inflating: libtorch/include/torch/csrc/jit/assertions.h  
-   inflating: libtorch/include/torch/csrc/jit/python_tracer.h  
-   inflating: libtorch/include/torch/csrc/jit/operator.h  
-   inflating: libtorch/include/torch/csrc/jit/python_ir.h  
-   inflating: libtorch/include/torch/csrc/jit/type.h  
-   inflating: libtorch/include/torch/csrc/jit/generic_if.h  
-   inflating: libtorch/include/torch/csrc/jit/dynamic_dag.h  
-   inflating: libtorch/include/torch/csrc/jit/import.h  
-   inflating: libtorch/include/torch/csrc/jit/init.h  
-   inflating: libtorch/include/torch/csrc/jit/export.h  
-   inflating: libtorch/include/torch/csrc/jit/import_method.h  
-   inflating: libtorch/include/torch/csrc/jit/pybind_utils.h  
-   inflating: libtorch/include/torch/csrc/jit/stack.h  
-   inflating: libtorch/include/torch/csrc/jit/interned_strings.h  
-  extracting: libtorch/include/torch/csrc/jit/interned_strings_class.h  
-   inflating: libtorch/include/torch/csrc/jit/variable_tensor_list.h  
-   inflating: libtorch/include/torch/csrc/jit/constants.h  
-   inflating: libtorch/include/torch/csrc/jit/custom_operator.h  
-   inflating: libtorch/include/torch/csrc/jit/autodiff.h  
-   inflating: libtorch/include/torch/csrc/jit/source_range.h  
-   inflating: libtorch/include/torch/csrc/jit/resource_guard.h  
-   inflating: libtorch/include/torch/csrc/jit/scope.h  
-   inflating: libtorch/include/torch/csrc/jit/source_location.h  
-    creating: libtorch/include/torch/csrc/jit/script/
-   inflating: libtorch/include/torch/csrc/jit/script/compiler.h  
-   inflating: libtorch/include/torch/csrc/jit/script/builtin_functions.h  
-   inflating: libtorch/include/torch/csrc/jit/script/python_tree_views.h  
-   inflating: libtorch/include/torch/csrc/jit/script/init.h  
-   inflating: libtorch/include/torch/csrc/jit/script/lexer.h  
-   inflating: libtorch/include/torch/csrc/jit/script/error_report.h  
-   inflating: libtorch/include/torch/csrc/jit/script/jit_exception.h  
-   inflating: libtorch/include/torch/csrc/jit/script/parser.h  
-   inflating: libtorch/include/torch/csrc/jit/script/tree_views.h  
-   inflating: libtorch/include/torch/csrc/jit/script/tree.h  
-   inflating: libtorch/include/torch/csrc/jit/script/parse_string_literal.h  
-   inflating: libtorch/include/torch/csrc/jit/script/module.h  
-   inflating: libtorch/include/torch/csrc/jit/ir.h  
-   inflating: libtorch/include/torch/csrc/jit/hooks_for_testing.h  
-   inflating: libtorch/include/torch/csrc/jit/attributes.h  
-   inflating: libtorch/include/torch/csrc/jit/graph_executor.h  
-   inflating: libtorch/include/torch/csrc/jit/ir_views.h  
-   inflating: libtorch/include/torch/csrc/jit/pybind.h  
-   inflating: libtorch/include/torch/csrc/jit/graph_node_list.h  
-   inflating: libtorch/include/torch/csrc/jit/interpreter.h  
-   inflating: libtorch/include/torch/csrc/jit/tracing_state.h  
-   inflating: libtorch/include/torch/csrc/jit/named_value.h  
-   inflating: libtorch/include/torch/csrc/jit/ivalue.h  
-   inflating: libtorch/include/torch/csrc/copy_utils.h  
-   inflating: libtorch/include/torch/csrc/TypeInfo.h  
-    creating: libtorch/include/c10/
-   inflating: libtorch/include/c10/Half-inl.h  
-    creating: libtorch/include/c10/core/
-   inflating: libtorch/include/c10/core/Allocator.h  
-   inflating: libtorch/include/c10/core/bitcasts.h  
-   inflating: libtorch/include/c10/core/ScalarType.h  
-   inflating: libtorch/include/c10/core/Storage.h  
-   inflating: libtorch/include/c10/core/StorageImpl.h  
-   inflating: libtorch/include/c10/core/Layout.h  
-   inflating: libtorch/include/c10/core/Scalar.h  
-   inflating: libtorch/include/c10/core/TensorTypeIdRegistration.h  
-   inflating: libtorch/include/c10/core/TensorTypeId.h  
-   inflating: libtorch/include/c10/core/Backend.h  
-   inflating: libtorch/include/c10/core/ScalarTypeUtils.h  
-    creating: libtorch/include/c10/impl/
-   inflating: libtorch/include/c10/impl/FakeGuardImpl.h  
-   inflating: libtorch/include/c10/impl/InlineDeviceGuard.h  
-   inflating: libtorch/include/c10/impl/VirtualGuardImpl.h  
-   inflating: libtorch/include/c10/impl/DeviceGuardImplInterface.h  
-   inflating: libtorch/include/c10/impl/InlineStreamGuard.h  
-   inflating: libtorch/include/c10/Half.h  
-   inflating: libtorch/include/c10/Stream.h  
-    creating: libtorch/include/c10/macros/
-   inflating: libtorch/include/c10/macros/Macros.h  
-   inflating: libtorch/include/c10/macros/cmake_macros.h  
-   inflating: libtorch/include/c10/macros/Export.h  
-    creating: libtorch/include/c10/util/
-   inflating: libtorch/include/c10/util/Metaprogramming.h  
-   inflating: libtorch/include/c10/util/Type.h  
-   inflating: libtorch/include/c10/util/UniqueVoidPtr.h  
-   inflating: libtorch/include/c10/util/Backtrace.h  
-   inflating: libtorch/include/c10/util/Logging.h  
-   inflating: libtorch/include/c10/util/AlignOf.h  
-   inflating: libtorch/include/c10/util/TypeTraits.h  
-   inflating: libtorch/include/c10/util/TypeList.h  
-   inflating: libtorch/include/c10/util/logging_is_not_google_glog.h  
-   inflating: libtorch/include/c10/util/Registry.h  
-   inflating: libtorch/include/c10/util/string_utils.h  
-   inflating: libtorch/include/c10/util/C++17.h  
-   inflating: libtorch/include/c10/util/Exception.h  
-   inflating: libtorch/include/c10/util/Optional.h  
-   inflating: libtorch/include/c10/util/IdWrapper.h  
-   inflating: libtorch/include/c10/util/Flags.h  
-   inflating: libtorch/include/c10/util/logging_is_google_glog.h  
-   inflating: libtorch/include/c10/util/flat_hash_map.h  
-   inflating: libtorch/include/c10/util/SmallVector.h  
-   inflating: libtorch/include/c10/util/intrusive_ptr.h  
-   inflating: libtorch/include/c10/util/StringUtil.h  
-   inflating: libtorch/include/c10/util/Array.h  
-   inflating: libtorch/include/c10/util/ArrayRef.h  
-   inflating: libtorch/include/c10/util/typeid.h  
-   inflating: libtorch/include/c10/util/LeftRight.h  
-   inflating: libtorch/include/c10/DeviceType.h  
-   inflating: libtorch/include/c10/StreamGuard.h  
-   inflating: libtorch/include/c10/DeviceGuard.h  
-   inflating: libtorch/include/c10/Device.h  
-    creating: libtorch/include/c10/cuda/
-   inflating: libtorch/include/c10/cuda/CUDAMathCompat.h  
-    creating: libtorch/include/c10/cuda/impl/
-   inflating: libtorch/include/c10/cuda/impl/CUDATest.h  
-   inflating: libtorch/include/c10/cuda/CUDAMacros.h  
-   inflating: libtorch/include/c10/cuda/CUDAFunctions.h  
-   inflating: libtorch/include/c10/cuda/CUDAException.h  
-    creating: libtorch/include/caffe2/
-    creating: libtorch/include/caffe2/core/
-   inflating: libtorch/include/caffe2/core/blob_serialization.h  
-   inflating: libtorch/include/caffe2/core/net_simple_refcount.h  
-   inflating: libtorch/include/caffe2/core/tensor.h  
-   inflating: libtorch/include/caffe2/core/scope_guard.h  
-   inflating: libtorch/include/caffe2/core/operator_c10wrapper.h  
-   inflating: libtorch/include/caffe2/core/qtensor.h  
-   inflating: libtorch/include/caffe2/core/flags.h  
-   inflating: libtorch/include/caffe2/core/macros.h  
-   inflating: libtorch/include/caffe2/core/net_dag_utils.h  
-   inflating: libtorch/include/caffe2/core/common_gpu.h  
-   inflating: libtorch/include/caffe2/core/asan.h  
-   inflating: libtorch/include/caffe2/core/net.h  
-   inflating: libtorch/include/caffe2/core/blob_serializer_base.h  
-   inflating: libtorch/include/caffe2/core/operator_gradient.h  
-   inflating: libtorch/include/caffe2/core/stats.h  
-   inflating: libtorch/include/caffe2/core/plan_executor.h  
-   inflating: libtorch/include/caffe2/core/tensor_impl.h  
-   inflating: libtorch/include/caffe2/core/blob_stats.h  
-   inflating: libtorch/include/caffe2/core/event_cpu.h  
-   inflating: libtorch/include/caffe2/core/event.h  
-   inflating: libtorch/include/caffe2/core/logging.h  
-   inflating: libtorch/include/caffe2/core/THCCachingAllocator_gpu.h  
-   inflating: libtorch/include/caffe2/core/operator.h  
-   inflating: libtorch/include/caffe2/core/net_simple.h  
-   inflating: libtorch/include/caffe2/core/cudnn_wrappers.h  
-   inflating: libtorch/include/caffe2/core/numa.h  
-   inflating: libtorch/include/caffe2/core/timer.h  
-   inflating: libtorch/include/caffe2/core/context_base.h  
-   inflating: libtorch/include/caffe2/core/storage.h  
-   inflating: libtorch/include/caffe2/core/net_async_tracing.h  
-   inflating: libtorch/include/caffe2/core/blob.h  
-   inflating: libtorch/include/caffe2/core/static_tracepoint.h  
-   inflating: libtorch/include/caffe2/core/init.h  
-   inflating: libtorch/include/caffe2/core/graph.h  
-   inflating: libtorch/include/caffe2/core/operator_schema.h  
-   inflating: libtorch/include/caffe2/core/net_async_base.h  
-   inflating: libtorch/include/caffe2/core/context_gpu.h  
-   inflating: libtorch/include/caffe2/core/prof_dag_counters.h  
-   inflating: libtorch/include/caffe2/core/allocator.h  
-   inflating: libtorch/include/caffe2/core/static_tracepoint_elfx86.h  
-   inflating: libtorch/include/caffe2/core/db.h  
-   inflating: libtorch/include/caffe2/core/observer.h  
-   inflating: libtorch/include/caffe2/core/qtensor_serialization.h  
-   inflating: libtorch/include/caffe2/core/common.h  
-   inflating: libtorch/include/caffe2/core/context.h  
-   inflating: libtorch/include/caffe2/core/common_omp.h  
-   inflating: libtorch/include/caffe2/core/transform.h  
-   inflating: libtorch/include/caffe2/core/net_async_scheduling.h  
-   inflating: libtorch/include/caffe2/core/common_cudnn.h  
-   inflating: libtorch/include/caffe2/core/types.h  
-   inflating: libtorch/include/caffe2/core/workspace.h  
-   inflating: libtorch/include/caffe2/core/tensor_int8.h  
-   inflating: libtorch/include/caffe2/core/memonger.h  
-   inflating: libtorch/include/caffe2/core/module.h  
-    creating: libtorch/include/caffe2/utils/
-   inflating: libtorch/include/caffe2/utils/map_utils.h  
-   inflating: libtorch/include/caffe2/utils/math-detail.h  
-   inflating: libtorch/include/caffe2/utils/murmur_hash3.h  
-   inflating: libtorch/include/caffe2/utils/smart_tensor_printer.h  
-   inflating: libtorch/include/caffe2/utils/math_utils.h  
-   inflating: libtorch/include/caffe2/utils/cpu_neon.h  
-   inflating: libtorch/include/caffe2/utils/fixed_divisor.h  
-   inflating: libtorch/include/caffe2/utils/zmq_helper.h  
-   inflating: libtorch/include/caffe2/utils/proto_convert.h  
-   inflating: libtorch/include/caffe2/utils/proto_wrap.h  
-   inflating: libtorch/include/caffe2/utils/simple_queue.h  
-   inflating: libtorch/include/caffe2/utils/math.h  
-   inflating: libtorch/include/caffe2/utils/proto_utils.h  
-   inflating: libtorch/include/caffe2/utils/string_utils.h  
-   inflating: libtorch/include/caffe2/utils/eigen_utils.h  
-   inflating: libtorch/include/caffe2/utils/thread_name.h  
-   inflating: libtorch/include/caffe2/utils/conversions.h  
-   inflating: libtorch/include/caffe2/utils/signal_handler.h  
-   inflating: libtorch/include/caffe2/utils/cblas.h  
-   inflating: libtorch/include/caffe2/utils/filler.h  
-   inflating: libtorch/include/caffe2/utils/thread_pool.h  
-   inflating: libtorch/include/caffe2/utils/bench_utils.h  
-   inflating: libtorch/include/caffe2/utils/cpuid.h  
-   inflating: libtorch/include/caffe2/utils/cast.h  
-    creating: libtorch/include/caffe2/proto/
-   inflating: libtorch/include/caffe2/proto/prof_dag.pb.h  
-   inflating: libtorch/include/caffe2/proto/caffe2_legacy.pb.h  
-   inflating: libtorch/include/caffe2/proto/torch.pb.h  
-   inflating: libtorch/include/caffe2/proto/caffe2_pb.h  
-   inflating: libtorch/include/caffe2/proto/torch_pb.h  
-   inflating: libtorch/include/caffe2/proto/hsm.pb.h  
-   inflating: libtorch/include/caffe2/proto/caffe2.pb.h  
-   inflating: libtorch/include/caffe2/proto/predictor_consts.pb.h  
-   inflating: libtorch/include/caffe2/proto/metanet.pb.h  
-    creating: libtorch/include/ATen/
-   inflating: libtorch/include/ATen/MatrixRef.h  
-   inflating: libtorch/include/ATen/dlpack.h  
-   inflating: libtorch/include/ATen/SparseCPUFloatType.h  
-   inflating: libtorch/include/ATen/Dispatch.h  
-   inflating: libtorch/include/ATen/LegacyTHDispatch.h  
-   inflating: libtorch/include/ATen/UndefinedType.h  
-   inflating: libtorch/include/ATen/InitialTensorOptions.h  
-   inflating: libtorch/include/ATen/SparseCUDAByteType.h  
-  extracting: libtorch/include/ATen/Type.h  
-    creating: libtorch/include/ATen/core/
-   inflating: libtorch/include/ATen/core/VariableHooksInterface.h  
-   inflating: libtorch/include/ATen/core/Macros.h  
-   inflating: libtorch/include/ATen/core/Type.h  
-   inflating: libtorch/include/ATen/core/TensorOptions.h  
-   inflating: libtorch/include/ATen/core/Backtrace.h  
-   inflating: libtorch/include/ATen/core/function_schema.h  
-  extracting: libtorch/include/ATen/core/Half.h  
-   inflating: libtorch/include/ATen/core/ATenGeneral.h  
-   inflating: libtorch/include/ATen/core/DimVector.h  
-   inflating: libtorch/include/ATen/core/TensorAccessor.h  
-   inflating: libtorch/include/ATen/core/LegacyTypeDispatch.h  
-   inflating: libtorch/include/ATen/core/Deprecated.h  
-  extracting: libtorch/include/ATen/core/ScalarType.h  
-   inflating: libtorch/include/ATen/core/alias_info.h  
-   inflating: libtorch/include/ATen/core/TensorImpl.h  
-   inflating: libtorch/include/ATen/core/Range.h  
-   inflating: libtorch/include/ATen/core/SparseTensorRef.h  
-   inflating: libtorch/include/ATen/core/Generator.h  
-   inflating: libtorch/include/ATen/core/context_base.h  
-  extracting: libtorch/include/ATen/core/Scalar.h  
-   inflating: libtorch/include/ATen/core/aten_interned_strings.h  
-   inflating: libtorch/include/ATen/core/DefaultDtype.h  
-   inflating: libtorch/include/ATen/core/blob.h  
-   inflating: libtorch/include/ATen/core/Formatting.h  
-   inflating: libtorch/include/ATen/core/Reduction.h  
-   inflating: libtorch/include/ATen/core/TensorMethods.h  
-   inflating: libtorch/include/ATen/core/WrapDimMinimal.h  
-   inflating: libtorch/include/ATen/core/LegacyDeviceTypeInit.h  
-   inflating: libtorch/include/ATen/core/interned_strings.h  
-   inflating: libtorch/include/ATen/core/functional.h  
-   inflating: libtorch/include/ATen/core/interned_strings_class.h  
-   inflating: libtorch/include/ATen/core/thread_pool.h  
-   inflating: libtorch/include/ATen/core/jit_type.h  
-   inflating: libtorch/include/ATen/core/UndefinedTensorImpl.h  
-   inflating: libtorch/include/ATen/core/Tensor.h  
-  extracting: libtorch/include/ATen/core/typeid.h  
-   inflating: libtorch/include/ATen/core/ivalue.h  
-   inflating: libtorch/include/ATen/DLConvertor.h  
-   inflating: libtorch/include/ATen/CPUDoubleType.h  
-  extracting: libtorch/include/ATen/TensorOptions.h  
-   inflating: libtorch/include/ATen/NativeFunctions.h  
-   inflating: libtorch/include/ATen/SparseCUDAShortType.h  
-  extracting: libtorch/include/ATen/Allocator.h  
-   inflating: libtorch/include/ATen/WrapDimUtils.h  
-   inflating: libtorch/include/ATen/LegacyTHDispatcher.h  
-  extracting: libtorch/include/ATen/Backtrace.h  
-  extracting: libtorch/include/ATen/Half.h  
-  extracting: libtorch/include/ATen/DimVector.h  
-   inflating: libtorch/include/ATen/TypeExtendedInterface.h  
-   inflating: libtorch/include/ATen/Config.h  
-   inflating: libtorch/include/ATen/TensorAccessor.h  
-   inflating: libtorch/include/ATen/ScalarType.h  
-   inflating: libtorch/include/ATen/WrapDimUtilsMulti.h  
-   inflating: libtorch/include/ATen/CPUIntType.h  
-   inflating: libtorch/include/ATen/div_rtn.h  
-    creating: libtorch/include/ATen/detail/
-   inflating: libtorch/include/ATen/detail/FunctionTraits.h  
-   inflating: libtorch/include/ATen/detail/ScalarTypeConversions.h  
-   inflating: libtorch/include/ATen/detail/CPUGuardImpl.h  
-   inflating: libtorch/include/ATen/detail/CUDAHooksInterface.h  
-   inflating: libtorch/include/ATen/detail/ComplexHooksInterface.h  
-   inflating: libtorch/include/ATen/detail/HIPHooksInterface.h  
-   inflating: libtorch/include/ATen/SparseCPUCharType.h  
-  extracting: libtorch/include/ATen/Storage.h  
-  extracting: libtorch/include/ATen/Layout.h  
-   inflating: libtorch/include/ATen/CPUGenerator.h  
-   inflating: libtorch/include/ATen/CUDADoubleType.h  
-   inflating: libtorch/include/ATen/Functions.h  
-   inflating: libtorch/include/ATen/ExpandUtils.h  
-  extracting: libtorch/include/ATen/Generator.h  
-   inflating: libtorch/include/ATen/SparseCUDALongType.h  
-   inflating: libtorch/include/ATen/CUDAIntType.h  
-   inflating: libtorch/include/ATen/Utils.h  
-  extracting: libtorch/include/ATen/Scalar.h  
-   inflating: libtorch/include/ATen/CPULongType.h  
-   inflating: libtorch/include/ATen/ATen.h  
-   inflating: libtorch/include/ATen/CUDAHalfType.h  
-  extracting: libtorch/include/ATen/Formatting.h  
-   inflating: libtorch/include/ATen/TensorGeometry.h  
-   inflating: libtorch/include/ATen/InferSize.h  
-   inflating: libtorch/include/ATen/CheckGenerator.h  
-   inflating: libtorch/include/ATen/TensorUtils.h  
-   inflating: libtorch/include/ATen/Context.h  
-   inflating: libtorch/include/ATen/CPUFloatType.h  
-   inflating: libtorch/include/ATen/SparseCPUDoubleType.h  
-   inflating: libtorch/include/ATen/CUDALongType.h  
-   inflating: libtorch/include/ATen/TypeDefault.h  
-   inflating: libtorch/include/ATen/CPUGeneral.h  
-    creating: libtorch/include/ATen/cudnn/
-  extracting: libtorch/include/ATen/cudnn/Handles.h  
-   inflating: libtorch/include/ATen/cudnn/Utils.h  
-  extracting: libtorch/include/ATen/cudnn/Exceptions.h  
-   inflating: libtorch/include/ATen/cudnn/Descriptors.h  
-   inflating: libtorch/include/ATen/cudnn/Types.h  
-   inflating: libtorch/include/ATen/cudnn/Handle.h  
-   inflating: libtorch/include/ATen/cudnn/cudnn-wrapper.h  
-   inflating: libtorch/include/ATen/CPUApplyUtils.h  
-   inflating: libtorch/include/ATen/SparseCUDAIntType.h  
-   inflating: libtorch/include/ATen/ScalarOps.h  
-   inflating: libtorch/include/ATen/CPUCharType.h  
-   inflating: libtorch/include/ATen/CUDAGenerator.h  
-   inflating: libtorch/include/ATen/SparseCUDADoubleType.h  
-   inflating: libtorch/include/ATen/CUDAByteType.h  
-   inflating: libtorch/include/ATen/AccumulateType.h  
-   inflating: libtorch/include/ATen/DeviceGuard.h  
-   inflating: libtorch/include/ATen/CPUHalfType.h  
-   inflating: libtorch/include/ATen/CPUTypeDefault.h  
-   inflating: libtorch/include/ATen/CUDAFloatType.h  
-   inflating: libtorch/include/ATen/CPUFixedAllocator.h  
-   inflating: libtorch/include/ATen/SparseCPULongType.h  
-   inflating: libtorch/include/ATen/Parallel.h  
-   inflating: libtorch/include/ATen/CUDACharType.h  
-  extracting: libtorch/include/ATen/Backend.h  
-   inflating: libtorch/include/ATen/CPUShortType.h  
-  extracting: libtorch/include/ATen/SmallVector.h  
-   inflating: libtorch/include/ATen/SparseTensorUtils.h  
-   inflating: libtorch/include/ATen/CPUByteType.h  
-  extracting: libtorch/include/ATen/Device.h  
-   inflating: libtorch/include/ATen/CUDAShortType.h  
-   inflating: libtorch/include/ATen/SparseCUDAFloatType.h  
-   inflating: libtorch/include/ATen/SparseCPUByteType.h  
-    creating: libtorch/include/ATen/cpu/
-   inflating: libtorch/include/ATen/cpu/vml.h  
-   inflating: libtorch/include/ATen/cpu/FlushDenormal.h  
-   inflating: libtorch/include/ATen/SparseCPUIntType.h  
-   inflating: libtorch/include/ATen/TensorOperators.h  
-   inflating: libtorch/include/ATen/RegisterCUDA.h  
-   inflating: libtorch/include/ATen/SparseTensorImpl.h  
-   inflating: libtorch/include/ATen/SparseCPUShortType.h  
-    creating: libtorch/include/ATen/cuda/
-   inflating: libtorch/include/ATen/cuda/CUDAContext.h  
-   inflating: libtorch/include/ATen/cuda/CUDAEvent.h  
-   inflating: libtorch/include/ATen/cuda/ATenCUDAGeneral.h  
-   inflating: libtorch/include/ATen/cuda/CUDAGuard.h  
-   inflating: libtorch/include/ATen/cuda/PinnedMemoryAllocator.h  
-   inflating: libtorch/include/ATen/cuda/NumericLimits.cuh  
-   inflating: libtorch/include/ATen/cuda/CUDADevice.h  
-    creating: libtorch/include/ATen/cuda/detail/
-   inflating: libtorch/include/ATen/cuda/detail/CUDAHooks.h  
-   inflating: libtorch/include/ATen/cuda/detail/IndexUtils.cuh  
-   inflating: libtorch/include/ATen/cuda/detail/KernelUtils.h  
-   inflating: libtorch/include/ATen/cuda/detail/CUDAGuardImpl.h  
-   inflating: libtorch/include/ATen/cuda/detail/TensorInfo.cuh  
-   inflating: libtorch/include/ATen/cuda/detail/OffsetCalculator.cuh  
-   inflating: libtorch/include/ATen/cuda/CUDAUtils.h  
-   inflating: libtorch/include/ATen/cuda/CUDAMultiStreamGuard.h  
-   inflating: libtorch/include/ATen/cuda/_curand_mtgp32_host.h  
-   inflating: libtorch/include/ATen/cuda/CUDATypeDefault.h  
-   inflating: libtorch/include/ATen/cuda/Exceptions.h  
-   inflating: libtorch/include/ATen/cuda/CUDAConfig.h  
-   inflating: libtorch/include/ATen/cuda/CUDAApplyUtils.cuh  
-   inflating: libtorch/include/ATen/cuda/CUDAStream.h  
-   inflating: libtorch/include/ATen/cuda/Array.h  
-   inflating: libtorch/include/ATen/cuda/CUDATensorMethods.cuh  
-   inflating: libtorch/include/ATen/SparseCUDACharType.h  
-  extracting: libtorch/include/ATen/Tensor.h  
-   inflating: libtorch/include/ATen/RegisterCPU.h  
-  extracting: libtorch/include/ATen/ArrayRef.h  
-    creating: libtorch/include/TH/
-   inflating: libtorch/include/TH/THBlas.h  
-   inflating: libtorch/include/TH/THGenerateHalfType.h  
-   inflating: libtorch/include/TH/THLapack.h  
-   inflating: libtorch/include/TH/THFile.h  
-   inflating: libtorch/include/TH/THMath.h  
-   inflating: libtorch/include/TH/THGenerateCharType.h  
-   inflating: libtorch/include/TH/THGenerator.hpp  
-   inflating: libtorch/include/TH/THGenerateFloatTypes.h  
-   inflating: libtorch/include/TH/THDiskFile.h  
-   inflating: libtorch/include/TH/THGenerateAllTypes.h  
-   inflating: libtorch/include/TH/THTensorApply.h  
-   inflating: libtorch/include/TH/THGenerateByteType.h  
-   inflating: libtorch/include/TH/THAllocator.h  
-   inflating: libtorch/include/TH/THTensorDimApply.h  
-   inflating: libtorch/include/TH/THGenerateIntType.h  
-   inflating: libtorch/include/TH/TH.h  
-   inflating: libtorch/include/TH/THHalf.h  
-   inflating: libtorch/include/TH/THTensor.hpp  
-   inflating: libtorch/include/TH/THGenerateShortType.h  
-   inflating: libtorch/include/TH/THRandom.h  
-   inflating: libtorch/include/TH/THLogAdd.h  
-   inflating: libtorch/include/TH/THSize.h  
-   inflating: libtorch/include/TH/THGenerateLongType.h  
-   inflating: libtorch/include/TH/THStorage.h  
-   inflating: libtorch/include/TH/THTensor.h  
-   inflating: libtorch/include/TH/THGenerateDoubleType.h  
-   inflating: libtorch/include/TH/THMemoryFile.h  
-   inflating: libtorch/include/TH/THVector.h  
-   inflating: libtorch/include/TH/THGeneral.h  
-   inflating: libtorch/include/TH/THGenerateFloatType.h  
-   inflating: libtorch/include/TH/THStorageFunctions.h  
-   inflating: libtorch/include/TH/THStorageFunctions.hpp  
-   inflating: libtorch/include/TH/THFilePrivate.h  
-   inflating: libtorch/include/TH/THGenerateIntTypes.h  
-    creating: libtorch/include/TH/generic/
-   inflating: libtorch/include/TH/generic/THBlas.h  
-   inflating: libtorch/include/TH/generic/THLapack.h  
-   inflating: libtorch/include/TH/generic/THTensorLapack.h  
-   inflating: libtorch/include/TH/generic/THTensorMath.h  
-   inflating: libtorch/include/TH/generic/THStorageCopy.h  
-   inflating: libtorch/include/TH/generic/THTensor.hpp  
-   inflating: libtorch/include/TH/generic/THStorage.h  
-   inflating: libtorch/include/TH/generic/THTensor.h  
-   inflating: libtorch/include/TH/generic/THTensorConv.h  
-   inflating: libtorch/include/TH/generic/THVector.h  
-   inflating: libtorch/include/TH/generic/THTensorRandom.h  
-   inflating: libtorch/include/TH/generic/THTensorFastGetSet.hpp  
-> installed libtorch.1.0.1
Processing 69/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stb_image_write: make]
-> installed bigarray-compat.1.1.0
Processing 70/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stb_image_write: make]
Processing 71/138: [num: make opam-legacy] [ocaml-compiler-libs: dune build] [sexplib0: dune build] [stb_image_write: make] [camlzip: make install]
-> compiled  ocaml-compiler-libs.v0.12.4
Processing 71/138: [num: make opam-legacy] [sexplib0: dune build] [stb_image_write: make] [camlzip: make install]
- /usr/bin/make -C src all
- make[1]: Entering directory '/home/opam/.opam/4.14/.opam-switch/build/num.1.5-1/src'
- ocamlc -ccopt -DBNG_ARCH_amd64 -c bng.c
- ocamlc -ccopt -DBNG_ARCH_amd64 -c nat_stubs.c
- ocamlmklib -oc nums bng.o nat_stubs.o
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c int_misc.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c int_misc.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c nat.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c nat.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c big_int.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c big_int.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_flags.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_flags.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c ratio.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c ratio.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_status.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_status.ml
- ocamlmklib -o nums -oc nums -linkall int_misc.cmo nat.cmo big_int.cmo arith_flags.cmo ratio.cmo num.cmo arith_status.cmo
- cp ../toplevel/num_top_printers.mli ../toplevel/num_top.mli ../toplevel/num_top_printers.ml ../toplevel/num_top.ml .
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top_printers.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top_printers.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top.mli
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num_top.ml
- ocamlc -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -a -o num_top.cma num_top_printers.cmo num_top.cmo
- echo 'version = "1.6~dev"' > META.top
- cat META.num-top.in >> META.top
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c int_misc.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c nat.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c big_int.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_flags.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c ratio.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c num.ml
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -c arith_status.ml
- ocamlmklib -o nums -oc nums -linkall int_misc.cmx nat.cmx big_int.cmx arith_flags.cmx ratio.cmx num.cmx arith_status.cmx
- ocamlopt -w +a-4-9-41-42-44-45-48  -bin-annot -g -safe-string -strict-sequence -strict-formats -I +compiler-libs -I . -shared -o nums.cmxs nums.cmxa
- make[1]: Leaving directory '/home/opam/.opam/4.14/.opam-switch/build/num.1.5-1/src'
- cp src/num-legacy.install num.install
-> compiled  num.1.5-1
Processing 71/138: [sexplib0: dune build] [stb_image_write: make] [camlzip: make install]
-> compiled  sexplib0.v0.16.0
Processing 71/138: [stb_image_write: make] [camlzip: make install]
- ocamlc -c stb_image_write.mli
- ocamlc -c stb_image_write.ml
- ocamlc -c -ccopt "-O3 -std=gnu99 -ffast-math" ml_stb_image_write.c
- ocamlmklib -o _stb_image_write_stubs ml_stb_image_write.o
- ocamlc -a -custom -o stb_image_write.cma stb_image_write.cmo \
-        -dllib dll_stb_image_write_stubs.so \
-        -cclib -l_stb_image_write_stubs
- ocamlopt -c stb_image_write.ml
- ocamlopt -a -o stb_image_write.cmxa stb_image_write.cmx \
-        -cclib -l_stb_image_write_stubs
-> compiled  stb_image_write.0.2
Processing 71/138: [camlzip: make install]
+ /usr/bin/make "install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/camlzip.1.12)
- cp META-zip META && \
-         ocamlfind install zip META *.cma *.a *.mli *.cmi *.cmti *.cmt gzip.cmx zip.cmx zlib.cmx zip.cmxa zip.cmxs dllcamlzip.so && \
-         rm META
- Installed /home/opam/.opam/4.14/lib/zip/zip.cmxs
- Installed /home/opam/.opam/4.14/lib/zip/zip.cmxa
- Installed /home/opam/.opam/4.14/lib/zip/zlib.cmx
- Installed /home/opam/.opam/4.14/lib/zip/zip.cmx
- Installed /home/opam/.opam/4.14/lib/zip/gzip.cmx
- Installed /home/opam/.opam/4.14/lib/zip/zlib.cmt
- Installed /home/opam/.opam/4.14/lib/zip/zip.cmt
- Installed /home/opam/.opam/4.14/lib/zip/gzip.cmt
- Installed /home/opam/.opam/4.14/lib/zip/zlib.cmti
- Installed /home/opam/.opam/4.14/lib/zip/zip.cmti
- Installed /home/opam/.opam/4.14/lib/zip/gzip.cmti
- Installed /home/opam/.opam/4.14/lib/zip/zlib.cmi
- Installed /home/opam/.opam/4.14/lib/zip/zip.cmi
- Installed /home/opam/.opam/4.14/lib/zip/gzip.cmi
- Installed /home/opam/.opam/4.14/lib/zip/zlib.mli
- Installed /home/opam/.opam/4.14/lib/zip/zip.mli
- Installed /home/opam/.opam/4.14/lib/zip/gzip.mli
- Installed /home/opam/.opam/4.14/lib/zip/zip.a
- Installed /home/opam/.opam/4.14/lib/zip/libcamlzip.a
- Installed /home/opam/.opam/4.14/lib/zip/zip.cma
- Installed /home/opam/.opam/4.14/lib/stublibs/dllcamlzip.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dllcamlzip.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.14/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/4.14/lib/zip/META
- cp META-camlzip META && \
-         ocamlfind install camlzip META && \
-         rm META
- Installed /home/opam/.opam/4.14/lib/camlzip/META
-> installed camlzip.1.12
Processing 72/138: [npy: dune build]
Processing 73/138: [npy: dune build] [cmdliner: make install]
- install -d "/home/opam/.opam/4.14/lib/cmdliner"
- install pkg/META _build/cmdliner.mli _build/cmdliner.cmi _build/cmdliner.cmti "/home/opam/.opam/4.14/lib/cmdliner"
- install cmdliner.opam "/home/opam/.opam/4.14/lib/cmdliner/opam"
- install _build/cmdliner.cma "/home/opam/.opam/4.14/lib/cmdliner"
- install _build/cmdliner.cmxa _build/cmdliner.a _build/cmdliner.cmx _build/cmdliner_arg.cmx _build/cmdliner_base.cmx _build/cmdliner_cline.cmx _build/cmdliner_cmd.cmx _build/cmdliner_docgen.cmx _build/cmdliner_eval.cmx _build/cmdliner_exit.cmx _build/cmdliner_info.cmx _build/cmdliner_manpage.cmx _build/cmdliner_msg.cmx _build/cmdliner_term.cmx _build/cmdliner_term_deprecated.cmx _build/cmdliner_trie.cmx \
-   "/home/opam/.opam/4.14/lib/cmdliner"
- install _build/cmdliner.cmxs "/home/opam/.opam/4.14/lib/cmdliner"
Processing 73/138: [npy: dune build] [cmdliner: make install-doc]
- install -d "/home/opam/.opam/4.14/doc/cmdliner/odoc-pages"
- install CHANGES.md LICENSE.md README.md "/home/opam/.opam/4.14/doc/cmdliner"
- install doc/index.mld doc/cli.mld doc/examples.mld doc/tutorial.mld \
-            doc/tool_man.mld "/home/opam/.opam/4.14/doc/cmdliner/odoc-pages"
-> installed cmdliner.1.3.0
Processing 73/138: [npy: dune build]
-> installed csexp.1.5.2
Processing 74/138: [npy: dune build]
Processing 75/138: [dune-configurator: rm] [npy: dune build]
-> installed jane-street-headers.v0.16.0
Processing 76/138: [dune-configurator: rm] [npy: dune build]
-> installed num.1.5-1
Processing 77/138: [dune-configurator: rm] [npy: dune build]
-> installed ocaml-compiler-libs.v0.12.4
Processing 78/138: [dune-configurator: rm] [npy: dune build]
-> installed ppx_derivers.1.2.1
Processing 79/138: [dune-configurator: rm] [npy: dune build]
-> installed result.1.5
Processing 80/138: [dune-configurator: rm] [npy: dune build]
Processing 81/138: [dune-configurator: rm] [npy: dune build] [stb_image: make]
-> installed seq.base
Processing 82/138: [dune-configurator: rm] [npy: dune build] [stb_image: make]
Processing 83/138: [dune-configurator: rm] [npy: dune build] [re: dune build] [stb_image: make]
-> installed sexplib0.v0.16.0
Processing 84/138: [dune-configurator: rm] [npy: dune build] [re: dune build] [stb_image: make]
Processing 85/138: [dune-configurator: rm] [npy: dune build] [parsexp: dune build] [re: dune build] [stb_image: make]
Processing 86/138: [dune-configurator: rm] [npy: dune build] [parsexp: dune build] [re: dune build] [stb_image: make] [stb_image_write: make install]
-> compiled  npy.0.0.9
Processing 86/138: [dune-configurator: rm] [parsexp: dune build] [re: dune build] [stb_image: make] [stb_image_write: make install]
Processing 86/138: [dune-configurator: dune build] [parsexp: dune build] [re: dune build] [stb_image: make] [stb_image_write: make install]
- ocamlfind install stb_image_write stb_image_write.a stb_image_write.cmi stb_image_write.cmo stb_image_write.cma stb_image_write.cmx stb_image_write.cmxa stb_image_write.ml stb_image_write.mli lib_stb_image_write_stubs.a dll_stb_image_write_stubs.so META
- Installed /home/opam/.opam/4.14/lib/stb_image_write/lib_stb_image_write_stubs.a
- Installed /home/opam/.opam/4.14/lib/stb_image_write/stb_image_write.mli
- Installed /home/opam/.opam/4.14/lib/stb_image_write/stb_image_write.ml
- Installed /home/opam/.opam/4.14/lib/stb_image_write/stb_image_write.cmxa
- Installed /home/opam/.opam/4.14/lib/stb_image_write/stb_image_write.cmx
- Installed /home/opam/.opam/4.14/lib/stb_image_write/stb_image_write.cma
- Installed /home/opam/.opam/4.14/lib/stb_image_write/stb_image_write.cmo
- Installed /home/opam/.opam/4.14/lib/stb_image_write/stb_image_write.cmi
- Installed /home/opam/.opam/4.14/lib/stb_image_write/stb_image_write.a
- Installed /home/opam/.opam/4.14/lib/stublibs/dll_stb_image_write_stubs.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dll_stb_image_write_stubs.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.14/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/4.14/lib/stb_image_write/META
-> installed stb_image_write.0.2
Processing 86/138: [dune-configurator: dune build] [parsexp: dune build] [re: dune build] [stb_image: make]
-> installed npy.0.0.9
Processing 87/138: [dune-configurator: dune build] [parsexp: dune build] [re: dune build] [stb_image: make]
-> installed stdlib-shims.0.3.0
Processing 88/138: [dune-configurator: dune build] [parsexp: dune build] [re: dune build] [stb_image: make]
Processing 89/138: [dune-configurator: dune build] [integers: dune build] [parsexp: dune build] [re: dune build] [stb_image: make]
Processing 90/138: [dune-configurator: dune build] [integers: dune build] [parsexp: dune build] [ppxlib: dune build] [re: dune build] [stb_image: make]
-> compiled  integers.0.7.0
Processing 90/138: [dune-configurator: dune build] [parsexp: dune build] [ppxlib: dune build] [re: dune build] [stb_image: make]
-> installed integers.0.7.0
Processing 91/138: [dune-configurator: dune build] [parsexp: dune build] [ppxlib: dune build] [re: dune build] [stb_image: make]
-> compiled  re.1.12.0
Processing 91/138: [dune-configurator: dune build] [parsexp: dune build] [ppxlib: dune build] [stb_image: make]
-> installed re.1.12.0
Processing 92/138: [dune-configurator: dune build] [parsexp: dune build] [ppxlib: dune build] [stb_image: make]
-> compiled  parsexp.v0.16.0
Processing 92/138: [dune-configurator: dune build] [ppxlib: dune build] [stb_image: make]
-> installed parsexp.v0.16.0
Processing 93/138: [dune-configurator: dune build] [ppxlib: dune build] [stb_image: make]
Processing 94/138: [dune-configurator: dune build] [ppxlib: dune build] [sexplib: dune build] [stb_image: make]
-> compiled  dune-configurator.3.16.0
Processing 94/138: [ppxlib: dune build] [sexplib: dune build] [stb_image: make]
-> installed dune-configurator.3.16.0
Processing 95/138: [ppxlib: dune build] [sexplib: dune build] [stb_image: make]
Processing 96/138: [base: dune build] [ppxlib: dune build] [sexplib: dune build] [stb_image: make]
Processing 97/138: [base: dune build] [ctypes: dune build] [ppxlib: dune build] [sexplib: dune build] [stb_image: make]
-> compiled  sexplib.v0.16.0
Processing 97/138: [base: dune build] [ctypes: dune build] [ppxlib: dune build] [stb_image: make]
-> installed sexplib.v0.16.0
Processing 98/138: [base: dune build] [ctypes: dune build] [ppxlib: dune build] [stb_image: make]
- ocamlfind c -package result -c stb_image.mli
- ocamlfind c -package result -c stb_image.ml
- ocamlfind c -c -ccopt "-O3 -std=gnu99 -ffast-math" ml_stb_image.c
- ocamlfind mklib -o _stb_image_stubs ml_stb_image.o
- ocamlfind c -package result -a -custom -o stb_image.cma stb_image.cmo \
-        -dllib dll_stb_image_stubs.so \
-        -cclib -l_stb_image_stubs
- ocamlfind opt -package result -c stb_image.ml
- ocamlfind opt -package result -a -o stb_image.cmxa stb_image.cmx \
-        -cclib -l_stb_image_stubs
-> compiled  stb_image.0.5
Processing 98/138: [base: dune build] [ctypes: dune build] [ppxlib: dune build]
Processing 99/138: [base: dune build] [ctypes: dune build] [ppxlib: dune build] [stb_image: make install]
- ocamlfind install stb_image stb_image.a stb_image.cmi stb_image.cmo stb_image.cma stb_image.cmx stb_image.cmxa stb_image.ml stb_image.mli lib_stb_image_stubs.a dll_stb_image_stubs.so META
- Installed /home/opam/.opam/4.14/lib/stb_image/lib_stb_image_stubs.a
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.mli
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.ml
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.cmxa
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.cmx
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.cma
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.cmo
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.cmi
- Installed /home/opam/.opam/4.14/lib/stb_image/stb_image.a
- Installed /home/opam/.opam/4.14/lib/stublibs/dll_stb_image_stubs.so
- Installed /home/opam/.opam/4.14/lib/stublibs/dll_stb_image_stubs.so.owner
- ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.14/lib/stublibs is not mentioned in ld.conf
- Installed /home/opam/.opam/4.14/lib/stb_image/META
-> installed stb_image.0.5
Processing 99/138: [base: dune build] [ctypes: dune build] [ppxlib: dune build]
-> compiled  base.v0.16.3
Processing 99/138: [ctypes: dune build] [ppxlib: dune build]
-> installed base.v0.16.3
Processing 100/138: [ctypes: dune build] [ppxlib: dune build]
Processing 101/138: [ctypes: dune build] [ppxlib: dune build] [stdio: dune build]
Processing 101/138: [ctypes: dune install] [ppxlib: dune build] [stdio: dune build]
-> compiled  ctypes.0.23.0
Processing 101/138: [ppxlib: dune build] [stdio: dune build]
-> installed ctypes.0.23.0
Processing 102/138: [ppxlib: dune build] [stdio: dune build]
Processing 103/138: [ctypes-foreign: dune build] [ppxlib: dune build] [stdio: dune build]
-> compiled  stdio.v0.16.0
Processing 103/138: [ctypes-foreign: dune build] [ppxlib: dune build]
-> installed stdio.v0.16.0
Processing 104/138: [ctypes-foreign: dune build] [ppxlib: dune build]
Processing 104/138: [ctypes-foreign: dune install] [ppxlib: dune build]
-> compiled  ctypes-foreign.0.23.0
Processing 104/138: [ppxlib: dune build]
-> installed ctypes-foreign.0.23.0
Processing 105/138: [ppxlib: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "ppxlib" "-j" "39" "@install" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ppxlib.0.33.0)
-> compiled  ppxlib.0.33.0
-> installed ppxlib.0.33.0
Processing 107/138: [ppx_cold: dune build]
Processing 108/138: [ppx_cold: dune build] [ppx_compare: dune build]
Processing 109/138: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build]
Processing 110/138: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build]
Processing 111/138: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build]
Processing 112/138: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_optcomp: dune build]
Processing 113/138: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_globalize: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_globalize.v0.16.0
Processing 113/138: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_globalize.v0.16.0
Processing 114/138: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_optcomp: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_optcomp.v0.16.0
Processing 114/138: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_optcomp.v0.16.0
Processing 115/138: [ppx_cold: dune build] [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_cold.v0.16.0
Processing 115/138: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_cold.v0.16.0
Processing 116/138: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_here: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_here.v0.16.0
Processing 116/138: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_here.v0.16.0
Processing 117/138: [ppx_compare: dune build] [ppx_enumerate: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_enumerate.v0.16.0
Processing 117/138: [ppx_compare: dune build] [ppx_sexp_conv: dune build]
-> installed ppx_enumerate.v0.16.0
Processing 118/138: [ppx_compare: dune build] [ppx_sexp_conv: dune build]
-> compiled  ppx_compare.v0.16.0
Processing 118/138: [ppx_sexp_conv: dune build]
-> installed ppx_compare.v0.16.0
Processing 119/138: [ppx_sexp_conv: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "ppx_sexp_conv" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ppx_sexp_conv.v0.16.0)
-> compiled  ppx_sexp_conv.v0.16.0
-> installed ppx_sexp_conv.v0.16.0
Processing 121/138: [ppx_assert: dune build]
Processing 122/138: [ppx_assert: dune build] [ppx_custom_printf: dune build]
Processing 123/138: [ppx_assert: dune build] [ppx_custom_printf: dune build] [ppx_hash: dune build]
-> compiled  ppx_hash.v0.16.0
Processing 123/138: [ppx_assert: dune build] [ppx_custom_printf: dune build]
-> installed ppx_hash.v0.16.0
Processing 124/138: [ppx_assert: dune build] [ppx_custom_printf: dune build]
Processing 125/138: [ppx_assert: dune build] [ppx_base: dune build] [ppx_custom_printf: dune build]
-> compiled  ppx_assert.v0.16.0
Processing 125/138: [ppx_base: dune build] [ppx_custom_printf: dune build]
-> installed ppx_assert.v0.16.0
Processing 126/138: [ppx_base: dune build] [ppx_custom_printf: dune build]
Processing 127/138: [jst-config: dune build] [ppx_base: dune build] [ppx_custom_printf: dune build]
-> compiled  ppx_custom_printf.v0.16.0
Processing 127/138: [jst-config: dune build] [ppx_base: dune build]
-> installed ppx_custom_printf.v0.16.0
Processing 128/138: [jst-config: dune build] [ppx_base: dune build]
-> compiled  ppx_base.v0.16.0
Processing 128/138: [jst-config: dune build]
-> installed ppx_base.v0.16.0
Processing 129/138: [jst-config: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "jst-config" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/jst-config.v0.16.0)
-> compiled  jst-config.v0.16.0
-> installed jst-config.v0.16.0
Processing 131/138: [time_now: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "time_now" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/time_now.v0.16.0)
-> compiled  time_now.v0.16.0
-> installed time_now.v0.16.0
Processing 133/138: [ppx_inline_test: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "ppx_inline_test" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ppx_inline_test.v0.16.1)
-> compiled  ppx_inline_test.v0.16.1
-> installed ppx_inline_test.v0.16.1
Processing 135/138: [ppx_expect: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "ppx_expect" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/ppx_expect.v0.16.0)
-> compiled  ppx_expect.v0.16.0
-> installed ppx_expect.v0.16.0
Processing 137/138: [torch: dune build]
+ /home/opam/.opam/4.14/bin/dune "build" "-p" "torch" "-j" "39" (CWD=/home/opam/.opam/4.14/.opam-switch/build/torch.0.2)
- (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 10, characters 11-31:
- 10 | let (/^) = Caml.Filename.concat
-                 ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 11, characters 18-38:
- 11 | 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 41, characters 35-56:
- 41 |           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 33, characters 4-20:
- 33 |     Caml.Sys.readdir conda_prefix
-          ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 49, characters 8-27:
- 49 |   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 52, characters 10-29:
- 52 |     match Caml.Sys.getenv_opt "CONDA_PREFIX" with
-                ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 55, characters 12-31:
- 55 |       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 65, characters 28-49:
- 65 |   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 97, characters 26-45:
- 97 |         Option.value_map (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
-                                ^^^^^^^^^^^^^^^^^^^
- 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 10, characters 11-31:
- 10 | let (/^) = Caml.Filename.concat
-                 ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 11, characters 18-38:
- 11 | 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 41, characters 35-56:
- 41 |           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 33, characters 4-20:
- 33 |     Caml.Sys.readdir conda_prefix
-          ^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 49, characters 8-27:
- 49 |   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 52, characters 10-29:
- 52 |     match Caml.Sys.getenv_opt "CONDA_PREFIX" with
-                ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/config/discover.ml", line 55, characters 12-31:
- 55 |       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 65, characters 28-49:
- 65 |   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 97, characters 26-45:
- 97 |         Option.value_map (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
-                                ^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (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/bigarray-compat -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__29_at_save':
- torch_stubs.c:225:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   225 |    at_save(x221, x222);
-       |                  ^~~~
- In file included from torch_stubs.c:1:
- torch_api.h:53:28: note: expected 'char *' but argument is of type 'const char *'
-    53 | void at_save(tensor, char *filename);
-       |                      ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__30_at_load':
- torch_stubs.c:231:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   231 |    void* x226 = at_load(x225);
-       |                         ^~~~
- torch_api.h:54:22: note: expected 'char *' but argument is of type 'const char *'
-    54 | tensor at_load(char *filename);
-       |                ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__31_at_save_multi':
- torch_stubs.c:240:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   240 |    at_save_multi(x231, x232, x233, x236);
-       |                                    ^~~~
- torch_api.h:56:78: note: expected 'char *' but argument is of type 'const char *'
-    56 | void at_save_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
-       |                                                                        ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__32_at_load_multi':
- torch_stubs.c:249:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   249 |    at_load_multi(x242, x243, x244, x247);
-       |                                    ^~~~
- torch_api.h:58:78: note: expected 'char *' but argument is of type 'const char *'
-    58 | void at_load_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
-       |                                                                        ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__33_at_load_multi_':
- torch_stubs.c:258:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   258 |    at_load_multi_(x253, x254, x255, x258);
-       |                                     ^~~~
- torch_api.h:60:79: note: expected 'char *' but argument is of type 'const char *'
-    60 | void at_load_multi_(tensor *tensors, char **tensor_names, int ntensors, char *filename);
-       |                                                                         ~~~~~~^~~~~~~~
- torch_stubs.c: In function 'caml__34_at_load_callback':
- torch_stubs.c:265:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   265 |    at_load_callback(x262, x263);
-       |                     ^~~~
- torch_api.h:62:29: note: expected 'char *' but argument is of type 'const char *'
-    62 | void at_load_callback(char *filename, void (*f)(char *, tensor));
-       |                       ~~~~~~^~~~~~~~
- torch_stubs.c:265:27: warning: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
-   265 |    at_load_callback(x262, x263);
-       |                           ^~~~
-       |                           |
-       |                           void (*)(const char *, void *)
- torch_api.h:62:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)'
-    62 | void at_load_callback(char *filename, void (*f)(char *, tensor));
-       |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~
- torch_stubs.c: In function 'caml__48_atm_load':
- torch_stubs.c:377:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   377 |    void* x379 = atm_load(x378);
-       |                          ^~~~
- torch_api.h:105:17: note: expected 'char *' but argument is of type 'const char *'
-   105 | module atm_load(char *);
-       |                 ^~~~~~
- File "src/wrapper/dune", lines 1-8, characters 0-311:
- 1 | (library
- 2 |   (name torch_core)
- 3 |   (public_name torch.core)
- 4 |   (c_names torch_stubs)
- 5 |   (cxx_names torch_api)
- 6 |   (cxx_flags -std=c++11 (:include cxx_flags.sexp) -D_GLIBCXX_USE_CXX11_ABI=0)
- 7 |   (c_library_flags :standard -lstdc++ (:include c_library_flags.sexp))
- 8 |   (libraries bigarray ctypes.foreign ctypes.stubs ctypes))
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlmklib.opt -g -o src/wrapper/torch_core_stubs src/wrapper/torch_stubs.o src/wrapper/torch_api.o -ldopt -lstdc++ -ldopt -Wl,-R/home/opam/.opam/4.14/lib/libtorch/lib -ldopt -L/home/opam/.opam/4.14/lib/libtorch/lib -ldopt -lc10 -ldopt -lcaffe2 -ldopt -ltorch)
- /usr/bin/ld: src/wrapper/torch_api.o: warning: relocation against `_ZTVN5torch5optim3SGDE' in read-only section `.text._ZN5torch5optim3SGDC2ISt6vectorIN2at6TensorESaIS5_EEEEOT_RKNS0_10SGDOptionsE[_ZN5torch5optim3SGDC5ISt6vectorIN2at6TensorESaIS5_EEEEOT_RKNS0_10SGDOptionsE]'
- /usr/bin/ld: src/wrapper/torch_api.o: relocation R_X86_64_PC32 against symbol `_ZN3c105ErrorD1Ev' can not be used when making a shared object; recompile with -fPIC
- /usr/bin/ld: final link failed: bad value
- collect2: error: ld returned 1 exit status
- (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/bigarray-compat -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 49, characters 4-22:
- 49 |     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/bigarray-compat -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 43, characters 26-46:
- 43 |   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 65, characters 21-41:
- 65 |     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/bigarray-compat -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/bigarray-compat -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 15, characters 24-47:
- 15 |   |> List.sort ~compare:Caml.Pervasives.compare
-                              ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/checkpointing.ml", line 15, characters 24-47:
- 15 |   |> List.sort ~compare:Caml.Pervasives.compare
-                              ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "src/torch/checkpointing.ml", line 13, characters 38-58:
- 13 |           Some (Int.of_string suffix, Caml.Filename.concat dirname filename)
-                                            ^^^^^^^^^^^^^^^^^^^^
- 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/bigarray-compat -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 138, characters 4-22:
- 138 |     Caml.Gc.full_major ();
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/dataset_helper.ml", line 180, characters 4-22:
- 180 |     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 6-24:
- 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 6-24:
- 194 |       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/bigarray-compat -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 200, characters 4-32:
- 200 |     Caml.Format.pp_print_newline formatter ();
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/tensor.ml", line 201, characters 4-31:
- 201 |     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 202, characters 4-32:
- 202 |     Caml.Format.pp_print_newline formatter ()
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/tensor.ml", line 207, characters 7-34:
- 207 |     |> Caml.Format.pp_print_string formatter
-              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 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/bigarray-compat -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/result -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stb_image -I /home/opam/.opam/4.14/lib/stb_image_write -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 5, characters 17-40:
- 5 |   let tmp_file = Caml.Filename.temp_file "imagenet-resize-crop" ".jpg" in
-                      ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/vision/image.ml", line 44, characters 10-31:
- 44 |   if not (Caml.Sys.is_directory dir)
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/vision/image.ml", line 46, characters 14-30:
- 46 |   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 51, characters 24-44:
- 51 |       match load_image (Caml.Filename.concat dir filename) ?resize with
-                              ^^^^^^^^^^^^^^^^^^^^
- 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/bigarray-compat -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 200, characters 4-32:
- 200 |     Caml.Format.pp_print_newline formatter ();
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/tensor.ml", line 201, characters 4-31:
- 201 |     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 202, characters 4-32:
- 202 |     Caml.Format.pp_print_newline formatter ()
-           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/tensor.ml", line 207, characters 7-34:
- 207 |     |> Caml.Format.pp_print_string formatter
-              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 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/bigarray-compat -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 49, characters 4-22:
- 49 |     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/bigarray-compat -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 138, characters 4-22:
- 138 |     Caml.Gc.full_major ();
-           ^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/dataset_helper.ml", line 180, characters 4-22:
- 180 |     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 6-24:
- 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 6-24:
- 194 |       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/bigarray-compat -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 15, characters 24-47:
- 15 |   |> List.sort ~compare:Caml.Pervasives.compare
-                              ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/torch/checkpointing.ml", line 15, characters 24-47:
- 15 |   |> List.sort ~compare:Caml.Pervasives.compare
-                              ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml.Pervasives
- Use Stdlib instead.
- 
- If you need to stay compatible with OCaml < 4.07, you can use the 
- stdlib-shims library: https://github.com/ocaml/stdlib-shims
- File "src/torch/checkpointing.ml", line 13, characters 38-58:
- 13 |           Some (Int.of_string suffix, Caml.Filename.concat dirname filename)
-                                            ^^^^^^^^^^^^^^^^^^^^
- 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/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/bigarray-compat -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 43, characters 26-46:
- 43 |   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 65, characters 21-41:
- 65 |     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/bigarray-compat -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/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/bigarray-compat -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/result -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stb_image -I /home/opam/.opam/4.14/lib/stb_image_write -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 5, characters 17-40:
- 5 |   let tmp_file = Caml.Filename.temp_file "imagenet-resize-crop" ".jpg" in
-                      ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/vision/image.ml", line 44, characters 10-31:
- 44 |   if not (Caml.Sys.is_directory dir)
-                ^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- File "src/vision/image.ml", line 46, characters 14-30:
- 46 |   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 51, characters 24-44:
- 51 |       match load_image (Caml.Filename.concat dir filename) ?resize with
-                              ^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
[ERROR] The compilation of torch.0.2 failed at "dune build -p torch -j 39".

#=== ERROR while compiling torch.0.2 ==========================================#
# context              2.1.6 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///src
# path                 ~/.opam/4.14/.opam-switch/build/torch.0.2
# command              ~/.opam/4.14/bin/dune build -p torch -j 39
# exit-code            1
# env-file             ~/.opam/log/torch-115-c1f4eb.env
# output-file          ~/.opam/log/torch-115-c1f4eb.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 10, characters 11-31:
# 10 | let (/^) = Caml.Filename.concat
#                 ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 11, characters 18-38:
# 11 | 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 41, characters 35-56:
# 41 |           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 33, characters 4-20:
# 33 |     Caml.Sys.readdir conda_prefix
#          ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 49, characters 8-27:
# 49 |   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 52, characters 10-29:
# 52 |     match Caml.Sys.getenv_opt "CONDA_PREFIX" with
#                ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 55, characters 12-31:
# 55 |       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 65, characters 28-49:
# 65 |   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 97, characters 26-45:
# 97 |         Option.value_map (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
#                                ^^^^^^^^^^^^^^^^^^^
# 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 10, characters 11-31:
# 10 | let (/^) = Caml.Filename.concat
#                 ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 11, characters 18-38:
# 11 | 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 41, characters 35-56:
# 41 |           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 33, characters 4-20:
# 33 |     Caml.Sys.readdir conda_prefix
#          ^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 49, characters 8-27:
# 49 |   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 52, characters 10-29:
# 52 |     match Caml.Sys.getenv_opt "CONDA_PREFIX" with
#                ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/config/discover.ml", line 55, characters 12-31:
# 55 |       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 65, characters 28-49:
# 65 |   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 97, characters 26-45:
# 97 |         Option.value_map (Caml.Sys.getenv_opt "CONDA_PREFIX") ~f:(fun conda_prefix ->
#                                ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# (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/bigarray-compat -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__29_at_save':
# torch_stubs.c:225:18: warning: passing argument 2 of 'at_save' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   225 |    at_save(x221, x222);
#       |                  ^~~~
# In file included from torch_stubs.c:1:
# torch_api.h:53:28: note: expected 'char *' but argument is of type 'const char *'
#    53 | void at_save(tensor, char *filename);
#       |                      ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__30_at_load':
# torch_stubs.c:231:25: warning: passing argument 1 of 'at_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   231 |    void* x226 = at_load(x225);
#       |                         ^~~~
# torch_api.h:54:22: note: expected 'char *' but argument is of type 'const char *'
#    54 | tensor at_load(char *filename);
#       |                ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__31_at_save_multi':
# torch_stubs.c:240:36: warning: passing argument 4 of 'at_save_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   240 |    at_save_multi(x231, x232, x233, x236);
#       |                                    ^~~~
# torch_api.h:56:78: note: expected 'char *' but argument is of type 'const char *'
#    56 | void at_save_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
#       |                                                                        ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__32_at_load_multi':
# torch_stubs.c:249:36: warning: passing argument 4 of 'at_load_multi' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   249 |    at_load_multi(x242, x243, x244, x247);
#       |                                    ^~~~
# torch_api.h:58:78: note: expected 'char *' but argument is of type 'const char *'
#    58 | void at_load_multi(tensor *tensors, char **tensor_names, int ntensors, char *filename);
#       |                                                                        ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__33_at_load_multi_':
# torch_stubs.c:258:37: warning: passing argument 4 of 'at_load_multi_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   258 |    at_load_multi_(x253, x254, x255, x258);
#       |                                     ^~~~
# torch_api.h:60:79: note: expected 'char *' but argument is of type 'const char *'
#    60 | void at_load_multi_(tensor *tensors, char **tensor_names, int ntensors, char *filename);
#       |                                                                         ~~~~~~^~~~~~~~
# torch_stubs.c: In function 'caml__34_at_load_callback':
# torch_stubs.c:265:21: warning: passing argument 1 of 'at_load_callback' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   265 |    at_load_callback(x262, x263);
#       |                     ^~~~
# torch_api.h:62:29: note: expected 'char *' but argument is of type 'const char *'
#    62 | void at_load_callback(char *filename, void (*f)(char *, tensor));
#       |                       ~~~~~~^~~~~~~~
# torch_stubs.c:265:27: warning: passing argument 2 of 'at_load_callback' from incompatible pointer type [-Wincompatible-pointer-types]
#   265 |    at_load_callback(x262, x263);
#       |                           ^~~~
#       |                           |
#       |                           void (*)(const char *, void *)
# torch_api.h:62:46: note: expected 'void (*)(char *, void *)' but argument is of type 'void (*)(const char *, void *)'
#    62 | void at_load_callback(char *filename, void (*f)(char *, tensor));
#       |                                       ~~~~~~~^~~~~~~~~~~~~~~~~~
# torch_stubs.c: In function 'caml__48_atm_load':
# torch_stubs.c:377:26: warning: passing argument 1 of 'atm_load' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#   377 |    void* x379 = atm_load(x378);
#       |                          ^~~~
# torch_api.h:105:17: note: expected 'char *' but argument is of type 'const char *'
#   105 | module atm_load(char *);
#       |                 ^~~~~~
# File "src/wrapper/dune", lines 1-8, characters 0-311:
# 1 | (library
# 2 |   (name torch_core)
# 3 |   (public_name torch.core)
# 4 |   (c_names torch_stubs)
# 5 |   (cxx_names torch_api)
# 6 |   (cxx_flags -std=c++11 (:include cxx_flags.sexp) -D_GLIBCXX_USE_CXX11_ABI=0)
# 7 |   (c_library_flags :standard -lstdc++ (:include c_library_flags.sexp))
# 8 |   (libraries bigarray ctypes.foreign ctypes.stubs ctypes))
# (cd _build/default && /home/opam/.opam/4.14/bin/ocamlmklib.opt -g -o src/wrapper/torch_core_stubs src/wrapper/torch_stubs.o src/wrapper/torch_api.o -ldopt -lstdc++ -ldopt -Wl,-R/home/opam/.opam/4.14/lib/libtorch/lib -ldopt -L/home/opam/.opam/4.14/lib/libtorch/lib -ldopt -lc10 -ldopt -lcaffe2 -ldopt -ltorch)
# /usr/bin/ld: src/wrapper/torch_api.o: warning: relocation against `_ZTVN5torch5optim3SGDE' in read-only section `.text._ZN5torch5optim3SGDC2ISt6vectorIN2at6TensorESaIS5_EEEEOT_RKNS0_10SGDOptionsE[_ZN5torch5optim3SGDC5ISt6vectorIN2at6TensorESaIS5_EEEEOT_RKNS0_10SGDOptionsE]'
# /usr/bin/ld: src/wrapper/torch_api.o: relocation R_X86_64_PC32 against symbol `_ZN3c105ErrorD1Ev' can not be used when making a shared object; recompile with -fPIC
# /usr/bin/ld: final link failed: bad value
# collect2: error: ld returned 1 exit status
# (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/bigarray-compat -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 49, characters 4-22:
# 49 |     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/bigarray-compat -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 43, characters 26-46:
# 43 |   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 65, characters 21-41:
# 65 |     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/bigarray-compat -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/bigarray-compat -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 15, characters 24-47:
# 15 |   |> List.sort ~compare:Caml.Pervasives.compare
#                              ^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 15, characters 24-47:
# 15 |   |> List.sort ~compare:Caml.Pervasives.compare
#                              ^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml.Pervasives
# Use Stdlib instead.
# 
# If you need to stay compatible with OCaml < 4.07, you can use the 
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
# File "src/torch/checkpointing.ml", line 13, characters 38-58:
# 13 |           Some (Int.of_string suffix, Caml.Filename.concat dirname filename)
#                                            ^^^^^^^^^^^^^^^^^^^^
# 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/bigarray-compat -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 138, characters 4-22:
# 138 |     Caml.Gc.full_major ();
#           ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 180, characters 4-22:
# 180 |     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 6-24:
# 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 6-24:
# 194 |       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/bigarray-compat -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 200, characters 4-32:
# 200 |     Caml.Format.pp_print_newline formatter ();
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 201, characters 4-31:
# 201 |     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 202, characters 4-32:
# 202 |     Caml.Format.pp_print_newline formatter ()
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 207, characters 7-34:
# 207 |     |> Caml.Format.pp_print_string formatter
#              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# 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/bigarray-compat -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/result -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stb_image -I /home/opam/.opam/4.14/lib/stb_image_write -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 5, characters 17-40:
# 5 |   let tmp_file = Caml.Filename.temp_file "imagenet-resize-crop" ".jpg" in
#                      ^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 44, characters 10-31:
# 44 |   if not (Caml.Sys.is_directory dir)
#                ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 46, characters 14-30:
# 46 |   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 51, characters 24-44:
# 51 |       match load_image (Caml.Filename.concat dir filename) ?resize with
#                              ^^^^^^^^^^^^^^^^^^^^
# 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/bigarray-compat -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 200, characters 4-32:
# 200 |     Caml.Format.pp_print_newline formatter ();
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 201, characters 4-31:
# 201 |     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 202, characters 4-32:
# 202 |     Caml.Format.pp_print_newline formatter ()
#           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/tensor.ml", line 207, characters 7-34:
# 207 |     |> Caml.Format.pp_print_string formatter
#              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
# 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/bigarray-compat -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 49, characters 4-22:
# 49 |     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/bigarray-compat -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 138, characters 4-22:
# 138 |     Caml.Gc.full_major ();
#           ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/dataset_helper.ml", line 180, characters 4-22:
# 180 |     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 6-24:
# 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 6-24:
# 194 |       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/bigarray-compat -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 15, characters 24-47:
# 15 |   |> List.sort ~compare:Caml.Pervasives.compare
#                              ^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/torch/checkpointing.ml", line 15, characters 24-47:
# 15 |   |> List.sort ~compare:Caml.Pervasives.compare
#                              ^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml.Pervasives
# Use Stdlib instead.
# 
# If you need to stay compatible with OCaml < 4.07, you can use the 
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
# File "src/torch/checkpointing.ml", line 13, characters 38-58:
# 13 |           Some (Int.of_string suffix, Caml.Filename.concat dirname filename)
#                                            ^^^^^^^^^^^^^^^^^^^^
# 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/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/bigarray-compat -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 43, characters 26-46:
# 43 |   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 65, characters 21-41:
# 65 |     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/bigarray-compat -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/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/bigarray-compat -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/result -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stb_image -I /home/opam/.opam/4.14/lib/stb_image_write -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 5, characters 17-40:
# 5 |   let tmp_file = Caml.Filename.temp_file "imagenet-resize-crop" ".jpg" in
#                      ^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 44, characters 10-31:
# 44 |   if not (Caml.Sys.is_directory dir)
#                ^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml
# File "src/vision/image.ml", line 46, characters 14-30:
# 46 |   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 51, characters 24-44:
# 51 |       match load_image (Caml.Filename.concat dir filename) ?resize with
#                              ^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Caml
# [since v0.16] use Stdlib instead of Caml



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build torch 0.2
+- 
+- The following changes have been performed
| - install base                v0.16.3
| - install bigarray-compat     1.1.0
| - install camlzip             1.12
| - install cmdliner            1.3.0
| - install conf-bash           1
| - install conf-libffi         2.0.0
| - install conf-pkg-config     3
| - install conf-zlib           1
| - install csexp               1.5.2
| - install ctypes              0.23.0
| - install ctypes-foreign      0.23.0
| - install dune-configurator   3.16.0
| - install integers            0.7.0
| - install jane-street-headers v0.16.0
| - install jst-config          v0.16.0
| - install libtorch            1.0.1
| - install npy                 0.0.9
| - install num                 1.5-1
| - install ocaml-compiler-libs v0.12.4
| - install parsexp             v0.16.0
| - install ppx_assert          v0.16.0
| - install ppx_base            v0.16.0
| - install ppx_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.0
| - 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.33.0
| - install re                  1.12.0
| - install result              1.5
| - install seq                 base
| - install sexplib             v0.16.0
| - install sexplib0            v0.16.0
| - install stb_image           0.5
| - install stb_image_write     0.2
| - install stdio               v0.16.0
| - install stdlib-shims        0.3.0
| - install time_now            v0.16.0
+- 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20240912185616.export"
'opam --cli=2.1 install torch.0.2 time_now.v0.16.0 stdlib-shims.0.3.0 stdio.v0.16.0 stb_image_write.0.2 stb_image.0.5 sexplib0.v0.16.0 sexplib.v0.16.0 seq.base result.1.5 re.1.12.0 ppxlib.0.33.0 ppx_sexp_conv.v0.16.0 ppx_optcomp.v0.16.0 ppx_inline_test.v0.16.1 ppx_here.v0.16.0 ppx_hash.v0.16.0 ppx_globalize.v0.16.0 ppx_expect.v0.16.0 ppx_enumerate.v0.16.0 ppx_derivers.1.2.1 ppx_custom_printf.v0.16.0 ppx_compare.v0.16.0 ppx_cold.v0.16.0 ppx_base.v0.16.0 ppx_assert.v0.16.0 parsexp.v0.16.0 ocamlfind.1.9.6 ocaml-compiler-libs.v0.12.4 num.1.5-1 npy.0.0.9 libtorch.1.0.1 jst-config.v0.16.0 jane-street-headers.v0.16.0 integers.0.7.0 host-arch-x86_64.1 dune-configurator.3.16.0 dune.3.16.0 ctypes-foreign.0.23.0 ctypes.0.23.0 csexp.1.5.2 conf-zlib.1 conf-pkg-config.3 conf-libffi.2.0.0 conf-bash.1 cmdliner.1.3.0 camlzip.1.12 bigarray-compat.1.1.0 base.v0.16.3 --verbose --yes --confirm-level=unsafe-yes' failed.
2024-09-12 18:57.54 ---> saved as "5daa0030267b0b8ac192a12019d2db0103155194dda5de7182ee3e578aa5d093"

/home/opam: (run (shell "opam exec -- ~/voodoo-prep -u torch:b777cabd72858b3ed7a62a5fd1f94567,stb_image_write:49bc592fc0b4321b8356083410166b69"))
2024-09-12 18:57.56 ---> saved as "49e47f74532dfcabcb4c6e8825c671b369d89ee3a661ed91baee90e756264670"

/home/opam: (run (network host)
                 (secrets (ssh_privkey (target /home/opam/.ssh/id_rsa)) (ssh_pubkey (target /home/opam/.ssh/id_rsa.pub)) (ssh_config (target /home/opam/.ssh/config)))
                 (shell "(echo '0.339290') && (for DATA in prep/universes/49bc592fc0b4321b8356083410166b69/stb_image_write/0.2,stb_image_write.0.2-49bc592fc0b4321b8356083410166b69,stb_image_write.0.2 prep/universes/b777cabd72858b3ed7a62a5fd1f94567/torch/0.2,torch.0.2-b777cabd72858b3ed7a62a5fd1f94567,torch.0.2; do IFS=\",\"; set -- $DATA; ([ -d $1 ] || (echo \"FAILED:$2\" && mkdir -p $1 && cp ~/opam.err.log $1 && opam show $3 --raw > $1/opam)) && (shopt -s nullglob && ((tar -cvf $1.tar $1/*  && rm -R $1/* && mv $1.tar $1/content.tar) || (echo 'Empty directory'))) done) && (for DATA in prep/universes/49bc592fc0b4321b8356083410166b69/stb_image_write/0.2,stb_image_write.0.2-49bc592fc0b4321b8356083410166b69,stb_image_write.0.2 prep/universes/b777cabd72858b3ed7a62a5fd1f94567/torch/0.2,torch.0.2-b777cabd72858b3ed7a62a5fd1f94567,torch.0.2; do IFS=\",\"; set -- $DATA; rsync -aR --no-p ./$1 docs.ci.ocaml.org:/data/.; done) && (for DATA in prep/universes/49bc592fc0b4321b8356083410166b69/stb_image_write/0.2,stb_image_write.0.2-49bc592fc0b4321b8356083410166b69,stb_image_write.0.2 prep/universes/b777cabd72858b3ed7a62a5fd1f94567/torch/0.2,torch.0.2-b777cabd72858b3ed7a62a5fd1f94567,torch.0.2; do IFS=\",\"; set -- $DATA; HASH=$((sha256sum $1/content.tar | cut -d \" \" -f 1)  || echo -n 'empty'); printf \"HASHES:$2:$HASH\\n\"; done)"))
0.339290
prep/universes/49bc592fc0b4321b8356083410166b69/stb_image_write/0.2/lib/
prep/universes/49bc592fc0b4321b8356083410166b69/stb_image_write/0.2/lib/stb_image_write/
prep/universes/49bc592fc0b4321b8356083410166b69/stb_image_write/0.2/lib/stb_image_write/stb_image_write.ocamlobjinfo
prep/universes/49bc592fc0b4321b8356083410166b69/stb_image_write/0.2/lib/stb_image_write/META
prep/universes/49bc592fc0b4321b8356083410166b69/stb_image_write/0.2/lib/stb_image_write/stb_image_write.cmi
prep/universes/49bc592fc0b4321b8356083410166b69/stb_image_write/0.2/opam
FAILED:torch.0.2-b777cabd72858b3ed7a62a5fd1f94567
prep/universes/b777cabd72858b3ed7a62a5fd1f94567/torch/0.2/opam
prep/universes/b777cabd72858b3ed7a62a5fd1f94567/torch/0.2/opam.err.log
Warning: Permanently added '[docs.ci.ocaml.org]:2222' (ED25519) to the list of known hosts.
Warning: Permanently added '[docs.ci.ocaml.org]:2222' (ED25519) to the list of known hosts.
HASHES:stb_image_write.0.2-49bc592fc0b4321b8356083410166b69:e7550ac58a0213fdf07789b061a213b721043772b257370322a8a8a95023bab7
HASHES:torch.0.2-b777cabd72858b3ed7a62a5fd1f94567:bb39e6fb38b66d7a42f07c9eccf9a225f2b5e84daaa239e97f57e30ac2335423
2024-09-12 18:57.58 ---> saved as "fd3a1c419ddcddbd6952f9f487430bffb1c9bd43166bb9f0608b632c231d4c62"
Job succeeded
2024-09-12 19:06.12: Failed: torch.0.2-b777cabd72858b3ed7a62a5fd1f94567
2024-09-12 19:06.13: torch.0.2-b777cabd72858b3ed7a62a5fd1f94567 -> bb39e6fb38b66d7a42f07c9eccf9a225f2b5e84daaa239e97f57e30ac2335423
2024-09-12 19:06.13: stb_image_write.0.2-49bc592fc0b4321b8356083410166b69 -> e7550ac58a0213fdf07789b061a213b721043772b257370322a8a8a95023bab7
2024-09-12 19:06.13: Job succeeded