[swift-dev] [Swift CI] Build Still Failing: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #4841

Daniel Dunbar daniel_dunbar at apple.com
Fri May 20 17:49:51 CDT 2016


The failure cascade is in full effect:

lit.py: lit.cfg:881: note: Using platform module dir: /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/lib/swift/%target-sdk-name/x86_64
-- Testing: 8207 tests, 48 threads --
Testing: 0 
FAIL: Swift :: ClangModules/simd.swift (207 of 8207)
 <>******************** TEST 'Swift :: ClangModules/simd.swift' FAILED ********************
Script:
--
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu   -enable-source-import -sdk '/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/test'/Inputs/clang-importer-sdk -I '/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/test'/Inputs/clang-importer-sdk/swift-modules   -module-name main -parse -verify /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/test/ClangModules/simd.swift
--
Exit Code: 1

Command Output (stderr):
--
 <>/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/test/ClangModules/simd.swift:18:5: error: unexpected error produced: 'b17' used within its own type
let b17 = makes_byte17 // expected-error{{unresolved identifier 'makes_byte17'}}
    ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/test/ClangModules/simd.swift:18:5: error: unexpected error produced: could not infer type for 'b17'
let b17 = makes_byte17 // expected-error{{unresolved identifier 'makes_byte17'}}
    ^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50
FAIL: Swift :: compiler_crashers_fixed/02046-swift-pattern-operator.swift (4510 of 8207)
******************** TEST 'Swift :: compiler_crashers_fixed/02046-swift-pattern-operator.swift' FAILED ********************
Script:
--
not /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu  /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift -parse
--
Exit Code: 1

