Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
clang 3.9.0 assertion failure when compiling swift on Ubuntu 15.10
[1/49] Compiling /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/linux/x86_64/Swift.o
FAILED: cd /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core && /usr/local/bin/cmake -E make_directory /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/linux/x86_64 && /usr/local/bin/cmake -E make_directory /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift/linux/x86_64 && /swift.org/swift/utils/line-directive /swift.org/swift/stdlib/public/core/Algorithm.swift /swift.org/swift/stdlib/public/core/ArrayBody.swift /swift.org/swift/stdlib/public/core/ArrayBuffer.swift /swift.org/swift/stdlib/public/core/ArrayBufferProtocol.swift /swift.org/swift/stdlib/public/core/ArrayCast.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Arrays.swift /swift.org/swift/stdlib/public/core/ArrayType.swift /swift.org/swift/stdlib/public/core/Assert.swift /swift.org/swift/stdlib/public/core/AssertCommon.swift /swift.org/swift/stdlib/public/core/BidirectionalCollection.swift /swift.org/swift/stdlib/public/core/Bool.swift /swift.org/swift/stdlib/public/core/BridgeObjectiveC.swift /swift.org/swift/stdlib/public/core/BridgeStorage.swift /swift.org/swift/stdlib/public/core/Builtin.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/BuiltinMath.swift /swift.org/swift/stdlib/public/core/Character.swift /swift.org/swift/stdlib/public/core/CocoaArray.swift /swift.org/swift/stdlib/public/core/Collection.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/CollectionAlgorithms.swift /swift.org/swift/stdlib/public/core/Comparable.swift /swift.org/swift/stdlib/public/core/CompilerProtocols.swift /swift.org/swift/stdlib/public/core/ClosedRange.swift /swift.org/swift/stdlib/public/core/ContiguousArrayBuffer.swift /swift.org/swift/stdlib/public/core/CString.swift /swift.org/swift/stdlib/public/core/CTypes.swift /swift.org/swift/stdlib/public/core/DebuggerSupport.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/DropWhile.swift /swift.org/swift/stdlib/public/core/Dump.swift /swift.org/swift/stdlib/public/core/EmptyCollection.swift /swift.org/swift/stdlib/public/core/Equatable.swift /swift.org/swift/stdlib/public/core/ErrorType.swift /swift.org/swift/stdlib/public/core/Existential.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Filter.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/FixedPoint.swift /swift.org/swift/stdlib/public/core/FlatMap.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Flatten.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/FloatingPoint.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/FloatingPointParsing.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/FloatingPointTypes.swift /swift.org/swift/stdlib/public/core/Hashable.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/HashedCollections.swift /swift.org/swift/stdlib/public/core/AnyHashable.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/HashedCollectionsAnyHashableExtensions.swift /swift.org/swift/stdlib/public/core/Hashing.swift /swift.org/swift/stdlib/public/core/HeapBuffer.swift /swift.org/swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift /swift.org/swift/stdlib/public/core/Index.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Indices.swift /swift.org/swift/stdlib/public/core/InputStream.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/IntegerArithmetic.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/IntegerParsing.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Integers.swift /swift.org/swift/stdlib/public/core/Join.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/LazyCollection.swift /swift.org/swift/stdlib/public/core/LazySequence.swift /swift.org/swift/stdlib/public/core/LifetimeManager.swift /swift.org/swift/stdlib/public/core/ManagedBuffer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Map.swift /swift.org/swift/stdlib/public/core/MemoryLayout.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Mirrors.swift /swift.org/swift/stdlib/public/core/Misc.swift /swift.org/swift/stdlib/public/core/MutableCollection.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/NewtypeWrapper.swift /swift.org/swift/stdlib/public/core/ObjCMirrors.swift /swift.org/swift/stdlib/public/core/ObjectIdentifier.swift /swift.org/swift/stdlib/public/core/Optional.swift /swift.org/swift/stdlib/public/core/OptionSet.swift /swift.org/swift/stdlib/public/core/OutputStream.swift /swift.org/swift/stdlib/public/core/Pointer.swift /swift.org/swift/stdlib/public/core/Policy.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/PrefixWhile.swift /swift.org/swift/stdlib/public/core/Print.swift /swift.org/swift/stdlib/public/core/RandomAccessCollection.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Range.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/RangeReplaceableCollection.swift /swift.org/swift/stdlib/public/core/ReflectionLegacy.swift /swift.org/swift/stdlib/public/core/Repeat.swift /swift.org/swift/stdlib/public/core/REPL.swift /swift.org/swift/stdlib/public/core/Reverse.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Runtime.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/SipHash.swift /swift.org/swift/stdlib/public/core/Sequence.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/SequenceAlgorithms.swift /swift.org/swift/stdlib/public/core/SequenceWrapper.swift /swift.org/swift/stdlib/public/core/SetAlgebra.swift /swift.org/swift/stdlib/public/core/ShadowProtocols.swift /swift.org/swift/stdlib/public/core/Shims.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Slice.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Sort.swift /swift.org/swift/stdlib/public/core/StaticString.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Stride.swift /swift.org/swift/stdlib/public/core/StringCharacterView.swift /swift.org/swift/stdlib/public/core/String.swift /swift.org/swift/stdlib/public/core/StringBridge.swift /swift.org/swift/stdlib/public/core/StringBuffer.swift /swift.org/swift/stdlib/public/core/StringComparable.swift /swift.org/swift/stdlib/public/core/StringCore.swift /swift.org/swift/stdlib/public/core/StringHashable.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/StringInterpolation.swift /swift.org/swift/stdlib/public/core/StringLegacy.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/StringRangeReplaceableCollection.swift /swift.org/swift/stdlib/public/core/StringIndexConversions.swift /swift.org/swift/stdlib/public/core/StringUnicodeScalarView.swift /swift.org/swift/stdlib/public/core/StringUTF16.swift /swift.org/swift/stdlib/public/core/StringUTF8.swift /swift.org/swift/stdlib/public/core/SwiftNativeNSArray.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnavailableStringAPIs.swift /swift.org/swift/stdlib/public/core/Unicode.swift /swift.org/swift/stdlib/public/core/UnicodeScalar.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnicodeTrie.swift /swift.org/swift/stdlib/public/core/Unmanaged.swift /swift.org/swift/stdlib/public/core/UnsafeBitMap.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnsafeBufferPointer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnsafeRawBufferPointer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnsafePointer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnsafeRawPointer.swift /swift.org/swift/stdlib/public/core/WriteBackMutableSlice.swift /swift.org/swift/stdlib/public/core/Availability.swift /swift.org/swift/stdlib/public/core/CollectionOfOne.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/ExistentialCollection.swift /swift.org/swift/stdlib/public/core/Mirror.swift /swift.org/swift/stdlib/public/core/CommandLine.swift /swift.org/swift/stdlib/public/core/SliceBuffer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Tuple.swift /swift.org/swift/stdlib/public/core/UnfoldSequence.swift /swift.org/swift/stdlib/public/core/VarArgs.swift /swift.org/swift/stdlib/public/core/Zip.swift -- /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/./bin/swiftc -c -sdk / -target x86_64-unknown-linux-gnu -resource-dir /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift -O -D INTERNAL_CHECKS_ENABLED -I /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift/linux/x86_64 -module-cache-path /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/./module-cache -no-link-objc-runtime -nostdimport -parse-stdlib -module-name Swift -Xfrontend -group-info-path -Xfrontend /swift.org/swift/stdlib/public/core/GroupInfo.json -Xfrontend -sil-serialize-all -module-link-name swiftCore -force-single-frontend-invocation -Xcc -D__SWIFT_CURRENT_DYLIB=swiftCore -parse-as-library -emit-module -emit-module-path /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift/linux/x86_64/Swift.swiftmodule -o /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/linux/x86_64/Swift.o /swift.org/swift/stdlib/public/core/Algorithm.swift /swift.org/swift/stdlib/public/core/ArrayBody.swift /swift.org/swift/stdlib/public/core/ArrayBuffer.swift /swift.org/swift/stdlib/public/core/ArrayBufferProtocol.swift /swift.org/swift/stdlib/public/core/ArrayCast.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Arrays.swift /swift.org/swift/stdlib/public/core/ArrayType.swift /swift.org/swift/stdlib/public/core/Assert.swift /swift.org/swift/stdlib/public/core/AssertCommon.swift /swift.org/swift/stdlib/public/core/BidirectionalCollection.swift /swift.org/swift/stdlib/public/core/Bool.swift /swift.org/swift/stdlib/public/core/BridgeObjectiveC.swift /swift.org/swift/stdlib/public/core/BridgeStorage.swift /swift.org/swift/stdlib/public/core/Builtin.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/BuiltinMath.swift /swift.org/swift/stdlib/public/core/Character.swift /swift.org/swift/stdlib/public/core/CocoaArray.swift /swift.org/swift/stdlib/public/core/Collection.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/CollectionAlgorithms.swift /swift.org/swift/stdlib/public/core/Comparable.swift /swift.org/swift/stdlib/public/core/CompilerProtocols.swift /swift.org/swift/stdlib/public/core/ClosedRange.swift /swift.org/swift/stdlib/public/core/ContiguousArrayBuffer.swift /swift.org/swift/stdlib/public/core/CString.swift /swift.org/swift/stdlib/public/core/CTypes.swift /swift.org/swift/stdlib/public/core/DebuggerSupport.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/DropWhile.swift /swift.org/swift/stdlib/public/core/Dump.swift /swift.org/swift/stdlib/public/core/EmptyCollection.swift /swift.org/swift/stdlib/public/core/Equatable.swift /swift.org/swift/stdlib/public/core/ErrorType.swift /swift.org/swift/stdlib/public/core/Existential.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Filter.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/FixedPoint.swift /swift.org/swift/stdlib/public/core/FlatMap.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Flatten.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/FloatingPoint.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/FloatingPointParsing.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/FloatingPointTypes.swift /swift.org/swift/stdlib/public/core/Hashable.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/HashedCollections.swift /swift.org/swift/stdlib/public/core/AnyHashable.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/HashedCollectionsAnyHashableExtensions.swift /swift.org/swift/stdlib/public/core/Hashing.swift /swift.org/swift/stdlib/public/core/HeapBuffer.swift /swift.org/swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift /swift.org/swift/stdlib/public/core/Index.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Indices.swift /swift.org/swift/stdlib/public/core/InputStream.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/IntegerArithmetic.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/IntegerParsing.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Integers.swift /swift.org/swift/stdlib/public/core/Join.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/LazyCollection.swift /swift.org/swift/stdlib/public/core/LazySequence.swift /swift.org/swift/stdlib/public/core/LifetimeManager.swift /swift.org/swift/stdlib/public/core/ManagedBuffer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Map.swift /swift.org/swift/stdlib/public/core/MemoryLayout.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Mirrors.swift /swift.org/swift/stdlib/public/core/Misc.swift /swift.org/swift/stdlib/public/core/MutableCollection.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/NewtypeWrapper.swift /swift.org/swift/stdlib/public/core/ObjCMirrors.swift /swift.org/swift/stdlib/public/core/ObjectIdentifier.swift /swift.org/swift/stdlib/public/core/Optional.swift /swift.org/swift/stdlib/public/core/OptionSet.swift /swift.org/swift/stdlib/public/core/OutputStream.swift /swift.org/swift/stdlib/public/core/Pointer.swift /swift.org/swift/stdlib/public/core/Policy.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/PrefixWhile.swift /swift.org/swift/stdlib/public/core/Print.swift /swift.org/swift/stdlib/public/core/RandomAccessCollection.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Range.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/RangeReplaceableCollection.swift /swift.org/swift/stdlib/public/core/ReflectionLegacy.swift /swift.org/swift/stdlib/public/core/Repeat.swift /swift.org/swift/stdlib/public/core/REPL.swift /swift.org/swift/stdlib/public/core/Reverse.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Runtime.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/SipHash.swift /swift.org/swift/stdlib/public/core/Sequence.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/SequenceAlgorithms.swift /swift.org/swift/stdlib/public/core/SequenceWrapper.swift /swift.org/swift/stdlib/public/core/SetAlgebra.swift /swift.org/swift/stdlib/public/core/ShadowProtocols.swift /swift.org/swift/stdlib/public/core/Shims.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Slice.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Sort.swift /swift.org/swift/stdlib/public/core/StaticString.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Stride.swift /swift.org/swift/stdlib/public/core/StringCharacterView.swift /swift.org/swift/stdlib/public/core/String.swift /swift.org/swift/stdlib/public/core/StringBridge.swift /swift.org/swift/stdlib/public/core/StringBuffer.swift /swift.org/swift/stdlib/public/core/StringComparable.swift /swift.org/swift/stdlib/public/core/StringCore.swift /swift.org/swift/stdlib/public/core/StringHashable.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/StringInterpolation.swift /swift.org/swift/stdlib/public/core/StringLegacy.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/StringRangeReplaceableCollection.swift /swift.org/swift/stdlib/public/core/StringIndexConversions.swift /swift.org/swift/stdlib/public/core/StringUnicodeScalarView.swift /swift.org/swift/stdlib/public/core/StringUTF16.swift /swift.org/swift/stdlib/public/core/StringUTF8.swift /swift.org/swift/stdlib/public/core/SwiftNativeNSArray.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnavailableStringAPIs.swift /swift.org/swift/stdlib/public/core/Unicode.swift /swift.org/swift/stdlib/public/core/UnicodeScalar.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnicodeTrie.swift /swift.org/swift/stdlib/public/core/Unmanaged.swift /swift.org/swift/stdlib/public/core/UnsafeBitMap.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnsafeBufferPointer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnsafeRawBufferPointer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnsafePointer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnsafeRawPointer.swift /swift.org/swift/stdlib/public/core/WriteBackMutableSlice.swift /swift.org/swift/stdlib/public/core/Availability.swift /swift.org/swift/stdlib/public/core/CollectionOfOne.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/ExistentialCollection.swift /swift.org/swift/stdlib/public/core/Mirror.swift /swift.org/swift/stdlib/public/core/CommandLine.swift /swift.org/swift/stdlib/public/core/SliceBuffer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Tuple.swift /swift.org/swift/stdlib/public/core/UnfoldSequence.swift /swift.org/swift/stdlib/public/core/VarArgs.swift /swift.org/swift/stdlib/public/core/Zip.swift
swift: /swift.org/llvm/include/llvm/Support/Casting.h:95: static bool llvm::isa_impl_cl<swift::InOutExpr, const swift::Expr *>::doit(const From *) [To = swift::InOutExpr, From = const swift::Expr *]: Assertion `Val && "isa<> used on a null pointer"' failed.
0 swift 0x00000000034a7b75 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1 swift 0x00000000034a8256
2 libpthread.so.0 0x00007f9398c09d10
3 libc.so.6 0x00007f93975511c7 gsignal + 55
4 libc.so.6 0x00007f9397552e2a abort + 362
5 libc.so.6 0x00007f939754a0bd
6 libc.so.6 0x00007f939754a172
7 swift 0x000000000107002f
8 swift 0x0000000001108f20
9 swift 0x00000000011060eb swift::Expr::walk(swift::ASTWalker&) + 75
10 swift 0x00000000010682a5 swift::performSyntacticExprDiagnostics(swift::TypeChecker&, swift::Expr const*, swift::DeclContext const*, bool) + 613
11 swift 0x0000000000f3ea04 swift::TypeChecker::typeCheckExpression(swift::Expr*&, swift::DeclContext*, swift::TypeLoc, swift::ContextualTypePurpose, swift::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::ExprTypeCheckListener*, swift::constraints::ConstraintSystem*) + 1284
12 swift 0x0000000000f42d9a swift::TypeChecker::typeCheckCondition(swift::Expr*&, swift::DeclContext*) + 202
13 swift 0x0000000000fbc99a
14 swift 0x0000000000fbbca4
15 swift 0x0000000000fbafa5
16 swift 0x0000000000fba38a swift::TypeChecker::typeCheckFunctionBodyUntil(swift::FuncDecl*, swift::SourceLoc) + 330
17 swift 0x0000000000fba1e9 swift::TypeChecker::typeCheckAbstractFunctionBodyUntil(swift::AbstractFunctionDecl*, swift::SourceLoc) + 25
18 swift 0x0000000000fbad70 swift::TypeChecker::typeCheckAbstractFunctionBody(swift::AbstractFunctionDecl*) + 176
19 swift 0x0000000000f76e07
20 swift 0x0000000000f77941 swift::performTypeChecking(swift::SourceFile&, swift::TopLevelContext&, swift::OptionSet<swift::TypeCheckingFlags, unsigned int>, unsigned int, unsigned int) + 1249
21 swift 0x0000000000d03d0b swift::CompilerInstance::performSema() + 3723
22 swift 0x000000000083acc8
23 swift 0x0000000000839be3 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2547
24 swift 0x00000000007fdece main + 3566
25 libc.so.6 0x00007f939753cac0 __libc_start_main + 240
26 swift 0x00000000007fb0a9 _start + 41
Stack dump:
0. Program arguments: /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/bin/swift -frontend -c /swift.org/swift/stdlib/public/core/Algorithm.swift /swift.org/swift/stdlib/public/core/ArrayBody.swift /swift.org/swift/stdlib/public/core/ArrayBuffer.swift /swift.org/swift/stdlib/public/core/ArrayBufferProtocol.swift /swift.org/swift/stdlib/public/core/ArrayCast.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Arrays.swift /swift.org/swift/stdlib/public/core/ArrayType.swift /swift.org/swift/stdlib/public/core/Assert.swift /swift.org/swift/stdlib/public/core/AssertCommon.swift /swift.org/swift/stdlib/public/core/BidirectionalCollection.swift /swift.org/swift/stdlib/public/core/Bool.swift /swift.org/swift/stdlib/public/core/BridgeObjectiveC.swift /swift.org/swift/stdlib/public/core/BridgeStorage.swift /swift.org/swift/stdlib/public/core/Builtin.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/BuiltinMath.swift /swift.org/swift/stdlib/public/core/Character.swift /swift.org/swift/stdlib/public/core/CocoaArray.swift /swift.org/swift/stdlib/public/core/Collection.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/CollectionAlgorithms.swift /swift.org/swift/stdlib/public/core/Comparable.swift /swift.org/swift/stdlib/public/core/CompilerProtocols.swift /swift.org/swift/stdlib/public/core/ClosedRange.swift /swift.org/swift/stdlib/public/core/ContiguousArrayBuffer.swift /swift.org/swift/stdlib/public/core/CString.swift /swift.org/swift/stdlib/public/core/CTypes.swift /swift.org/swift/stdlib/public/core/DebuggerSupport.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/DropWhile.swift /swift.org/swift/stdlib/public/core/Dump.swift /swift.org/swift/stdlib/public/core/EmptyCollection.swift /swift.org/swift/stdlib/public/core/Equatable.swift /swift.org/swift/stdlib/public/core/ErrorType.swift /swift.org/swift/stdlib/public/core/Existential.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Filter.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/FixedPoint.swift /swift.org/swift/stdlib/public/core/FlatMap.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Flatten.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/FloatingPoint.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/FloatingPointParsing.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/FloatingPointTypes.swift /swift.org/swift/stdlib/public/core/Hashable.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/HashedCollections.swift /swift.org/swift/stdlib/public/core/AnyHashable.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/HashedCollectionsAnyHashableExtensions.swift /swift.org/swift/stdlib/public/core/Hashing.swift /swift.org/swift/stdlib/public/core/HeapBuffer.swift /swift.org/swift/stdlib/public/core/ImplicitlyUnwrappedOptional.swift /swift.org/swift/stdlib/public/core/Index.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Indices.swift /swift.org/swift/stdlib/public/core/InputStream.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/IntegerArithmetic.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/IntegerParsing.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Integers.swift /swift.org/swift/stdlib/public/core/Join.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/LazyCollection.swift /swift.org/swift/stdlib/public/core/LazySequence.swift /swift.org/swift/stdlib/public/core/LifetimeManager.swift /swift.org/swift/stdlib/public/core/ManagedBuffer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Map.swift /swift.org/swift/stdlib/public/core/MemoryLayout.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Mirrors.swift /swift.org/swift/stdlib/public/core/Misc.swift /swift.org/swift/stdlib/public/core/MutableCollection.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/NewtypeWrapper.swift /swift.org/swift/stdlib/public/core/ObjCMirrors.swift /swift.org/swift/stdlib/public/core/ObjectIdentifier.swift /swift.org/swift/stdlib/public/core/Optional.swift /swift.org/swift/stdlib/public/core/OptionSet.swift /swift.org/swift/stdlib/public/core/OutputStream.swift /swift.org/swift/stdlib/public/core/Pointer.swift /swift.org/swift/stdlib/public/core/Policy.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/PrefixWhile.swift /swift.org/swift/stdlib/public/core/Print.swift /swift.org/swift/stdlib/public/core/RandomAccessCollection.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Range.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/RangeReplaceableCollection.swift /swift.org/swift/stdlib/public/core/ReflectionLegacy.swift /swift.org/swift/stdlib/public/core/Repeat.swift /swift.org/swift/stdlib/public/core/REPL.swift /swift.org/swift/stdlib/public/core/Reverse.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Runtime.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/SipHash.swift /swift.org/swift/stdlib/public/core/Sequence.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/SequenceAlgorithms.swift /swift.org/swift/stdlib/public/core/SequenceWrapper.swift /swift.org/swift/stdlib/public/core/SetAlgebra.swift /swift.org/swift/stdlib/public/core/ShadowProtocols.swift /swift.org/swift/stdlib/public/core/Shims.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Slice.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Sort.swift /swift.org/swift/stdlib/public/core/StaticString.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Stride.swift /swift.org/swift/stdlib/public/core/StringCharacterView.swift /swift.org/swift/stdlib/public/core/String.swift /swift.org/swift/stdlib/public/core/StringBridge.swift /swift.org/swift/stdlib/public/core/StringBuffer.swift /swift.org/swift/stdlib/public/core/StringComparable.swift /swift.org/swift/stdlib/public/core/StringCore.swift /swift.org/swift/stdlib/public/core/StringHashable.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/StringInterpolation.swift /swift.org/swift/stdlib/public/core/StringLegacy.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/StringRangeReplaceableCollection.swift /swift.org/swift/stdlib/public/core/StringIndexConversions.swift /swift.org/swift/stdlib/public/core/StringUnicodeScalarView.swift /swift.org/swift/stdlib/public/core/StringUTF16.swift /swift.org/swift/stdlib/public/core/StringUTF8.swift /swift.org/swift/stdlib/public/core/SwiftNativeNSArray.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnavailableStringAPIs.swift /swift.org/swift/stdlib/public/core/Unicode.swift /swift.org/swift/stdlib/public/core/UnicodeScalar.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnicodeTrie.swift /swift.org/swift/stdlib/public/core/Unmanaged.swift /swift.org/swift/stdlib/public/core/UnsafeBitMap.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnsafeBufferPointer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnsafeRawBufferPointer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnsafePointer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/UnsafeRawPointer.swift /swift.org/swift/stdlib/public/core/WriteBackMutableSlice.swift /swift.org/swift/stdlib/public/core/Availability.swift /swift.org/swift/stdlib/public/core/CollectionOfOne.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/ExistentialCollection.swift /swift.org/swift/stdlib/public/core/Mirror.swift /swift.org/swift/stdlib/public/core/CommandLine.swift /swift.org/swift/stdlib/public/core/SliceBuffer.swift /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/8/Tuple.swift /swift.org/swift/stdlib/public/core/UnfoldSequence.swift /swift.org/swift/stdlib/public/core/VarArgs.swift /swift.org/swift/stdlib/public/core/Zip.swift -disable-objc-attr-requires-foundation-module -target x86_64-unknown-linux-gnu -disable-objc-interop -sdk / -I /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift/linux/x86_64 -module-cache-path /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/./module-cache -module-link-name swiftCore -nostdimport -parse-stdlib -resource-dir /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift -D INTERNAL_CHECKS_ENABLED -group-info-path /swift.org/swift/stdlib/public/core/GroupInfo.json -sil-serialize-all -Xcc -D__SWIFT_CURRENT_DYLIB=swiftCore -emit-module-doc-path /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift/linux/x86_64/Swift.swiftdoc -O -parse-as-library -module-name Swift -emit-module-path /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/./lib/swift/linux/x86_64/Swift.swiftmodule -o /swift.org/build/Ninja-ReleaseAssert/swift-linux-x86_64/stdlib/public/core/linux/x86_64/Swift.o
1. While type-checking 'min' at /swift.org/swift/stdlib/public/core/Algorithm.swift:36:8
2. While type-checking expression at [/swift.org/swift/stdlib/public/core/Algorithm.swift:39:30 - line:39:38] RangeText="value < m"
ninja: build stopped: subcommand failed.
swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
Makefile:11: recipe for target 'compile' failed
make: *** [compile] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment