Build Information
Failed to build NDArray, reference master (49c5f1), with Swift 6.1 for Android on 27 May 2025 13:35:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cgarciae/ndarray.git
Reference: master
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/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
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/cgarciae/ndarray.git
https://github.com/cgarciae/ndarray.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "NDArray",
"name" : "NDArray",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "NDArray",
"targets" : [
"NDArray"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Debug",
"targets" : [
"Debug"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NDArrayTests",
"module_type" : "SwiftTarget",
"name" : "NDArrayTests",
"path" : "Tests/NDArrayTests",
"sources" : [
"DimensionTests.swift",
"NDArrayTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"NDArray"
],
"type" : "test"
},
{
"c99name" : "NDArray",
"module_type" : "SwiftTarget",
"name" : "NDArray",
"path" : "Sources/NDArray",
"product_memberships" : [
"NDArray",
"Debug"
],
"sources" : [
"Extensions/Expressible.swift",
"NDArray.swift",
"NDArrayTypes/BaseNDArray/ArrayShape.swift",
"NDArrayTypes/BaseNDArray/BaseNDArray.swift",
"NDArrayTypes/BaseNDArray/Dimension.swift",
"NDArrayTypes/ScalarNDArray.swift",
"Ops/add.swift",
"Ops/broadcast.swift",
"Ops/description.swift",
"Ops/div.swift",
"Ops/dot.swift",
"Ops/elementWise.swift",
"Ops/max.swift",
"Ops/mean.swift",
"Ops/min.swift",
"Ops/mul.swift",
"Ops/reduce.swift",
"Ops/sub.swift",
"Ops/subscript.swift",
"Ops/sum.swift",
"Protocols/Divisible.swift",
"Protocols/NDArrayFloatingPoint.swift",
"Protocols/NDArrayProtocol.swift",
"Ref.swift",
"utils.swift"
],
"type" : "library"
},
{
"c99name" : "Debug",
"module_type" : "SwiftTarget",
"name" : "Debug",
"path" : "Sources/Debug",
"product_memberships" : [
"Debug"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"NDArray"
],
"type" : "executable"
}
],
"tools_version" : "5.1"
}
warning: 'spi-builder-workspace': The target named 'Debug' was identified as an executable target but a non-executable product with this name already exists.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': The target named 'Debug' was identified as an executable target but a non-executable product with this name already exists.
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/26] Compiling NDArray Expressible.swift
/host/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 |
/host/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 |
[5/26] Compiling NDArray NDArray.swift
/host/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 |
/host/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 |
[6/26] Compiling NDArray ArrayShape.swift
/host/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 |
/host/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 |
[7/26] Compiling NDArray BaseNDArray.swift
/host/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 |
/host/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 |
[8/29] Compiling NDArray sum.swift
/host/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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 {}
/host/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 | }
/host/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 {}
/host/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 |
/host/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 {}
/host/spi-builder-workspace/Sources/NDArray/Ops/mul.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
12 | elementwise(lhs) { $0 * rhs }
13 | }
Swift.Duration.*:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func * <T>(lhs: Duration, rhs: T) -> Duration where T : BinaryInteger}
| `- note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD.*: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 = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
3 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
3 |
/host/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 {}
/host/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 |
FoundationEssentials.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 |
/host/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 |
/host/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 | }
[9/29] Compiling NDArray Divisible.swift
/host/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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 {}
/host/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 | }
/host/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 {}
/host/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 |
/host/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 {}
/host/spi-builder-workspace/Sources/NDArray/Ops/mul.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
12 | elementwise(lhs) { $0 * rhs }
13 | }
Swift.Duration.*:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func * <T>(lhs: Duration, rhs: T) -> Duration where T : BinaryInteger}
| `- note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD.*: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 = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
3 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
3 |
/host/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 {}
/host/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 |
FoundationEssentials.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 |
/host/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 |
/host/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 | }
[10/29] Compiling NDArray NDArrayFloatingPoint.swift
/host/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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 {}
/host/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 | }
/host/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 {}
/host/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 |
/host/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 {}
/host/spi-builder-workspace/Sources/NDArray/Ops/mul.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
12 | elementwise(lhs) { $0 * rhs }
13 | }
Swift.Duration.*:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func * <T>(lhs: Duration, rhs: T) -> Duration where T : BinaryInteger}
| `- note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD.*: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 = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
3 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
3 |
/host/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 {}
/host/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 |
FoundationEssentials.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 |
/host/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 |
/host/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 | }
[11/29] Compiling NDArray broadcast.swift
[12/29] Compiling NDArray description.swift
[13/29] Compiling NDArray div.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/29] Emitting module NDArray
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:3:12: warning: let 'all' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public let all = ArrayRange.all
| |- warning: let 'all' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public let newAxis = ArrayRange.newAxis
5 | public let ellipsis = ArrayRange.ellipsis
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:4:12: warning: let 'newAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public let all = ArrayRange.all
4 | public let newAxis = ArrayRange.newAxis
| |- warning: let 'newAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'newAxis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public let ellipsis = ArrayRange.ellipsis
6 | public let squeezeAxis = ArrayRange.squeezeAxis
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:5:12: warning: let 'ellipsis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
3 | public let all = ArrayRange.all
4 | public let newAxis = ArrayRange.newAxis
5 | public let ellipsis = ArrayRange.ellipsis
| |- warning: let 'ellipsis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ellipsis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public let squeezeAxis = ArrayRange.squeezeAxis
7 |
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:6:12: warning: let 'squeezeAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let newAxis = ArrayRange.newAxis
5 | public let ellipsis = ArrayRange.ellipsis
6 | public let squeezeAxis = ArrayRange.squeezeAxis
| |- warning: let 'squeezeAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'squeezeAxis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | // experimental alias
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:9:12: warning: let 'rest' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | // experimental alias
9 | public let rest = ArrayRange.ellipsis
| |- warning: let 'rest' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public let new = ArrayRange.newAxis
11 | public let squeeze = ArrayRange.squeezeAxis
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:10:12: warning: let 'new' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
8 | // experimental alias
9 | public let rest = ArrayRange.ellipsis
10 | public let new = ArrayRange.newAxis
| |- warning: let 'new' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'new' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public let squeeze = ArrayRange.squeezeAxis
12 |
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:11:12: warning: let 'squeeze' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public let rest = ArrayRange.ellipsis
10 | public let new = ArrayRange.newAxis
11 | public let squeeze = ArrayRange.squeezeAxis
| |- warning: let 'squeeze' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'squeeze' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | extension NDArray {
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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 {}
/host/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 | }
/host/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 {}
/host/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 |
/host/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 {}
/host/spi-builder-workspace/Sources/NDArray/Ops/mul.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
12 | elementwise(lhs) { $0 * rhs }
13 | }
Swift.Duration.*:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func * <T>(lhs: Duration, rhs: T) -> Duration where T : BinaryInteger}
| `- note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD.*: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 = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
3 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
3 |
/host/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 {}
/host/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 |
FoundationEssentials.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 |
/host/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 |
/host/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 | }
/host/spi-builder-workspace/Sources/NDArray/utils.swift:143:28: warning: capture of 'rangeMap' with non-sendable type '(Range<Int>) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 |
142 | DISPATCH.async {
143 | for element in rangeMap(range) {
| |- warning: capture of 'rangeMap' with non-sendable type '(Range<Int>) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
144 | body(element)
145 | }
/host/spi-builder-workspace/Sources/NDArray/utils.swift:144:17: warning: capture of 'body' with non-sendable type '(E) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 | DISPATCH.async {
143 | for element in rangeMap(range) {
144 | body(element)
| |- warning: capture of 'body' with non-sendable type '(E) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | group.leave()
[15/29] Compiling NDArray dot.swift
[16/29] Compiling NDArray elementWise.swift
[17/29] Compiling NDArray max.swift
[18/29] Compiling NDArray reduce.swift
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:3:12: warning: let 'all' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public let all = ArrayRange.all
| |- warning: let 'all' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public let newAxis = ArrayRange.newAxis
5 | public let ellipsis = ArrayRange.ellipsis
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:4:12: warning: let 'newAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public let all = ArrayRange.all
4 | public let newAxis = ArrayRange.newAxis
| |- warning: let 'newAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'newAxis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public let ellipsis = ArrayRange.ellipsis
6 | public let squeezeAxis = ArrayRange.squeezeAxis
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:5:12: warning: let 'ellipsis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
3 | public let all = ArrayRange.all
4 | public let newAxis = ArrayRange.newAxis
5 | public let ellipsis = ArrayRange.ellipsis
| |- warning: let 'ellipsis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ellipsis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public let squeezeAxis = ArrayRange.squeezeAxis
7 |
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:6:12: warning: let 'squeezeAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let newAxis = ArrayRange.newAxis
5 | public let ellipsis = ArrayRange.ellipsis
6 | public let squeezeAxis = ArrayRange.squeezeAxis
| |- warning: let 'squeezeAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'squeezeAxis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | // experimental alias
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:9:12: warning: let 'rest' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | // experimental alias
9 | public let rest = ArrayRange.ellipsis
| |- warning: let 'rest' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public let new = ArrayRange.newAxis
11 | public let squeeze = ArrayRange.squeezeAxis
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:10:12: warning: let 'new' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
8 | // experimental alias
9 | public let rest = ArrayRange.ellipsis
10 | public let new = ArrayRange.newAxis
| |- warning: let 'new' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'new' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public let squeeze = ArrayRange.squeezeAxis
12 |
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:11:12: warning: let 'squeeze' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public let rest = ArrayRange.ellipsis
10 | public let new = ArrayRange.newAxis
11 | public let squeeze = ArrayRange.squeezeAxis
| |- warning: let 'squeeze' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'squeeze' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | extension NDArray {
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
[19/29] Compiling NDArray sub.swift
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:3:12: warning: let 'all' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public let all = ArrayRange.all
| |- warning: let 'all' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public let newAxis = ArrayRange.newAxis
5 | public let ellipsis = ArrayRange.ellipsis
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:4:12: warning: let 'newAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public let all = ArrayRange.all
4 | public let newAxis = ArrayRange.newAxis
| |- warning: let 'newAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'newAxis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public let ellipsis = ArrayRange.ellipsis
6 | public let squeezeAxis = ArrayRange.squeezeAxis
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:5:12: warning: let 'ellipsis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
3 | public let all = ArrayRange.all
4 | public let newAxis = ArrayRange.newAxis
5 | public let ellipsis = ArrayRange.ellipsis
| |- warning: let 'ellipsis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ellipsis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public let squeezeAxis = ArrayRange.squeezeAxis
7 |
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:6:12: warning: let 'squeezeAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let newAxis = ArrayRange.newAxis
5 | public let ellipsis = ArrayRange.ellipsis
6 | public let squeezeAxis = ArrayRange.squeezeAxis
| |- warning: let 'squeezeAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'squeezeAxis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | // experimental alias
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:9:12: warning: let 'rest' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | // experimental alias
9 | public let rest = ArrayRange.ellipsis
| |- warning: let 'rest' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public let new = ArrayRange.newAxis
11 | public let squeeze = ArrayRange.squeezeAxis
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:10:12: warning: let 'new' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
8 | // experimental alias
9 | public let rest = ArrayRange.ellipsis
10 | public let new = ArrayRange.newAxis
| |- warning: let 'new' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'new' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public let squeeze = ArrayRange.squeezeAxis
12 |
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:11:12: warning: let 'squeeze' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public let rest = ArrayRange.ellipsis
10 | public let new = ArrayRange.newAxis
11 | public let squeeze = ArrayRange.squeezeAxis
| |- warning: let 'squeeze' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'squeeze' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | extension NDArray {
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
[20/29] Compiling NDArray subscript.swift
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:3:12: warning: let 'all' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public let all = ArrayRange.all
| |- warning: let 'all' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public let newAxis = ArrayRange.newAxis
5 | public let ellipsis = ArrayRange.ellipsis
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:4:12: warning: let 'newAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public let all = ArrayRange.all
4 | public let newAxis = ArrayRange.newAxis
| |- warning: let 'newAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'newAxis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public let ellipsis = ArrayRange.ellipsis
6 | public let squeezeAxis = ArrayRange.squeezeAxis
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:5:12: warning: let 'ellipsis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
3 | public let all = ArrayRange.all
4 | public let newAxis = ArrayRange.newAxis
5 | public let ellipsis = ArrayRange.ellipsis
| |- warning: let 'ellipsis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'ellipsis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public let squeezeAxis = ArrayRange.squeezeAxis
7 |
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:6:12: warning: let 'squeezeAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
4 | public let newAxis = ArrayRange.newAxis
5 | public let ellipsis = ArrayRange.ellipsis
6 | public let squeezeAxis = ArrayRange.squeezeAxis
| |- warning: let 'squeezeAxis' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'squeezeAxis' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | // experimental alias
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:9:12: warning: let 'rest' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | // experimental alias
9 | public let rest = ArrayRange.ellipsis
| |- warning: let 'rest' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public let new = ArrayRange.newAxis
11 | public let squeeze = ArrayRange.squeezeAxis
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:10:12: warning: let 'new' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
8 | // experimental alias
9 | public let rest = ArrayRange.ellipsis
10 | public let new = ArrayRange.newAxis
| |- warning: let 'new' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'new' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public let squeeze = ArrayRange.squeezeAxis
12 |
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
/host/spi-builder-workspace/Sources/NDArray/Ops/subscript.swift:11:12: warning: let 'squeeze' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public let rest = ArrayRange.ellipsis
10 | public let new = ArrayRange.newAxis
11 | public let squeeze = ArrayRange.squeezeAxis
| |- warning: let 'squeeze' is not concurrency-safe because non-'Sendable' type 'ArrayRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'squeeze' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | extension NDArray {
:
52 | }
53 |
54 | public enum ArrayRange: ArrayExpression {
| `- note: consider making enum 'ArrayRange' conform to the 'Sendable' protocol
55 | case ellipsis
56 | case newAxis
[21/29] Compiling NDArray Dimension.swift
[22/29] Compiling NDArray ScalarNDArray.swift
[23/29] Compiling NDArray add.swift
[24/29] Compiling NDArray mean.swift
[25/29] Compiling NDArray min.swift
[26/29] Compiling NDArray mul.swift
[27/29] Compiling NDArray NDArrayProtocol.swift
/host/spi-builder-workspace/Sources/NDArray/utils.swift:143:28: warning: capture of 'rangeMap' with non-sendable type '(Range<Int>) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 |
142 | DISPATCH.async {
143 | for element in rangeMap(range) {
| |- warning: capture of 'rangeMap' with non-sendable type '(Range<Int>) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
144 | body(element)
145 | }
/host/spi-builder-workspace/Sources/NDArray/utils.swift:144:17: warning: capture of 'body' with non-sendable type '(E) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 | DISPATCH.async {
143 | for element in rangeMap(range) {
144 | body(element)
| |- warning: capture of 'body' with non-sendable type '(E) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | group.leave()
[28/29] Compiling NDArray Ref.swift
/host/spi-builder-workspace/Sources/NDArray/utils.swift:143:28: warning: capture of 'rangeMap' with non-sendable type '(Range<Int>) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 |
142 | DISPATCH.async {
143 | for element in rangeMap(range) {
| |- warning: capture of 'rangeMap' with non-sendable type '(Range<Int>) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
144 | body(element)
145 | }
/host/spi-builder-workspace/Sources/NDArray/utils.swift:144:17: warning: capture of 'body' with non-sendable type '(E) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 | DISPATCH.async {
143 | for element in rangeMap(range) {
144 | body(element)
| |- warning: capture of 'body' with non-sendable type '(E) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | group.leave()
[29/29] Compiling NDArray utils.swift
/host/spi-builder-workspace/Sources/NDArray/utils.swift:143:28: warning: capture of 'rangeMap' with non-sendable type '(Range<Int>) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 |
142 | DISPATCH.async {
143 | for element in rangeMap(range) {
| |- warning: capture of 'rangeMap' with non-sendable type '(Range<Int>) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
144 | body(element)
145 | }
/host/spi-builder-workspace/Sources/NDArray/utils.swift:144:17: warning: capture of 'body' with non-sendable type '(E) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 | DISPATCH.async {
143 | for element in rangeMap(range) {
144 | body(element)
| |- warning: capture of 'body' with non-sendable type '(E) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | group.leave()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': The target named 'Debug' was identified as an executable target but a non-executable product with this name already exists.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling NDArray sum.swift
/host/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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 {}
/host/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 | }
/host/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 {}
/host/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 |
/host/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 {}
/host/spi-builder-workspace/Sources/NDArray/Ops/mul.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
12 | elementwise(lhs) { $0 * rhs }
13 | }
Swift.Duration.*:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func * <T>(lhs: Duration, rhs: T) -> Duration where T : BinaryInteger}
| `- note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD.*: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 = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
3 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
3 |
/host/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 {}
/host/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 |
FoundationEssentials.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 |
/host/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 |
/host/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 | }
[3/24] Compiling NDArray Divisible.swift
/host/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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 {}
/host/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 | }
/host/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 {}
/host/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 |
/host/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 {}
/host/spi-builder-workspace/Sources/NDArray/Ops/mul.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
12 | elementwise(lhs) { $0 * rhs }
13 | }
Swift.Duration.*:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func * <T>(lhs: Duration, rhs: T) -> Duration where T : BinaryInteger}
| `- note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD.*: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 = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
3 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
3 |
/host/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 {}
/host/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 |
FoundationEssentials.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 |
/host/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 |
/host/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 | }
[4/24] Compiling NDArray NDArrayFloatingPoint.swift
/host/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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 {}
/host/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 | }
/host/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 {}
/host/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 |
/host/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 {}
/host/spi-builder-workspace/Sources/NDArray/Ops/mul.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
12 | elementwise(lhs) { $0 * rhs }
13 | }
Swift.Duration.*:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func * <T>(lhs: Duration, rhs: T) -> Duration where T : BinaryInteger}
| `- note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD.*: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 = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
3 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
3 |
/host/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 {}
/host/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 |
FoundationEssentials.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 |
/host/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 |
/host/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/27] Compiling NDArray dot.swift
[6/27] Compiling NDArray elementWise.swift
[7/27] Compiling NDArray max.swift
[8/27] Compiling NDArray mean.swift
[9/27] Compiling NDArray min.swift
[10/27] Compiling NDArray mul.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/27] Emitting module NDArray
/host/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 |
/host/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 |
/host/spi-builder-workspace/Sources/NDArray/Protocols/Divisible.swift:28:1: warning: extension declares a conformance of imported type 'Float80' to imported protocols 'Numeric', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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', 'ExpressibleByIntegerLiteral', 'AdditiveArithmetic', '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 {}
/host/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 | }
/host/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 {}
/host/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 |
/host/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 {}
/host/spi-builder-workspace/Sources/NDArray/Ops/mul.swift:7:24: note: candidate has non-matching type '<Scalar> (Scalar, NDArray<Scalar>) -> NDArray<Scalar>' [with Magnitude = <<error type>>]
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 = <<error type>>]
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 = <<error type>>]
12 | elementwise(lhs) { $0 * rhs }
13 | }
Swift.Duration.*:3:22: note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
1 | struct Duration {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public static func * <T>(lhs: Duration, rhs: T) -> Duration where T : BinaryInteger}
| `- note: candidate has non-matching type '<T> (Duration, T) -> Duration' [with Magnitude = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate would match if 'Float80' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self) -> Self}
| `- note: candidate would match if 'Float80' conformed to 'SIMD'
3 |
Swift.SIMD.*: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 = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:3:22: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
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 = <<error type>>]
4 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self.Scalar, b: Self) -> Self}
| `- note: candidate has non-matching type '<Self> (Self.Scalar, Self) -> Self' [with Magnitude = <<error type>>]
3 |
Swift.SIMD.*:2:20: note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
1 | protocol SIMD {
2 | public static func * (a: Self, b: Self.Scalar) -> Self}
| `- note: candidate has non-matching type '<Self> (Self, Self.Scalar) -> Self' [with Magnitude = <<error type>>]
3 |
/host/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 {}
/host/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 |
FoundationEssentials.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 |
/host/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 |
/host/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 | }
[12/27] Compiling NDArray reduce.swift
[13/27] Compiling NDArray sub.swift
[14/27] Compiling NDArray subscript.swift
[15/27] Compiling NDArray NDArrayProtocol.swift
[16/27] Compiling NDArray Ref.swift
[17/27] Compiling NDArray utils.swift
[18/27] Compiling NDArray broadcast.swift
[19/27] Compiling NDArray description.swift
[20/27] Compiling NDArray div.swift
[21/27] Compiling NDArray Dimension.swift
[22/27] Compiling NDArray ScalarNDArray.swift
[23/27] Compiling NDArray add.swift
[24/27] Compiling NDArray Expressible.swift
/host/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 |
/host/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 |
[25/27] Compiling NDArray NDArray.swift
/host/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 |
/host/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 |
[26/27] Compiling NDArray ArrayShape.swift
/host/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 |
/host/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 |
[27/27] Compiling NDArray BaseNDArray.swift
/host/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 |
/host/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 |
BUILD FAILURE 6.1 android