Build Information
Failed to build NDArray, reference master (49c5f1), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 02:00:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cgarciae/ndarray.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cgarciae/ndarray
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 49c5f1e update readme
Cloned https://github.com/cgarciae/ndarray.git
Revision (git rev-parse @):
49c5f1ec9958a73afde90842c57995d8de9f57b7
SUCCESS checkout https://github.com/cgarciae/ndarray.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "ndarray",
"name": "NDArray",
"url": "https://github.com/cgarciae/ndarray.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ndarray",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/cgarciae/ndarray.git
[1/813] Fetching ndarray
Fetched https://github.com/cgarciae/ndarray.git from cache (0.72s)
Creating working copy for https://github.com/cgarciae/ndarray.git
Working copy of https://github.com/cgarciae/ndarray.git resolved at master (49c5f1e)
warning: 'ndarray': The target named 'Debug' was identified as an executable target but a non-executable product with this name already exists.
warning: '.resolve-product-dependencies': dependency 'ndarray' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/cgarciae/ndarray.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/27] Emitting module NDArray
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/BaseNDArray.swift:89:17: warning: variable 'data' was never mutated; consider changing to 'let' constant
87 | public mutating func withScalarSetter(_ body: (@escaping NDArray<Scalar>.ScalarSetter) -> Void) {
88 | data.value.withUnsafeMutableBufferPointer { dataIn in
89 | var data = dataIn
| `- warning: variable 'data' was never mutated; consider changing to 'let' constant
90 | defer { dataIn = data }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/BaseNDArray.swift:104:17: warning: variable 'data' was never mutated; consider changing to 'let' constant
102 | public mutating func withScalarGetterSetter(_ body: (@escaping NDArray<Scalar>.ScalarGetterSetter) -> Void) {
103 | data.value.withUnsafeMutableBufferPointer { dataIn in
104 | var data = dataIn
| `- warning: variable 'data' was never mutated; consider changing to 'let' constant
105 | defer { dataIn = data }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'AdditiveArithmetic', 'ExpressibleByIntegerLiteral', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| |- warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'AdditiveArithmetic', 'ExpressibleByIntegerLiteral', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | extension CGFloat: Divisible {}
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of '==' for protocol 'Equatable'
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| |- error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of '==' for protocol 'Equatable'
| `- note: add stubs for conformance
29 | extension CGFloat: Divisible {}
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/NDArray/Protocols/Divisible.swift:28:1: error: type 'Float80' does not conform to protocol 'Divisible'
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| `- error: type 'Float80' does not conform to protocol 'Divisible'
29 | extension CGFloat: Divisible {}
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Ops/div.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>'
5 | }
6 |
7 | public static func / (lhs: Scalar, rhs: NDArray<Scalar>) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>'
8 | elementwise(rhs) { lhs / $0 }
9 | }
10 |
11 | public static func / (lhs: NDArray<Scalar>, rhs: Scalar) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (NDArray<Scalar>, Scalar) -> NDArray<Scalar>'
12 | elementwise(lhs) { $0 / rhs }
13 | }
Swift.Duration./:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration'
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'
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'
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 |
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 |
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: error: type 'Float80' does not conform to protocol 'Numeric'
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| `- error: type 'Float80' does not conform to protocol 'Numeric'
29 | extension CGFloat: Divisible {}
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Ops/mul.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = _]
5 | }
6 |
7 | public static func * (lhs: Scalar, rhs: NDArray<Scalar>) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = _]
8 | elementwise(rhs) { lhs * $0 }
9 | }
10 |
11 | public static func * (lhs: NDArray<Scalar>, rhs: Scalar) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (NDArray<Scalar>, Scalar) -> NDArray<Scalar>' [with Magnitude = _]
12 | elementwise(lhs) { $0 * rhs }
13 | }
Swift.Duration.*:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = _]
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 Magnitude = _]
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' [with Magnitude = _]
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' [with Magnitude = _]
4 |
Swift.SIMD.*:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = _]
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' [with Magnitude = _]
4 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = _]
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 Magnitude = _]
3 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = _]
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 Magnitude = _]
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: error: type 'Float80' does not conform to protocol 'AdditiveArithmetic'
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| `- error: type 'Float80' does not conform to protocol 'AdditiveArithmetic'
29 | extension CGFloat: Divisible {}
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Ops/add.swift:7:24: note: candidate has non-matching type '<Scalar> (NDArray<Scalar>, Scalar) -> NDArray<Scalar>'
5 | }
6 |
7 | public static func + (lhs: NDArray<Scalar>, rhs: Scalar) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (NDArray<Scalar>, Scalar) -> NDArray<Scalar>'
8 | elementwise(lhs) { $0 + rhs }
9 | }
10 |
11 | public static func + (lhs: Scalar, rhs: NDArray<Scalar>) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>'
12 | elementwise(rhs) { lhs + $0 }
13 | }
Swift.Strideable.+:2:20: note: candidate has non-matching type '<Self> (Self, Self.Stride) -> Self'
1 | protocol Strideable {
2 | public static func + (lhs: Self, rhs: Self.Stride) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Stride) -> Self'
3 |
Swift.Strideable.+:2:20: note: candidate has non-matching type '<Self> (Self.Stride, Self) -> Self'
1 | protocol Strideable {
2 | public static func + (lhs: Self.Stride, rhs: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Stride, Self) -> Self'
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/NDArray/Protocols/Divisible.swift:28:1: error: type 'Float80' does not conform to protocol 'ExpressibleByIntegerLiteral'
2 |
3 | public protocol Divisible: Numeric {
4 | static func / (lhs: Self, rhs: Self) -> Self
| `- note: protocol requires function '/' with type '(Float80, Float80) -> Float80'
5 | static func /= (lhs: inout Self, rhs: Self)
6 | }
:
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| |- error: type 'Float80' does not conform to protocol 'ExpressibleByIntegerLiteral'
| `- note: add stubs for conformance
29 | extension CGFloat: Divisible {}
Swift.Numeric.Magnitude:2:16: note: protocol requires nested type 'Magnitude'
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: protocol requires nested type 'Magnitude'
3 |
Swift.Numeric.init:2:1: note: protocol requires initializer 'init(exactly:)' with type '(exactly: T)'
1 | protocol Numeric {
2 | init?<T>(exactly source: T) where T : BinaryInteger}
| `- note: protocol requires initializer 'init(exactly:)' with type '(exactly: T)'
3 |
Swift.Numeric.*:2:13: note: protocol requires function '*' with type '(Float80, Float80) -> Float80'
1 | protocol Numeric {
2 | static func * (lhs: Self, rhs: Self) -> Self}
| `- note: protocol requires function '*' with type '(Float80, Float80) -> 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/NDArray/Protocols/Divisible.swift:28:11: error: 'Float80' is unavailable: Float80 is not available on target platform.
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
29 | extension CGFloat: Divisible {}
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 | }
[5/29] Compiling NDArray add.swift
[6/29] Compiling NDArray broadcast.swift
[7/29] Compiling NDArray description.swift
[8/29] Compiling NDArray Expressible.swift
[9/29] Compiling NDArray NDArray.swift
[10/29] Compiling NDArray ArrayShape.swift
[11/29] Compiling NDArray NDArrayFloatingPoint.swift
[12/29] Compiling NDArray NDArrayProtocol.swift
[13/29] Compiling NDArray div.swift
[14/29] Compiling NDArray dot.swift
[15/29] Compiling NDArray elementWise.swift
[16/29] Compiling NDArray sum.swift
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'AdditiveArithmetic', 'ExpressibleByIntegerLiteral', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| |- warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'AdditiveArithmetic', 'ExpressibleByIntegerLiteral', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | extension CGFloat: Divisible {}
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of '==' for protocol 'Equatable'
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| |- error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of '==' for protocol 'Equatable'
| `- note: add stubs for conformance
29 | extension CGFloat: Divisible {}
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/NDArray/Protocols/Divisible.swift:28:1: error: type 'Float80' does not conform to protocol 'Divisible'
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| `- error: type 'Float80' does not conform to protocol 'Divisible'
29 | extension CGFloat: Divisible {}
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Ops/div.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>'
5 | }
6 |
7 | public static func / (lhs: Scalar, rhs: NDArray<Scalar>) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>'
8 | elementwise(rhs) { lhs / $0 }
9 | }
10 |
11 | public static func / (lhs: NDArray<Scalar>, rhs: Scalar) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (NDArray<Scalar>, Scalar) -> NDArray<Scalar>'
12 | elementwise(lhs) { $0 / rhs }
13 | }
Swift.Duration./:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration'
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'
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'
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 |
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 |
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: error: type 'Float80' does not conform to protocol 'Numeric'
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| `- error: type 'Float80' does not conform to protocol 'Numeric'
29 | extension CGFloat: Divisible {}
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Ops/mul.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = _]
5 | }
6 |
7 | public static func * (lhs: Scalar, rhs: NDArray<Scalar>) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = _]
8 | elementwise(rhs) { lhs * $0 }
9 | }
10 |
11 | public static func * (lhs: NDArray<Scalar>, rhs: Scalar) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (NDArray<Scalar>, Scalar) -> NDArray<Scalar>' [with Magnitude = _]
12 | elementwise(lhs) { $0 * rhs }
13 | }
Swift.Duration.*:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = _]
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 Magnitude = _]
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' [with Magnitude = _]
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' [with Magnitude = _]
4 |
Swift.SIMD.*:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = _]
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' [with Magnitude = _]
4 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = _]
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 Magnitude = _]
3 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = _]
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 Magnitude = _]
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: error: type 'Float80' does not conform to protocol 'AdditiveArithmetic'
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| `- error: type 'Float80' does not conform to protocol 'AdditiveArithmetic'
29 | extension CGFloat: Divisible {}
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Ops/add.swift:7:24: note: candidate has non-matching type '<Scalar> (NDArray<Scalar>, Scalar) -> NDArray<Scalar>'
5 | }
6 |
7 | public static func + (lhs: NDArray<Scalar>, rhs: Scalar) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (NDArray<Scalar>, Scalar) -> NDArray<Scalar>'
8 | elementwise(lhs) { $0 + rhs }
9 | }
10 |
11 | public static func + (lhs: Scalar, rhs: NDArray<Scalar>) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>'
12 | elementwise(rhs) { lhs + $0 }
13 | }
Swift.Strideable.+:2:20: note: candidate has non-matching type '<Self> (Self, Self.Stride) -> Self'
1 | protocol Strideable {
2 | public static func + (lhs: Self, rhs: Self.Stride) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Stride) -> Self'
3 |
Swift.Strideable.+:2:20: note: candidate has non-matching type '<Self> (Self.Stride, Self) -> Self'
1 | protocol Strideable {
2 | public static func + (lhs: Self.Stride, rhs: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Stride, Self) -> Self'
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/NDArray/Protocols/Divisible.swift:28:1: error: type 'Float80' does not conform to protocol 'ExpressibleByIntegerLiteral'
2 |
3 | public protocol Divisible: Numeric {
4 | static func / (lhs: Self, rhs: Self) -> Self
| `- note: protocol requires function '/' with type '(Float80, Float80) -> Float80'
5 | static func /= (lhs: inout Self, rhs: Self)
6 | }
:
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| |- error: type 'Float80' does not conform to protocol 'ExpressibleByIntegerLiteral'
| `- note: add stubs for conformance
29 | extension CGFloat: Divisible {}
Swift.Numeric.Magnitude:2:16: note: protocol requires nested type 'Magnitude'
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: protocol requires nested type 'Magnitude'
3 |
Swift.Numeric.init:2:1: note: protocol requires initializer 'init(exactly:)' with type '(exactly: T)'
1 | protocol Numeric {
2 | init?<T>(exactly source: T) where T : BinaryInteger}
| `- note: protocol requires initializer 'init(exactly:)' with type '(exactly: T)'
3 |
Swift.Numeric.*:2:13: note: protocol requires function '*' with type '(Float80, Float80) -> Float80'
1 | protocol Numeric {
2 | static func * (lhs: Self, rhs: Self) -> Self}
| `- note: protocol requires function '*' with type '(Float80, Float80) -> 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/NDArray/Protocols/Divisible.swift:28:11: error: 'Float80' is unavailable: Float80 is not available on target platform.
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
29 | extension CGFloat: Divisible {}
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 | }
[17/29] Compiling NDArray Divisible.swift
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'AdditiveArithmetic', 'ExpressibleByIntegerLiteral', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| |- warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'AdditiveArithmetic', 'ExpressibleByIntegerLiteral', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | extension CGFloat: Divisible {}
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of '==' for protocol 'Equatable'
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| |- error: extension outside of file declaring struct 'Float80' prevents automatic synthesis of '==' for protocol 'Equatable'
| `- note: add stubs for conformance
29 | extension CGFloat: Divisible {}
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/NDArray/Protocols/Divisible.swift:28:1: error: type 'Float80' does not conform to protocol 'Divisible'
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| `- error: type 'Float80' does not conform to protocol 'Divisible'
29 | extension CGFloat: Divisible {}
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Ops/div.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>'
5 | }
6 |
7 | public static func / (lhs: Scalar, rhs: NDArray<Scalar>) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>'
8 | elementwise(rhs) { lhs / $0 }
9 | }
10 |
11 | public static func / (lhs: NDArray<Scalar>, rhs: Scalar) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (NDArray<Scalar>, Scalar) -> NDArray<Scalar>'
12 | elementwise(lhs) { $0 / rhs }
13 | }
Swift.Duration./:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration'
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'
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'
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 |
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 |
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: error: type 'Float80' does not conform to protocol 'Numeric'
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| `- error: type 'Float80' does not conform to protocol 'Numeric'
29 | extension CGFloat: Divisible {}
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Ops/mul.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = _]
5 | }
6 |
7 | public static func * (lhs: Scalar, rhs: NDArray<Scalar>) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = _]
8 | elementwise(rhs) { lhs * $0 }
9 | }
10 |
11 | public static func * (lhs: NDArray<Scalar>, rhs: Scalar) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (NDArray<Scalar>, Scalar) -> NDArray<Scalar>' [with Magnitude = _]
12 | elementwise(lhs) { $0 * rhs }
13 | }
Swift.Duration.*:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = _]
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 Magnitude = _]
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' [with Magnitude = _]
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' [with Magnitude = _]
4 |
Swift.SIMD.*:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = _]
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' [with Magnitude = _]
4 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = _]
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 Magnitude = _]
3 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = _]
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 Magnitude = _]
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: error: type 'Float80' does not conform to protocol 'AdditiveArithmetic'
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| `- error: type 'Float80' does not conform to protocol 'AdditiveArithmetic'
29 | extension CGFloat: Divisible {}
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/Ops/add.swift:7:24: note: candidate has non-matching type '<Scalar> (NDArray<Scalar>, Scalar) -> NDArray<Scalar>'
5 | }
6 |
7 | public static func + (lhs: NDArray<Scalar>, rhs: Scalar) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (NDArray<Scalar>, Scalar) -> NDArray<Scalar>'
8 | elementwise(lhs) { $0 + rhs }
9 | }
10 |
11 | public static func + (lhs: Scalar, rhs: NDArray<Scalar>) -> NDArray<Scalar> {
| `- note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>'
12 | elementwise(rhs) { lhs + $0 }
13 | }
Swift.Strideable.+:2:20: note: candidate has non-matching type '<Self> (Self, Self.Stride) -> Self'
1 | protocol Strideable {
2 | public static func + (lhs: Self, rhs: Self.Stride) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Stride) -> Self'
3 |
Swift.Strideable.+:2:20: note: candidate has non-matching type '<Self> (Self.Stride, Self) -> Self'
1 | protocol Strideable {
2 | public static func + (lhs: Self.Stride, rhs: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Stride, Self) -> Self'
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/NDArray/Protocols/Divisible.swift:28:1: error: type 'Float80' does not conform to protocol 'ExpressibleByIntegerLiteral'
2 |
3 | public protocol Divisible: Numeric {
4 | static func / (lhs: Self, rhs: Self) -> Self
| `- note: protocol requires function '/' with type '(Float80, Float80) -> Float80'
5 | static func /= (lhs: inout Self, rhs: Self)
6 | }
:
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| |- error: type 'Float80' does not conform to protocol 'ExpressibleByIntegerLiteral'
| `- note: add stubs for conformance
29 | extension CGFloat: Divisible {}
Swift.Numeric.Magnitude:2:16: note: protocol requires nested type 'Magnitude'
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: protocol requires nested type 'Magnitude'
3 |
Swift.Numeric.init:2:1: note: protocol requires initializer 'init(exactly:)' with type '(exactly: T)'
1 | protocol Numeric {
2 | init?<T>(exactly source: T) where T : BinaryInteger}
| `- note: protocol requires initializer 'init(exactly:)' with type '(exactly: T)'
3 |
Swift.Numeric.*:2:13: note: protocol requires function '*' with type '(Float80, Float80) -> Float80'
1 | protocol Numeric {
2 | static func * (lhs: Self, rhs: Self) -> Self}
| `- note: protocol requires function '*' with type '(Float80, Float80) -> 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/NDArray/Protocols/Divisible.swift:28:11: error: 'Float80' is unavailable: Float80 is not available on target platform.
26 | extension Double: Divisible {}
27 | extension Float: Divisible {}
28 | extension Float80: Divisible {}
| `- error: 'Float80' is unavailable: Float80 is not available on target platform.
29 | extension CGFloat: Divisible {}
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 | }
[18/29] Compiling NDArray Ref.swift
[19/29] Compiling NDArray utils.swift
[20/29] Compiling NDArray sub.swift
[21/29] Compiling NDArray subscript.swift
[22/29] Compiling NDArray max.swift
[23/29] Compiling NDArray mean.swift
[24/29] Compiling NDArray min.swift
[25/29] Compiling NDArray mul.swift
[26/29] Compiling NDArray reduce.swift
[27/29] Compiling NDArray BaseNDArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/BaseNDArray.swift:89:17: warning: variable 'data' was never mutated; consider changing to 'let' constant
87 | public mutating func withScalarSetter(_ body: (@escaping NDArray<Scalar>.ScalarSetter) -> Void) {
88 | data.value.withUnsafeMutableBufferPointer { dataIn in
89 | var data = dataIn
| `- warning: variable 'data' was never mutated; consider changing to 'let' constant
90 | defer { dataIn = data }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/BaseNDArray.swift:104:17: warning: variable 'data' was never mutated; consider changing to 'let' constant
102 | public mutating func withScalarGetterSetter(_ body: (@escaping NDArray<Scalar>.ScalarGetterSetter) -> Void) {
103 | data.value.withUnsafeMutableBufferPointer { dataIn in
104 | var data = dataIn
| `- warning: variable 'data' was never mutated; consider changing to 'let' constant
105 | defer { dataIn = data }
106 |
[28/29] Compiling NDArray Dimension.swift
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/BaseNDArray.swift:89:17: warning: variable 'data' was never mutated; consider changing to 'let' constant
87 | public mutating func withScalarSetter(_ body: (@escaping NDArray<Scalar>.ScalarSetter) -> Void) {
88 | data.value.withUnsafeMutableBufferPointer { dataIn in
89 | var data = dataIn
| `- warning: variable 'data' was never mutated; consider changing to 'let' constant
90 | defer { dataIn = data }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/BaseNDArray.swift:104:17: warning: variable 'data' was never mutated; consider changing to 'let' constant
102 | public mutating func withScalarGetterSetter(_ body: (@escaping NDArray<Scalar>.ScalarGetterSetter) -> Void) {
103 | data.value.withUnsafeMutableBufferPointer { dataIn in
104 | var data = dataIn
| `- warning: variable 'data' was never mutated; consider changing to 'let' constant
105 | defer { dataIn = data }
106 |
[29/29] Compiling NDArray ScalarNDArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/BaseNDArray.swift:89:17: warning: variable 'data' was never mutated; consider changing to 'let' constant
87 | public mutating func withScalarSetter(_ body: (@escaping NDArray<Scalar>.ScalarSetter) -> Void) {
88 | data.value.withUnsafeMutableBufferPointer { dataIn in
89 | var data = dataIn
| `- warning: variable 'data' was never mutated; consider changing to 'let' constant
90 | defer { dataIn = data }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/NDArray/NDArrayTypes/BaseNDArray/BaseNDArray.swift:104:17: warning: variable 'data' was never mutated; consider changing to 'let' constant
102 | public mutating func withScalarGetterSetter(_ body: (@escaping NDArray<Scalar>.ScalarGetterSetter) -> Void) {
103 | data.value.withUnsafeMutableBufferPointer { dataIn in
104 | var data = dataIn
| `- warning: variable 'data' was never mutated; consider changing to 'let' constant
105 | defer { dataIn = data }
106 |
warning: 'spi-builder-workspace': The target named 'Debug' was identified as an executable target but a non-executable product with this name already exists.
BUILD FAILURE 6.3 macosSpm