Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FAIL: Swift :: SILGen/collection_subtype_upcast.swift (1661 of 8328)
******************** TEST 'Swift :: SILGen/collection_subtype_upcast.swift' FAILED ********************
Script:
--
/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu -enable-experimental-collection-casts -emit-silgen -sdk /home/hahnfedora/tmp/swiftbuild/swift/test/SILGen/Inputs /home/hahnfedora/tmp/swiftbuild/swift/test/SILGen/collection_subtype_upcast.swift | FileCheck /home/hahnfedora/tmp/swiftbuild/swift/test/SILGen/collection_subtype_upcast.swift
--
Exit Code: 2
Command Output (stderr):
--
#0 0x00000000035865c8 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x35865c8)
#1 0x0000000003586d27 SignalHandler(int) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x3586d27)
#2 0x00007fab1f817c30 __restore_rt (/lib64/libpthread.so.0+0x10c30)
#3 0x00000000009cb00b swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x9cb00b)
#4 0x00000000009bf524 swift::Lowering::SILGenFunction::emitRValue(swift::Expr*, swift::Lowering::SGFContext) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x9bf524)
#5 0x0000000000a0a612 swift::Lowering::SILGenFunction::emitReturnExpr(swift::SILLocation, swift::Expr*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0xa0a612)
#6 0x0000000000a07ce9 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0xa07ce9)
#7 0x0000000000a07b70 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0xa07b70)
#8 0x0000000000a079be swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0xa079be)
#9 0x00000000009d7bc2 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x9d7bc2)
#10 0x00000000009751be swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*)::$_1::operator()(swift::SILFunction*) const (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x9751be)
#11 0x000000000096c2bb swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x96c2bb)
#12 0x00000000009732ed swift::ASTVisitor<swift::Lowering::SILGenModule, void, void, void, void, void, void>::visit(swift::Decl*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x9732ed)
#13 0x000000000097281b swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*, unsigned int) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x97281b)
#14 0x0000000000973746 swift::SILModule::constructSIL(swift::ModuleDecl*, swift::SILOptions&, swift::FileUnit*, llvm::Optional<unsigned int>, bool, bool) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x973746)
#15 0x0000000000973cd4 swift::performSILGeneration(swift::ModuleDecl*, swift::SILOptions&, bool, bool) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x973cd4)
#16 0x00000000007e5d54 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x7e5d54)
#17 0x00000000007e1cb1 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x7e1cb1)
#18 0x00000000007a7013 main (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x7a7013)
#19 0x00007fab1df33731 __libc_start_main (/lib64/libc.so.6+0x20731)
#20 0x00000000007a46b9 _start (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x7a46b9)
Stack dump:
0. Program arguments: /home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu -enable-experimental-collection-casts -emit-silgen -sdk /home/hahnfedora/tmp/swiftbuild/swift/test/SILGen/Inputs /home/hahnfedora/tmp/swiftbuild/swift/test/SILGen/collection_subtype_upcast.swift
1. While emitting SIL for 'array_upcast' at /home/hahnfedora/tmp/swiftbuild/swift/test/SILGen/collection_subtype_upcast.swift:14:1
FileCheck error: '-' is empty.
--
********************
FAIL: Swift :: SILGen/collection_subtype_downcast.swift (1667 of 8328)
******************** TEST 'Swift :: SILGen/collection_subtype_downcast.swift' FAILED ********************
Script:
--
/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu -enable-experimental-collection-casts -emit-silgen -sdk /home/hahnfedora/tmp/swiftbuild/swift/test/SILGen/Inputs /home/hahnfedora/tmp/swiftbuild/swift/test/SILGen/collection_subtype_downcast.swift | FileCheck /home/hahnfedora/tmp/swiftbuild/swift/test/SILGen/collection_subtype_downcast.swift
--
Exit Code: 2
Command Output (stderr):
--
#0 0x00000000035865c8 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x35865c8)
#1 0x0000000003586d27 SignalHandler(int) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x3586d27)
#2 0x00007f67d79f5c30 __restore_rt (/lib64/libpthread.so.0+0x10c30)
#3 0x00000000009bb8ac emitCollectionDowncastExpr(swift::Lowering::SILGenFunction&, swift::Lowering::ManagedValue, swift::Type, swift::SILLocation, swift::Type, swift::Lowering::SGFContext, bool, bool) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x9bb8ac)
#4 0x00000000009bbc6e swift::Lowering::emitConditionalCheckedCast(swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::ManagedValue, swift::Type, swift::Type, swift::CheckedCastKind, swift::Lowering::SGFContext) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x9bbc6e)
#5 0x00000000009c4a7f swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x9c4a7f)
#6 0x00000000009bf524 swift::Lowering::SILGenFunction::emitRValue(swift::Expr*, swift::Lowering::SGFContext) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x9bf524)
#7 0x0000000000a0a612 swift::Lowering::SILGenFunction::emitReturnExpr(swift::SILLocation, swift::Expr*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0xa0a612)
#8 0x0000000000a07ce9 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0xa07ce9)
#9 0x0000000000a07b70 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0xa07b70)
#10 0x0000000000a079be swift::Lowering::SILGenFunction::emitStmt(swift::Stmt*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0xa079be)
#11 0x00000000009d7bc2 swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x9d7bc2)
#12 0x00000000009751be swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*)::$_1::operator()(swift::SILFunction*) const (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x9751be)
#13 0x000000000096c2bb swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x96c2bb)
#14 0x00000000009732ed swift::ASTVisitor<swift::Lowering::SILGenModule, void, void, void, void, void, void>::visit(swift::Decl*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x9732ed)
#15 0x000000000097281b swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*, unsigned int) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x97281b)
#16 0x0000000000973746 swift::SILModule::constructSIL(swift::ModuleDecl*, swift::SILOptions&, swift::FileUnit*, llvm::Optional<unsigned int>, bool, bool) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x973746)
#17 0x0000000000973cd4 swift::performSILGeneration(swift::ModuleDecl*, swift::SILOptions&, bool, bool) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x973cd4)
#18 0x00000000007e5d54 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x7e5d54)
#19 0x00000000007e1cb1 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x7e1cb1)
#20 0x00000000007a7013 main (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x7a7013)
#21 0x00007f67d6111731 __libc_start_main (/lib64/libc.so.6+0x20731)
#22 0x00000000007a46b9 _start (/home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift+0x7a46b9)
Stack dump:
0. Program arguments: /home/hahnfedora/tmp/swiftbuild/build/buildbot_linux/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu -enable-experimental-collection-casts -emit-silgen -sdk /home/hahnfedora/tmp/swiftbuild/swift/test/SILGen/Inputs /home/hahnfedora/tmp/swiftbuild/swift/test/SILGen/collection_subtype_downcast.swift
1. While emitting SIL for 'array_downcast' at /home/hahnfedora/tmp/swiftbuild/swift/test/SILGen/collection_subtype_downcast.swift:14:1
FileCheck error: '-' is empty.
--
********************
Testing Time: 602.30s
********************
Failing Tests (2):
Swift :: SILGen/collection_subtype_downcast.swift
Swift :: SILGen/collection_subtype_upcast.swift
Expected Passes : 7436
Expected Failures : 74
Unsupported Tests : 816
Unexpected Failures: 2
*** Failed while running tests for swift (check-swift-validation-linux-x86_64)
utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment