Uploaded image for project: 'Swift'
  1. Swift
  2. SR-2321

Unexpected error diagnostics on internal bridged type

    XMLWordPrintable

    Details

      Description

      There has been a regression in Swift's errors on invalid code. Sometimes, in addition to the actual errors in the source file, Swift will also emit what appear to be errors w.r.t. some internal synthesized types. I suspect this is related to the NSError bridging work.

      Here is an example, using SwiftPM c7f6dae7863d2e845cca759c451caa1d9a812741 with the attached patch applied. Notice all the error spew about missing == on CTFontManagerError.

      I've been hitting this a lot recently, but don't have a smaller test case unfortunately.

      swiftpm (master)$ rspm
      --- bootstrap: note: building stage1: /Users/ddunbar/bin/sbt -f /Volumes/Data/ddunbar/public/swift-project/build/Ninja-ReleaseAssert//swiftpm-macosx-x86_64/.bootstrap/build.swift-build
      --- bootstrap: note: building self-hosted 'swift-build': env SWIFT_EXEC=/Volumes/Data/ddunbar/public/swift-project/build/Ninja-ReleaseAssert//swiftpm-macosx-x86_64/debug/swiftc SWIFT_BUILD_PATH=/Volumes/Data/ddunbar/public/swift-project/build/Ninja-ReleaseAssert//swiftpm-macosx-x86_64 SYSROOT=/Volumes/Data/Xcode/Whitney8A185a/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Volumes/Data/ddunbar/public/swift-project/build/Ninja-ReleaseAssert//swiftpm-macosx-x86_64/debug/swift-build-stage1 -Xlinker -rpath -Xlinker @executable_path/../lib/swift/macosx --build-tests
      Compile Swift Module 'PackageGraphTests' (4 sources)
      /Volumes/Data/ddunbar/public/swift-project/swiftpm/Tests/PackageGraphTests/RepositoryPackageContainerProviderTests.swift:60:21: error: use of unresolved identifier 'MockRepositories'
              let repos = MockRepositories(repositories: [
                          ^~~~~~~~~~~~~~~~
      /Volumes/Data/ddunbar/public/swift-project/swiftpm/Tests/PackageGraphTests/RepositoryPackageContainerProviderTests.swift:17:15: note: did you mean 'MockRepository'?
      private class MockRepository: Repository {
                    ^
      <unknown>:0: warning: 'cacheParamsComputed' is deprecated
      <unknown>:0: warning: 'cacheAlphaComputed' is deprecated
      <unknown>:0: warning: 'keepCacheWindow' is deprecated
      <unknown>:0: error: type 'CTFontManagerError' does not conform to protocol '__BridgedNSError'
      Foundation.__BridgedNSError:4:23: note: protocol requires property '_nsErrorDomain' with type 'String'; do you want to add a stub?
          public static var _nsErrorDomain: String { get }
                            ^
      <unknown>:0: error: type 'CTFontManagerError' does not conform to protocol 'Equatable'
      Swift.Equatable:149:24: note: protocol requires function '==' with type '(CTFontManagerError, CTFontManagerError) -> Bool'; do you want to add a stub?
          public static func ==(lhs: Self, rhs: Self) -> Bool
                             ^
      Darwin.==:1:13: note: candidate has non-matching type '(DarwinBoolean, DarwinBoolean) -> Bool'
      public func ==(lhs: DarwinBoolean, rhs: DarwinBoolean) -> Bool
                  ^
      Dispatch.==:1:13: note: candidate has non-matching type '(DispatchQoS, DispatchQoS) -> Bool'
      public func ==(a: DispatchQoS, b: DispatchQoS) -> Bool
                  ^
      Dispatch.==:1:13: note: candidate has non-matching type '(DispatchTime, DispatchTime) -> Bool'
      public func ==(a: DispatchTime, b: DispatchTime) -> Bool
                  ^
      Dispatch.==:1:13: note: candidate has non-matching type '(DispatchWallTime, DispatchWallTime) -> Bool'
      public func ==(a: DispatchWallTime, b: DispatchWallTime) -> Bool
                  ^
      Dispatch.DispatchQoS:20:34: note: candidate has non-matching type '(DispatchQoS.QoSClass, DispatchQoS.QoSClass) -> Bool'
              infix public static func ==(a: DispatchQoS.QoSClass, b: DispatchQoS.QoSClass) -> Bool
                                       ^
      Dispatch.DispatchTimeoutResult:5:30: note: candidate has non-matching type '(DispatchTimeoutResult, DispatchTimeoutResult) -> Bool'
          infix public static func ==(a: DispatchTimeoutResult, b: DispatchTimeoutResult) -> Bool
                                   ^
      Dispatch.DispatchQueue:31:34: note: candidate has non-matching type '(DispatchQueue.GlobalQueuePriority, DispatchQueue.GlobalQueuePriority) -> Bool'
              infix public static func ==(a: DispatchQueue.GlobalQueuePriority, b: DispatchQueue.GlobalQueuePriority) -> Bool
                                       ^
      Dispatch.DispatchQueue:38:34: note: candidate has non-matching type '(DispatchQueue.AutoreleaseFrequency, DispatchQueue.AutoreleaseFrequency) -> Bool'
              infix public static func ==(a: DispatchQueue.AutoreleaseFrequency, b: DispatchQueue.AutoreleaseFrequency) -> Bool
                                       ^
      ObjectiveC.==:1:13: note: candidate has non-matching type '(Selector, Selector) -> Bool'
      public func ==(lhs: Selector, rhs: Selector) -> Bool
                  ^
      ObjectiveC.==:1:13: note: candidate has non-matching type '(NSObject, NSObject) -> Bool'
      public func ==(lhs: NSObject, rhs: NSObject) -> Bool
                  ^
      CoreGraphics.==:1:13: note: candidate has non-matching type '(CGAffineTransform, CGAffineTransform) -> Bool'
      public func ==(lhs: CGAffineTransform, rhs: CGAffineTransform) -> Bool
                  ^
      CoreGraphics.==:1:13: note: candidate has non-matching type '(CGColor, CGColor) -> Bool'
      public func ==(lhs: CGColor, rhs: CGColor) -> Bool
                  ^
      CoreGraphics.==:1:13: note: candidate has non-matching type '(CGPoint, CGPoint) -> Bool'
      public func ==(lhs: CGPoint, rhs: CGPoint) -> Bool
                  ^
      CoreGraphics.==:1:13: note: candidate has non-matching type '(CGSize, CGSize) -> Bool'
      public func ==(lhs: CGSize, rhs: CGSize) -> Bool
                  ^
      CoreGraphics.==:1:13: note: candidate has non-matching type '(CGVector, CGVector) -> Bool'
      public func ==(lhs: CGVector, rhs: CGVector) -> Bool
                  ^
      CoreGraphics.==:1:13: note: candidate has non-matching type '(CGRect, CGRect) -> Bool'
      public func ==(lhs: CGRect, rhs: CGRect) -> Bool
                  ^
      CoreGraphics.==:1:13: note: candidate has non-matching type '(CGPath, CGPath) -> Bool'
      public func ==(lhs: CGPath, rhs: CGPath) -> Bool
                  ^
      Swift.==:2:13: note: candidate has non-matching type '<Element where Element : Equatable> (ContiguousArray<Element>, ContiguousArray<Element>) -> Bool' (aka '<τ_0_0 where τ_0_0 : Equatable> (ContiguousArray<τ_0_0>, ContiguousArray<τ_0_0>) -> Bool')
      public func ==<Element : Equatable>(lhs: ContiguousArray<Element>, rhs: ContiguousArray<Element>) -> Bool
                  ^
      Swift.==:2:13: note: candidate has non-matching type '<Element where Element : Equatable> (ArraySlice<Element>, ArraySlice<Element>) -> Bool' (aka '<τ_0_0 where τ_0_0 : Equatable> (ArraySlice<τ_0_0>, ArraySlice<τ_0_0>) -> Bool')
      public func ==<Element : Equatable>(lhs: ArraySlice<Element>, rhs: ArraySlice<Element>) -> Bool
                  ^
      Swift.==:2:13: note: candidate has non-matching type '<Element where Element : Equatable> (Array<Element>, Array<Element>) -> Bool' (aka '<τ_0_0 where τ_0_0 : Equatable> (Array<τ_0_0>, Array<τ_0_0>) -> Bool')
      public func ==<Element : Equatable>(lhs: [Element], rhs: [Element]) -> Bool
                  ^
      Swift.==:1:13: note: candidate has non-matching type '<Pointee> (AutoreleasingUnsafeMutablePointer<Pointee>, AutoreleasingUnsafeMutablePointer<Pointee>) -> Bool' (aka '<τ_0_0> (AutoreleasingUnsafeMutablePointer<τ_0_0>, AutoreleasingUnsafeMutablePointer<τ_0_0>) -> Bool')
      public func ==<Pointee>(lhs: AutoreleasingUnsafeMutablePointer<Pointee>, rhs: AutoreleasingUnsafeMutablePointer<Pointee>) -> Bool
                  ^
      Swift.==:3:13: note: candidate has non-matching type '(Any.Type?, Any.Type?) -> Bool'
      public func ==(t0: Any.Type?, t1: Any.Type?) -> Bool
                  ^
      Swift.==:6:13: note: candidate has non-matching type '<T where T : RawRepresentable, T.RawValue : Equatable> (T, T) -> Bool' (aka '<τ_0_0 where τ_0_0 : RawRepresentable, τ_0_0.RawValue : Equatable> (τ_0_0, τ_0_0) -> Bool')
      public func ==<T : RawRepresentable where T.RawValue : Equatable>(lhs: T, rhs: T) -> Bool
                  ^
      Swift.==:5:13: note: candidate has non-matching type '(UInt8, UInt8) -> Bool'
      public func ==(lhs: UInt8, rhs: UInt8) -> Bool
                  ^
      Swift.==:5:13: note: candidate has non-matching type '(Int8, Int8) -> Bool'
      public func ==(lhs: Int8, rhs: Int8) -> Bool
                  ^
      Swift.==:5:13: note: candidate has non-matching type '(UInt16, UInt16) -> Bool'
      public func ==(lhs: UInt16, rhs: UInt16) -> Bool
                  ^
      Swift.==:5:13: note: candidate has non-matching type '(Int16, Int16) -> Bool'
      public func ==(lhs: Int16, rhs: Int16) -> Bool
                  ^
      Swift.==:5:13: note: candidate has non-matching type '(UInt32, UInt32) -> Bool'
      public func ==(lhs: UInt32, rhs: UInt32) -> Bool
                  ^
      Swift.==:5:13: note: candidate has non-matching type '(Int32, Int32) -> Bool'
      public func ==(lhs: Int32, rhs: Int32) -> Bool
                  ^
      Swift.==:5:13: note: candidate has non-matching type '(UInt64, UInt64) -> Bool'
      public func ==(lhs: UInt64, rhs: UInt64) -> Bool
                  ^
      Swift.==:5:13: note: candidate has non-matching type '(Int64, Int64) -> Bool'
      public func ==(lhs: Int64, rhs: Int64) -> Bool
                  ^
      Swift.==:5:13: note: candidate has non-matching type '(UInt, UInt) -> Bool'
      public func ==(lhs: UInt, rhs: UInt) -> Bool
                  ^
      Swift.==:5:13: note: candidate has non-matching type '(Int, Int) -> Bool'
      public func ==(lhs: Int, rhs: Int) -> Bool
                  ^
      Swift.==:1:13: note: candidate has non-matching type '<T where T : FloatingPoint, T.Exponent : SignedInteger, T.Exponent.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, T.Exponent.Stride : SignedNumber, T.Exponent.Stride.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, T.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, T.Magnitude : Equatable, T.Magnitude : ExpressibleByIntegerLiteral, T.Magnitude.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, T.Stride : SignedNumber, T.Stride.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral> (T, T) -> Bool' (aka '<τ_0_0 where τ_0_0 : FloatingPoint, τ_0_0.Exponent : SignedInteger, τ_0_0.Exponent.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, τ_0_0.Exponent.Stride : SignedNumber, τ_0_0.Exponent.Stride.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, τ_0_0.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, τ_0_0.Magnitude : Equatable, τ_0_0.Magnitude : ExpressibleByIntegerLiteral, τ_0_0.Magnitude.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, τ_0_0.Stride : SignedNumber, τ_0_0.Stride.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral> (τ_0_0, τ_0_0) -> Bool')
      public func ==<T : FloatingPoint>(lhs: T, rhs: T) -> Bool
                  ^
      Swift.==:1:13: note: candidate has non-matching type '<Value, Element> (_HeapBuffer<Value, Element>, _HeapBuffer<Value, Element>) -> Bool' (aka '<τ_0_0, τ_0_1> (_HeapBuffer<τ_0_0, τ_0_1>, _HeapBuffer<τ_0_0, τ_0_1>) -> Bool')
      public func ==<Value, Element>(lhs: _HeapBuffer<Value, Element>, rhs: _HeapBuffer<Value, Element>) -> Bool
                  ^
      Swift.==:1:13: note: candidate has non-matching type '<T where T : BinaryInteger, T.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, T.Magnitude : Equatable, T.Magnitude : ExpressibleByIntegerLiteral, T.Magnitude.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral> (T, T) -> Bool' (aka '<τ_0_0 where τ_0_0 : BinaryInteger, τ_0_0.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, τ_0_0.Magnitude : Equatable, τ_0_0.Magnitude : ExpressibleByIntegerLiteral, τ_0_0.Magnitude.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral> (τ_0_0, τ_0_0) -> Bool')
      public func ==<T : BinaryInteger>(lhs: T, rhs: T) -> Bool
                  ^
      Swift.==:1:13: note: candidate has non-matching type '<T, U where T : BinaryInteger, U : BinaryInteger, T.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, T.Magnitude : Equatable, T.Magnitude : ExpressibleByIntegerLiteral, T.Magnitude.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, U.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, U.Magnitude : Equatable, U.Magnitude : ExpressibleByIntegerLiteral, U.Magnitude.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral> (T, U) -> Bool' (aka '<τ_0_0, τ_0_1 where τ_0_0 : BinaryInteger, τ_0_1 : BinaryInteger, τ_0_0.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, τ_0_0.Magnitude : Equatable, τ_0_0.Magnitude : ExpressibleByIntegerLiteral, τ_0_0.Magnitude.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, τ_0_1.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral, τ_0_1.Magnitude : Equatable, τ_0_1.Magnitude : ExpressibleByIntegerLiteral, τ_0_1.Magnitude.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral> (τ_0_0, τ_0_1) -> Bool')
      public func ==<T : BinaryInteger, U : BinaryInteger>(lhs: T, rhs: U) -> Bool
                  ^
      Swift.==:1:13: note: candidate has non-matching type '<Header, Element> (ManagedBufferPointer<Header, Element>, ManagedBufferPointer<Header, Element>) -> Bool' (aka '<τ_0_0, τ_0_1> (ManagedBufferPointer<τ_0_0, τ_0_1>, ManagedBufferPointer<τ_0_0, τ_0_1>) -> Bool')
      public func ==<Header, Element>(lhs: ManagedBufferPointer<Header, Element>, rhs: ManagedBufferPointer<Header, Element>) -> Bool
                  ^
      Swift.==:1:13: note: candidate has non-matching type '<T where T : Equatable> (T?, T?) -> Bool' (aka '<τ_0_0 where τ_0_0 : Equatable> (Optional<τ_0_0>, Optional<τ_0_0>) -> Bool')
      public func ==<T : Equatable>(lhs: T?, rhs: T?) -> Bool
                  ^
      Swift.==:1:13: note: candidate has non-matching type '<T> (T?, _OptionalNilComparisonType) -> Bool' (aka '<τ_0_0> (Optional<τ_0_0>, _OptionalNilComparisonType) -> Bool')
      public func ==<T>(lhs: T?, rhs: _OptionalNilComparisonType) -> Bool
                  ^
      Swift.==:1:13: note: candidate has non-matching type '<T> (_OptionalNilComparisonType, T?) -> Bool' (aka '<τ_0_0> (_OptionalNilComparisonType, Optional<τ_0_0>) -> Bool')
      public func ==<T>(lhs: _OptionalNilComparisonType, rhs: T?) -> Bool
                  ^
      Swift.==:1:13: note: candidate has non-matching type '<T where T : Strideable, T.Stride : SignedNumber, T.Stride.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral> (T, T) -> Bool' (aka '<τ_0_0 where τ_0_0 : Strideable, τ_0_0.Stride : SignedNumber, τ_0_0.Stride.IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral> (τ_0_0, τ_0_0) -> Bool')
      public func ==<T : Strideable>(x: T, y: T) -> Bool
                  ^
      Swift.==:3:13: note: candidate has non-matching type '<Pointee> (UnsafeMutablePointer<Pointee>, UnsafeMutablePointer<Pointee>) -> Bool' (aka '<τ_0_0> (UnsafeMutablePointer<τ_0_0>, UnsafeMutablePointer<τ_0_0>) -> Bool')
      public func ==<Pointee>(lhs: UnsafeMutablePointer<Pointee>, rhs: UnsafeMutablePointer<Pointee>) -> Bool
                  ^
      Swift.==:3:13: note: candidate has non-matching type '<Pointee> (UnsafePointer<Pointee>, UnsafePointer<Pointee>) -> Bool' (aka '<τ_0_0> (UnsafePointer<τ_0_0>, UnsafePointer<τ_0_0>) -> Bool')
      public func ==<Pointee>(lhs: UnsafePointer<Pointee>, rhs: UnsafePointer<Pointee>) -> Bool
                  ^
      Swift.==:3:13: note: candidate has non-matching type '(UnsafeMutableRawPointer, UnsafeMutableRawPointer) -> Bool'
      public func ==(lhs: UnsafeMutableRawPointer, rhs: UnsafeMutableRawPointer) -> Bool
                  ^
      Swift.==:3:13: note: candidate has non-matching type '(UnsafeRawPointer, UnsafeRawPointer) -> Bool'
      public func ==(lhs: UnsafeRawPointer, rhs: UnsafeRawPointer) -> Bool
                  ^
      Swift.==:20:13: note: candidate has non-matching type '<A, B where A : Equatable, B : Equatable> ((A, B), (A, B)) -> Bool' (aka '<τ_0_0, τ_0_1 where τ_0_0 : Equatable, τ_0_1 : Equatable> ((τ_0_0, τ_0_1), (τ_0_0, τ_0_1)) -> Bool')
      public func ==<A : Equatable, B : Equatable>(lhs: (A, B), rhs: (A, B)) -> Bool
                  ^
      Swift.==:20:13: note: candidate has non-matching type '<A, B, C where A : Equatable, B : Equatable, C : Equatable> ((A, B, C), (A, B, C)) -> Bool' (aka '<τ_0_0, τ_0_1, τ_0_2 where τ_0_0 : Equatable, τ_0_1 : Equatable, τ_0_2 : Equatable> ((τ_0_0, τ_0_1, τ_0_2), (τ_0_0, τ_0_1, τ_0_2)) -> Bool')
      public func ==<A : Equatable, B : Equatable, C : Equatable>(lhs: (A, B, C), rhs: (A, B, C)) -> Bool
                  ^
      Swift.==:20:13: note: candidate has non-matching type '<A, B, C, D where A : Equatable, B : Equatable, C : Equatable, D : Equatable> ((A, B, C, D), (A, B, C, D)) -> Bool' (aka '<τ_0_0, τ_0_1, τ_0_2, τ_0_3 where τ_0_0 : Equatable, τ_0_1 : Equatable, τ_0_2 : Equatable, τ_0_3 : Equatable> ((τ_0_0, τ_0_1, τ_0_2, τ_0_3), (τ_0_0, τ_0_1, τ_0_2, τ_0_3)) -> Bool')
      public func ==<A : Equatable, B : Equatable, C : Equatable, D : Equatable>(lhs: (A, B, C, D), rhs: (A, B, C, D)) -> Bool
                  ^
      Swift.==:20:13: note: candidate has non-matching type '<A, B, C, D, E where A : Equatable, B : Equatable, C : Equatable, D : Equatable, E : Equatable> ((A, B, C, D, E), (A, B, C, D, E)) -> Bool' (aka '<τ_0_0, τ_0_1, τ_0_2, τ_0_3, τ_0_4 where τ_0_0 : Equatable, τ_0_1 : Equatable, τ_0_2 : Equatable, τ_0_3 : Equatable, τ_0_4 : Equatable> ((τ_0_0, τ_0_1, τ_0_2, τ_0_3, τ_0_4), (τ_0_0, τ_0_1, τ_0_2, τ_0_3, τ_0_4)) -> Bool')
      public func ==<A : Equatable, B : Equatable, C : Equatable, D : Equatable, E : Equatable>(lhs: (A, B, C, D, E), rhs: (A, B, C, D, E)) -> Bool
                  ^
      Swift.==:20:13: note: candidate has non-matching type '<A, B, C, D, E, F where A : Equatable, B : Equatable, C : Equatable, D : Equatable, E : Equatable, F : Equatable> ((A, B, C, D, E, F), (A, B, C, D, E, F)) -> Bool' (aka '<τ_0_0, τ_0_1, τ_0_2, τ_0_3, τ_0_4, τ_0_5 where τ_0_0 : Equatable, τ_0_1 : Equatable, τ_0_2 : Equatable, τ_0_3 : Equatable, τ_0_4 : Equatable, τ_0_5 : Equatable> ((τ_0_0, τ_0_1, τ_0_2, τ_0_3, τ_0_4, τ_0_5), (τ_0_0, τ_0_1, τ_0_2, τ_0_3, τ_0_4, τ_0_5)) -> Bool')
      public func ==<A : Equatable, B : Equatable, C : Equatable, D : Equatable, E : Equatable, F : Equatable>(lhs: (A, B, C, D, E, F), rhs: (A, B, C, D, E, F)) -> Bool
                  ^
      Swift.Bool:11:24: note: candidate has non-matching type '(Bool, Bool) -> Bool'
          public static func ==(lhs: Bool, rhs: Bool) -> Bool
                             ^
      Swift.Character:2:24: note: candidate has non-matching type '(Character, Character) -> Bool'
          public static func ==(lhs: Character, rhs: Character) -> Bool
                             ^
      Swift.ClosedRangeIndex<Bound>:2:24: note: candidate has non-matching type '<Bound> (ClosedRangeIndex<Bound>, ClosedRangeIndex<Bound>) -> Bool' (aka '<τ_0_0> (ClosedRangeIndex<τ_0_0>, ClosedRangeIndex<τ_0_0>) -> Bool')
          public static func ==(lhs: ClosedRangeIndex<Bound>, rhs: ClosedRangeIndex<Bound>) -> Bool
                             ^
      Swift.OpaquePointer:2:24: note: candidate has non-matching type '(OpaquePointer, OpaquePointer) -> Bool'
          public static func ==(lhs: OpaquePointer, rhs: OpaquePointer) -> Bool
                             ^
      Swift.EmptyCollection<Element>:2:24: note: candidate has non-matching type '<Element> (EmptyCollection<Element>, EmptyCollection<Element>) -> Bool' (aka '<τ_0_0> (EmptyCollection<τ_0_0>, EmptyCollection<τ_0_0>) -> Bool')
          public static func ==(lhs: EmptyCollection<Element>, rhs: EmptyCollection<Element>) -> Bool
                             ^
      Swift.LazyFilterIndex<Base>:2:24: note: candidate has non-matching type '<Base> (LazyFilterIndex<Base>, LazyFilterIndex<Base>) -> Bool' (aka '<τ_0_0> (LazyFilterIndex<τ_0_0>, LazyFilterIndex<τ_0_0>) -> Bool')
          public static func ==(lhs: LazyFilterIndex<Base>, rhs: LazyFilterIndex<Base>) -> Bool
                             ^
      Swift.FlattenCollectionIndex<BaseElements>:2:24: note: candidate has non-matching type '<BaseElements> (FlattenCollectionIndex<BaseElements>, FlattenCollectionIndex<BaseElements>) -> Bool' (aka '<τ_0_0> (FlattenCollectionIndex<τ_0_0>, FlattenCollectionIndex<τ_0_0>) -> Bool')
          public static func ==(lhs: FlattenCollectionIndex<BaseElements>, rhs: FlattenCollectionIndex<BaseElements>) -> Bool
                             ^
      Swift.FlattenBidirectionalCollectionIndex<BaseElements>:2:24: note: candidate has non-matching type '<BaseElements> (FlattenBidirectionalCollectionIndex<BaseElements>, FlattenBidirectionalCollectionIndex<BaseElements>) -> Bool' (aka '<τ_0_0> (FlattenBidirectionalCollectionIndex<τ_0_0>, FlattenBidirectionalCollectionIndex<τ_0_0>) -> Bool')
          public static func ==(lhs: FlattenBidirectionalCollectionIndex<BaseElements>, rhs: FlattenBidirectionalCollectionIndex<BaseElements>) -> Bool
                             ^
      Swift.FloatingPointClassification:36:30: note: candidate has non-matching type '(FloatingPointClassification, FloatingPointClassification) -> Bool'
          infix public static func ==(a: FloatingPointClassification, b: FloatingPointClassification) -> Bool
                                   ^
      Swift.FloatingPointRoundingRule:121:30: note: candidate has non-matching type '(FloatingPointRoundingRule, FloatingPointRoundingRule) -> Bool'
          infix public static func ==(a: FloatingPointRoundingRule, b: FloatingPointRoundingRule) -> Bool
                                   ^
      Swift.Set<Element>:9:24: note: candidate has non-matching type '<Element> (Set<Element>, Set<Element>) -> Bool' (aka '<τ_0_0> (Set<τ_0_0>, Set<τ_0_0>) -> Bool')
          public static func ==(lhs: Set<Element>, rhs: Set<Element>) -> Bool
                             ^
      Swift.Dictionary<Key, Value>:2:24: note: candidate has non-matching type '<Key, Value> ([Key : Value], [Key : Value]) -> Bool' (aka '<τ_0_0, τ_0_1> (Dictionary<τ_0_0, τ_0_1>, Dictionary<τ_0_0, τ_0_1>) -> Bool')
          public static func ==(lhs: [Key : Value], rhs: [Key : Value]) -> Bool
                             ^
      Swift.SetIndex<Element>:2:24: note: candidate has non-matching type '<Element> (SetIndex<Element>, SetIndex<Element>) -> Bool' (aka '<τ_0_0> (SetIndex<τ_0_0>, SetIndex<τ_0_0>) -> Bool')
          public static func ==(lhs: SetIndex<Element>, rhs: SetIndex<Element>) -> Bool
                             ^
      Swift.DictionaryIndex<Key, Value>:2:24: note: candidate has non-matching type '<Key, Value> (DictionaryIndex<Key, Value>, DictionaryIndex<Key, Value>) -> Bool' (aka '<τ_0_0, τ_0_1> (DictionaryIndex<τ_0_0, τ_0_1>, DictionaryIndex<τ_0_0, τ_0_1>) -> Bool')
          public static func ==(lhs: DictionaryIndex<Key, Value>, rhs: DictionaryIndex<Key, Value>) -> Bool
                             ^
      Swift.AnyHashable:27:24: note: candidate has non-matching type '(AnyHashable, AnyHashable) -> Bool'
          public static func ==(lhs: AnyHashable, rhs: AnyHashable) -> Bool
                             ^
      Swift.ArithmeticOverflow:5:30: note: candidate has non-matching type '(ArithmeticOverflow, ArithmeticOverflow) -> Bool'
          infix public static func ==(a: ArithmeticOverflow, b: ArithmeticOverflow) -> Bool
                                   ^
      Swift.Range<Bound>:2:24: note: candidate has non-matching type '<Bound> (Range<Bound>, Range<Bound>) -> Bool' (aka '<τ_0_0> (Range<τ_0_0>, Range<τ_0_0>) -> Bool')
          public static func ==(lhs: Range<Bound>, rhs: Range<Bound>) -> Bool
                             ^
      Swift.CountableRange<Bound>:2:24: note: candidate has non-matching type '<Bound> (CountableRange<Bound>, CountableRange<Bound>) -> Bool' (aka '<τ_0_0> (CountableRange<τ_0_0>, CountableRange<τ_0_0>) -> Bool')
          public static func ==(lhs: CountableRange<Bound>, rhs: CountableRange<Bound>) -> Bool
                             ^
      Swift.ClosedRange<Bound>:2:24: note: candidate has non-matching type '<Bound> (ClosedRange<Bound>, ClosedRange<Bound>) -> Bool' (aka '<τ_0_0> (ClosedRange<τ_0_0>, ClosedRange<τ_0_0>) -> Bool')
          public static func ==(lhs: ClosedRange<Bound>, rhs: ClosedRange<Bound>) -> Bool
                             ^
      Swift.CountableClosedRange<Bound>:2:24: note: candidate has non-matching type '<Bound> (CountableClosedRange<Bound>, CountableClosedRange<Bound>) -> Bool' (aka '<τ_0_0> (CountableClosedRange<τ_0_0>, CountableClosedRange<τ_0_0>) -> Bool')
          public static func ==(lhs: CountableClosedRange<Bound>, rhs: CountableClosedRange<Bound>) -> Bool
                             ^
      Swift.ObjectIdentifier:3:24: note: candidate has non-matching type '(ObjectIdentifier, ObjectIdentifier) -> Bool'
          public static func ==(x: ObjectIdentifier, y: ObjectIdentifier) -> Bool
                             ^
      Swift._MirrorDisposition:25:30: note: candidate has non-matching type '(_MirrorDisposition, _MirrorDisposition) -> Bool'
          infix public static func ==(a: _MirrorDisposition, b: _MirrorDisposition) -> Bool
                                   ^
      Swift.ReversedIndex:7:24: note: candidate has non-matching type '<Base> (ReversedIndex<Base>, ReversedIndex<Base>) -> Bool' (aka '<τ_0_0> (ReversedIndex<τ_0_0>, ReversedIndex<τ_0_0>) -> Bool')
          public static func ==(lhs: ReversedIndex<Base>, rhs: ReversedIndex<Base>) -> Bool
                             ^
      Swift.ReversedRandomAccessIndex:7:24: note: candidate has non-matching type '<Base> (ReversedRandomAccessIndex<Base>, ReversedRandomAccessIndex<Base>) -> Bool' (aka '<τ_0_0> (ReversedRandomAccessIndex<τ_0_0>, ReversedRandomAccessIndex<τ_0_0>) -> Bool')
          public static func ==(lhs: ReversedRandomAccessIndex<Base>, rhs: ReversedRandomAccessIndex<Base>) -> Bool
                             ^
      Swift.String:2:24: note: candidate has non-matching type '(String, String) -> Bool'
          public static func ==(lhs: String, rhs: String) -> Bool
                             ^
      Swift.Index:2:24: note: candidate has non-matching type '(Index, Index) -> Bool'
          public static func ==(lhs: Index, rhs: Index) -> Bool
                             ^
      Swift.String.UnicodeScalarView.Index:2:24: note: candidate has non-matching type '(String.UnicodeScalarView.Index, String.UnicodeScalarView.Index) -> Bool'
          public static func ==(lhs: String.UnicodeScalarView.Index, rhs: String.UnicodeScalarView.Index) -> Bool
                             ^
      Swift.String.UTF16View.Index:2:24: note: candidate has non-matching type '(String.UTF16View.Index, String.UTF16View.Index) -> Bool'
          public static func ==(lhs: String.UTF16View.Index, rhs: String.UTF16View.Index) -> Bool
                             ^
      Swift.String.UTF8View.Index:2:24: note: candidate has non-matching type '(String.UTF8View.Index, String.UTF8View.Index) -> Bool'
          public static func ==(lhs: String.UTF8View.Index, rhs: String.UTF8View.Index) -> Bool
                             ^
      Swift.UnicodeDecodingResult:15:24: note: candidate has non-matching type '(UnicodeDecodingResult, UnicodeDecodingResult) -> Bool'
          public static func ==(lhs: UnicodeDecodingResult, rhs: UnicodeDecodingResult) -> Bool
                             ^
      Swift.UnicodeScalar:2:24: note: candidate has non-matching type '(UnicodeScalar, UnicodeScalar) -> Bool'
          public static func ==(lhs: UnicodeScalar, rhs: UnicodeScalar) -> Bool
                             ^
      Swift._SwiftNSOperatingSystemVersion:2:24: note: candidate has non-matching type '(_SwiftNSOperatingSystemVersion, _SwiftNSOperatingSystemVersion) -> Bool'
          public static func ==(lhs: _SwiftNSOperatingSystemVersion, rhs: _SwiftNSOperatingSystemVersion) -> Bool
                             ^
      Swift.AnyIndex:10:24: note: candidate has non-matching type '(AnyIndex, AnyIndex) -> Bool'
          public static func ==(lhs: AnyIndex, rhs: AnyIndex) -> Bool
                             ^
      Swift.Mirror:95:34: note: candidate has non-matching type '(Mirror.DisplayStyle, Mirror.DisplayStyle) -> Bool'
              infix public static func ==(a: Mirror.DisplayStyle, b: Mirror.DisplayStyle) -> Bool
                                       ^
      <unknown>:0: error: build had 1 command failures
      error: exit(1): /Volumes/Data/ddunbar/public/swift-project/build/Ninja-ReleaseAssert/swiftpm-macosx-x86_64/debug/swift-build-tool -f /Volumes/Data/ddunbar/public/swift-project/build/Ninja-ReleaseAssert/swiftpm-macosx-x86_64/debug.yaml test
      --- bootstrap: error: build failed with exit status 1
      

        Attachments

          Activity

            People

            Assignee:
            ddunbar Daniel Dunbar
            Reporter:
            ddunbar Daniel Dunbar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: