Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting colour-2.3.4 Starting base-orphans-0.8 Building colour-2.3.4 Building base-orphans-0.8 Completed base-orphans-0.8 Starting dimensions-1.0.1.1 Building dimensions-1.0.1.1 Completed colour-2.3.4 Starting ghc-tcplugins-extra-0.3 Building ghc-tcplugins-extra-0.3 Completed ghc-tcplugins-extra-0.3 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed hashable-1.2.7.0 Starting hasktorch-signatures-types-0.0.1.0 Completed dimensions-1.0.1.1 Starting integer-logarithms-1.0.2.2 Building hasktorch-signatures-types-0.0.1.0 Building integer-logarithms-1.0.2.2 Completed hasktorch-signatures-types-0.0.1.0 Starting managed-1.0.6 Completed integer-logarithms-1.0.2.2 Starting microlens-0.4.9.1 Building managed-1.0.6 Building microlens-0.4.9.1 Completed managed-1.0.6 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed microlens-0.4.9.1 Starting reflection-2.1.4 Building reflection-2.1.4 Completed reflection-2.1.4 Starting safe-0.3.17 Building safe-0.3.17 Completed safe-0.3.17 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed primitive-0.6.4.0 Starting syb-0.7 Building syb-0.7 Completed semigroups-0.18.5 Starting th-abstraction-0.2.8.0 Building th-abstraction-0.2.8.0 Completed syb-0.7 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed th-abstraction-0.2.8.0 Starting vinyl-0.10.0 Building vinyl-0.10.0 Completed transformers-compat-0.6.2 Starting ansi-terminal-0.8.2 Building ansi-terminal-0.8.2 Completed ansi-terminal-0.8.2 Starting ghc-typelits-natnormalise-0.6.2 Building ghc-typelits-natnormalise-0.6.2 Completed vinyl-0.10.0 Starting unordered-containers-0.2.9.0 Building unordered-containers-0.2.9.0 Completed ghc-typelits-natnormalise-0.6.2 Starting vector-0.12.0.1 Building vector-0.12.0.1 Completed unordered-containers-0.2.9.0 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting th-expand-syns-0.4.4.0 Building th-expand-syns-0.4.4.0 Completed th-expand-syns-0.4.4.0 Starting th-lift-0.7.11 Building th-lift-0.7.11 Completed th-lift-0.7.11 Starting exceptions-0.10.0 Building exceptions-0.10.0 Completed exceptions-0.10.0 Starting ansi-wl-pprint-0.6.8.2 Building ansi-wl-pprint-0.6.8.2 Completed ansi-wl-pprint-0.6.8.2 Starting charset-0.3.7.1 Building charset-0.3.7.1 Completed charset-0.3.7.1 Starting attoparsec-0.13.2.2 Building attoparsec-0.13.2.2 Completed vector-0.12.0.1 Starting th-reify-many-0.1.8 Building th-reify-many-0.1.8 Completed th-reify-many-0.1.8 Starting safe-exceptions-0.1.7.0 Building safe-exceptions-0.1.7.0 Completed safe-exceptions-0.1.7.0 Starting th-lift-instances-0.1.11 Building th-lift-instances-0.1.11 Completed attoparsec-0.13.2.2 Starting backprop-0.2.6.1 Building backprop-0.2.6.1 Completed th-lift-instances-0.1.11 Starting parsers-0.12.9 Building parsers-0.12.9 Completed parsers-0.12.9 Starting th-orphans-0.13.6 Building th-orphans-0.13.6 Completed backprop-0.2.6.1 Starting inline-c-0.6.1.0 Building inline-c-0.6.1.0 Completed th-orphans-0.13.6 Starting th-desugar-1.9 Building th-desugar-1.9 Completed inline-c-0.6.1.0 Starting hasktorch-types-th-0.0.1.0 Building hasktorch-types-th-0.0.1.0 Completed hasktorch-types-th-0.0.1.0 Starting hasktorch-types-thc-0.0.1.0 Building hasktorch-types-thc-0.0.1.0 Completed th-desugar-1.9 Starting hasktorch-signatures-support-0.0.1.0 Building hasktorch-signatures-support-0.0.1.0 Completed hasktorch-signatures-support-0.0.1.0 Starting hasktorch-signatures-partial-0.0.1.0 Building hasktorch-signatures-partial-0.0.1.0 Completed hasktorch-types-thc-0.0.1.0 Starting hasktorch-ffi-th-0.0.1.0 Completed hasktorch-signatures-partial-0.0.1.0 Starting singletons-2.5 Failed to install hasktorch-ffi-th-0.0.1.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/hasktorch-ffi-th-0.0.1.0-4lcAtegMFYE947QUpmXww.log ): cabal: Entering directory '/tmp/cabal-tmp-4358/hasktorch-ffi-th-0.0.1.0' Configuring hasktorch-ffi-th-0.0.1.0... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: ATen This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the library file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. cabal: Leaving directory '/tmp/cabal-tmp-4358/hasktorch-ffi-th-0.0.1.0' Starting hasktorch-ffi-thc-0.0.1.0 Failed to install hasktorch-ffi-thc-0.0.1.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/hasktorch-ffi-thc-0.0.1.0-J9svK8cDfR3D6r1JonEznp.log ): cabal: Entering directory '/tmp/cabal-tmp-4358/hasktorch-ffi-thc-0.0.1.0' Configuring hasktorch-ffi-thc-0.0.1.0... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: ATen This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the library file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. cabal: Leaving directory '/tmp/cabal-tmp-4358/hasktorch-ffi-thc-0.0.1.0' Building singletons-2.5 Completed singletons-2.5 cabal: Error: some packages failed to install: hasktorch-ffi-th-0.0.1.0-4lcAtegMFYE947QUpmXww failed during the configure step. The exception was: ExitFailure 1 hasktorch-ffi-thc-0.0.1.0-J9svK8cDfR3D6r1JonEznp failed during the configure step. The exception was: ExitFailure 1 hasktorch-indef-0.0.1.0-6UrBVWRNKbg4Vlqp7t2taN depends on hasktorch-indef-0.0.1.0 which failed to install. hasktorch-signatures-0.0.1.0-LMC9iHpO4OWACFKCJuk77h depends on hasktorch-signatures-0.0.1.0 which failed to install.