Build Information
Successful build of GfxMath with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/UnGast/swift-gfx-math.git
Reference: 1.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/UnGast/swift-gfx-math
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at af8affa fix line initializer
Cloned https://github.com/UnGast/swift-gfx-math.git
Revision (git rev-parse @):
af8affa142ac61ff2b95857a145aabcc7dd9a7bc
SUCCESS checkout https://github.com/UnGast/swift-gfx-math.git at 1.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/UnGast/swift-gfx-math.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] Emitting module GfxMath
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:45:16: warning: 'public' modifier is redundant for property declared in a public extension
@inlinable public var transposed: Self {
^~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:266:5: warning: 'public' modifier is redundant for initializer declared in a public extension
public init<M3: Matrix3Protocol>(topLeft: M3, rest: Self = .identity) where M3.Element == Element {
^~~~~~~
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
public typealias Dimension = Dim_4x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:345:16: warning: no calls to throwing functions occur within 'try' expression
return try! Self([
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:404:12: warning: no calls to throwing functions occur within 'try' expression
return try! lhs.matmul(rhs)
^
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Plane.swift:16:5: warning: 'public' modifier is redundant for initializer declared in a public extension
public init(point: VectorProtocol, normal: VectorProtocol) {
^~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:27: warning: no calls to throwing functions occur within 'try' expression
return VectorProtocol(try! self.matmul(other).elements)
^
/host/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:37: warning: function call causes an infinite recursion
return VectorProtocol(try! self.matmul(other).elements)
^
[4/26] Compiling GfxMath Color.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
[5/26] Compiling GfxMath EColor.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
[6/26] Compiling GfxMath RGBColor.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
[7/26] Compiling GfxMath Accuracy.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
[8/26] Compiling GfxMath Color+Conversions.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
[9/26] Compiling GfxMath Color+DefaultColors.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
[10/26] Compiling GfxMath Transform.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Transform.swift:24:25: warning: immutable value 'translation' was never used; consider replacing with '_' or removing it
case let .translate(translation):
^~~~~~~~~~~
_
/host/spi-builder-workspace/Sources/GfxMath/Transform.swift:26:28: warning: immutable value 'origin' was never used; consider replacing with '_' or removing it
case let .scale(scale, origin):
^~~~~~
_
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:22:14: warning: 'point' is deprecated: use origin
self.point = origin
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:28:14: warning: 'point' is deprecated: use origin
self.point = point1
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:33:22: warning: 'point' is deprecated: use origin
"Line x = (\(point)) + scale * (\(direction))"
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:48:16: warning: 'point' is deprecated: use origin
return point + direction * scale
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:56:29: warning: 'point' is deprecated: use origin
if abs(self.point[axis] - point[axis]) > accuracy {
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:60:49: warning: 'point' is deprecated: use origin
let scale = (point[axis] - self.point[axis]) / direction[axis]
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:99:35: warning: 'point' is deprecated: use origin
if contains(otherLine.point) {
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:100:24: warning: 'point' is deprecated: use origin
return point
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:106:33: warning: 'point' is deprecated: use origin
let scale1 = (otherLine.point - self.point).cross(otherLine.direction) / self.direction.cross(otherLine.direction)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:106:46: warning: 'point' is deprecated: use origin
let scale1 = (otherLine.point - self.point).cross(otherLine.direction) / self.direction.cross(otherLine.direction)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:108:16: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
return pointAtScale(scale1)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:118:53: warning: 'point' is deprecated: use origin
let s = (plane.elevation - plane.normal.dot(point)) / (plane.normal.dot(direction))
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:119:16: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
return pointAtScale(s)
^
[11/26] Compiling GfxMath Transformation.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Transform.swift:24:25: warning: immutable value 'translation' was never used; consider replacing with '_' or removing it
case let .translate(translation):
^~~~~~~~~~~
_
/host/spi-builder-workspace/Sources/GfxMath/Transform.swift:26:28: warning: immutable value 'origin' was never used; consider replacing with '_' or removing it
case let .scale(scale, origin):
^~~~~~
_
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:22:14: warning: 'point' is deprecated: use origin
self.point = origin
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:28:14: warning: 'point' is deprecated: use origin
self.point = point1
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:33:22: warning: 'point' is deprecated: use origin
"Line x = (\(point)) + scale * (\(direction))"
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:48:16: warning: 'point' is deprecated: use origin
return point + direction * scale
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:56:29: warning: 'point' is deprecated: use origin
if abs(self.point[axis] - point[axis]) > accuracy {
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:60:49: warning: 'point' is deprecated: use origin
let scale = (point[axis] - self.point[axis]) / direction[axis]
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:99:35: warning: 'point' is deprecated: use origin
if contains(otherLine.point) {
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:100:24: warning: 'point' is deprecated: use origin
return point
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:106:33: warning: 'point' is deprecated: use origin
let scale1 = (otherLine.point - self.point).cross(otherLine.direction) / self.direction.cross(otherLine.direction)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:106:46: warning: 'point' is deprecated: use origin
let scale1 = (otherLine.point - self.point).cross(otherLine.direction) / self.direction.cross(otherLine.direction)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:108:16: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
return pointAtScale(scale1)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:118:53: warning: 'point' is deprecated: use origin
let s = (plane.elevation - plane.normal.dot(point)) / (plane.normal.dot(direction))
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:119:16: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
return pointAtScale(s)
^
[12/26] Compiling GfxMath Line.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Transform.swift:24:25: warning: immutable value 'translation' was never used; consider replacing with '_' or removing it
case let .translate(translation):
^~~~~~~~~~~
_
/host/spi-builder-workspace/Sources/GfxMath/Transform.swift:26:28: warning: immutable value 'origin' was never used; consider replacing with '_' or removing it
case let .scale(scale, origin):
^~~~~~
_
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:22:14: warning: 'point' is deprecated: use origin
self.point = origin
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:28:14: warning: 'point' is deprecated: use origin
self.point = point1
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:33:22: warning: 'point' is deprecated: use origin
"Line x = (\(point)) + scale * (\(direction))"
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:48:16: warning: 'point' is deprecated: use origin
return point + direction * scale
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:56:29: warning: 'point' is deprecated: use origin
if abs(self.point[axis] - point[axis]) > accuracy {
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:60:49: warning: 'point' is deprecated: use origin
let scale = (point[axis] - self.point[axis]) / direction[axis]
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:99:35: warning: 'point' is deprecated: use origin
if contains(otherLine.point) {
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:100:24: warning: 'point' is deprecated: use origin
return point
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:106:33: warning: 'point' is deprecated: use origin
let scale1 = (otherLine.point - self.point).cross(otherLine.direction) / self.direction.cross(otherLine.direction)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:106:46: warning: 'point' is deprecated: use origin
let scale1 = (otherLine.point - self.point).cross(otherLine.direction) / self.direction.cross(otherLine.direction)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:108:16: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
return pointAtScale(scale1)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:118:53: warning: 'point' is deprecated: use origin
let s = (plane.elevation - plane.normal.dot(point)) / (plane.normal.dot(direction))
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Line.swift:119:16: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
return pointAtScale(s)
^
[13/26] Compiling GfxMath LineSegment.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:7:10: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
line.pointAtScale(scaleMin)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:10:10: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
line.pointAtScale(scaleMax)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:35:9: warning: variable 'scaleMin' was never mutated; consider changing to 'let' constant
var scaleMin = line.scaleAt(start)!
~~~ ^
let
/host/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:36:9: warning: variable 'scaleMax' was never mutated; consider changing to 'let' constant
var scaleMax = line.scaleAt(end)!
~~~ ^
let
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Plane.swift:16:5: warning: 'public' modifier is redundant for initializer declared in a public extension
public init(point: VectorProtocol, normal: VectorProtocol) {
^~~~~~~
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:135:54: warning: 'point' is deprecated: use origin
var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:136:54: warning: 'point' is deprecated: use origin
var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:150:38: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
return (min: Vector2<E>(line.pointAtScale(minScale)), max: Vector2<E>(line.pointAtScale(maxScale)))
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:150:84: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
return (min: Vector2<E>(line.pointAtScale(minScale)), max: Vector2<E>(line.pointAtScale(maxScale)))
^
[14/26] Compiling GfxMath Plane.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:7:10: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
line.pointAtScale(scaleMin)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:10:10: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
line.pointAtScale(scaleMax)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:35:9: warning: variable 'scaleMin' was never mutated; consider changing to 'let' constant
var scaleMin = line.scaleAt(start)!
~~~ ^
let
/host/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:36:9: warning: variable 'scaleMax' was never mutated; consider changing to 'let' constant
var scaleMax = line.scaleAt(end)!
~~~ ^
let
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Plane.swift:16:5: warning: 'public' modifier is redundant for initializer declared in a public extension
public init(point: VectorProtocol, normal: VectorProtocol) {
^~~~~~~
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:135:54: warning: 'point' is deprecated: use origin
var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:136:54: warning: 'point' is deprecated: use origin
var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:150:38: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
return (min: Vector2<E>(line.pointAtScale(minScale)), max: Vector2<E>(line.pointAtScale(maxScale)))
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:150:84: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
return (min: Vector2<E>(line.pointAtScale(minScale)), max: Vector2<E>(line.pointAtScale(maxScale)))
^
[15/26] Compiling GfxMath Rect.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:7:10: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
line.pointAtScale(scaleMin)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:10:10: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
line.pointAtScale(scaleMax)
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:35:9: warning: variable 'scaleMin' was never mutated; consider changing to 'let' constant
var scaleMin = line.scaleAt(start)!
~~~ ^
let
/host/spi-builder-workspace/Sources/GfxMath/geometry/LineSegment.swift:36:9: warning: variable 'scaleMax' was never mutated; consider changing to 'let' constant
var scaleMax = line.scaleAt(end)!
~~~ ^
let
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Plane.swift:16:5: warning: 'public' modifier is redundant for initializer declared in a public extension
public init(point: VectorProtocol, normal: VectorProtocol) {
^~~~~~~
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:135:54: warning: 'point' is deprecated: use origin
var newMinScale = (min[dimension] - line.point[dimension]) / line.direction[dimension]
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:136:54: warning: 'point' is deprecated: use origin
var newMaxScale = (max[dimension] - line.point[dimension]) / line.direction[dimension]
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:150:38: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
return (min: Vector2<E>(line.pointAtScale(minScale)), max: Vector2<E>(line.pointAtScale(maxScale)))
^
/host/spi-builder-workspace/Sources/GfxMath/geometry/Rect.swift:150:84: warning: 'pointAtScale' is deprecated: use pointAt(scale:)
return (min: Vector2<E>(line.pointAtScale(minScale)), max: Vector2<E>(line.pointAtScale(maxScale)))
^
[16/26] Compiling GfxMath Vector.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
public typealias Dimension = Dim_4x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:27: warning: no calls to throwing functions occur within 'try' expression
return VectorProtocol(try! self.matmul(other).elements)
^
/host/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:37: warning: function call causes an infinite recursion
return VectorProtocol(try! self.matmul(other).elements)
^
[17/26] Compiling GfxMath VectorLayout.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
public typealias Dimension = Dim_4x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:27: warning: no calls to throwing functions occur within 'try' expression
return VectorProtocol(try! self.matmul(other).elements)
^
/host/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:37: warning: function call causes an infinite recursion
return VectorProtocol(try! self.matmul(other).elements)
^
[18/26] Compiling GfxMath VectorProtocol+Initializers.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
public typealias Dimension = Dim_4x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:27: warning: no calls to throwing functions occur within 'try' expression
return VectorProtocol(try! self.matmul(other).elements)
^
/host/spi-builder-workspace/Sources/GfxMath/vector/Vector.swift:244:37: warning: function call causes an infinite recursion
return VectorProtocol(try! self.matmul(other).elements)
^
[19/26] Compiling GfxMath VectorProtocol+Operators.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
[20/26] Compiling GfxMath VectorProtocol.swift
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
[21/26] Compiling GfxMath FloatingPointGenericMath.swift
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:45:16: warning: 'public' modifier is redundant for property declared in a public extension
@inlinable public var transposed: Self {
^~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:266:5: warning: 'public' modifier is redundant for initializer declared in a public extension
public init<M3: Matrix3Protocol>(topLeft: M3, rest: Self = .identity) where M3.Element == Element {
^~~~~~~
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
public typealias Dimension = Dim_4x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:345:16: warning: no calls to throwing functions occur within 'try' expression
return try! Self([
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:404:12: warning: no calls to throwing functions occur within 'try' expression
return try! lhs.matmul(rhs)
^
[22/26] Compiling GfxMath Matrix.swift
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:45:16: warning: 'public' modifier is redundant for property declared in a public extension
@inlinable public var transposed: Self {
^~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:266:5: warning: 'public' modifier is redundant for initializer declared in a public extension
public init<M3: Matrix3Protocol>(topLeft: M3, rest: Self = .identity) where M3.Element == Element {
^~~~~~~
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
public typealias Dimension = Dim_4x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:345:16: warning: no calls to throwing functions occur within 'try' expression
return try! Self([
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:404:12: warning: no calls to throwing functions occur within 'try' expression
return try! lhs.matmul(rhs)
^
[23/26] Compiling GfxMath MatrixDimension.swift
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:45:16: warning: 'public' modifier is redundant for property declared in a public extension
@inlinable public var transposed: Self {
^~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:266:5: warning: 'public' modifier is redundant for initializer declared in a public extension
public init<M3: Matrix3Protocol>(topLeft: M3, rest: Self = .identity) where M3.Element == Element {
^~~~~~~
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
public typealias Dimension = Dim_4x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:345:16: warning: no calls to throwing functions occur within 'try' expression
return try! Self([
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:404:12: warning: no calls to throwing functions occur within 'try' expression
return try! lhs.matmul(rhs)
^
[24/26] Compiling GfxMath Point.swift
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
[25/26] Compiling GfxMath Quaternion.swift
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
[26/26] Compiling GfxMath Size.swift
/host/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
public typealias Dimension = Dim_3x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
/host/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
associatedtype Element: Numeric
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Swift.Sequence:2:20: note: 'Element' declared here
associatedtype Element where Self.Element == Self.Iterator.Element
^
/host/spi-builder-workspace/Sources/GfxMath/Matrix.swift:223:6: warning: unknown platform 'unavailable' for attribute 'available'
@available(unavailable, message: "need to know size of matrix, use init")
^
/host/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
public typealias Dimension = Dim_2x1
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GfxMath/vector/VectorProtocol.swift:4:18: note: 'Dimension' declared here
associatedtype Dimension: MatrixDimension
^
Build complete! (11.45s)
Build complete.
Done.