Open klappvisor opened 6 years ago
Experienced the same issue. Using stack lts-10.4.
Configuring telegram-api-0.7.2.0...
Preprocessing library for telegram-api-0.7.2.0..
Building library for telegram-api-0.7.2.0..
[ 1 of 16] Compiling Servant.Client.MultipartFormData ( src/Servant/Client/MultipartFormData.hs, .stack-work/dist/x86_64-linux-nopie/Cabal-2.0.1.0/build/Servant/Client/MultipartFormData.o )
[ 2 of 16] Compiling Web.Telegram.API.Bot.API.Core ( src/Web/Telegram/API/Bot/API/Core.hs, .stack-work/dist/x86_64-linux-nopie/Cabal-2.0.1.0/build/Web/Telegram/API/Bot/API/Core.o )
[ 3 of 16] Compiling Web.Telegram.API.Bot.JsonExt ( src/Web/Telegram/API/Bot/JsonExt.hs, .stack-work/dist/x86_64-linux-nopie/Cabal-2.0.1.0/build/Web/Telegram/API/Bot/JsonExt.o )
[ 4 of 16] Compiling Web.Telegram.API.Bot.Data ( src/Web/Telegram/API/Bot/Data.hs, .stack-work/dist/x86_64-linux-nopie/Cabal-2.0.1.0/build/Web/Telegram/API/Bot/Data.o )
[;1msrc/Web/Telegram/API/Bot/Data.hs:85:1: [;1m[35mwarning:[0m[0m[;1m [[;1m[35m-Wunused-imports[0m[0m[;1m][0m[0m[;1m
The import of ‘Data.Aeson.Types’ is redundant
except perhaps to import instances from ‘Data.Aeson.Types’
To import instances alone, use: import Data.Aeson.Types()[0m[0m
[;1m[34m |[0m[0m
[;1m[34m85 |[0m[0m [;1m[35mimport Data.Aeson.Types[0m[0m
[;1m[34m |[0m[0m[;1m[35m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m[0m
[0m[0m[0m
While the output of stack build
says it indicates an OUT OF MEMORY
.
Process exited with code: ExitFailure (-9) (THIS MAY INDICATE OUT OF MEMORY)
https://matrix.hackage.haskell.org/package/telegram-api#GHC-8.2/telegram-api-0.7.0.0