Build Information
Failed to build GfxMath, reference 1.0.0 (af8aff), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 14:09:26 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
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:223:16: warning: unrecognized platform name 'unavailable'
221 | }
222 |
223 | @available(unavailable, message: "need to know size of matrix, use init")
| `- warning: unrecognized platform name 'unavailable'
224 | @inlinable public static var zero: Self {
225 | fatalError("unavailable, need to specify size")
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:266:5: warning: 'public' modifier is redundant for initializer declared in a public extension
264 | public extension Matrix4Protocol {
265 |
266 | 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
267 | self.init([
268 | 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:345:16: warning: no calls to throwing functions occur within 'try' expression
343 | // TODO: the following functions might be specific to openGL, maybe put those in the GLGraphicsMath package
344 | @inlinable static func viewTransformation<V: Vector3Protocol>(up: V, right: V, front: V, translation: V) -> Self where V.Element == Self.Element {
345 | return try! Self([
| `- warning: no calls to throwing functions occur within 'try' expression
346 | right.x, right.y, right.z, 0,
347 | up.x, up.y, up.z, 0,
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:404:12: warning: no calls to throwing functions occur within 'try' expression
402 | // TODO: might replace this or remove this / current function of this is to simply remove throws
403 | @inlinable public func * <E: Numeric>(lhs: Matrix4<E>, rhs: Matrix4<E>) -> Matrix4<E> {
404 | return try! lhs.matmul(rhs)
| `- warning: no calls to throwing functions occur within 'try' expression
405 | }
406 |
/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/Line.swift:123:15: warning: deprecated default implementation is used to satisfy initializer 'init(point:direction:)' required by protocol 'Line': use init(origin:, direction:) [#DeprecatedDeclaration]
8 |
9 | init()
10 | init(point: VectorProtocol, direction: VectorProtocol)
| `- note: requirement 'init(point:direction:)' declared here
11 | init(origin: VectorProtocol, direction: VectorProtocol)
12 | }
:
14 | public extension Line {
15 | @available(*, deprecated, message: "use init(origin:, direction:)")
16 | init(point: VectorProtocol, direction: VectorProtocol) {
| `- note: 'init(point:direction:)' declared here
17 | self.init(origin: point, direction: direction)
18 | }
:
121 | }
122 |
123 | public struct AnyLine<V: VectorProtocol>: Line where V.Element: BinaryFloatingPoint {
| `- warning: deprecated default implementation is used to satisfy initializer 'init(point:direction:)' required by protocol 'Line': use init(origin:, direction:) [#DeprecatedDeclaration]
124 | public typealias VectorProtocol = V
125 | public var origin: V
/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: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 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/26] 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])
[7/26] 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])
[8/26] 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 |
[9/26] 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 |
[10/26] 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 |
[11/26] Compiling GfxMath Size.swift
/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/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/Transform.swift:24:25: warning: immutable value 'translation' was never used; consider replacing with '_' or removing it [#no-usage]
22 | public func transform(size: DSize2) -> DSize2 {
23 | switch self {
24 | case let .translate(translation):
| `- warning: immutable value 'translation' was never used; consider replacing with '_' or removing it [#no-usage]
25 | return size
26 | case let .scale(scale, origin):
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Transform.swift:26:28: warning: immutable value 'origin' was never used; consider replacing with '_' or removing it [#no-usage]
24 | case let .translate(translation):
25 | return size
26 | case let .scale(scale, origin):
| `- warning: immutable value 'origin' was never used; consider replacing with '_' or removing it [#no-usage]
27 | return size * scale.abs()
28 | }
[12/26] Compiling GfxMath Transform.swift
/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/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/Transform.swift:24:25: warning: immutable value 'translation' was never used; consider replacing with '_' or removing it [#no-usage]
22 | public func transform(size: DSize2) -> DSize2 {
23 | switch self {
24 | case let .translate(translation):
| `- warning: immutable value 'translation' was never used; consider replacing with '_' or removing it [#no-usage]
25 | return size
26 | case let .scale(scale, origin):
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Transform.swift:26:28: warning: immutable value 'origin' was never used; consider replacing with '_' or removing it [#no-usage]
24 | case let .translate(translation):
25 | return size
26 | case let .scale(scale, origin):
| `- warning: immutable value 'origin' was never used; consider replacing with '_' or removing it [#no-usage]
27 | return size * scale.abs()
28 | }
[13/26] 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 |
[14/26] 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 |
[15/26] Compiling GfxMath Transformation.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])
/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/Line.swift:123:15: warning: deprecated default implementation is used to satisfy initializer 'init(point:direction:)' required by protocol 'Line': use init(origin:, direction:) [#DeprecatedDeclaration]
8 |
9 | init()
10 | init(point: VectorProtocol, direction: VectorProtocol)
| `- note: requirement 'init(point:direction:)' declared here
11 | init(origin: VectorProtocol, direction: VectorProtocol)
12 | }
:
14 | public extension Line {
15 | @available(*, deprecated, message: "use init(origin:, direction:)")
16 | init(point: VectorProtocol, direction: VectorProtocol) {
| `- note: 'init(point:direction:)' declared here
17 | self.init(origin: point, direction: direction)
18 | }
:
121 | }
122 |
123 | public struct AnyLine<V: VectorProtocol>: Line where V.Element: BinaryFloatingPoint {
| `- warning: deprecated default implementation is used to satisfy initializer 'init(point:direction:)' required by protocol 'Line': use init(origin:, direction:) [#DeprecatedDeclaration]
124 | public typealias VectorProtocol = V
125 | public var origin: V
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:22:14: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
20 | init(origin: VectorProtocol, direction: VectorProtocol) {
21 | self.init()
22 | self.point = origin
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
23 | self.direction = direction.normalized()
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:28:14: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
26 | init(from point1: VectorProtocol, to point2: VectorProtocol) {
27 | self.init()
28 | self.point = point1
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
29 | self.direction = (point1 - point2).normalized()
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:33:22: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
31 |
32 | var debugDescription: String {
33 | "Line x = (\(point)) + scale * (\(direction))"
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:48:16: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
46 |
47 | func pointAt(scale: VectorProtocol.Element) -> VectorProtocol {
48 | return point + direction * scale
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:56:29: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
54 | if direction[axis] == 0 {
55 | // TODO: maybe need accuracy here too
56 | if abs(self.point[axis] - point[axis]) > accuracy {
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:60:49: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
58 | }
59 | } else {
60 | let scale = (point[axis] - self.point[axis]) / direction[axis]
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
61 | if lastScale == nil {
62 | lastScale = scale
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:99:35: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
97 | // TODO: which value to use as accuracy?
98 | if slope1 == slope2 || abs(slope1 - slope2) < VectorProtocol.Element(0.1) {
99 | if contains(otherLine.point) {
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
100 | return point
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:100:24: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
98 | if slope1 == slope2 || abs(slope1 - slope2) < VectorProtocol.Element(0.1) {
99 | if contains(otherLine.point) {
100 | return point
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
101 | } else {
102 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:106:33: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
104 | }
105 |
106 | let scale1 = (otherLine.point - self.point).cross(otherLine.direction) / self.direction.cross(otherLine.direction)
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
107 |
108 | return pointAtScale(scale1)
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:106:46: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
104 | }
105 |
106 | let scale1 = (otherLine.point - self.point).cross(otherLine.direction) / self.direction.cross(otherLine.direction)
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
107 |
108 | return pointAtScale(scale1)
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:108:16: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
106 | let scale1 = (otherLine.point - self.point).cross(otherLine.direction) / self.direction.cross(otherLine.direction)
107 |
108 | return pointAtScale(scale1)
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:118:53: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
116 | }
117 |
118 | let s = (plane.elevation - plane.normal.dot(point)) / (plane.normal.dot(direction))
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
119 | return pointAtScale(s)
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:119:16: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
117 |
118 | let s = (plane.elevation - plane.normal.dot(point)) / (plane.normal.dot(direction))
119 | return pointAtScale(s)
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
120 | }
121 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[16/26] Compiling GfxMath Line.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])
/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/Line.swift:123:15: warning: deprecated default implementation is used to satisfy initializer 'init(point:direction:)' required by protocol 'Line': use init(origin:, direction:) [#DeprecatedDeclaration]
8 |
9 | init()
10 | init(point: VectorProtocol, direction: VectorProtocol)
| `- note: requirement 'init(point:direction:)' declared here
11 | init(origin: VectorProtocol, direction: VectorProtocol)
12 | }
:
14 | public extension Line {
15 | @available(*, deprecated, message: "use init(origin:, direction:)")
16 | init(point: VectorProtocol, direction: VectorProtocol) {
| `- note: 'init(point:direction:)' declared here
17 | self.init(origin: point, direction: direction)
18 | }
:
121 | }
122 |
123 | public struct AnyLine<V: VectorProtocol>: Line where V.Element: BinaryFloatingPoint {
| `- warning: deprecated default implementation is used to satisfy initializer 'init(point:direction:)' required by protocol 'Line': use init(origin:, direction:) [#DeprecatedDeclaration]
124 | public typealias VectorProtocol = V
125 | public var origin: V
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:22:14: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
20 | init(origin: VectorProtocol, direction: VectorProtocol) {
21 | self.init()
22 | self.point = origin
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
23 | self.direction = direction.normalized()
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:28:14: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
26 | init(from point1: VectorProtocol, to point2: VectorProtocol) {
27 | self.init()
28 | self.point = point1
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
29 | self.direction = (point1 - point2).normalized()
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:33:22: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
31 |
32 | var debugDescription: String {
33 | "Line x = (\(point)) + scale * (\(direction))"
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:48:16: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
46 |
47 | func pointAt(scale: VectorProtocol.Element) -> VectorProtocol {
48 | return point + direction * scale
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:56:29: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
54 | if direction[axis] == 0 {
55 | // TODO: maybe need accuracy here too
56 | if abs(self.point[axis] - point[axis]) > accuracy {
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
57 | return nil
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:60:49: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
58 | }
59 | } else {
60 | let scale = (point[axis] - self.point[axis]) / direction[axis]
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
61 | if lastScale == nil {
62 | lastScale = scale
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:99:35: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
97 | // TODO: which value to use as accuracy?
98 | if slope1 == slope2 || abs(slope1 - slope2) < VectorProtocol.Element(0.1) {
99 | if contains(otherLine.point) {
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
100 | return point
101 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:100:24: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
98 | if slope1 == slope2 || abs(slope1 - slope2) < VectorProtocol.Element(0.1) {
99 | if contains(otherLine.point) {
100 | return point
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
101 | } else {
102 | return nil
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:106:33: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
104 | }
105 |
106 | let scale1 = (otherLine.point - self.point).cross(otherLine.direction) / self.direction.cross(otherLine.direction)
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
107 |
108 | return pointAtScale(scale1)
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:106:46: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
104 | }
105 |
106 | let scale1 = (otherLine.point - self.point).cross(otherLine.direction) / self.direction.cross(otherLine.direction)
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
107 |
108 | return pointAtScale(scale1)
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:108:16: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
106 | let scale1 = (otherLine.point - self.point).cross(otherLine.direction) / self.direction.cross(otherLine.direction)
107 |
108 | return pointAtScale(scale1)
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:118:53: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
116 | }
117 |
118 | let s = (plane.elevation - plane.normal.dot(point)) / (plane.normal.dot(direction))
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
119 | return pointAtScale(s)
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:119:16: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
117 |
118 | let s = (plane.elevation - plane.normal.dot(point)) / (plane.normal.dot(direction))
119 | return pointAtScale(s)
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
120 | }
121 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[17/26] 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 |
[18/26] 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 |
[19/26] 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 |
[20/26] Compiling GfxMath EColor.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 |
[21/26] Compiling GfxMath RGBColor.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 |
[22/26] 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', 'Strideable', 'Comparable', 'Equatable', 'SignedNumeric', 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', 'Hashable'; 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', 'Strideable', 'Comparable', 'Equatable', 'SignedNumeric', 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', 'Hashable'; 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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = <<error type>>]
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 = <<error type>>]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = <<error type>>]
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 = <<error type>>]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = <<error type>>]
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 = <<error type>>]
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:16:35: note: candidate would match if 'Float80' conformed to 'EColor'
14 | }
15 |
16 | @inlinable public static func + (lhs: Self, rhs: Self) -> Self {
| `- note: candidate would match if 'Float80' conformed to 'EColor'
17 | var result = lhs
18 | 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:223:16: warning: unrecognized platform name 'unavailable'
221 | }
222 |
223 | @available(unavailable, message: "need to know size of matrix, use init")
| `- warning: unrecognized platform name 'unavailable'
224 | @inlinable public static var zero: Self {
225 | fatalError("unavailable, need to specify size")
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:266:5: warning: 'public' modifier is redundant for initializer declared in a public extension
264 | public extension Matrix4Protocol {
265 |
266 | 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
267 | self.init([
268 | 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:345:16: warning: no calls to throwing functions occur within 'try' expression
343 | // TODO: the following functions might be specific to openGL, maybe put those in the GLGraphicsMath package
344 | @inlinable static func viewTransformation<V: Vector3Protocol>(up: V, right: V, front: V, translation: V) -> Self where V.Element == Self.Element {
345 | return try! Self([
| `- warning: no calls to throwing functions occur within 'try' expression
346 | right.x, right.y, right.z, 0,
347 | up.x, up.y, up.z, 0,
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:404:12: warning: no calls to throwing functions occur within 'try' expression
402 | // TODO: might replace this or remove this / current function of this is to simply remove throws
403 | @inlinable public func * <E: Numeric>(lhs: Matrix4<E>, rhs: Matrix4<E>) -> Matrix4<E> {
404 | return try! lhs.matmul(rhs)
| `- warning: no calls to throwing functions occur within 'try' expression
405 | }
406 |
[23/26] 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', 'Strideable', 'Comparable', 'Equatable', 'SignedNumeric', 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', 'Hashable'; 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', 'Strideable', 'Comparable', 'Equatable', 'SignedNumeric', 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', 'Hashable'; 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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = <<error type>>]
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 = <<error type>>]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = <<error type>>]
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 = <<error type>>]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = <<error type>>]
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 = <<error type>>]
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:16:35: note: candidate would match if 'Float80' conformed to 'EColor'
14 | }
15 |
16 | @inlinable public static func + (lhs: Self, rhs: Self) -> Self {
| `- note: candidate would match if 'Float80' conformed to 'EColor'
17 | var result = lhs
18 | 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:223:16: warning: unrecognized platform name 'unavailable'
221 | }
222 |
223 | @available(unavailable, message: "need to know size of matrix, use init")
| `- warning: unrecognized platform name 'unavailable'
224 | @inlinable public static var zero: Self {
225 | fatalError("unavailable, need to specify size")
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:266:5: warning: 'public' modifier is redundant for initializer declared in a public extension
264 | public extension Matrix4Protocol {
265 |
266 | 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
267 | self.init([
268 | 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:345:16: warning: no calls to throwing functions occur within 'try' expression
343 | // TODO: the following functions might be specific to openGL, maybe put those in the GLGraphicsMath package
344 | @inlinable static func viewTransformation<V: Vector3Protocol>(up: V, right: V, front: V, translation: V) -> Self where V.Element == Self.Element {
345 | return try! Self([
| `- warning: no calls to throwing functions occur within 'try' expression
346 | right.x, right.y, right.z, 0,
347 | up.x, up.y, up.z, 0,
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:404:12: warning: no calls to throwing functions occur within 'try' expression
402 | // TODO: might replace this or remove this / current function of this is to simply remove throws
403 | @inlinable public func * <E: Numeric>(lhs: Matrix4<E>, rhs: Matrix4<E>) -> Matrix4<E> {
404 | return try! lhs.matmul(rhs)
| `- warning: no calls to throwing functions occur within 'try' expression
405 | }
406 |
[24/26] 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', 'Strideable', 'Comparable', 'Equatable', 'SignedNumeric', 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', 'Hashable'; 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', 'Strideable', 'Comparable', 'Equatable', 'SignedNumeric', 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', 'Hashable'; 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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = <<error type>>]
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 = <<error type>>]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Exponent = <<error type>>]
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 = <<error type>>]
3 |
Swift.SIMD./:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Exponent = <<error type>>]
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 = <<error type>>]
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:16:35: note: candidate would match if 'Float80' conformed to 'EColor'
14 | }
15 |
16 | @inlinable public static func + (lhs: Self, rhs: Self) -> Self {
| `- note: candidate would match if 'Float80' conformed to 'EColor'
17 | var result = lhs
18 | 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:223:16: warning: unrecognized platform name 'unavailable'
221 | }
222 |
223 | @available(unavailable, message: "need to know size of matrix, use init")
| `- warning: unrecognized platform name 'unavailable'
224 | @inlinable public static var zero: Self {
225 | fatalError("unavailable, need to specify size")
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:266:5: warning: 'public' modifier is redundant for initializer declared in a public extension
264 | public extension Matrix4Protocol {
265 |
266 | 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
267 | self.init([
268 | 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:345:16: warning: no calls to throwing functions occur within 'try' expression
343 | // TODO: the following functions might be specific to openGL, maybe put those in the GLGraphicsMath package
344 | @inlinable static func viewTransformation<V: Vector3Protocol>(up: V, right: V, front: V, translation: V) -> Self where V.Element == Self.Element {
345 | return try! Self([
| `- warning: no calls to throwing functions occur within 'try' expression
346 | right.x, right.y, right.z, 0,
347 | up.x, up.y, up.z, 0,
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/Matrix.swift:404:12: warning: no calls to throwing functions occur within 'try' expression
402 | // TODO: might replace this or remove this / current function of this is to simply remove throws
403 | @inlinable public func * <E: Numeric>(lhs: Matrix4<E>, rhs: Matrix4<E>) -> Matrix4<E> {
404 | return try! lhs.matmul(rhs)
| `- warning: no calls to throwing functions occur within 'try' expression
405 | }
406 |
[25/26] 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/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:135:54: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
133 | var maxScale = E.infinity
134 | for dimension in 0..<2 {
135 | var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
136 | var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
137 | if newMinScale > newMaxScale {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:136:54: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
134 | for dimension in 0..<2 {
135 | var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
136 | var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
137 | if newMinScale > newMaxScale {
138 | let tmp = newMinScale
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:150:38: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
148 | }
149 |
150 | return (min: Vector2<E>(line.pointAtScale(minScale)), max: Vector2<E>(line.pointAtScale(maxScale)))
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
151 | }
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:150:84: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
148 | }
149 |
150 | return (min: Vector2<E>(line.pointAtScale(minScale)), max: Vector2<E>(line.pointAtScale(maxScale)))
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
151 | }
152 | }
/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 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[26/26] 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/geometry/Rect.swift:135:54: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
133 | var maxScale = E.infinity
134 | for dimension in 0..<2 {
135 | var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
136 | var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
137 | if newMinScale > newMaxScale {
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:136:54: warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
134 | for dimension in 0..<2 {
135 | var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
136 | var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
| `- warning: 'point' is deprecated: use origin [#DeprecatedDeclaration]
137 | if newMinScale > newMaxScale {
138 | let tmp = newMinScale
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:150:38: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
148 | }
149 |
150 | return (min: Vector2<E>(line.pointAtScale(minScale)), max: Vector2<E>(line.pointAtScale(maxScale)))
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
151 | }
152 | }
/Users/admin/builder/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:150:84: warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
148 | }
149 |
150 | return (min: Vector2<E>(line.pointAtScale(minScale)), max: Vector2<E>(line.pointAtScale(maxScale)))
| `- warning: 'pointAtScale' is deprecated: use pointAt(scale:) [#DeprecatedDeclaration]
151 | }
152 | }
/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 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.2 macosSpm