Open valeriyvan opened 1 year ago
Hm. This looks like insufficient memory problem. I've had this error on instance with 512RAM, with 2GB RAM. With 4GB RAM error goes away.
Would be great to have clear out of memory error message instead of failed due to signal 9
.
Sounds like an issue for the compiler/linker instead, SwiftPM does not control their diagnostics. @shahmishal could you transfer this?
Description
swift build
fails with error error:emit-module command failed due to signal 9
on Ubuntu 22.10 x64Expected behavior
I would expect
swift build
not being terminated with signal 9.Actual behavior
swift build
fails with error error:emit-module command failed due to signal 9
on Ubuntu 22.10 x64Steps to reproduce
apt-get install zlib1g-dev
.git clone git@github.com:nerzh/telegram-vapor-bot.git
cd telegram-vapor-bot/Telegram-bot-example
swift build
Swift Package Manager version/commit hash
5.8.0
Swift & OS version (output of
swift --version ; uname -a
)