Skip to content

Instantly share code, notes, and snippets.

@lfaoro
Created September 10, 2014 10:26
Show Gist options
  • Save lfaoro/f7468dd2bb2cf3e918a1 to your computer and use it in GitHub Desktop.
Save lfaoro/f7468dd2bb2cf3e918a1 to your computer and use it in GitHub Desktop.
CompileSwift normal x86_64 /Users/lfaoro/Development/iLichess Mac/iLichess Mac/Chessboard.swift
cd /Users/lfaoro/Development/iLichess Mac
/Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c "/Users/lfaoro/Development/iLichess Mac/iLichess Mac/AppDelegate.swift" "/Users/lfaoro/Development/iLichess Mac/iLichess Mac/ConnectionManager.swift" -primary-file "/Users/lfaoro/Development/iLichess Mac/iLichess Mac/Chessboard.swift" "/Users/lfaoro/Development/iLichess Mac/iLichess Mac/main.swift" -target x86_64-apple-macosx10.9 -target-cpu core2 -sdk /Applications/Xcode-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -I /Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Products/Debug -F /Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Products/Debug -g -module-cache-path /Users/lfaoro/Library/Developer/Xcode/DerivedData/ModuleCache -Xcc "-I/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/swift-overrides.hmap" -Xcc -iquote -Xcc "/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/iLichess Mac-generated-files.hmap" -Xcc "-I/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/iLichess Mac-own-target-headers.hmap" -Xcc "-I/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/iLichess Mac-all-target-headers.hmap" -Xcc -iquote -Xcc "/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/iLichess Mac-project-headers.hmap" -Xcc -I/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Products/Debug/include -Xcc -I/Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Xcc "-I/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/DerivedSources/x86_64" -Xcc "-I/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/DerivedSources" -Xcc -DDEBUG=1 -emit-module-doc-path "/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/Objects-normal/x86_64/Chessboard~partial.swiftdoc" -Onone -module-name iLichess_Mac -emit-module-path "/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/Objects-normal/x86_64/Chessboard~partial.swiftmodule" -serialize-diagnostics-path "/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/Objects-normal/x86_64/Chessboard.dia" -emit-dependencies-path "/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/Objects-normal/x86_64/Chessboard.d" -o "/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/Objects-normal/x86_64/Chessboard.o"
0 swift 0x000000010a3f71b8 llvm::sys::PrintStackTrace(__sFILE*) + 40
1 swift 0x000000010a3f76a4 SignalHandler(int) + 452
2 libsystem_platform.dylib 0x00007fff8ee735aa _sigtramp + 26
3 libsystem_platform.dylib 000000000000000000 _sigtramp + 1897450096
4 swift 0x0000000109898749 swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) + 105
5 swift 0x0000000109898749 swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) + 105
6 swift 0x000000010989b4e9 swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) + 11785
7 swift 0x00000001098a166d swift::Lowering::SILGenFunction::emitRValueAsSingleValue(swift::Expr*, swift::Lowering::SGFContext) + 45
8 swift 0x00000001098af51a swift::Lowering::SILGenFunction::emitSwitchStmt(swift::SwitchStmt*) + 682
9 swift 0x00000001098c13b5 swift::ASTVisitor<swift::Lowering::SILGenFunction, void, void, void, void, void, void>::visit(swift::Stmt*) + 197
10 swift 0x00000001098be288 swift::Lowering::SILGenFunction::visitBraceStmt(swift::BraceStmt*) + 232
11 swift 0x00000001098c1384 swift::ASTVisitor<swift::Lowering::SILGenFunction, void, void, void, void, void, void>::visit(swift::Stmt*) + 148
12 swift 0x00000001098bea52 swift::Lowering::SILGenFunction::visitIfStmt(swift::IfStmt*) + 514
13 swift 0x00000001098c1392 swift::ASTVisitor<swift::Lowering::SILGenFunction, void, void, void, void, void, void>::visit(swift::Stmt*) + 162
14 swift 0x00000001098be288 swift::Lowering::SILGenFunction::visitBraceStmt(swift::BraceStmt*) + 232
15 swift 0x00000001098c1384 swift::ASTVisitor<swift::Lowering::SILGenFunction, void, void, void, void, void, void>::visit(swift::Stmt*) + 148
16 swift 0x00000001098c0afc swift::Lowering::SILGenFunction::visitForEachStmt(swift::ForEachStmt*) + 1836
17 swift 0x00000001098c13ae swift::ASTVisitor<swift::Lowering::SILGenFunction, void, void, void, void, void, void>::visit(swift::Stmt*) + 190
18 swift 0x00000001098be288 swift::Lowering::SILGenFunction::visitBraceStmt(swift::BraceStmt*) + 232
19 swift 0x00000001098c1384 swift::ASTVisitor<swift::Lowering::SILGenFunction, void, void, void, void, void, void>::visit(swift::Stmt*) + 148
20 swift 0x000000010988c89c swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) + 252
21 swift 0x000000010986c666 swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) + 230
22 swift 0x00000001098864e3 swift::ASTVisitor<SILGenType, void, void, void, void, void, void>::visit(swift::Decl*) + 355
23 swift 0x000000010988523b SILGenType::emitType() + 203
24 swift 0x000000010988006e swift::Lowering::SILGenModule::visitNominalTypeDecl(swift::NominalTypeDecl*) + 30
25 swift 0x000000010986e5eb swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*, unsigned int) + 395
26 swift 0x000000010986e8aa swift::SILModule::constructSIL(swift::Module*, swift::SourceFile*, swift::Optional<unsigned int>) + 314
27 swift 0x000000010986e9f8 swift::performSILGeneration(swift::SourceFile&, swift::Optional<unsigned int>) + 72
28 swift 0x000000010974b403 frontend_main(llvm::ArrayRef<char const*>, char const*, void*) + 3443
29 swift 0x0000000109748f4d main + 1677
30 libdyld.dylib 0x00007fff923c95fd start + 1
31 libdyld.dylib 0x000000000000003a start + 1841523262
Stack dump:
0. Program arguments: /Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/lfaoro/Development/iLichess Mac/iLichess Mac/AppDelegate.swift /Users/lfaoro/Development/iLichess Mac/iLichess Mac/ConnectionManager.swift -primary-file /Users/lfaoro/Development/iLichess Mac/iLichess Mac/Chessboard.swift /Users/lfaoro/Development/iLichess Mac/iLichess Mac/main.swift -target x86_64-apple-macosx10.9 -target-cpu core2 -sdk /Applications/Xcode-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -I /Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Products/Debug -F /Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Products/Debug -g -module-cache-path /Users/lfaoro/Library/Developer/Xcode/DerivedData/ModuleCache -Xcc -I/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/iLichess Mac-generated-files.hmap -Xcc -I/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/iLichess Mac-own-target-headers.hmap -Xcc -I/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/iLichess Mac-all-target-headers.hmap -Xcc -iquote -Xcc /Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/iLichess Mac-project-headers.hmap -Xcc -I/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Products/Debug/include -Xcc -I/Applications/Xcode-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -Xcc -I/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/DerivedSources/x86_64 -Xcc -I/Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/DerivedSources -Xcc -DDEBUG=1 -emit-module-doc-path /Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/Objects-normal/x86_64/Chessboard~partial.swiftdoc -Onone -module-name iLichess_Mac -emit-module-path /Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/Objects-normal/x86_64/Chessboard~partial.swiftmodule -serialize-diagnostics-path /Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/Objects-normal/x86_64/Chessboard.dia -emit-dependencies-path /Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/Objects-normal/x86_64/Chessboard.d -o /Users/lfaoro/Library/Developer/Xcode/DerivedData/iLichess_Mac-ddufwfmsgvbzsccxtwxcvovriyqy/Build/Intermediates/iLichess Mac.build/Debug/iLichess Mac.build/Objects-normal/x86_64/Chessboard.o
1. While emitting SIL for 'blackPieces' at /Users/lfaoro/Development/iLichess Mac/iLichess Mac/Chessboard.swift:136:5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment