Build Information
Failed to build GfxMath, reference master (249161), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 22:38:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
129 | return pointAtScale(s)
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
130 | }
131 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[13/34] Compiling GfxMath EColorFormatFpRGB.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Color/Experimental/EColorFormatFpRGB.swift:24:24: warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | public struct FpRGBColor<D: BinaryFloatingPoint>: ERGBColor {
| `- note: 'D' previously declared here
2 | public typealias DataType = D
3 |
:
22 | }
23 |
24 | public func toIRGB<D>() -> IRGBColor<D> {
| `- warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | IRGBColor(
26 | r: D(max(0, min(255, r * 255))),
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Color/Experimental/EColorFormatFpRGBA.swift:28:25: warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 |
2 |
3 | public struct FpRGBAColor<D: BinaryFloatingPoint>: ERGBAColor {
| `- note: 'D' previously declared here
4 | public typealias DataType = D
5 |
:
26 | }
27 |
28 | public func toIRGBA<D>() -> IRGBAColor<D> {
| `- warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | IRGBAColor(
30 | r: D(max(0, min(255, r * 255))),
[14/34] Compiling GfxMath EColorFormatFpRGBA.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Color/Experimental/EColorFormatFpRGB.swift:24:24: warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | public struct FpRGBColor<D: BinaryFloatingPoint>: ERGBColor {
| `- note: 'D' previously declared here
2 | public typealias DataType = D
3 |
:
22 | }
23 |
24 | public func toIRGB<D>() -> IRGBColor<D> {
| `- warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | IRGBColor(
26 | r: D(max(0, min(255, r * 255))),
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Color/Experimental/EColorFormatFpRGBA.swift:28:25: warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 |
2 |
3 | public struct FpRGBAColor<D: BinaryFloatingPoint>: ERGBAColor {
| `- note: 'D' previously declared here
4 | public typealias DataType = D
5 |
:
26 | }
27 |
28 | public func toIRGBA<D>() -> IRGBAColor<D> {
| `- warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | IRGBAColor(
30 | r: D(max(0, min(255, r * 255))),
[15/34] Compiling GfxMath EColorFormatIRGB.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Color/Experimental/EColorFormatFpRGB.swift:24:24: warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | public struct FpRGBColor<D: BinaryFloatingPoint>: ERGBColor {
| `- note: 'D' previously declared here
2 | public typealias DataType = D
3 |
:
22 | }
23 |
24 | public func toIRGB<D>() -> IRGBColor<D> {
| `- warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 | IRGBColor(
26 | r: D(max(0, min(255, r * 255))),
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Color/Experimental/EColorFormatFpRGBA.swift:28:25: warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 |
2 |
3 | public struct FpRGBAColor<D: BinaryFloatingPoint>: ERGBAColor {
| `- note: 'D' previously declared here
4 | public typealias DataType = D
5 |
:
26 | }
27 |
28 | public func toIRGBA<D>() -> IRGBAColor<D> {
| `- warning: generic parameter 'D' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 | IRGBAColor(
30 | r: D(max(0, min(255, r * 255))),
[16/34] Compiling GfxMath LineSegment.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:16:20: warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
14 | }
15 |
16 | public var line: AnyLine<Vector>
| `- warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
17 |
18 | public init(line: AnyLine<Vector>, scaleMin: Vector.Element, scaleMax: Vector.Element) {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:18:21: warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
16 | public var line: AnyLine<Vector>
17 |
18 | public init(line: AnyLine<Vector>, scaleMin: Vector.Element, scaleMax: Vector.Element) {
| `- warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
19 | var scaleMin = scaleMin
20 | var scaleMax = scaleMax
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:7:10: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
5 | public var scaleMax: Vector.Element
6 | public var start: Vector {
7 | line.pointAtScale(scaleMin)
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
8 | }
9 | public var end: Vector {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:10:10: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
8 | }
9 | public var end: Vector {
10 | line.pointAtScale(scaleMax)
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
11 | }
12 | public var length: Vector.Element {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:34:16: warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
32 |
33 | public init(start: Vector, end: Vector) {
34 | let line = AnyLine(from: start, to: end)
| `- warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
35 | var scaleMin = line.scaleAt(start)!
36 | var scaleMax = line.scaleAt(end)!
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:35:9: warning: variable 'scaleMin' was never mutated; consider changing to 'let' constant
33 | public init(start: Vector, end: Vector) {
34 | let line = AnyLine(from: start, to: end)
35 | var scaleMin = line.scaleAt(start)!
| `- warning: variable 'scaleMin' was never mutated; consider changing to 'let' constant
36 | var scaleMax = line.scaleAt(end)!
37 | self.init(line: line, scaleMin: scaleMin, scaleMax: scaleMax)
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:36:9: warning: variable 'scaleMax' was never mutated; consider changing to 'let' constant
34 | let line = AnyLine(from: start, to: end)
35 | var scaleMin = line.scaleAt(start)!
36 | var scaleMax = line.scaleAt(end)!
| `- warning: variable 'scaleMax' was never mutated; consider changing to 'let' constant
37 | self.init(line: line, scaleMin: scaleMin, scaleMax: scaleMax)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Plane.swift:16:5: warning: 'public' modifier is redundant for initializer declared in a public extension
14 | }
15 |
16 | public init(point: VectorProtocol, normal: VectorProtocol) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
17 | self.init()
18 | self.point = point
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:28:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
26 |
27 | extension Vector2Protocol {
28 | public typealias Dimension = Dim_2x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
29 |
30 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:131:54: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
129 | var maxScale = Data.infinity
130 | for dimension in 0..<2 {
131 | var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
132 | var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
133 | if newMinScale > newMaxScale {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:132:54: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
130 | for dimension in 0..<2 {
131 | var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
132 | var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
133 | if newMinScale > newMaxScale {
134 | let tmp = newMinScale
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:146:41: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
144 | }
145 |
146 | return (min: Vector2<Data>(line.pointAtScale(minScale)), max: Vector2<Data>(line.pointAtScale(maxScale)))
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
147 | }
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:146:90: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
144 | }
145 |
146 | return (min: Vector2<Data>(line.pointAtScale(minScale)), max: Vector2<Data>(line.pointAtScale(maxScale)))
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
147 | }
148 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[17/34] Compiling GfxMath Plane.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:16:20: warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
14 | }
15 |
16 | public var line: AnyLine<Vector>
| `- warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
17 |
18 | public init(line: AnyLine<Vector>, scaleMin: Vector.Element, scaleMax: Vector.Element) {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:18:21: warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
16 | public var line: AnyLine<Vector>
17 |
18 | public init(line: AnyLine<Vector>, scaleMin: Vector.Element, scaleMax: Vector.Element) {
| `- warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
19 | var scaleMin = scaleMin
20 | var scaleMax = scaleMax
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:7:10: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
5 | public var scaleMax: Vector.Element
6 | public var start: Vector {
7 | line.pointAtScale(scaleMin)
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
8 | }
9 | public var end: Vector {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:10:10: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
8 | }
9 | public var end: Vector {
10 | line.pointAtScale(scaleMax)
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
11 | }
12 | public var length: Vector.Element {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:34:16: warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
32 |
33 | public init(start: Vector, end: Vector) {
34 | let line = AnyLine(from: start, to: end)
| `- warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
35 | var scaleMin = line.scaleAt(start)!
36 | var scaleMax = line.scaleAt(end)!
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:35:9: warning: variable 'scaleMin' was never mutated; consider changing to 'let' constant
33 | public init(start: Vector, end: Vector) {
34 | let line = AnyLine(from: start, to: end)
35 | var scaleMin = line.scaleAt(start)!
| `- warning: variable 'scaleMin' was never mutated; consider changing to 'let' constant
36 | var scaleMax = line.scaleAt(end)!
37 | self.init(line: line, scaleMin: scaleMin, scaleMax: scaleMax)
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:36:9: warning: variable 'scaleMax' was never mutated; consider changing to 'let' constant
34 | let line = AnyLine(from: start, to: end)
35 | var scaleMin = line.scaleAt(start)!
36 | var scaleMax = line.scaleAt(end)!
| `- warning: variable 'scaleMax' was never mutated; consider changing to 'let' constant
37 | self.init(line: line, scaleMin: scaleMin, scaleMax: scaleMax)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Plane.swift:16:5: warning: 'public' modifier is redundant for initializer declared in a public extension
14 | }
15 |
16 | public init(point: VectorProtocol, normal: VectorProtocol) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
17 | self.init()
18 | self.point = point
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:28:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
26 |
27 | extension Vector2Protocol {
28 | public typealias Dimension = Dim_2x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
29 |
30 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:131:54: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
129 | var maxScale = Data.infinity
130 | for dimension in 0..<2 {
131 | var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
132 | var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
133 | if newMinScale > newMaxScale {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:132:54: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
130 | for dimension in 0..<2 {
131 | var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
132 | var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
133 | if newMinScale > newMaxScale {
134 | let tmp = newMinScale
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:146:41: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
144 | }
145 |
146 | return (min: Vector2<Data>(line.pointAtScale(minScale)), max: Vector2<Data>(line.pointAtScale(maxScale)))
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
147 | }
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:146:90: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
144 | }
145 |
146 | return (min: Vector2<Data>(line.pointAtScale(minScale)), max: Vector2<Data>(line.pointAtScale(maxScale)))
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
147 | }
148 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[18/34] Compiling GfxMath Rect.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:16:20: warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
14 | }
15 |
16 | public var line: AnyLine<Vector>
| `- warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
17 |
18 | public init(line: AnyLine<Vector>, scaleMin: Vector.Element, scaleMax: Vector.Element) {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:18:21: warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
16 | public var line: AnyLine<Vector>
17 |
18 | public init(line: AnyLine<Vector>, scaleMin: Vector.Element, scaleMax: Vector.Element) {
| `- warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
19 | var scaleMin = scaleMin
20 | var scaleMax = scaleMax
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:7:10: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
5 | public var scaleMax: Vector.Element
6 | public var start: Vector {
7 | line.pointAtScale(scaleMin)
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
8 | }
9 | public var end: Vector {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:10:10: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
8 | }
9 | public var end: Vector {
10 | line.pointAtScale(scaleMax)
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
11 | }
12 | public var length: Vector.Element {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:34:16: warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
32 |
33 | public init(start: Vector, end: Vector) {
34 | let line = AnyLine(from: start, to: end)
| `- warning: 'AnyLine' is deprecated: use Line<V> instead of AnyLine<V> [#DeprecatedDeclaration]
35 | var scaleMin = line.scaleAt(start)!
36 | var scaleMax = line.scaleAt(end)!
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:35:9: warning: variable 'scaleMin' was never mutated; consider changing to 'let' constant
33 | public init(start: Vector, end: Vector) {
34 | let line = AnyLine(from: start, to: end)
35 | var scaleMin = line.scaleAt(start)!
| `- warning: variable 'scaleMin' was never mutated; consider changing to 'let' constant
36 | var scaleMax = line.scaleAt(end)!
37 | self.init(line: line, scaleMin: scaleMin, scaleMax: scaleMax)
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:36:9: warning: variable 'scaleMax' was never mutated; consider changing to 'let' constant
34 | let line = AnyLine(from: start, to: end)
35 | var scaleMin = line.scaleAt(start)!
36 | var scaleMax = line.scaleAt(end)!
| `- warning: variable 'scaleMax' was never mutated; consider changing to 'let' constant
37 | self.init(line: line, scaleMin: scaleMin, scaleMax: scaleMax)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Plane.swift:16:5: warning: 'public' modifier is redundant for initializer declared in a public extension
14 | }
15 |
16 | public init(point: VectorProtocol, normal: VectorProtocol) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
17 | self.init()
18 | self.point = point
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:28:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
26 |
27 | extension Vector2Protocol {
28 | public typealias Dimension = Dim_2x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
29 |
30 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:131:54: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
129 | var maxScale = Data.infinity
130 | for dimension in 0..<2 {
131 | var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
132 | var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
133 | if newMinScale > newMaxScale {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:132:54: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
130 | for dimension in 0..<2 {
131 | var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
132 | var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
133 | if newMinScale > newMaxScale {
134 | let tmp = newMinScale
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:146:41: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
144 | }
145 |
146 | return (min: Vector2<Data>(line.pointAtScale(minScale)), max: Vector2<Data>(line.pointAtScale(maxScale)))
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
147 | }
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:146:90: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
144 | }
145 |
146 | return (min: Vector2<Data>(line.pointAtScale(minScale)), max: Vector2<Data>(line.pointAtScale(maxScale)))
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
147 | }
148 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[19/34] Compiling GfxMath VectorProtocol+Initializers.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
[20/34] Compiling GfxMath VectorProtocol+Operators.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
[21/34] Compiling GfxMath VectorProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
[22/34] Compiling GfxMath Point.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:28:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
26 |
27 | extension Vector2Protocol {
28 | public typealias Dimension = Dim_2x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
29 |
30 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
[23/34] Compiling GfxMath Quaternion.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:28:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
26 |
27 | extension Vector2Protocol {
28 | public typealias Dimension = Dim_2x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
29 |
30 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
[24/34] Compiling GfxMath Size.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:28:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
26 |
27 | extension Vector2Protocol {
28 | public typealias Dimension = Dim_2x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
29 |
30 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
[25/34] Compiling GfxMath FloatingPointGenericMath.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'FloatingPoint', 'Hashable', 'SignedNumeric', 'Strideable', 'Equatable', 'Numeric', 'Comparable', 'AdditiveArithmetic', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| |- warning: extension declares a conformance of imported type 'Float80' to imported protocols 'FloatingPoint', 'Hashable', 'SignedNumeric', 'Strideable', 'Equatable', 'Numeric', 'Comparable', 'AdditiveArithmetic', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:15:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:15:44: error: 'Float80' is unavailable: Float80 is not available on target platform.
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:16:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
14 | extension Float80 : FloatingPointGenericMath {
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:16:44: error: 'Float80' is unavailable: Float80 is not available on target platform.
14 | extension Float80 : FloatingPointGenericMath {
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:17:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:17:44: error: 'Float80' is unavailable: Float80 is not available on target platform.
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:18:33: error: 'Float80' is unavailable: Float80 is not available on target platform.
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:18:45: error: 'Float80' is unavailable: Float80 is not available on target platform.
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:19:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
21 | // ...
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:19:44: error: 'Float80' is unavailable: Float80 is not available on target platform.
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
21 | // ...
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:20:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
21 | // ...
22 | }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:20:46: error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
21 | // ...
22 | }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:20:58: error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
21 | // ...
22 | }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of 'hash(into:)' for protocol 'Hashable'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| |- error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of 'hash(into:)' for protocol 'Hashable'
| `- note: add stubs for conformance
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.Float80:2:23: note: type declared here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: type declared here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'FloatingPoint'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: type 'Float80' does not conform to protocol 'FloatingPoint'
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:138:28: note: candidate would match if 'Float80' conformed to 'MatrixProtocol'
136 | /// element wise division
137 | // TODO: divide only the overlapping elements
138 | @inlinable static func / (lhs: Self, rhs: Self) -> Self {
| `- note: candidate would match if 'Float80' conformed to 'MatrixProtocol'
139 | var result = lhs.clone()
140 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Quaternion.swift:118:22: note: candidate has non-matching type '<E> (Quaternion<E>, Quaternion<E>.Element) -> Quaternion<E>' (aka '<E> (Quaternion<E>, E) -> Quaternion<E>') [with Exponent = _]
116 | divide w, x, y, z by rhs
117 | */
118 | public static func / (lhs: Self, rhs: Element) -> Self {
| `- note: candidate has non-matching type '<E> (Quaternion<E>, Quaternion<E>.Element) -> Quaternion<E>' (aka '<E> (Quaternion<E>, E) -> Quaternion<E>') [with Exponent = _]
119 | var result = lhs
120 | result /= rhs
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol+Operators.swift:135:33: note: candidate has non-matching type '<Self> (Self, Self.Element) -> Self' [with Exponent = _]
133 | }
134 |
135 | @inlinable public static func / (lhs: Self, rhs: Element) -> Self {
| `- note: candidate has non-matching type '<Self> (Self, Self.Element) -> Self' [with Exponent = _]
136 | var result = lhs
137 | result /= rhs
:
145 | }
146 |
147 | @inlinable public static func / (lhs: Self, rhs: Self) -> Self {
| `- note: candidate would match if 'Float80' conformed to 'VectorProtocol'
148 | var result = lhs
149 | result /= rhs
Swift.Duration./:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Exponent = _]
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func / <T>(lhs: Duration, rhs: T) -> Duration where T : BinaryInteger}
| `- note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Exponent = _]
4 |
Swift.SIMD./:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func / (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD./:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func / (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = _]
1 | protocol SIMD {
2 | public static func / (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = _]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = _]
1 | protocol SIMD {
2 | public static func / (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = _]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = _]
1 | protocol SIMD {
2 | public static func / (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = _]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = _]
1 | protocol SIMD {
2 | public static func / (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = _]
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: warning: unavailable struct 'Float80' was used to satisfy a requirement of protocol 'Strideable': Float80 is not available on target platform.; this will be an error in a future Swift language mode
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- warning: unavailable struct 'Float80' was used to satisfy a requirement of protocol 'Strideable': Float80 is not available on target platform.; this will be an error in a future Swift language mode
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.Float80:2:23: note: 'Float80' declared here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' declared here
3 | public init()
4 | }
Swift.Strideable.Stride:2:16: note: requirement 'Stride' declared here
1 | protocol Strideable {
2 | associatedtype Stride : Comparable, SignedNumeric}
| `- note: requirement 'Stride' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'Strideable'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: type 'Float80' does not conform to protocol 'Strideable'
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: warning: unavailable struct 'Float80' was used to satisfy a requirement of protocol 'Numeric': Float80 is not available on target platform.; this will be an error in a future Swift language mode
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- warning: unavailable struct 'Float80' was used to satisfy a requirement of protocol 'Numeric': Float80 is not available on target platform.; this will be an error in a future Swift language mode
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.Float80:2:23: note: 'Float80' declared here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' declared here
3 | public init()
4 | }
Swift.Numeric.Magnitude:2:16: note: requirement 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: requirement 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'Numeric'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: type 'Float80' does not conform to protocol 'Numeric'
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'AdditiveArithmetic'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: type 'Float80' does not conform to protocol 'AdditiveArithmetic'
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Color/Experimental/EColor.swift:20:35: note: candidate would match if 'Float80' conformed to 'EColor'
18 | }
19 |
20 | @inlinable public static func + (lhs: Self, rhs: Self) -> Self {
| `- note: candidate would match if 'Float80' conformed to 'EColor'
21 | var result = lhs
22 | result += rhs
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:104:28: note: candidate has non-matching type '<Self> (Self, Self.Element) -> Self'
102 |
103 | // TODO: need to add throws if dimensions don't match
104 | @inlinable static func + (lhs: Self, rhs: Element) -> Self {
| `- note: candidate has non-matching type '<Self> (Self, Self.Element) -> Self'
105 | var result = lhs.clone()
106 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol+Operators.swift:18:33: note: candidate would match if 'Float80' conformed to 'VectorProtocol'
16 | }
17 |
18 | @inlinable public static func + <O: VectorProtocol>(lhs: Self, rhs: O) -> Self where O.Dimension == Dimension, O.Element == Element {
| `- note: candidate would match if 'Float80' conformed to 'VectorProtocol'
19 | var result = lhs
20 | result += rhs
Swift.Strideable.+:2:20: note: candidate would match if 'Float80' conformed to '_Pointer'
1 | protocol Strideable {
2 | public static func + (lhs: Self, rhs: Self.Stride) -> Self}
| `- note: candidate would match if 'Float80' conformed to '_Pointer'
3 |
Swift.Strideable.+:2:20: note: candidate would match if 'Float80' conformed to '_Pointer'
1 | protocol Strideable {
2 | public static func + (lhs: Self.Stride, rhs: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to '_Pointer'
3 |
Swift.RangeReplaceableCollection.+:2:31: note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
1 | protocol RangeReplaceableCollection {
2 | @inlinable public static func + <Other>(lhs: Self, rhs: Other) -> Self where Other : Sequence, Self.Element == Other.Element}
| `- note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
3 |
Swift.RangeReplaceableCollection.+:2:31: note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
1 | protocol RangeReplaceableCollection {
2 | @inlinable public static func + <Other>(lhs: Other, rhs: Self) -> Self where Other : Sequence, Self.Element == Other.Element}
| `- note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
3 |
Swift.RangeReplaceableCollection.+:2:31: note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
1 | protocol RangeReplaceableCollection {
2 | @inlinable public static func + <Other>(lhs: Self, rhs: Other) -> Self where Other : RangeReplaceableCollection, Self.Element == Other.Element}
| `- note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
3 |
Swift.Sequence.+:3:22: note: candidate has non-matching type '<Self> (Self, String) -> Never'
1 | protocol Sequence {
2 | @available(*, unavailable, message: "Operator '+' cannot be used to append a String to a sequence of strings")
3 | public static func + (lhs: Self, rhs: String) -> Never}
| `- note: candidate has non-matching type '<Self> (Self, String) -> Never'
4 |
Swift.Sequence.+:3:22: note: candidate has non-matching type '<Self> (String, Self) -> Never'
1 | protocol Sequence {
2 | @available(*, unavailable, message: "Operator '+' cannot be used to append a String to a sequence of strings")
3 | public static func + (lhs: String, rhs: Self) -> Never}
| `- note: candidate has non-matching type '<Self> (String, Self) -> Never'
4 |
Swift.SIMD.+:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func + (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD.+:3:22: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | @available(*, unavailable, message: "integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead")
3 | public static func + (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
4 |
Swift.SIMD.+:3:22: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self'
1 | protocol SIMD {
2 | @available(*, unavailable, message: "integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead")
3 | public static func + (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self'
4 |
Swift.SIMD.+:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self'
1 | protocol SIMD {
2 | @available(*, unavailable, message: "integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead")
3 | public static func + (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self'
4 |
Swift.SIMD.+:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self'
1 | protocol SIMD {
2 | public static func + (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self'
3 |
Swift.SIMD.+:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self'
1 | protocol SIMD {
2 | public static func + (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self'
3 |
Foundation.AttributedString.+:2:20: note: candidate has non-matching type ' (AttributedString, some AttributedStringProtocol) -> AttributedString'
1 | struct AttributedString {
2 | public static func + (lhs: AttributedString, rhs: some AttributedStringProtocol) -> AttributedString}
| `- note: candidate has non-matching type ' (AttributedString, some AttributedStringProtocol) -> AttributedString'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'ExpressibleByIntegerLiteral'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| |- error: type 'Float80' does not conform to protocol 'ExpressibleByIntegerLiteral'
| `- note: add stubs for conformance
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.FloatingPoint.Exponent:2:16: note: protocol requires nested type 'Exponent'
1 | protocol FloatingPoint {
2 | associatedtype Exponent : SignedInteger}
| `- note: protocol requires nested type 'Exponent'
3 |
Swift.FloatingPoint.init:2:1: note: protocol requires initializer 'init(signOf:magnitudeOf:)' with type '(signOf: Float80, magnitudeOf: Float80)'
1 | protocol FloatingPoint {
2 | init(signOf: Self, magnitudeOf: Self)}
| `- note: protocol requires initializer 'init(signOf:magnitudeOf:)' with type '(signOf: Float80, magnitudeOf: Float80)'
3 |
Swift.FloatingPoint.init:2:1: note: protocol requires initializer 'init(_:)' with type 'Int'
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
| `- note: protocol requires initializer 'init(_:)' with type 'Int'
3 |
Swift.FloatingPoint.init:2:1: note: protocol requires initializer 'init(_:)' with type 'Source'
1 | protocol FloatingPoint {
2 | init<Source>(_ value: Source) where Source : BinaryInteger}
| `- note: protocol requires initializer 'init(_:)' with type 'Source'
3 |
Swift.FloatingPoint.init:2:1: note: protocol requires initializer 'init(exactly:)' with type '(exactly: Source)'
1 | protocol FloatingPoint {
2 | init?<Source>(exactly value: Source) where Source : BinaryInteger}
| `- note: protocol requires initializer 'init(exactly:)' with type '(exactly: Source)'
3 |
Swift.FloatingPoint.radix:2:12: note: protocol requires property 'radix' with type 'Int'
1 | protocol FloatingPoint {
2 | static var radix: Int { get }}
| `- note: protocol requires property 'radix' with type 'Int'
3 |
Swift.FloatingPoint.nan:2:12: note: protocol requires property 'nan' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var nan: Self { get }}
| `- note: protocol requires property 'nan' with type 'Float80'
3 |
Swift.FloatingPoint.signalingNaN:2:12: note: protocol requires property 'signalingNaN' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var signalingNaN: Self { get }}
| `- note: protocol requires property 'signalingNaN' with type 'Float80'
3 |
Swift.FloatingPoint.infinity:2:12: note: protocol requires property 'infinity' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var infinity: Self { get }}
| `- note: protocol requires property 'infinity' with type 'Float80'
3 |
Swift.FloatingPoint.greatestFiniteMagnitude:2:12: note: protocol requires property 'greatestFiniteMagnitude' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var greatestFiniteMagnitude: Self { get }}
| `- note: protocol requires property 'greatestFiniteMagnitude' with type 'Float80'
3 |
Swift.FloatingPoint.pi:2:12: note: protocol requires property 'pi' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var pi: Self { get }}
| `- note: protocol requires property 'pi' with type 'Float80'
3 |
Swift.FloatingPoint.ulp:2:5: note: protocol requires property 'ulp' with type 'Float80'
1 | protocol FloatingPoint {
2 | var ulp: Self { get }}
| `- note: protocol requires property 'ulp' with type 'Float80'
3 |
Swift.FloatingPoint.leastNormalMagnitude:2:12: note: protocol requires property 'leastNormalMagnitude' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var leastNormalMagnitude: Self { get }}
| `- note: protocol requires property 'leastNormalMagnitude' with type 'Float80'
3 |
Swift.FloatingPoint.leastNonzeroMagnitude:2:12: note: protocol requires property 'leastNonzeroMagnitude' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var leastNonzeroMagnitude: Self { get }}
| `- note: protocol requires property 'leastNonzeroMagnitude' with type 'Float80'
3 |
Swift.FloatingPoint.sign:2:5: note: protocol requires property 'sign' with type 'FloatingPointSign'
1 | protocol FloatingPoint {
2 | var sign: FloatingPointSign { get }}
| `- note: protocol requires property 'sign' with type 'FloatingPointSign'
3 |
Swift.FloatingPoint.significand:2:5: note: protocol requires property 'significand' with type 'Float80'
1 | protocol FloatingPoint {
2 | var significand: Self { get }}
| `- note: protocol requires property 'significand' with type 'Float80'
3 |
Swift.FloatingPoint./:2:13: note: protocol requires function '/' with type '(Float80, Float80) -> Float80'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| `- note: protocol requires function '/' with type '(Float80, Float80) -> Float80'
3 |
Swift.FloatingPoint.formRemainder:2:15: note: protocol requires function 'formRemainder(dividingBy:)' with type '(Float80) -> ()'
1 | protocol FloatingPoint {
2 | mutating func formRemainder(dividingBy other: Self)}
| `- note: protocol requires function 'formRemainder(dividingBy:)' with type '(Float80) -> ()'
3 |
Swift.FloatingPoint.formTruncatingRemainder:2:15: note: protocol requires function 'formTruncatingRemainder(dividingBy:)' with type '(Float80) -> ()'
1 | protocol FloatingPoint {
2 | mutating func formTruncatingRemainder(dividingBy other: Self)}
| `- note: protocol requires function 'formTruncatingRemainder(dividingBy:)' with type '(Float80) -> ()'
3 |
Swift.FloatingPoint.formSquareRoot:2:15: note: protocol requires function 'formSquareRoot()' with type '() -> ()'
1 | protocol FloatingPoint {
2 | mutating func formSquareRoot()}
| `- note: protocol requires function 'formSquareRoot()' with type '() -> ()'
3 |
Swift.FloatingPoint.addProduct:2:15: note: protocol requires function 'addProduct' with type '(Float80, Float80) -> ()'
1 | protocol FloatingPoint {
2 | mutating func addProduct(_ lhs: Self, _ rhs: Self)}
| `- note: protocol requires function 'addProduct' with type '(Float80, Float80) -> ()'
3 |
Swift.FloatingPoint.nextUp:2:5: note: protocol requires property 'nextUp' with type 'Float80'
1 | protocol FloatingPoint {
2 | var nextUp: Self { get }}
| `- note: protocol requires property 'nextUp' with type 'Float80'
3 |
Swift.FloatingPoint.isEqual:2:6: note: protocol requires function 'isEqual(to:)' with type '(Float80) -> Bool'
1 | protocol FloatingPoint {
2 | func isEqual(to other: Self) -> Bool}
| `- note: protocol requires function 'isEqual(to:)' with type '(Float80) -> Bool'
3 |
Swift.FloatingPoint.isLess:2:6: note: protocol requires function 'isLess(than:)' with type '(Float80) -> Bool'
1 | protocol FloatingPoint {
2 | func isLess(than other: Self) -> Bool}
| `- note: protocol requires function 'isLess(than:)' with type '(Float80) -> Bool'
3 |
Swift.FloatingPoint.isLessThanOrEqualTo:2:6: note: protocol requires function 'isLessThanOrEqualTo' with type '(Float80) -> Bool'
1 | protocol FloatingPoint {
2 | func isLessThanOrEqualTo(_ other: Self) -> Bool}
| `- note: protocol requires function 'isLessThanOrEqualTo' with type '(Float80) -> Bool'
3 |
Swift.FloatingPoint.isTotallyOrdered:2:6: note: protocol requires function 'isTotallyOrdered(belowOrEqualTo:)' with type '(Float80) -> Bool'
1 | protocol FloatingPoint {
2 | func isTotallyOrdered(belowOrEqualTo other: Self) -> Bool}
| `- note: protocol requires function 'isTotallyOrdered(belowOrEqualTo:)' with type '(Float80) -> Bool'
3 |
Swift.FloatingPoint.isNormal:2:5: note: protocol requires property 'isNormal' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isNormal: Bool { get }}
| `- note: protocol requires property 'isNormal' with type 'Bool'
3 |
Swift.FloatingPoint.isFinite:2:5: note: protocol requires property 'isFinite' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isFinite: Bool { get }}
| `- note: protocol requires property 'isFinite' with type 'Bool'
3 |
Swift.FloatingPoint.isZero:2:5: note: protocol requires property 'isZero' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isZero: Bool { get }}
| `- note: protocol requires property 'isZero' with type 'Bool'
3 |
Swift.FloatingPoint.isSubnormal:2:5: note: protocol requires property 'isSubnormal' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isSubnormal: Bool { get }}
| `- note: protocol requires property 'isSubnormal' with type 'Bool'
3 |
Swift.FloatingPoint.isInfinite:2:5: note: protocol requires property 'isInfinite' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isInfinite: Bool { get }}
| `- note: protocol requires property 'isInfinite' with type 'Bool'
3 |
Swift.FloatingPoint.isNaN:2:5: note: protocol requires property 'isNaN' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isNaN: Bool { get }}
| `- note: protocol requires property 'isNaN' with type 'Bool'
3 |
Swift.FloatingPoint.isSignalingNaN:2:5: note: protocol requires property 'isSignalingNaN' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isSignalingNaN: Bool { get }}
| `- note: protocol requires property 'isSignalingNaN' with type 'Bool'
3 |
Swift.FloatingPoint.isCanonical:2:5: note: protocol requires property 'isCanonical' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isCanonical: Bool { get }}
| `- note: protocol requires property 'isCanonical' with type 'Bool'
3 |
Swift.Strideable.distance:2:6: note: protocol requires function 'distance(to:)' with type '(Float80) -> Float80'
1 | protocol Strideable {
2 | func distance(to other: Self) -> Self.Stride}
| `- note: protocol requires function 'distance(to:)' with type '(Float80) -> Float80'
3 |
Swift.Strideable.advanced:2:6: note: protocol requires function 'advanced(by:)' with type '(Float80) -> Float80'
1 | protocol Strideable {
2 | func advanced(by n: Self.Stride) -> Self}
| `- note: protocol requires function 'advanced(by:)' with type '(Float80) -> Float80'
3 |
Swift.Numeric.magnitude:2:5: note: protocol requires property 'magnitude' with type 'Float80'
1 | protocol Numeric {
2 | var magnitude: Self.Magnitude { get }}
| `- note: protocol requires property 'magnitude' with type 'Float80'
3 |
Swift.AdditiveArithmetic.+:2:13: note: protocol requires function '+' with type '(Float80, Float80) -> Float80'
1 | protocol AdditiveArithmetic {
2 | static func + (lhs: Self, rhs: Self) -> Self}
| `- note: protocol requires function '+' with type '(Float80, Float80) -> Float80'
3 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: protocol requires nested type 'IntegerLiteralType'
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: protocol requires nested type 'IntegerLiteralType'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:11: error: 'Float80' is unavailable: Float80 is not available on target platform.
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:45:16: warning: 'public' modifier is redundant for property declared in a public extension
43 |
44 | // TODO: there might be a more efficient way to transpose
45 | @inlinable public var transposed: Self {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | var matrix = clone() // TODO: maybe have some clone function that does not clone elements
47 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:265:5: warning: 'public' modifier is redundant for initializer declared in a public extension
263 | public extension Matrix4Protocol {
264 |
265 | public init<M3: Matrix3Protocol>(topLeft: M3, rest: Self = .identity) where M3.Element == Element {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
266 | self.init([
267 | topLeft[0, 0], topLeft[0, 1], topLeft[0, 2], rest[0, 3],
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:174:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
172 |
173 | extension Vector4Protocol {
174 | public typealias Dimension = Dim_4x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
175 |
176 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:379:16: warning: no calls to throwing functions occur within 'try' expression
377 | // TODO: the following functions might be specific to openGL, maybe put those in the GLGraphicsMath package
378 | @inlinable static func viewTransformation<V: Vector3Protocol>(up: V, right: V, front: V, translation: V) -> Self where V.Element == Self.Element {
379 | return try! Self([
| `- warning: no calls to throwing functions occur within 'try' expression
380 | right.x, right.y, right.z, 0,
381 | up.x, up.y, up.z, 0,
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:438:12: warning: no calls to throwing functions occur within 'try' expression
436 | // TODO: might replace this or remove this / current function of this is to simply remove throws
437 | @inlinable public func * <E: Numeric>(lhs: Matrix4<E>, rhs: Matrix4<E>) -> Matrix4<E> {
438 | return try! lhs.matmul(rhs)
| `- warning: no calls to throwing functions occur within 'try' expression
439 | }
440 |
[26/34] Compiling GfxMath Matrix.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'FloatingPoint', 'Hashable', 'SignedNumeric', 'Strideable', 'Equatable', 'Numeric', 'Comparable', 'AdditiveArithmetic', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| |- warning: extension declares a conformance of imported type 'Float80' to imported protocols 'FloatingPoint', 'Hashable', 'SignedNumeric', 'Strideable', 'Equatable', 'Numeric', 'Comparable', 'AdditiveArithmetic', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:15:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:15:44: error: 'Float80' is unavailable: Float80 is not available on target platform.
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:16:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
14 | extension Float80 : FloatingPointGenericMath {
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:16:44: error: 'Float80' is unavailable: Float80 is not available on target platform.
14 | extension Float80 : FloatingPointGenericMath {
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:17:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:17:44: error: 'Float80' is unavailable: Float80 is not available on target platform.
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:18:33: error: 'Float80' is unavailable: Float80 is not available on target platform.
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:18:45: error: 'Float80' is unavailable: Float80 is not available on target platform.
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:19:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
21 | // ...
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:19:44: error: 'Float80' is unavailable: Float80 is not available on target platform.
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
21 | // ...
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:20:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
21 | // ...
22 | }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:20:46: error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
21 | // ...
22 | }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:20:58: error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
21 | // ...
22 | }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of 'hash(into:)' for protocol 'Hashable'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| |- error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of 'hash(into:)' for protocol 'Hashable'
| `- note: add stubs for conformance
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.Float80:2:23: note: type declared here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: type declared here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'FloatingPoint'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: type 'Float80' does not conform to protocol 'FloatingPoint'
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:138:28: note: candidate would match if 'Float80' conformed to 'MatrixProtocol'
136 | /// element wise division
137 | // TODO: divide only the overlapping elements
138 | @inlinable static func / (lhs: Self, rhs: Self) -> Self {
| `- note: candidate would match if 'Float80' conformed to 'MatrixProtocol'
139 | var result = lhs.clone()
140 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Quaternion.swift:118:22: note: candidate has non-matching type '<E> (Quaternion<E>, Quaternion<E>.Element) -> Quaternion<E>' (aka '<E> (Quaternion<E>, E) -> Quaternion<E>') [with Exponent = _]
116 | divide w, x, y, z by rhs
117 | */
118 | public static func / (lhs: Self, rhs: Element) -> Self {
| `- note: candidate has non-matching type '<E> (Quaternion<E>, Quaternion<E>.Element) -> Quaternion<E>' (aka '<E> (Quaternion<E>, E) -> Quaternion<E>') [with Exponent = _]
119 | var result = lhs
120 | result /= rhs
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol+Operators.swift:135:33: note: candidate has non-matching type '<Self> (Self, Self.Element) -> Self' [with Exponent = _]
133 | }
134 |
135 | @inlinable public static func / (lhs: Self, rhs: Element) -> Self {
| `- note: candidate has non-matching type '<Self> (Self, Self.Element) -> Self' [with Exponent = _]
136 | var result = lhs
137 | result /= rhs
:
145 | }
146 |
147 | @inlinable public static func / (lhs: Self, rhs: Self) -> Self {
| `- note: candidate would match if 'Float80' conformed to 'VectorProtocol'
148 | var result = lhs
149 | result /= rhs
Swift.Duration./:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Exponent = _]
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func / <T>(lhs: Duration, rhs: T) -> Duration where T : BinaryInteger}
| `- note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Exponent = _]
4 |
Swift.SIMD./:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func / (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD./:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func / (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = _]
1 | protocol SIMD {
2 | public static func / (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = _]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = _]
1 | protocol SIMD {
2 | public static func / (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = _]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = _]
1 | protocol SIMD {
2 | public static func / (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = _]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = _]
1 | protocol SIMD {
2 | public static func / (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = _]
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: warning: unavailable struct 'Float80' was used to satisfy a requirement of protocol 'Strideable': Float80 is not available on target platform.; this will be an error in a future Swift language mode
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- warning: unavailable struct 'Float80' was used to satisfy a requirement of protocol 'Strideable': Float80 is not available on target platform.; this will be an error in a future Swift language mode
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.Float80:2:23: note: 'Float80' declared here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' declared here
3 | public init()
4 | }
Swift.Strideable.Stride:2:16: note: requirement 'Stride' declared here
1 | protocol Strideable {
2 | associatedtype Stride : Comparable, SignedNumeric}
| `- note: requirement 'Stride' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'Strideable'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: type 'Float80' does not conform to protocol 'Strideable'
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: warning: unavailable struct 'Float80' was used to satisfy a requirement of protocol 'Numeric': Float80 is not available on target platform.; this will be an error in a future Swift language mode
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- warning: unavailable struct 'Float80' was used to satisfy a requirement of protocol 'Numeric': Float80 is not available on target platform.; this will be an error in a future Swift language mode
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.Float80:2:23: note: 'Float80' declared here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' declared here
3 | public init()
4 | }
Swift.Numeric.Magnitude:2:16: note: requirement 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: requirement 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'Numeric'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: type 'Float80' does not conform to protocol 'Numeric'
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'AdditiveArithmetic'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: type 'Float80' does not conform to protocol 'AdditiveArithmetic'
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Color/Experimental/EColor.swift:20:35: note: candidate would match if 'Float80' conformed to 'EColor'
18 | }
19 |
20 | @inlinable public static func + (lhs: Self, rhs: Self) -> Self {
| `- note: candidate would match if 'Float80' conformed to 'EColor'
21 | var result = lhs
22 | result += rhs
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:104:28: note: candidate has non-matching type '<Self> (Self, Self.Element) -> Self'
102 |
103 | // TODO: need to add throws if dimensions don't match
104 | @inlinable static func + (lhs: Self, rhs: Element) -> Self {
| `- note: candidate has non-matching type '<Self> (Self, Self.Element) -> Self'
105 | var result = lhs.clone()
106 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol+Operators.swift:18:33: note: candidate would match if 'Float80' conformed to 'VectorProtocol'
16 | }
17 |
18 | @inlinable public static func + <O: VectorProtocol>(lhs: Self, rhs: O) -> Self where O.Dimension == Dimension, O.Element == Element {
| `- note: candidate would match if 'Float80' conformed to 'VectorProtocol'
19 | var result = lhs
20 | result += rhs
Swift.Strideable.+:2:20: note: candidate would match if 'Float80' conformed to '_Pointer'
1 | protocol Strideable {
2 | public static func + (lhs: Self, rhs: Self.Stride) -> Self}
| `- note: candidate would match if 'Float80' conformed to '_Pointer'
3 |
Swift.Strideable.+:2:20: note: candidate would match if 'Float80' conformed to '_Pointer'
1 | protocol Strideable {
2 | public static func + (lhs: Self.Stride, rhs: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to '_Pointer'
3 |
Swift.RangeReplaceableCollection.+:2:31: note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
1 | protocol RangeReplaceableCollection {
2 | @inlinable public static func + <Other>(lhs: Self, rhs: Other) -> Self where Other : Sequence, Self.Element == Other.Element}
| `- note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
3 |
Swift.RangeReplaceableCollection.+:2:31: note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
1 | protocol RangeReplaceableCollection {
2 | @inlinable public static func + <Other>(lhs: Other, rhs: Self) -> Self where Other : Sequence, Self.Element == Other.Element}
| `- note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
3 |
Swift.RangeReplaceableCollection.+:2:31: note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
1 | protocol RangeReplaceableCollection {
2 | @inlinable public static func + <Other>(lhs: Self, rhs: Other) -> Self where Other : RangeReplaceableCollection, Self.Element == Other.Element}
| `- note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
3 |
Swift.Sequence.+:3:22: note: candidate has non-matching type '<Self> (Self, String) -> Never'
1 | protocol Sequence {
2 | @available(*, unavailable, message: "Operator '+' cannot be used to append a String to a sequence of strings")
3 | public static func + (lhs: Self, rhs: String) -> Never}
| `- note: candidate has non-matching type '<Self> (Self, String) -> Never'
4 |
Swift.Sequence.+:3:22: note: candidate has non-matching type '<Self> (String, Self) -> Never'
1 | protocol Sequence {
2 | @available(*, unavailable, message: "Operator '+' cannot be used to append a String to a sequence of strings")
3 | public static func + (lhs: String, rhs: Self) -> Never}
| `- note: candidate has non-matching type '<Self> (String, Self) -> Never'
4 |
Swift.SIMD.+:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func + (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD.+:3:22: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | @available(*, unavailable, message: "integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead")
3 | public static func + (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
4 |
Swift.SIMD.+:3:22: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self'
1 | protocol SIMD {
2 | @available(*, unavailable, message: "integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead")
3 | public static func + (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self'
4 |
Swift.SIMD.+:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self'
1 | protocol SIMD {
2 | @available(*, unavailable, message: "integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead")
3 | public static func + (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self'
4 |
Swift.SIMD.+:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self'
1 | protocol SIMD {
2 | public static func + (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self'
3 |
Swift.SIMD.+:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self'
1 | protocol SIMD {
2 | public static func + (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self'
3 |
Foundation.AttributedString.+:2:20: note: candidate has non-matching type ' (AttributedString, some AttributedStringProtocol) -> AttributedString'
1 | struct AttributedString {
2 | public static func + (lhs: AttributedString, rhs: some AttributedStringProtocol) -> AttributedString}
| `- note: candidate has non-matching type ' (AttributedString, some AttributedStringProtocol) -> AttributedString'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'ExpressibleByIntegerLiteral'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| |- error: type 'Float80' does not conform to protocol 'ExpressibleByIntegerLiteral'
| `- note: add stubs for conformance
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.FloatingPoint.Exponent:2:16: note: protocol requires nested type 'Exponent'
1 | protocol FloatingPoint {
2 | associatedtype Exponent : SignedInteger}
| `- note: protocol requires nested type 'Exponent'
3 |
Swift.FloatingPoint.init:2:1: note: protocol requires initializer 'init(signOf:magnitudeOf:)' with type '(signOf: Float80, magnitudeOf: Float80)'
1 | protocol FloatingPoint {
2 | init(signOf: Self, magnitudeOf: Self)}
| `- note: protocol requires initializer 'init(signOf:magnitudeOf:)' with type '(signOf: Float80, magnitudeOf: Float80)'
3 |
Swift.FloatingPoint.init:2:1: note: protocol requires initializer 'init(_:)' with type 'Int'
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
| `- note: protocol requires initializer 'init(_:)' with type 'Int'
3 |
Swift.FloatingPoint.init:2:1: note: protocol requires initializer 'init(_:)' with type 'Source'
1 | protocol FloatingPoint {
2 | init<Source>(_ value: Source) where Source : BinaryInteger}
| `- note: protocol requires initializer 'init(_:)' with type 'Source'
3 |
Swift.FloatingPoint.init:2:1: note: protocol requires initializer 'init(exactly:)' with type '(exactly: Source)'
1 | protocol FloatingPoint {
2 | init?<Source>(exactly value: Source) where Source : BinaryInteger}
| `- note: protocol requires initializer 'init(exactly:)' with type '(exactly: Source)'
3 |
Swift.FloatingPoint.radix:2:12: note: protocol requires property 'radix' with type 'Int'
1 | protocol FloatingPoint {
2 | static var radix: Int { get }}
| `- note: protocol requires property 'radix' with type 'Int'
3 |
Swift.FloatingPoint.nan:2:12: note: protocol requires property 'nan' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var nan: Self { get }}
| `- note: protocol requires property 'nan' with type 'Float80'
3 |
Swift.FloatingPoint.signalingNaN:2:12: note: protocol requires property 'signalingNaN' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var signalingNaN: Self { get }}
| `- note: protocol requires property 'signalingNaN' with type 'Float80'
3 |
Swift.FloatingPoint.infinity:2:12: note: protocol requires property 'infinity' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var infinity: Self { get }}
| `- note: protocol requires property 'infinity' with type 'Float80'
3 |
Swift.FloatingPoint.greatestFiniteMagnitude:2:12: note: protocol requires property 'greatestFiniteMagnitude' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var greatestFiniteMagnitude: Self { get }}
| `- note: protocol requires property 'greatestFiniteMagnitude' with type 'Float80'
3 |
Swift.FloatingPoint.pi:2:12: note: protocol requires property 'pi' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var pi: Self { get }}
| `- note: protocol requires property 'pi' with type 'Float80'
3 |
Swift.FloatingPoint.ulp:2:5: note: protocol requires property 'ulp' with type 'Float80'
1 | protocol FloatingPoint {
2 | var ulp: Self { get }}
| `- note: protocol requires property 'ulp' with type 'Float80'
3 |
Swift.FloatingPoint.leastNormalMagnitude:2:12: note: protocol requires property 'leastNormalMagnitude' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var leastNormalMagnitude: Self { get }}
| `- note: protocol requires property 'leastNormalMagnitude' with type 'Float80'
3 |
Swift.FloatingPoint.leastNonzeroMagnitude:2:12: note: protocol requires property 'leastNonzeroMagnitude' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var leastNonzeroMagnitude: Self { get }}
| `- note: protocol requires property 'leastNonzeroMagnitude' with type 'Float80'
3 |
Swift.FloatingPoint.sign:2:5: note: protocol requires property 'sign' with type 'FloatingPointSign'
1 | protocol FloatingPoint {
2 | var sign: FloatingPointSign { get }}
| `- note: protocol requires property 'sign' with type 'FloatingPointSign'
3 |
Swift.FloatingPoint.significand:2:5: note: protocol requires property 'significand' with type 'Float80'
1 | protocol FloatingPoint {
2 | var significand: Self { get }}
| `- note: protocol requires property 'significand' with type 'Float80'
3 |
Swift.FloatingPoint./:2:13: note: protocol requires function '/' with type '(Float80, Float80) -> Float80'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| `- note: protocol requires function '/' with type '(Float80, Float80) -> Float80'
3 |
Swift.FloatingPoint.formRemainder:2:15: note: protocol requires function 'formRemainder(dividingBy:)' with type '(Float80) -> ()'
1 | protocol FloatingPoint {
2 | mutating func formRemainder(dividingBy other: Self)}
| `- note: protocol requires function 'formRemainder(dividingBy:)' with type '(Float80) -> ()'
3 |
Swift.FloatingPoint.formTruncatingRemainder:2:15: note: protocol requires function 'formTruncatingRemainder(dividingBy:)' with type '(Float80) -> ()'
1 | protocol FloatingPoint {
2 | mutating func formTruncatingRemainder(dividingBy other: Self)}
| `- note: protocol requires function 'formTruncatingRemainder(dividingBy:)' with type '(Float80) -> ()'
3 |
Swift.FloatingPoint.formSquareRoot:2:15: note: protocol requires function 'formSquareRoot()' with type '() -> ()'
1 | protocol FloatingPoint {
2 | mutating func formSquareRoot()}
| `- note: protocol requires function 'formSquareRoot()' with type '() -> ()'
3 |
Swift.FloatingPoint.addProduct:2:15: note: protocol requires function 'addProduct' with type '(Float80, Float80) -> ()'
1 | protocol FloatingPoint {
2 | mutating func addProduct(_ lhs: Self, _ rhs: Self)}
| `- note: protocol requires function 'addProduct' with type '(Float80, Float80) -> ()'
3 |
Swift.FloatingPoint.nextUp:2:5: note: protocol requires property 'nextUp' with type 'Float80'
1 | protocol FloatingPoint {
2 | var nextUp: Self { get }}
| `- note: protocol requires property 'nextUp' with type 'Float80'
3 |
Swift.FloatingPoint.isEqual:2:6: note: protocol requires function 'isEqual(to:)' with type '(Float80) -> Bool'
1 | protocol FloatingPoint {
2 | func isEqual(to other: Self) -> Bool}
| `- note: protocol requires function 'isEqual(to:)' with type '(Float80) -> Bool'
3 |
Swift.FloatingPoint.isLess:2:6: note: protocol requires function 'isLess(than:)' with type '(Float80) -> Bool'
1 | protocol FloatingPoint {
2 | func isLess(than other: Self) -> Bool}
| `- note: protocol requires function 'isLess(than:)' with type '(Float80) -> Bool'
3 |
Swift.FloatingPoint.isLessThanOrEqualTo:2:6: note: protocol requires function 'isLessThanOrEqualTo' with type '(Float80) -> Bool'
1 | protocol FloatingPoint {
2 | func isLessThanOrEqualTo(_ other: Self) -> Bool}
| `- note: protocol requires function 'isLessThanOrEqualTo' with type '(Float80) -> Bool'
3 |
Swift.FloatingPoint.isTotallyOrdered:2:6: note: protocol requires function 'isTotallyOrdered(belowOrEqualTo:)' with type '(Float80) -> Bool'
1 | protocol FloatingPoint {
2 | func isTotallyOrdered(belowOrEqualTo other: Self) -> Bool}
| `- note: protocol requires function 'isTotallyOrdered(belowOrEqualTo:)' with type '(Float80) -> Bool'
3 |
Swift.FloatingPoint.isNormal:2:5: note: protocol requires property 'isNormal' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isNormal: Bool { get }}
| `- note: protocol requires property 'isNormal' with type 'Bool'
3 |
Swift.FloatingPoint.isFinite:2:5: note: protocol requires property 'isFinite' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isFinite: Bool { get }}
| `- note: protocol requires property 'isFinite' with type 'Bool'
3 |
Swift.FloatingPoint.isZero:2:5: note: protocol requires property 'isZero' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isZero: Bool { get }}
| `- note: protocol requires property 'isZero' with type 'Bool'
3 |
Swift.FloatingPoint.isSubnormal:2:5: note: protocol requires property 'isSubnormal' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isSubnormal: Bool { get }}
| `- note: protocol requires property 'isSubnormal' with type 'Bool'
3 |
Swift.FloatingPoint.isInfinite:2:5: note: protocol requires property 'isInfinite' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isInfinite: Bool { get }}
| `- note: protocol requires property 'isInfinite' with type 'Bool'
3 |
Swift.FloatingPoint.isNaN:2:5: note: protocol requires property 'isNaN' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isNaN: Bool { get }}
| `- note: protocol requires property 'isNaN' with type 'Bool'
3 |
Swift.FloatingPoint.isSignalingNaN:2:5: note: protocol requires property 'isSignalingNaN' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isSignalingNaN: Bool { get }}
| `- note: protocol requires property 'isSignalingNaN' with type 'Bool'
3 |
Swift.FloatingPoint.isCanonical:2:5: note: protocol requires property 'isCanonical' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isCanonical: Bool { get }}
| `- note: protocol requires property 'isCanonical' with type 'Bool'
3 |
Swift.Strideable.distance:2:6: note: protocol requires function 'distance(to:)' with type '(Float80) -> Float80'
1 | protocol Strideable {
2 | func distance(to other: Self) -> Self.Stride}
| `- note: protocol requires function 'distance(to:)' with type '(Float80) -> Float80'
3 |
Swift.Strideable.advanced:2:6: note: protocol requires function 'advanced(by:)' with type '(Float80) -> Float80'
1 | protocol Strideable {
2 | func advanced(by n: Self.Stride) -> Self}
| `- note: protocol requires function 'advanced(by:)' with type '(Float80) -> Float80'
3 |
Swift.Numeric.magnitude:2:5: note: protocol requires property 'magnitude' with type 'Float80'
1 | protocol Numeric {
2 | var magnitude: Self.Magnitude { get }}
| `- note: protocol requires property 'magnitude' with type 'Float80'
3 |
Swift.AdditiveArithmetic.+:2:13: note: protocol requires function '+' with type '(Float80, Float80) -> Float80'
1 | protocol AdditiveArithmetic {
2 | static func + (lhs: Self, rhs: Self) -> Self}
| `- note: protocol requires function '+' with type '(Float80, Float80) -> Float80'
3 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: protocol requires nested type 'IntegerLiteralType'
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: protocol requires nested type 'IntegerLiteralType'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:11: error: 'Float80' is unavailable: Float80 is not available on target platform.
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:45:16: warning: 'public' modifier is redundant for property declared in a public extension
43 |
44 | // TODO: there might be a more efficient way to transpose
45 | @inlinable public var transposed: Self {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | var matrix = clone() // TODO: maybe have some clone function that does not clone elements
47 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:265:5: warning: 'public' modifier is redundant for initializer declared in a public extension
263 | public extension Matrix4Protocol {
264 |
265 | public init<M3: Matrix3Protocol>(topLeft: M3, rest: Self = .identity) where M3.Element == Element {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
266 | self.init([
267 | topLeft[0, 0], topLeft[0, 1], topLeft[0, 2], rest[0, 3],
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:174:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
172 |
173 | extension Vector4Protocol {
174 | public typealias Dimension = Dim_4x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
175 |
176 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:379:16: warning: no calls to throwing functions occur within 'try' expression
377 | // TODO: the following functions might be specific to openGL, maybe put those in the GLGraphicsMath package
378 | @inlinable static func viewTransformation<V: Vector3Protocol>(up: V, right: V, front: V, translation: V) -> Self where V.Element == Self.Element {
379 | return try! Self([
| `- warning: no calls to throwing functions occur within 'try' expression
380 | right.x, right.y, right.z, 0,
381 | up.x, up.y, up.z, 0,
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:438:12: warning: no calls to throwing functions occur within 'try' expression
436 | // TODO: might replace this or remove this / current function of this is to simply remove throws
437 | @inlinable public func * <E: Numeric>(lhs: Matrix4<E>, rhs: Matrix4<E>) -> Matrix4<E> {
438 | return try! lhs.matmul(rhs)
| `- warning: no calls to throwing functions occur within 'try' expression
439 | }
440 |
[27/34] Compiling GfxMath MatrixDimension.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'FloatingPoint', 'Hashable', 'SignedNumeric', 'Strideable', 'Equatable', 'Numeric', 'Comparable', 'AdditiveArithmetic', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| |- warning: extension declares a conformance of imported type 'Float80' to imported protocols 'FloatingPoint', 'Hashable', 'SignedNumeric', 'Strideable', 'Equatable', 'Numeric', 'Comparable', 'AdditiveArithmetic', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:15:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:15:44: error: 'Float80' is unavailable: Float80 is not available on target platform.
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:16:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
14 | extension Float80 : FloatingPointGenericMath {
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:16:44: error: 'Float80' is unavailable: Float80 is not available on target platform.
14 | extension Float80 : FloatingPointGenericMath {
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:17:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:17:44: error: 'Float80' is unavailable: Float80 is not available on target platform.
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:18:33: error: 'Float80' is unavailable: Float80 is not available on target platform.
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:18:45: error: 'Float80' is unavailable: Float80 is not available on target platform.
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:19:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
21 | // ...
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:19:44: error: 'Float80' is unavailable: Float80 is not available on target platform.
17 | public static func _cos(_ x: Float80) -> Float80 { return cos(x) }
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
21 | // ...
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:20:32: error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
21 | // ...
22 | }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:20:46: error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
21 | // ...
22 | }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:20:58: error: 'Float80' is unavailable: Float80 is not available on target platform.
18 | public static func _acos(_ x: Float80) -> Float80 { return acos(x) }
19 | public static func _tan(_ x: Float80) -> Float80 { return tan(x) }
20 | public static func _pow(_ x: Float80, _ y: Float80) -> Float80 { return pow(x, y) }
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
21 | // ...
22 | }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of 'hash(into:)' for protocol 'Hashable'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| |- error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of 'hash(into:)' for protocol 'Hashable'
| `- note: add stubs for conformance
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.Float80:2:23: note: type declared here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: type declared here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'FloatingPoint'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: type 'Float80' does not conform to protocol 'FloatingPoint'
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:138:28: note: candidate would match if 'Float80' conformed to 'MatrixProtocol'
136 | /// element wise division
137 | // TODO: divide only the overlapping elements
138 | @inlinable static func / (lhs: Self, rhs: Self) -> Self {
| `- note: candidate would match if 'Float80' conformed to 'MatrixProtocol'
139 | var result = lhs.clone()
140 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Quaternion.swift:118:22: note: candidate has non-matching type '<E> (Quaternion<E>, Quaternion<E>.Element) -> Quaternion<E>' (aka '<E> (Quaternion<E>, E) -> Quaternion<E>') [with Exponent = _]
116 | divide w, x, y, z by rhs
117 | */
118 | public static func / (lhs: Self, rhs: Element) -> Self {
| `- note: candidate has non-matching type '<E> (Quaternion<E>, Quaternion<E>.Element) -> Quaternion<E>' (aka '<E> (Quaternion<E>, E) -> Quaternion<E>') [with Exponent = _]
119 | var result = lhs
120 | result /= rhs
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol+Operators.swift:135:33: note: candidate has non-matching type '<Self> (Self, Self.Element) -> Self' [with Exponent = _]
133 | }
134 |
135 | @inlinable public static func / (lhs: Self, rhs: Element) -> Self {
| `- note: candidate has non-matching type '<Self> (Self, Self.Element) -> Self' [with Exponent = _]
136 | var result = lhs
137 | result /= rhs
:
145 | }
146 |
147 | @inlinable public static func / (lhs: Self, rhs: Self) -> Self {
| `- note: candidate would match if 'Float80' conformed to 'VectorProtocol'
148 | var result = lhs
149 | result /= rhs
Swift.Duration./:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Exponent = _]
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func / <T>(lhs: Duration, rhs: T) -> Duration where T : BinaryInteger}
| `- note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Exponent = _]
4 |
Swift.SIMD./:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func / (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD./:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func / (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = _]
1 | protocol SIMD {
2 | public static func / (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = _]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = _]
1 | protocol SIMD {
2 | public static func / (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = _]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = _]
1 | protocol SIMD {
2 | public static func / (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = _]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = _]
1 | protocol SIMD {
2 | public static func / (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = _]
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: warning: unavailable struct 'Float80' was used to satisfy a requirement of protocol 'Strideable': Float80 is not available on target platform.; this will be an error in a future Swift language mode
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- warning: unavailable struct 'Float80' was used to satisfy a requirement of protocol 'Strideable': Float80 is not available on target platform.; this will be an error in a future Swift language mode
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.Float80:2:23: note: 'Float80' declared here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' declared here
3 | public init()
4 | }
Swift.Strideable.Stride:2:16: note: requirement 'Stride' declared here
1 | protocol Strideable {
2 | associatedtype Stride : Comparable, SignedNumeric}
| `- note: requirement 'Stride' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'Strideable'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: type 'Float80' does not conform to protocol 'Strideable'
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: warning: unavailable struct 'Float80' was used to satisfy a requirement of protocol 'Numeric': Float80 is not available on target platform.; this will be an error in a future Swift language mode
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- warning: unavailable struct 'Float80' was used to satisfy a requirement of protocol 'Numeric': Float80 is not available on target platform.; this will be an error in a future Swift language mode
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.Float80:2:23: note: 'Float80' declared here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' declared here
3 | public init()
4 | }
Swift.Numeric.Magnitude:2:16: note: requirement 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: requirement 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'Numeric'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: type 'Float80' does not conform to protocol 'Numeric'
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'AdditiveArithmetic'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: type 'Float80' does not conform to protocol 'AdditiveArithmetic'
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Color/Experimental/EColor.swift:20:35: note: candidate would match if 'Float80' conformed to 'EColor'
18 | }
19 |
20 | @inlinable public static func + (lhs: Self, rhs: Self) -> Self {
| `- note: candidate would match if 'Float80' conformed to 'EColor'
21 | var result = lhs
22 | result += rhs
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:104:28: note: candidate has non-matching type '<Self> (Self, Self.Element) -> Self'
102 |
103 | // TODO: need to add throws if dimensions don't match
104 | @inlinable static func + (lhs: Self, rhs: Element) -> Self {
| `- note: candidate has non-matching type '<Self> (Self, Self.Element) -> Self'
105 | var result = lhs.clone()
106 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol+Operators.swift:18:33: note: candidate would match if 'Float80' conformed to 'VectorProtocol'
16 | }
17 |
18 | @inlinable public static func + <O: VectorProtocol>(lhs: Self, rhs: O) -> Self where O.Dimension == Dimension, O.Element == Element {
| `- note: candidate would match if 'Float80' conformed to 'VectorProtocol'
19 | var result = lhs
20 | result += rhs
Swift.Strideable.+:2:20: note: candidate would match if 'Float80' conformed to '_Pointer'
1 | protocol Strideable {
2 | public static func + (lhs: Self, rhs: Self.Stride) -> Self}
| `- note: candidate would match if 'Float80' conformed to '_Pointer'
3 |
Swift.Strideable.+:2:20: note: candidate would match if 'Float80' conformed to '_Pointer'
1 | protocol Strideable {
2 | public static func + (lhs: Self.Stride, rhs: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to '_Pointer'
3 |
Swift.RangeReplaceableCollection.+:2:31: note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
1 | protocol RangeReplaceableCollection {
2 | @inlinable public static func + <Other>(lhs: Self, rhs: Other) -> Self where Other : Sequence, Self.Element == Other.Element}
| `- note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
3 |
Swift.RangeReplaceableCollection.+:2:31: note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
1 | protocol RangeReplaceableCollection {
2 | @inlinable public static func + <Other>(lhs: Other, rhs: Self) -> Self where Other : Sequence, Self.Element == Other.Element}
| `- note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
3 |
Swift.RangeReplaceableCollection.+:2:31: note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
1 | protocol RangeReplaceableCollection {
2 | @inlinable public static func + <Other>(lhs: Self, rhs: Other) -> Self where Other : RangeReplaceableCollection, Self.Element == Other.Element}
| `- note: candidate would match if 'Float80' conformed to 'RangeReplaceableCollection'
3 |
Swift.Sequence.+:3:22: note: candidate has non-matching type '<Self> (Self, String) -> Never'
1 | protocol Sequence {
2 | @available(*, unavailable, message: "Operator '+' cannot be used to append a String to a sequence of strings")
3 | public static func + (lhs: Self, rhs: String) -> Never}
| `- note: candidate has non-matching type '<Self> (Self, String) -> Never'
4 |
Swift.Sequence.+:3:22: note: candidate has non-matching type '<Self> (String, Self) -> Never'
1 | protocol Sequence {
2 | @available(*, unavailable, message: "Operator '+' cannot be used to append a String to a sequence of strings")
3 | public static func + (lhs: String, rhs: Self) -> Never}
| `- note: candidate has non-matching type '<Self> (String, Self) -> Never'
4 |
Swift.SIMD.+:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func + (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD.+:3:22: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | @available(*, unavailable, message: "integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead")
3 | public static func + (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
4 |
Swift.SIMD.+:3:22: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self'
1 | protocol SIMD {
2 | @available(*, unavailable, message: "integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead")
3 | public static func + (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self'
4 |
Swift.SIMD.+:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self'
1 | protocol SIMD {
2 | @available(*, unavailable, message: "integer vector types do not support checked arithmetic; use the wrapping operator '&+' instead")
3 | public static func + (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self'
4 |
Swift.SIMD.+:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self'
1 | protocol SIMD {
2 | public static func + (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self'
3 |
Swift.SIMD.+:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self'
1 | protocol SIMD {
2 | public static func + (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self'
3 |
Foundation.AttributedString.+:2:20: note: candidate has non-matching type ' (AttributedString, some AttributedStringProtocol) -> AttributedString'
1 | struct AttributedString {
2 | public static func + (lhs: AttributedString, rhs: some AttributedStringProtocol) -> AttributedString}
| `- note: candidate has non-matching type ' (AttributedString, some AttributedStringProtocol) -> AttributedString'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:1: error: type 'Float80' does not conform to protocol 'ExpressibleByIntegerLiteral'
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| |- error: type 'Float80' does not conform to protocol 'ExpressibleByIntegerLiteral'
| `- note: add stubs for conformance
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.FloatingPoint.Exponent:2:16: note: protocol requires nested type 'Exponent'
1 | protocol FloatingPoint {
2 | associatedtype Exponent : SignedInteger}
| `- note: protocol requires nested type 'Exponent'
3 |
Swift.FloatingPoint.init:2:1: note: protocol requires initializer 'init(signOf:magnitudeOf:)' with type '(signOf: Float80, magnitudeOf: Float80)'
1 | protocol FloatingPoint {
2 | init(signOf: Self, magnitudeOf: Self)}
| `- note: protocol requires initializer 'init(signOf:magnitudeOf:)' with type '(signOf: Float80, magnitudeOf: Float80)'
3 |
Swift.FloatingPoint.init:2:1: note: protocol requires initializer 'init(_:)' with type 'Int'
1 | protocol FloatingPoint {
2 | init(_ value: Int)}
| `- note: protocol requires initializer 'init(_:)' with type 'Int'
3 |
Swift.FloatingPoint.init:2:1: note: protocol requires initializer 'init(_:)' with type 'Source'
1 | protocol FloatingPoint {
2 | init<Source>(_ value: Source) where Source : BinaryInteger}
| `- note: protocol requires initializer 'init(_:)' with type 'Source'
3 |
Swift.FloatingPoint.init:2:1: note: protocol requires initializer 'init(exactly:)' with type '(exactly: Source)'
1 | protocol FloatingPoint {
2 | init?<Source>(exactly value: Source) where Source : BinaryInteger}
| `- note: protocol requires initializer 'init(exactly:)' with type '(exactly: Source)'
3 |
Swift.FloatingPoint.radix:2:12: note: protocol requires property 'radix' with type 'Int'
1 | protocol FloatingPoint {
2 | static var radix: Int { get }}
| `- note: protocol requires property 'radix' with type 'Int'
3 |
Swift.FloatingPoint.nan:2:12: note: protocol requires property 'nan' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var nan: Self { get }}
| `- note: protocol requires property 'nan' with type 'Float80'
3 |
Swift.FloatingPoint.signalingNaN:2:12: note: protocol requires property 'signalingNaN' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var signalingNaN: Self { get }}
| `- note: protocol requires property 'signalingNaN' with type 'Float80'
3 |
Swift.FloatingPoint.infinity:2:12: note: protocol requires property 'infinity' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var infinity: Self { get }}
| `- note: protocol requires property 'infinity' with type 'Float80'
3 |
Swift.FloatingPoint.greatestFiniteMagnitude:2:12: note: protocol requires property 'greatestFiniteMagnitude' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var greatestFiniteMagnitude: Self { get }}
| `- note: protocol requires property 'greatestFiniteMagnitude' with type 'Float80'
3 |
Swift.FloatingPoint.pi:2:12: note: protocol requires property 'pi' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var pi: Self { get }}
| `- note: protocol requires property 'pi' with type 'Float80'
3 |
Swift.FloatingPoint.ulp:2:5: note: protocol requires property 'ulp' with type 'Float80'
1 | protocol FloatingPoint {
2 | var ulp: Self { get }}
| `- note: protocol requires property 'ulp' with type 'Float80'
3 |
Swift.FloatingPoint.leastNormalMagnitude:2:12: note: protocol requires property 'leastNormalMagnitude' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var leastNormalMagnitude: Self { get }}
| `- note: protocol requires property 'leastNormalMagnitude' with type 'Float80'
3 |
Swift.FloatingPoint.leastNonzeroMagnitude:2:12: note: protocol requires property 'leastNonzeroMagnitude' with type 'Float80'
1 | protocol FloatingPoint {
2 | static var leastNonzeroMagnitude: Self { get }}
| `- note: protocol requires property 'leastNonzeroMagnitude' with type 'Float80'
3 |
Swift.FloatingPoint.sign:2:5: note: protocol requires property 'sign' with type 'FloatingPointSign'
1 | protocol FloatingPoint {
2 | var sign: FloatingPointSign { get }}
| `- note: protocol requires property 'sign' with type 'FloatingPointSign'
3 |
Swift.FloatingPoint.significand:2:5: note: protocol requires property 'significand' with type 'Float80'
1 | protocol FloatingPoint {
2 | var significand: Self { get }}
| `- note: protocol requires property 'significand' with type 'Float80'
3 |
Swift.FloatingPoint./:2:13: note: protocol requires function '/' with type '(Float80, Float80) -> Float80'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| `- note: protocol requires function '/' with type '(Float80, Float80) -> Float80'
3 |
Swift.FloatingPoint.formRemainder:2:15: note: protocol requires function 'formRemainder(dividingBy:)' with type '(Float80) -> ()'
1 | protocol FloatingPoint {
2 | mutating func formRemainder(dividingBy other: Self)}
| `- note: protocol requires function 'formRemainder(dividingBy:)' with type '(Float80) -> ()'
3 |
Swift.FloatingPoint.formTruncatingRemainder:2:15: note: protocol requires function 'formTruncatingRemainder(dividingBy:)' with type '(Float80) -> ()'
1 | protocol FloatingPoint {
2 | mutating func formTruncatingRemainder(dividingBy other: Self)}
| `- note: protocol requires function 'formTruncatingRemainder(dividingBy:)' with type '(Float80) -> ()'
3 |
Swift.FloatingPoint.formSquareRoot:2:15: note: protocol requires function 'formSquareRoot()' with type '() -> ()'
1 | protocol FloatingPoint {
2 | mutating func formSquareRoot()}
| `- note: protocol requires function 'formSquareRoot()' with type '() -> ()'
3 |
Swift.FloatingPoint.addProduct:2:15: note: protocol requires function 'addProduct' with type '(Float80, Float80) -> ()'
1 | protocol FloatingPoint {
2 | mutating func addProduct(_ lhs: Self, _ rhs: Self)}
| `- note: protocol requires function 'addProduct' with type '(Float80, Float80) -> ()'
3 |
Swift.FloatingPoint.nextUp:2:5: note: protocol requires property 'nextUp' with type 'Float80'
1 | protocol FloatingPoint {
2 | var nextUp: Self { get }}
| `- note: protocol requires property 'nextUp' with type 'Float80'
3 |
Swift.FloatingPoint.isEqual:2:6: note: protocol requires function 'isEqual(to:)' with type '(Float80) -> Bool'
1 | protocol FloatingPoint {
2 | func isEqual(to other: Self) -> Bool}
| `- note: protocol requires function 'isEqual(to:)' with type '(Float80) -> Bool'
3 |
Swift.FloatingPoint.isLess:2:6: note: protocol requires function 'isLess(than:)' with type '(Float80) -> Bool'
1 | protocol FloatingPoint {
2 | func isLess(than other: Self) -> Bool}
| `- note: protocol requires function 'isLess(than:)' with type '(Float80) -> Bool'
3 |
Swift.FloatingPoint.isLessThanOrEqualTo:2:6: note: protocol requires function 'isLessThanOrEqualTo' with type '(Float80) -> Bool'
1 | protocol FloatingPoint {
2 | func isLessThanOrEqualTo(_ other: Self) -> Bool}
| `- note: protocol requires function 'isLessThanOrEqualTo' with type '(Float80) -> Bool'
3 |
Swift.FloatingPoint.isTotallyOrdered:2:6: note: protocol requires function 'isTotallyOrdered(belowOrEqualTo:)' with type '(Float80) -> Bool'
1 | protocol FloatingPoint {
2 | func isTotallyOrdered(belowOrEqualTo other: Self) -> Bool}
| `- note: protocol requires function 'isTotallyOrdered(belowOrEqualTo:)' with type '(Float80) -> Bool'
3 |
Swift.FloatingPoint.isNormal:2:5: note: protocol requires property 'isNormal' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isNormal: Bool { get }}
| `- note: protocol requires property 'isNormal' with type 'Bool'
3 |
Swift.FloatingPoint.isFinite:2:5: note: protocol requires property 'isFinite' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isFinite: Bool { get }}
| `- note: protocol requires property 'isFinite' with type 'Bool'
3 |
Swift.FloatingPoint.isZero:2:5: note: protocol requires property 'isZero' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isZero: Bool { get }}
| `- note: protocol requires property 'isZero' with type 'Bool'
3 |
Swift.FloatingPoint.isSubnormal:2:5: note: protocol requires property 'isSubnormal' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isSubnormal: Bool { get }}
| `- note: protocol requires property 'isSubnormal' with type 'Bool'
3 |
Swift.FloatingPoint.isInfinite:2:5: note: protocol requires property 'isInfinite' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isInfinite: Bool { get }}
| `- note: protocol requires property 'isInfinite' with type 'Bool'
3 |
Swift.FloatingPoint.isNaN:2:5: note: protocol requires property 'isNaN' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isNaN: Bool { get }}
| `- note: protocol requires property 'isNaN' with type 'Bool'
3 |
Swift.FloatingPoint.isSignalingNaN:2:5: note: protocol requires property 'isSignalingNaN' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isSignalingNaN: Bool { get }}
| `- note: protocol requires property 'isSignalingNaN' with type 'Bool'
3 |
Swift.FloatingPoint.isCanonical:2:5: note: protocol requires property 'isCanonical' with type 'Bool'
1 | protocol FloatingPoint {
2 | var isCanonical: Bool { get }}
| `- note: protocol requires property 'isCanonical' with type 'Bool'
3 |
Swift.Strideable.distance:2:6: note: protocol requires function 'distance(to:)' with type '(Float80) -> Float80'
1 | protocol Strideable {
2 | func distance(to other: Self) -> Self.Stride}
| `- note: protocol requires function 'distance(to:)' with type '(Float80) -> Float80'
3 |
Swift.Strideable.advanced:2:6: note: protocol requires function 'advanced(by:)' with type '(Float80) -> Float80'
1 | protocol Strideable {
2 | func advanced(by n: Self.Stride) -> Self}
| `- note: protocol requires function 'advanced(by:)' with type '(Float80) -> Float80'
3 |
Swift.Numeric.magnitude:2:5: note: protocol requires property 'magnitude' with type 'Float80'
1 | protocol Numeric {
2 | var magnitude: Self.Magnitude { get }}
| `- note: protocol requires property 'magnitude' with type 'Float80'
3 |
Swift.AdditiveArithmetic.+:2:13: note: protocol requires function '+' with type '(Float80, Float80) -> Float80'
1 | protocol AdditiveArithmetic {
2 | static func + (lhs: Self, rhs: Self) -> Self}
| `- note: protocol requires function '+' with type '(Float80, Float80) -> Float80'
3 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: protocol requires nested type 'IntegerLiteralType'
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: protocol requires nested type 'IntegerLiteralType'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/FloatingPointGenericMath.swift:14:11: error: 'Float80' is unavailable: Float80 is not available on target platform.
12 |
13 | #if os(Linux) || os(macOS)
14 | extension Float80 : FloatingPointGenericMath {
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
15 | public static func _log(_ x: Float80) -> Float80 { return log(x) }
16 | public static func _sin(_ x: Float80) -> Float80 { return sin(x) }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
| `- note: 'Float80' has been explicitly marked unavailable here
3 | public init()
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:45:16: warning: 'public' modifier is redundant for property declared in a public extension
43 |
44 | // TODO: there might be a more efficient way to transpose
45 | @inlinable public var transposed: Self {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | var matrix = clone() // TODO: maybe have some clone function that does not clone elements
47 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:265:5: warning: 'public' modifier is redundant for initializer declared in a public extension
263 | public extension Matrix4Protocol {
264 |
265 | public init<M3: Matrix3Protocol>(topLeft: M3, rest: Self = .identity) where M3.Element == Element {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
266 | self.init([
267 | topLeft[0, 0], topLeft[0, 1], topLeft[0, 2], rest[0, 3],
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:174:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
172 |
173 | extension Vector4Protocol {
174 | public typealias Dimension = Dim_4x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
175 |
176 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:379:16: warning: no calls to throwing functions occur within 'try' expression
377 | // TODO: the following functions might be specific to openGL, maybe put those in the GLGraphicsMath package
378 | @inlinable static func viewTransformation<V: Vector3Protocol>(up: V, right: V, front: V, translation: V) -> Self where V.Element == Self.Element {
379 | return try! Self([
| `- warning: no calls to throwing functions occur within 'try' expression
380 | right.x, right.y, right.z, 0,
381 | up.x, up.y, up.z, 0,
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:438:12: warning: no calls to throwing functions occur within 'try' expression
436 | // TODO: might replace this or remove this / current function of this is to simply remove throws
437 | @inlinable public func * <E: Numeric>(lhs: Matrix4<E>, rhs: Matrix4<E>) -> Matrix4<E> {
438 | return try! lhs.matmul(rhs)
| `- warning: no calls to throwing functions occur within 'try' expression
439 | }
440 |
[28/34] Compiling GfxMath Triangle.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:28:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
26 |
27 | extension Vector2Protocol {
28 | public typealias Dimension = Dim_2x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
29 |
30 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:174:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
172 |
173 | extension Vector4Protocol {
174 | public typealias Dimension = Dim_4x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
175 |
176 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:27: warning: no calls to throwing functions occur within 'try' expression
242 | -> VectorProtocol where Self.Element == VectorProtocol.Element
243 | {
244 | return VectorProtocol(try! self.matmul(other).elements)
| `- warning: no calls to throwing functions occur within 'try' expression
245 | }
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:37: warning: function call causes an infinite recursion
242 | -> VectorProtocol where Self.Element == VectorProtocol.Element
243 | {
244 | return VectorProtocol(try! self.matmul(other).elements)
| `- warning: function call causes an infinite recursion
245 | }
246 | }
[29/34] Compiling GfxMath Vector.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:28:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
26 |
27 | extension Vector2Protocol {
28 | public typealias Dimension = Dim_2x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
29 |
30 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:174:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
172 |
173 | extension Vector4Protocol {
174 | public typealias Dimension = Dim_4x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
175 |
176 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:27: warning: no calls to throwing functions occur within 'try' expression
242 | -> VectorProtocol where Self.Element == VectorProtocol.Element
243 | {
244 | return VectorProtocol(try! self.matmul(other).elements)
| `- warning: no calls to throwing functions occur within 'try' expression
245 | }
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:37: warning: function call causes an infinite recursion
242 | -> VectorProtocol where Self.Element == VectorProtocol.Element
243 | {
244 | return VectorProtocol(try! self.matmul(other).elements)
| `- warning: function call causes an infinite recursion
245 | }
246 | }
[30/34] Compiling GfxMath VectorLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:28:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
26 |
27 | extension Vector2Protocol {
28 | public typealias Dimension = Dim_2x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
29 |
30 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:101:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
99 |
100 | extension Vector3Protocol {
101 | public typealias Dimension = Dim_3x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
102 |
103 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:174:20: warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
172 |
173 | extension Vector4Protocol {
174 | public typealias Dimension = Dim_4x1
| `- warning: typealias overriding associated type 'Dimension' from protocol 'VectorProtocol' is better expressed as same-type constraint on the protocol
175 |
176 | @inlinable public static var zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
2 |
3 | public protocol VectorProtocol: MatrixProtocol {
4 | associatedtype Dimension: MatrixDimension
| `- note: 'Dimension' declared here
5 |
6 | init(_ elements: [Element])
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:27: warning: no calls to throwing functions occur within 'try' expression
242 | -> VectorProtocol where Self.Element == VectorProtocol.Element
243 | {
244 | return VectorProtocol(try! self.matmul(other).elements)
| `- warning: no calls to throwing functions occur within 'try' expression
245 | }
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:37: warning: function call causes an infinite recursion
242 | -> VectorProtocol where Self.Element == VectorProtocol.Element
243 | {
244 | return VectorProtocol(try! self.matmul(other).elements)
| `- warning: function call causes an infinite recursion
245 | }
246 | }
[31/34] Compiling GfxMath Accuracy.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
[32/34] Compiling GfxMath Color+Conversions.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
[33/34] Compiling GfxMath Color+DefaultColors.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
[34/34] Compiling GfxMath Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:4:20: warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
2 |
3 | public protocol MatrixProtocol: Sequence, Equatable, CustomStringConvertible, Hashable {
4 | associatedtype Element: Numeric
| `- warning: redeclaration of associated type 'Element' from protocol 'Sequence' is better expressed as a 'where' clause on the protocol
5 | var rows: Int { get }
6 | var cols: Int { get }
Swift.Sequence.Element:2:16: note: 'Element' declared here
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
| `- note: 'Element' declared here
3 |
BUILD FAILURE 6.3 macosSpm