Has anyone been able to compile this from source? I have tried accross multiple configurations at this point and not had any luck.
"[998/1039][ 96%][1043.994s] Compiling /home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/stdlib/public/core/
LINUX/x86_64/Swift.o
FAILED: stdlib/public/core/LINUX/x86_64/Swift.o
cd /home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/stdlib/public/core && /usr/bin/python /home/sftf/swift
-source/swift/utils/line-directive @/home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/stdlib/public/core/vt
ifs.txt â /home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/./bin/swiftc -c -sdk / -target x86_64-unknown-
linux-gnu -resource-dir /home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/./lib/swift -O -g -D INTERNAL_CHE
CKS_ENABLED -D SWIFT_ENABLE_RUNTIME_FUNCTION_COUNTERS -I /home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/
./lib/swift/linux/x86_64 -module-cache-path /home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/./module-cach
e -no-link-objc-runtime -enable-library-evolution -Xfrontend -enable-resilience -Xfrontend -enforce-exclusivity=unchecked -nostdimpor
t -parse-stdlib -module-name Swift -Xfrontend -group-info-path -Xfrontend /home/sftf/swift-source/swift/stdlib/public/core/GroupInfo.
json -swift-version 5 -runtime-compatibility-version none -warn-swift3-objc-inference-complete -Xfrontend -verify-syntax-tree -Xllvm
-sil-inline-generics -Xllvm -sil-partial-specialization -Xcc -DswiftCore_EXPORTS -warn-implicit-overrides -module-link-name swiftCore
-force-single-frontend-invocation -parse-as-library -o /home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/s
tdlib/public/core/LINUX/x86_64/Swift.o @/home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/stdlib/public/cor
e/vtifs.txt
swift: /home/sftf/swift-source/swift/lib/IRGen/IRGenDebugInfo.cpp:2183: void (anonymous namespace)::IRGenDebugInfoImpl::emitVariableD
eclaration(swift::irgen::IRBuilder &, ArrayRef<llvm::Value *>, swift::irgen::DebugTypeInfo, const swift::SILDebugScope *, swift::Valu
eDecl *, llvm::StringRef, unsigned int, swift::irgen::IndirectionKind, swift::irgen::ArtificialKind): Assertion `OffsetInBits + SizeI
nBits <= getSizeInBits(Var) && âpars > totumââ failed.
Stack dump:
0. Program arguments: /home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/bin/swift -frontend -c -fileli
st /tmp/sources-466ec7 -supplementary-output-file-map /tmp/supplementaryOutputs-fdb887 -disable-objc-attr-requires-foundation-module
-target x86_64-unknown-linux-gnu -disable-objc-interop -sdk / -I /home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux
-x86_64/./lib/swift/linux/x86_64 -warn-swift3-objc-inference-complete -warn-implicit-overrides -enable-library-evolution -g -module-cache-path /home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/./module-cache -module-link-name swiftCore -nos
tdimport -parse-stdlib -resource-dir /home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/./lib/swift -swift-v
ersion 5 -O -D INTERNAL_CHECKS_ENABLED -D SWIFT_ENABLE_RUNTIME_FUNCTION_COUNTERS -enable-resilience -enforce-exclusivity=unchecked -g
roup-info-path /home/sftf/swift-source/swift/stdlib/public/core/GroupInfo.json -verify-syntax-tree -enable-anonymous-context-mangled-names -Xllvm -sil-inline-generics -Xllvm -sil-partial-specialization -Xcc -DswiftCore_EXPORTS -parse-as-library -module-name Swift -o
/home/sftf/swift-source/build/Ninja-RelWithDebInfoAssert/swift-linux-x86_64/stdlib/public/core/LINUX/x86_64/Swift.o -runtime-compati
bility-version none
-
Swift version 5.1-dev (LLVM 7d54a7c711, Swift 8f5f77aa34)
- "
You can download a docker container with this issue here: https://hub.docker.com/r/moeri/swift-source/dockerfile