Command Output (stderr):
--
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:11:12: error: definition conflicts with previous value
class a<T, T : Collection where B : A> {
           ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:11:9: note: previous definition of 'T' is here
class a<T, T : Collection where B : A> {
        ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:17:1: error: expected ')' in expression list
protocol a {
^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:15:2: note: to match this opening '('
c(n: NSObject {
 ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:17:1: error: declaration is only valid at file scope
protocol a {
^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:12:5: error: computed property must have an explicit type
var b {
    ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:21:1: error: expected declaration

^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:11:7: note: in declaration of 'a'
class a<T, T : Collection where B : A> {
      ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:11:33: error: use of undeclared type 'B'
class a<T, T : Collection where B : A> {
                                ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:11:7: error: invalid redeclaration of 'a'
class a<T, T : Collection where B : A> {
      ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:9:7: note: 'a' previously declared here
class a {
      ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:12:5: error: type annotation missing in pattern
var b {
    ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:20:9: error: use of undeclared type 'A'
let h : A?
        ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:13:8: error: type 'c' nested in generic function '_' is not allowed
struct c {
       ^
swift: /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/include/swift/AST/Decl.h:2169: swift::Accessibility swift::ValueDecl::getFormalAccess() const: Assertion `hasAccessibility() && "accessibility not computed yet"' failed.
#0 0x000000000326c4c8 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x326c4c8)
#1 0x000000000326ac96 llvm::sys::RunSignalHandlers() (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x326ac96)
#2 0x000000000326cffa SignalHandler(int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x326cffa)
#3 0x00007fd9f8e9b340 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x10340)
#4 0x00007fd9f7872cc9 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x36cc9)
#5 0x00007fd9f78760d8 abort (/lib/x86_64-linux-gnu/libc.so.6+0x3a0d8)
#6 0x00007fd9f786bb86 (/lib/x86_64-linux-gnu/libc.so.6+0x2fb86)
#7 0x00007fd9f786bc32 (/lib/x86_64-linux-gnu/libc.so.6+0x2fc32)
#8 0x00000000010c64ec (anonymous namespace)::OverrideFilteringConsumer::foundDecl(swift::ValueDecl*, swift::DeclVisibilityKind) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x10c64ec)
#9 0x00000000010c761f lookupTypeMembers(swift::Type, swift::Type, swift::VisibleDeclConsumer&, swift::DeclContext const*, (anonymous namespace)::LookupState, swift::DeclVisibilityKind, swift::LazyResolver*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x10c761f)
#10 0x00000000010c577f lookupVisibleMemberDeclsImpl(swift::Type, swift::VisibleDeclConsumer&, swift::DeclContext const*, (anonymous namespace)::LookupState, swift::DeclVisibilityKind, swift::LazyResolver*, llvm::SmallPtrSet<swift::TypeDecl*, 8u>&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x10c577f)
#11 0x00000000010c4880 lookupVisibleMemberDecls(swift::Type, swift::VisibleDeclConsumer&, swift::DeclContext const*, (anonymous namespace)::LookupState, swift::DeclVisibilityKind, swift::LazyResolver*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x10c4880)
#12 0x00000000010c41cc swift::lookupVisibleDecls(swift::VisibleDeclConsumer&, swift::DeclContext const*, swift::LazyResolver*, bool, swift::SourceLoc) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x10c41cc)
#13 0x0000000000ecfb8a swift::TypeChecker::performTypoCorrection(swift::DeclContext*, swift::DeclRefKind, swift::DeclName, swift::SourceLoc, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::LookupResult&, unsigned int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xecfb8a)
#14 0x0000000000e7d5d8 swift::TypeChecker::resolveDeclRefExpr(swift::UnresolvedDeclRefExpr*, swift::DeclContext*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xe7d5d8)
#15 0x0000000000e8bf11 (anonymous namespace)::PreCheckExpression::walkToExprPre(swift::Expr*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xe8bf11)
#16 0x0000000001046fcb (anonymous namespace)::Traversal::visitApplyExpr(swift::ApplyExpr*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x1046fcb)
#17 0x0000000001044ef8 (anonymous namespace)::Traversal::visit(swift::Expr*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x1044ef8)
#18 0x0000000001045366 (anonymous namespace)::Traversal::visit(swift::Expr*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x1045366)
#19 0x0000000001047031 (anonymous namespace)::Traversal::visitApplyExpr(swift::ApplyExpr*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x1047031)
#20 0x0000000001044ef8 (anonymous namespace)::Traversal::visit(swift::Expr*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x1044ef8)
#21 0x0000000001041f2e swift::Expr::walk(swift::ASTWalker&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x1041f2e)
#22 0x0000000000e7ddf7 swift::TypeChecker::solveForExpression(swift::Expr*&, swift::DeclContext*, swift::Type, swift::FreeTypeVariableBinding, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem&, llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xe7ddf7)
#23 0x0000000000e847b2 swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::TypeLoc, swift::ContextualTypePurpose, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::ExprTypeCheckListener*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xe847b2)
#24 0x0000000000efa3a5 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xefa3a5)
#25 0x0000000000ef8f05 (anonymous namespace)::StmtChecker::typeCheckBody(swift::BraceStmt*&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xef8f05)
#26 0x0000000000ef815a swift::TypeChecker::typeCheckFunctionBodyUntil(swift::FuncDecl*, swift::SourceLoc) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xef815a)
#27 0x0000000000ef7fbe swift::TypeChecker::typeCheckAbstractFunctionBodyUntil(swift::AbstractFunctionDecl*, swift::SourceLoc) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xef7fbe)
#28 0x0000000000ef8b83 swift::TypeChecker::typeCheckAbstractFunctionBody(swift::AbstractFunctionDecl*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xef8b83)
#29 0x0000000000eb7ba6 typeCheckFunctionsAndExternalDecls(swift::TypeChecker&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xeb7ba6)
#30 0x0000000000eb86b1 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xeb86b1)
#31 0x0000000000c4fb79 swift::CompilerInstance::performSema() (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xc4fb79)
#32 0x00000000007cfe81 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x7cfe81)
#33 0x00000000007cee96 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x7cee96)
#34 0x000000000079af18 main (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x79af18)
#35 0x00007fd9f785dec5 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21ec5)
#36 0x0000000000798936 _start (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x798936)
Stack dump:
0.	Program arguments: /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift -parse 
1.	While type-checking getter for b at /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:12:7
2.	While type-checking expression at [/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/02046-swift-pattern-operator.swift:15:1 - line:16:1] RangeText="c(n: NSObject {
}"
Error: Aborted

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: Swift :: compiler_crashers_fixed/27067-swift-valuedecl-settype.swift (6480 of 8207)
******************** TEST 'Swift :: compiler_crashers_fixed/27067-swift-valuedecl-settype.swift' FAILED ********************
Script:
--
not /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu  /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift -parse
--
Exit Code: 1

Command Output (stderr):
--
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:37: error: expected '>' to complete generic parameter list
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                                    ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:25: note: to match this opening '<'
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                        ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:53: error: expected '(' in argument list of function declaration
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                                                    ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:58: error: consecutive statements on a line must be separated by ';'
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                                                         ^
                                                         ;
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:10:1: error: expected '}' at end of closure

^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:54: note: to match this opening '{'
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                                                     ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:54: error: braced block of statements is an unused closure
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                                                     ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:10:1: error: expected '}' at end of brace statement

^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:53: note: to match this opening '{'
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                                                    ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:10:1: error: expected declaration

^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:45: note: in declaration of 'T'
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                                            ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:10:1: error: expected declaration

^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:24: note: in declaration of 'b'
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                       ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:10:1: error: expected '}' at end of brace statement

^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:17: note: to match this opening '{'
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:10:1: error: expected '}' at end of brace statement

^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:9: note: to match this opening '{'
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
        ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:34: error: use of undeclared type 'g'
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                                 ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:45: error: type 'T' nested in generic type 'b' is not allowed
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                                            ^
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:56: error: binary operator '<' cannot be applied to two '() -> ()' operands
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                                                      ~^~
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:56: note: overloads for '<' exist with these partially matching parameter lists: (Character, Character), (UInt8, UInt8), (Int8, Int8), (UInt16, UInt16), (Int16, Int16), (UInt32, UInt32), (Int32, Int32), (UInt64, UInt64), (Int64, Int64), (UInt, UInt), (Int, Int), (ObjectIdentifier, ObjectIdentifier), (String, String), (Index, Index), (String.UnicodeScalarView.Index, String.UnicodeScalarView.Index), (String.UTF16View.Index, String.UTF16View.Index), (String.UTF8View.Index, String.UTF8View.Index), (UnicodeScalar, UnicodeScalar), (_SwiftNSOperatingSystemVersion, _SwiftNSOperatingSystemVersion), (AnyIndex, AnyIndex), (ClosedRangeIndex<B>, ClosedRangeIndex<B>), (LazyFilterIndex<Base>, LazyFilterIndex<Base>), (FlattenCollectionIndex<BaseElements>, FlattenCollectionIndex<BaseElements>), (FlattenBidirectionalCollectionIndex<BaseElements>, FlattenBidirectionalCollectionIndex<BaseElements>), (SetIndex<Element>, SetIndex<Element>), (DictionaryIndex<Key, Value>, DictionaryIndex<Key, Value>), (T?, T?), (ReversedIndex<Base>, ReversedIndex<Base>), (ReversedRandomAccessIndex<Base>, ReversedRandomAccessIndex<Base>), (UnsafeMutablePointer<Pointee>, UnsafeMutablePointer<Pointee>), (UnsafePointer<Pointee>, UnsafePointer<Pointee>), ((A, B), (A, B)), ((A, B, C), (A, B, C)), ((A, B, C, D), (A, B, C, D)), ((A, B, C, D, E), (A, B, C, D, E)), ((A, B, C, D, E, F), (A, B, C, D, E, F))
func c(){if true{class b<T where g:a{struct T{func f{{f<f w
                                                       ^
swift: /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/include/swift/AST/Decl.h:2169: swift::Accessibility swift::ValueDecl::getFormalAccess() const: Assertion `hasAccessibility() && "accessibility not computed yet"' failed.
#0 0x000000000326c4c8 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x326c4c8)
#1 0x000000000326ac96 llvm::sys::RunSignalHandlers() (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x326ac96)
#2 0x000000000326cffa SignalHandler(int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x326cffa)
#3 0x00007f587196f340 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x10340)
#4 0x00007f5870346cc9 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x36cc9)
#5 0x00007f587034a0d8 abort (/lib/x86_64-linux-gnu/libc.so.6+0x3a0d8)
#6 0x00007f587033fb86 (/lib/x86_64-linux-gnu/libc.so.6+0x2fb86)
#7 0x00007f587033fc32 (/lib/x86_64-linux-gnu/libc.so.6+0x2fc32)
#8 0x00000000010c64ec (anonymous namespace)::OverrideFilteringConsumer::foundDecl(swift::ValueDecl*, swift::DeclVisibilityKind) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x10c64ec)
#9 0x00000000010c761f lookupTypeMembers(swift::Type, swift::Type, swift::VisibleDeclConsumer&, swift::DeclContext const*, (anonymous namespace)::LookupState, swift::DeclVisibilityKind, swift::LazyResolver*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x10c761f)
#10 0x00000000010c577f lookupVisibleMemberDeclsImpl(swift::Type, swift::VisibleDeclConsumer&, swift::DeclContext const*, (anonymous namespace)::LookupState, swift::DeclVisibilityKind, swift::LazyResolver*, llvm::SmallPtrSet<swift::TypeDecl*, 8u>&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x10c577f)
#11 0x00000000010c4880 lookupVisibleMemberDecls(swift::Type, swift::VisibleDeclConsumer&, swift::DeclContext const*, (anonymous namespace)::LookupState, swift::DeclVisibilityKind, swift::LazyResolver*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x10c4880)
#12 0x00000000010c41cc swift::lookupVisibleDecls(swift::VisibleDeclConsumer&, swift::DeclContext const*, swift::LazyResolver*, bool, swift::SourceLoc) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x10c41cc)
#13 0x0000000000ecfb8a swift::TypeChecker::performTypoCorrection(swift::DeclContext*, swift::DeclRefKind, swift::DeclName, swift::SourceLoc, swift::OptionSet<swift::NameLookupFlags, unsigned int>, swift::LookupResult&, unsigned int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xecfb8a)
#14 0x0000000000e7d5d8 swift::TypeChecker::resolveDeclRefExpr(swift::UnresolvedDeclRefExpr*, swift::DeclContext*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xe7d5d8)
#15 0x0000000000e8bf11 (anonymous namespace)::PreCheckExpression::walkToExprPre(swift::Expr*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xe8bf11)
#16 0x0000000001041f13 swift::Expr::walk(swift::ASTWalker&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x1041f13)
#17 0x0000000000e7ddf7 swift::TypeChecker::solveForExpression(swift::Expr*&, swift::DeclContext*, swift::Type, swift::FreeTypeVariableBinding, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem&, llvm::SmallVectorImpl<swift::constraints::Solution>&, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xe7ddf7)
#18 0x0000000000e847b2 swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::TypeLoc, swift::ContextualTypePurpose, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::ExprTypeCheckListener*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xe847b2)
#19 0x0000000000efa3a5 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xefa3a5)
#20 0x0000000000ef8f05 (anonymous namespace)::StmtChecker::typeCheckBody(swift::BraceStmt*&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xef8f05)
#21 0x0000000000ef94e4 swift::TypeChecker::typeCheckClosureBody(swift::ClosureExpr*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xef94e4)
#22 0x0000000000f23e0c swift::constraints::ConstraintSystem::applySolution(swift::constraints::Solution&, swift::Expr*, swift::Type, bool, bool, bool) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xf23e0c)
#23 0x0000000000e84851 swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::TypeLoc, swift::ContextualTypePurpose, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::ExprTypeCheckListener*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xe84851)
#24 0x0000000000efa3a5 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xefa3a5)
#25 0x0000000000ef8f05 (anonymous namespace)::StmtChecker::typeCheckBody(swift::BraceStmt*&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xef8f05)
#26 0x0000000000ef815a swift::TypeChecker::typeCheckFunctionBodyUntil(swift::FuncDecl*, swift::SourceLoc) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xef815a)
#27 0x0000000000ef7fbe swift::TypeChecker::typeCheckAbstractFunctionBodyUntil(swift::AbstractFunctionDecl*, swift::SourceLoc) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xef7fbe)
#28 0x0000000000ef8b83 swift::TypeChecker::typeCheckAbstractFunctionBody(swift::AbstractFunctionDecl*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xef8b83)
#29 0x0000000000eb7ba6 typeCheckFunctionsAndExternalDecls(swift::TypeChecker&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xeb7ba6)
#30 0x0000000000eb86b1 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xeb86b1)
#31 0x0000000000c4fb79 swift::CompilerInstance::performSema() (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0xc4fb79)
#32 0x00000000007cfe81 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x7cfe81)
#33 0x00000000007cee96 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x7cee96)
#34 0x000000000079af18 main (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x79af18)
#35 0x00007f5870331ec5 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21ec5)
#36 0x0000000000798936 _start (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift+0x798936)
Stack dump:
0.	Program arguments: /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift -parse 
1.	While type-checking 'f' at /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:47
2.	While type-checking expression at [/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:54 - line:9:59] RangeText="{f<f w"
3.	While type-checking expression at [/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/validation-test/compiler_crashers_fixed/27067-swift-valuedecl-settype.swift:9:59 - line:9:59] RangeText="w"
Error: Aborted

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: Swift :: expr/closure/inference.swift (7679 of 8207)
******************** TEST 'Swift :: expr/closure/inference.swift' FAILED ********************
Script:
--
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift -frontend -target x86_64-unknown-linux-gnu  -parse -verify -disable-objc-attr-requires-foundation-module /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/test/expr/closure/inference.swift
--
Exit Code: 1

Command Output (stderr):
--
/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/swift/test/expr/closure/inference.swift:36:5: error: unexpected error produced: 'nestedClosuresWithBrokenInference' used within its own type
var nestedClosuresWithBrokenInference = { f: Int in {} }
    ^

--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90

> On May 20, 2016, at 3:47 PM, no-reply at swift.org wrote:
> 
> New issue found!
> 
> [FAILURE] oss-swift-incremental-RA-linux-ubuntu-14_04 [#4841]
> 
> Build URL:	https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/4841/ <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/4841/>
> Project:	oss-swift-incremental-RA-linux-ubuntu-14_04
> Date of build:	Fri, 20 May 2016 15:13:19 -0700
> Build duration:	34 min
> Identified problems:
> 
> Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
> Indication 1 <https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-14_04/4841/consoleFull#243243991ee1a197b-acac-4b17-83cf-a53b95139a76>
> Regression test failed: This build failed because a regression test in the test suite FAILed. Below is a list of all errors:
> Indication 1 <https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-14_04/4841/consoleFull#1725949721fca400bf-2f4a-462e-b517-e058d770b2d7>
> Tests: 
> 
> Name: Swift
> Failed: 5 test(s), Passed: 7911 test(s), Total: 7916 test(s)
> Failed: Swift.ClangModules.simd.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/4841/testReport/junit/Swift/ClangModules/simd_swift>
> Failed: Swift.compiler_crashers_fixed.02046-swift-pattern-operator.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/4841/testReport/junit/Swift/compiler_crashers_fixed/02046_swift_pattern_operator_swift>
> Failed: Swift.compiler_crashers_fixed.27067-swift-valuedecl-settype.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/4841/testReport/junit/Swift/compiler_crashers_fixed/27067_swift_valuedecl_settype_swift>
> Failed: Swift.expr/closure.inference.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/4841/testReport/junit/Swift/expr_closure/inference_swift>
> Failed: Swift.type/infer.instance_variables.swift <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/4841/testReport/junit/Swift/type_infer/instance_variables_swift>
> Name: Swift-Unit
> Failed: 0 test(s), Passed: 291 test(s), Total: 291 test(s)
> 
> Changes
> 
> Commit 9c56e41f213ff3c8bebcfc4ab8b001044940122a by lhames:
> [RuntimeDyld][MachO] Add support for SUBTRACTOR relocations between
> 
> edit: test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s
> edit: lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h
> 
> Commit 57acb566e27f2544c6cad208a052bbf33a2c6852 by daniel_dunbar:
> [Basic] Add JSON decoding support.
> 
> edit: Sources/Basic/JSON.swift
> edit: Tests/Basic/JSONTests.swift
> edit: Sources/Basic/OutputByteStream.swift
> 
> Commit 53a78d7705bc972145353cae901fb5677f61587f by gribozavr:
> Revert "Temporary revert "NSGeometry: update accessors (#367)" until the
> 
> edit: Foundation/NSGeometry.swift

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160520/cea260a5/attachment.html>


More information about the swift-dev mailing list