Skip to content

Instantly share code, notes, and snippets.

@marii-moe
Created August 28, 2019 21:04
Show Gist options
  • Save marii-moe/70052282a759a8f0ed1a3d3e1e461baf to your computer and use it in GitHub Desktop.
Save marii-moe/70052282a759a8f0ed1a3d3e1e461baf to your computer and use it in GitHub Desktop.
Compiler error
Script:
--
: 'RUN: at line 1'; rm -rf "/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/test-linux-x86_64/AutoDiff/Output/Optional.swift.tmp" && mkdir -p "/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/test-linux-x86_64/AutoDiff/Output/Optional.swift.tmp" && /home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swiftc -target x86_64-unknown-linux-gnu -toolchain-stdlib-rpath -module-cache-path '/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/swift-test-results/x86_64-unknown-linux-gnu/clang-module-cache' -swift-version 4 -module-cache-path '/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/swift-test-results/x86_64-unknown-linux-gnu/clang-module-cache' /home/sftf/swift-source/swift/test/AutoDiff/Optional.swift -o /home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/test-linux-x86_64/AutoDiff/Output/Optional.swift.tmp/a.out -ltensorflow -ltensorflow_framework -L /home/sftf/swift-source/tensorflow/bazel-bin/tensorflow -module-name main && echo /home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/test-linux-x86_64/AutoDiff/Output/Optional.swift.tmp/a.out &&/usr/bin/env DYLD_LIBRARY_PATH='/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/lib/swift/linux/x86_64' LD_LIBRARY_PATH='/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/lib/swift/linux/x86_64:' SIMCTL_CHILD_DYLD_LIBRARY_PATH='/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/lib/swift/linux/x86_64' /home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/test-linux-x86_64/AutoDiff/Output/Optional.swift.tmp/a.out
--
Exit Code: 254
Command Output (stderr):
--
swift: /home/sftf/swift-source/swift/lib/SILGen/SILGenPoly.cpp:1441: void (anonymous namespace)::TranslateArguments::translateSingle(swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::ManagedValue, swift::SILParameterInfo): Assertion `Outputs.back().getType() == SGF.getSILType(result)' failed.
Stack dump:
0. Program arguments: /home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift -frontend -c -primary-file /home/sftf/swift-source/swift/test/AutoDiff/Optional.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -module-cache-path /home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/swift-test-results/x86_64-unknown-linux-gnu/clang-module-cache -swift-version 4 -module-name main -o /tmp/lit_tmp_xh_6zx/Optional-3bd99f.o
1. Swift version 5.1-dev (LLVM 200186e28b, Swift 9adb166820)
2. While silgen closureexpr SIL function "@$s4mainyycfU_".
for expression at [/home/sftf/swift-source/swift/test/AutoDiff/Optional.swift:14:38 - line:34:1] RangeText="{
struct optFunc : Differentiable {
/*@noDerivative*/ var f1: Float?
init(f1 f: Float ) {
f1=Optional.some(f)
}
//@differentiable
func callAsFunction(_ x: Float) -> Float {
if f1 != nil {
let f = f1!
return f*x
}
return x
}
}
let opt = optFunc(f1: 2.0)
let grad = opt.gradient(at: 4, in: { dense, x in dense(x) })
//let backprop = opt.pullback(at: 100, in: { dense, x in dense(x) })
expectEqual(grad,(optFunc.TangentVector(f1: OptionalGrad(value: 1.0) ), 2.0))
//expectEqual(backprop(-2.0),(optFunc.TangentVector(f1: OptionalGrad(value: 1.0) ),-4.0))
"
3. While emitting reabstraction thunk in SIL function "@$s4mainyycfU_7optFuncL_VS2fAC13TangentVectorVS2fIegyyd_Igyydo_ACS2fAES2fIegnnr_Iegnnro_TR".
for <<debugloc at "<compiler-generated>":0:0>>4. While emitting reabstraction thunk in SIL function "@$s4mainyycfU_7optFuncL_V13TangentVectorVS2fIegyyd_AES2fIegnnr_TR".
for <<debugloc at "<compiler-generated>":0:0>> #0 0x000000000657eea4 PrintStackTraceSignalHandler(void*) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x657eea4)
#1 0x000000000657cafe llvm::sys::RunSignalHandlers() (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x657cafe)
#2 0x000000000657f2b8 SignalHandler(int) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x657f2b8)
#3 0x00007f822f3c1890 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
#4 0x00007f822d824e97 gsignal /build/glibc-OTsEL5/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c:51:0
#5 0x00007f822d826801 abort /build/glibc-OTsEL5/glibc-2.27/stdlib/abort.c:81:0
#6 0x00007f822d81639a __assert_fail_base /build/glibc-OTsEL5/glibc-2.27/assert/assert.c:89:0
#7 0x00007f822d816412 (/lib/x86_64-linux-gnu/libc.so.6+0x30412)
#8 0x00000000027eb7ba (anonymous namespace)::TranslateArguments::translateSingle(swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::ManagedValue, swift::SILParameterInfo) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27eb7ba)
#9 0x00000000027ea1ae (anonymous namespace)::TranslateArguments::translate(swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::AbstractionPattern, swift::CanType) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27ea1ae)
#10 0x00000000027eafeb (anonymous namespace)::TranslateArguments::translate(llvm::ArrayRef<swift::Lowering::AbstractionPattern>, swift::ArrayRefView<swift::AnyFunctionType::Param, swift::AnyFunctionType::CanParam, swift::AnyFunctionType::CanParam::getFromParam(swift::AnyFunctionType::Param const&), true>, llvm::ArrayRef<swift::Lowering::AbstractionPattern>, swift::ArrayRefView<swift::AnyFunctionType::Param, swift::AnyFunctionType::CanParam, swift::AnyFunctionType::CanParam::getFromParam(swift::AnyFunctionType::Param const&), true>) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27eafeb)
#11 0x00000000027e3ac0 (anonymous namespace)::TranslateArguments::translate(swift::Lowering::AbstractionPattern, swift::ArrayRefView<swift::AnyFunctionType::Param, swift::AnyFunctionType::CanParam, swift::AnyFunctionType::CanParam::getFromParam(swift::AnyFunctionType::Param const&), true>, swift::Lowering::AbstractionPattern, swift::ArrayRefView<swift::AnyFunctionType::Param, swift::AnyFunctionType::CanParam, swift::AnyFunctionType::CanParam::getFromParam(swift::AnyFunctionType::Param const&), true>) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27e3ac0)
#12 0x00000000027e8ae2 createThunk(swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::ManagedValue, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::AnyFunctionType>, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::AnyFunctionType>, swift::Lowering::TypeLowering const&) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27e8ae2)
#13 0x00000000027df204 (anonymous namespace)::Transform::transform(swift::Lowering::ManagedValue, swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::SGFContext) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27df204)
#14 0x00000000027f111f (anonymous namespace)::ResultPlanner::execute(llvm::ArrayRef<swift::SILValue>, llvm::SmallVectorImpl<swift::SILValue>&)::$_18::operator()((anonymous namespace)::ResultPlanner::Operation&, bool, bool) const (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27f111f)
#15 0x00000000027e4c53 (anonymous namespace)::ResultPlanner::execute(swift::SILValue) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27e4c53)
#16 0x00000000027e8d5f createThunk(swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::ManagedValue, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::AnyFunctionType>, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::AnyFunctionType>, swift::Lowering::TypeLowering const&) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27e8d5f)
#17 0x00000000027e97b7 createAutoDiffThunk(swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::ManagedValue, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::AnyFunctionType>, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::AnyFunctionType>)::$_15::operator()(swift::AutoDiffAssociatedFunctionKind) const (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27e97b7)
#18 0x00000000027e889e createThunk(swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::ManagedValue, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::AnyFunctionType>, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::AnyFunctionType>, swift::Lowering::TypeLowering const&) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27e889e)
#19 0x00000000027df204 (anonymous namespace)::Transform::transform(swift::Lowering::ManagedValue, swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::SGFContext) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27df204)
#20 0x00000000027de331 swift::Lowering::SILGenFunction::emitSubstToOrigValue(swift::SILLocation, swift::Lowering::ManagedValue, swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::SGFContext) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27de331)
#21 0x000000000277372b swift::Lowering::Conversion::emit(swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::ManagedValue, swift::Lowering::SGFContext) const (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x277372b)
#22 0x000000000277337c swift::Lowering::ConvertingInitialization::finishEmission(swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::ManagedValue) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x277337c)
#23 0x0000000002773176 swift::Lowering::SILGenFunction::emitConvertedRValue(swift::SILLocation, swift::Lowering::Conversion const&, swift::Lowering::SGFContext, llvm::function_ref<swift::Lowering::ManagedValue (swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::SGFContext)>) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2773176)
#24 0x0000000002747400 swift::Lowering::ArgumentSource::getConverted(swift::Lowering::SILGenFunction&, swift::Lowering::Conversion const&, swift::Lowering::SGFContext) && (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2747400)
#25 0x0000000002739e6d (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2739e6d)
#26 0x0000000002725c35 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2725c35)
#27 0x0000000002745320 (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2745320)
#28 0x0000000002745050 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus) && (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2745050)
#29 0x0000000002744860 (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::CanTypeWrapper<swift::FunctionType>&, swift::Lowering::AbstractionPattern&, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::Optional<swift::SILLocation>&, swift::CanTypeWrapper<swift::FunctionType>&) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2744860)
#30 0x0000000002728dc9 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2728dc9)
#31 0x0000000002727fab swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2727fab)
#32 0x0000000002796c90 swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2796c90)
#33 0x0000000002788ee9 swift::Lowering::SILGenFunction::emitExprInto(swift::Expr*, swift::Lowering::Initialization*, llvm::Optional<swift::SILLocation>) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2788ee9)
#34 0x00000000027795ca swift::Lowering::SILGenFunction::emitPatternBinding(swift::PatternBindingDecl*, unsigned int) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27795ca)
#35 0x00000000027796fd swift::Lowering::SILGenFunction::visitPatternBindingDecl(swift::PatternBindingDecl*) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27796fd)
#36 0x00000000027f6f73 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27f6f73)
#37 0x00000000027f502d swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27f502d)
#38 0x00000000027b0adf swift::Lowering::SILGenFunction::emitClosure(swift::AbstractClosureExpr*) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27b0adf)
#39 0x0000000002710668 swift::Lowering::SILGenModule::emitClosure(swift::AbstractClosureExpr*) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2710668)
#40 0x00000000027a417a (anonymous namespace)::RValueEmitter::visitAbstractClosureExpr(swift::AbstractClosureExpr*, swift::Lowering::SGFContext) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x27a417a)
#41 0x0000000002796cbd swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2796cbd)
#42 0x000000000278bfb8 swift::Lowering::SILGenFunction::emitRValueAsSingleValue(swift::Expr*, swift::Lowering::SGFContext) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x278bfb8)
#43 0x0000000002739a82 (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2739a82)
#44 0x0000000002725c35 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2725c35)
#45 0x0000000002745320 (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2745320)
#46 0x0000000002745050 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus) && (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2745050)
#47 0x0000000002744860 (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::CanTypeWrapper<swift::FunctionType>&, swift::Lowering::AbstractionPattern&, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::Optional<swift::SILLocation>&, swift::CanTypeWrapper<swift::FunctionType>&) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2744860)
#48 0x0000000002728dc9 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2728dc9)
#49 0x0000000002727fab swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2727fab)
#50 0x0000000002796c90 swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2796c90)
#51 0x000000000278c4e8 swift::Lowering::SILGenFunction::emitIgnoredExpr(swift::Expr*) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x278c4e8)
#52 0x0000000002714874 swift::Lowering::SILGenModule::visitTopLevelCodeDecl(swift::TopLevelCodeDecl*) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2714874)
#53 0x0000000002714d6c swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2714d6c)
#54 0x0000000002715c76 swift::SILModule::constructSIL(swift::ModuleDecl*, swift::SILOptions&, swift::FileUnit*) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2715c76)
#55 0x0000000002716207 swift::performSILGeneration(swift::FileUnit&, swift::SILOptions&) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2716207)
#56 0x0000000002386caa performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x2386caa)
#57 0x000000000238400d swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x238400d)
#58 0x00000000023253e0 main (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x23253e0)
#59 0x00007f822d807b97 __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0
#60 0x000000000232502a _start (/home/sftf/swift-source/build/Ninja-ReleaseAssert+stdlib-Release/swift-linux-x86_64/bin/swift+0x232502a)
<unknown>:0: error: unable to execute command: Aborted
<unknown>:0: error: compile command failed due to signal 6 (use -v to see invocation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment