The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DL4S, reference 0.4.1 (1f90f8), with Swift 6.1 for Wasm on 28 May 2025 03:01:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

   |                                                                                  `- error: no exact matches in call to initializer
39 |         selfAttention.parameterPaths.map((\Self.selfAttention).appending(path:)),
40 |         encoderAttention.parameterPaths.map((\Self.encoderAttention).appending(path:)),
Swift.Array.init:2:19: note: candidate requires that the types 'WritableKeyPath<TransformerDecoderBlock<Element, Device>, Tensor<Element, Device>>' and 'FlattenSequence<[[KeyPath<TransformerDecoderBlock<Element, Device>, Tensor<Element, Device>>]]>.Iterator.Element' (aka 'KeyPath<TransformerDecoderBlock<Element, Device>, Tensor<Element, Device>>') be equivalent (requirement specified as 'Element' == 'S.Element')
1 | generic struct Array {
2 | @inlinable public init<S>(_ s: S) where Element == S.Element, S : Sequence}
  |                   `- note: candidate requires that the types 'WritableKeyPath<TransformerDecoderBlock<Element, Device>, Tensor<Element, Device>>' and 'FlattenSequence<[[KeyPath<TransformerDecoderBlock<Element, Device>, Tensor<Element, Device>>]]>.Iterator.Element' (aka 'KeyPath<TransformerDecoderBlock<Element, Device>, Tensor<Element, Device>>') be equivalent (requirement specified as 'Element' == 'S.Element')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: candidate requires that the types 'WritableKeyPath<TransformerDecoderBlock<Element, Device>, Tensor<Element, Device>>' and 'FlattenSequence<[[KeyPath<TransformerDecoderBlock<Element, Device>, Tensor<Element, Device>>]]>.Iterator.Element' (aka 'KeyPath<TransformerDecoderBlock<Element, Device>, Tensor<Element, Device>>') be equivalent (requirement specified as 'Self.Element' == 'S.Element')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that the types 'WritableKeyPath<TransformerDecoderBlock<Element, Device>, Tensor<Element, Device>>' and 'FlattenSequence<[[KeyPath<TransformerDecoderBlock<Element, Device>, Tensor<Element, Device>>]]>.Iterator.Element' (aka 'KeyPath<TransformerDecoderBlock<Element, Device>, Tensor<Element, Device>>') be equivalent (requirement specified as 'Self.Element' == 'S.Element')
3 |
/host/spi-builder-workspace/Sources/DL4S/NN/Models/Transformer/TransformerEncoder.swift:36:82: error: no exact matches in call to initializer
34 |     ].joined())}
35 |
36 |     public var parameterPaths: [WritableKeyPath<Self, Tensor<Element, Device>>] {Array([
   |                                                                                  `- error: no exact matches in call to initializer
37 |         encoderLayers.enumerated().flatMap { (idx, layer) in
38 |             layer.parameterPaths.map((\Self.encoderLayers[idx]).appending(path:))
Swift.Array.init:2:19: note: candidate requires that the types 'WritableKeyPath<TransformerEncoder<Element, Device>, Tensor<Element, Device>>' and 'FlattenSequence<[[KeyPath<TransformerEncoder<Element, Device>, Tensor<Element, Device>>]]>.Iterator.Element' (aka 'KeyPath<TransformerEncoder<Element, Device>, Tensor<Element, Device>>') be equivalent (requirement specified as 'Element' == 'S.Element')
1 | generic struct Array {
2 | @inlinable public init<S>(_ s: S) where Element == S.Element, S : Sequence}
  |                   `- note: candidate requires that the types 'WritableKeyPath<TransformerEncoder<Element, Device>, Tensor<Element, Device>>' and 'FlattenSequence<[[KeyPath<TransformerEncoder<Element, Device>, Tensor<Element, Device>>]]>.Iterator.Element' (aka 'KeyPath<TransformerEncoder<Element, Device>, Tensor<Element, Device>>') be equivalent (requirement specified as 'Element' == 'S.Element')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: candidate requires that the types 'WritableKeyPath<TransformerEncoder<Element, Device>, Tensor<Element, Device>>' and 'FlattenSequence<[[KeyPath<TransformerEncoder<Element, Device>, Tensor<Element, Device>>]]>.Iterator.Element' (aka 'KeyPath<TransformerEncoder<Element, Device>, Tensor<Element, Device>>') be equivalent (requirement specified as 'Self.Element' == 'S.Element')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
  |                   `- note: candidate requires that the types 'WritableKeyPath<TransformerEncoder<Element, Device>, Tensor<Element, Device>>' and 'FlattenSequence<[[KeyPath<TransformerEncoder<Element, Device>, Tensor<Element, Device>>]]>.Iterator.Element' (aka 'KeyPath<TransformerEncoder<Element, Device>, Tensor<Element, Device>>') be equivalent (requirement specified as 'Self.Element' == 'S.Element')
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/70] Emitting module DL4S
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift:91:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 89 |
 90 | /// A layer builder can be used to create sequences of layers
 91 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 92 | public enum LayerBuilder {}
 93 |
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
27 |
28 |
29 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |     public func write(_ string: String) {
31 |         self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:44:31: error: cannot find 'DispatchSemaphore' in scope
 42 |     }
 43 |     private static var allocations: [UnsafeMutableRawBufferPointer: [String]] = [:]
 44 |     private static let sema = DispatchSemaphore(value: 1)
    |                               `- error: cannot find 'DispatchSemaphore' in scope
 45 |
 46 |     @inline(__always)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:31:10: warning: Compiling DL4S without any accelerator library
 29 | import Accelerate
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
    |          `- warning: Compiling DL4S without any accelerator library
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
 33 | #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
    |          `- warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 33 | #endif
 34 | #if os(Linux)
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 26 | import Foundation
 27 |
 28 | extension UnsafeMutableRawBufferPointer: Hashable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', '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 |     public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
 30 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 89 | }
 90 |
 91 | extension UnsafeMutableBufferPointer: Equatable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 92 |     public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
 93 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Numerics/Int32.swift:29:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 27 |
 28 |
 29 | extension Int32: NumericType {
    | |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 30 |     public func format(maxDecimals: Int) -> String {
 31 |         return "\(self)"
/host/spi-builder-workspace/Sources/DL4S/Util.swift:93:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 91 | }
 92 |
 93 | extension Slice: Equatable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 94 |     public static func == (lhs: Slice<Base>, rhs: Slice<Base>) -> Bool {
 95 |         return lhs.count == rhs.count && !zip(lhs, rhs).map(==).contains(false)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:99:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 97 | }
 98 |
 99 | extension Slice: Hashable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
100 |     public func hash(into hasher: inout Hasher) {
101 |         for element in self {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:122:11: error: cannot find type 'DispatchSemaphore' in scope
120 |
121 |
122 | extension DispatchSemaphore {
    |           `- error: cannot find type 'DispatchSemaphore' in scope
123 |     func execute<Result>(_ block: () throws -> Result) rethrows -> Result {
124 |         self.wait()
/host/spi-builder-workspace/Sources/DL4S/Util.swift:133:24: error: cannot find 'DispatchSemaphore' in scope
131 |
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:134:29: error: cannot find type 'DispatchSemaphore' in scope
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
    |                             `- error: cannot find type 'DispatchSemaphore' in scope
135 |     private let lock = DispatchSemaphore(value: 1)
136 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:135:24: error: cannot find 'DispatchSemaphore' in scope
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
136 |
137 |     public private(set) var isStopped: Bool = false
/host/spi-builder-workspace/Sources/DL4S/Util.swift:251:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
248 |
249 |
250 | public struct Progress<Element>: Sequence {
    |                        `- note: 'Element' previously declared here
251 |     private struct ProgressIterator<Element>: IteratorProtocol {
    |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
252 |         var baseIterator: AnyIterator<Element>
253 |         let totalUnitCount: Int
[3/79] Compiling DL4S Scatter.swift
/host/spi-builder-workspace/Sources/DL4S/Util.swift:93:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 91 | }
 92 |
 93 | extension Slice: Equatable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 94 |     public static func == (lhs: Slice<Base>, rhs: Slice<Base>) -> Bool {
 95 |         return lhs.count == rhs.count && !zip(lhs, rhs).map(==).contains(false)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:99:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 97 | }
 98 |
 99 | extension Slice: Hashable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
100 |     public func hash(into hasher: inout Hasher) {
101 |         for element in self {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:122:11: error: cannot find type 'DispatchSemaphore' in scope
120 |
121 |
122 | extension DispatchSemaphore {
    |           `- error: cannot find type 'DispatchSemaphore' in scope
123 |     func execute<Result>(_ block: () throws -> Result) rethrows -> Result {
124 |         self.wait()
/host/spi-builder-workspace/Sources/DL4S/Util.swift:133:24: error: cannot find 'DispatchSemaphore' in scope
131 |
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:134:29: error: cannot find type 'DispatchSemaphore' in scope
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
    |                             `- error: cannot find type 'DispatchSemaphore' in scope
135 |     private let lock = DispatchSemaphore(value: 1)
136 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:135:24: error: cannot find 'DispatchSemaphore' in scope
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
136 |
137 |     public private(set) var isStopped: Bool = false
/host/spi-builder-workspace/Sources/DL4S/Util.swift:251:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
248 |
249 |
250 | public struct Progress<Element>: Sequence {
    |                        `- note: 'Element' previously declared here
251 |     private struct ProgressIterator<Element>: IteratorProtocol {
    |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
252 |         var baseIterator: AnyIterator<Element>
253 |         let totalUnitCount: Int
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:41: error: cannot find 'DispatchSemaphore' in scope
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                         `- error: cannot find 'DispatchSemaphore' in scope
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:59: error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                                           `- error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'E' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'E' could not be inferred
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'U' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'U' could not be inferred
144 |     }
145 |
Swift.Optional.map:2:13: note: in call to function 'map'
1 | generic enum Optional {
2 | public func map<E, U>(_ transform: (Wrapped) throws(E) -> U) throws(E) -> U? where E : Error, U : ~Copyable}
  |             `- note: in call to function 'map'
3 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:381:20: error: cannot find 'autoreleasepool' in scope
379 |
380 |         mutating func next() -> String? {
381 |             return autoreleasepool { () -> String? in
    |                    `- error: cannot find 'autoreleasepool' in scope
382 |                 guard let handle = self.handle, !isCompleted else {
383 |                     return nil
/host/spi-builder-workspace/Sources/DL4S/Util.swift:427:21: error: cannot find 'Thread' in scope
425 |     var wrappedValue: Value {
426 |         get {
427 |             return (Thread.current.threadDictionary[key] as? Value) ?? initialValue
    |                     `- error: cannot find 'Thread' in scope
428 |         }
429 |         set {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:430:13: error: cannot find 'Thread' in scope
428 |         }
429 |         set {
430 |             Thread.current.threadDictionary[key] = newValue
    |             `- error: cannot find 'Thread' in scope
431 |         }
432 |     }
[4/79] Compiling DL4S Shape.swift
/host/spi-builder-workspace/Sources/DL4S/Util.swift:93:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 91 | }
 92 |
 93 | extension Slice: Equatable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 94 |     public static func == (lhs: Slice<Base>, rhs: Slice<Base>) -> Bool {
 95 |         return lhs.count == rhs.count && !zip(lhs, rhs).map(==).contains(false)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:99:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 97 | }
 98 |
 99 | extension Slice: Hashable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
100 |     public func hash(into hasher: inout Hasher) {
101 |         for element in self {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:122:11: error: cannot find type 'DispatchSemaphore' in scope
120 |
121 |
122 | extension DispatchSemaphore {
    |           `- error: cannot find type 'DispatchSemaphore' in scope
123 |     func execute<Result>(_ block: () throws -> Result) rethrows -> Result {
124 |         self.wait()
/host/spi-builder-workspace/Sources/DL4S/Util.swift:133:24: error: cannot find 'DispatchSemaphore' in scope
131 |
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:134:29: error: cannot find type 'DispatchSemaphore' in scope
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
    |                             `- error: cannot find type 'DispatchSemaphore' in scope
135 |     private let lock = DispatchSemaphore(value: 1)
136 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:135:24: error: cannot find 'DispatchSemaphore' in scope
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
136 |
137 |     public private(set) var isStopped: Bool = false
/host/spi-builder-workspace/Sources/DL4S/Util.swift:251:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
248 |
249 |
250 | public struct Progress<Element>: Sequence {
    |                        `- note: 'Element' previously declared here
251 |     private struct ProgressIterator<Element>: IteratorProtocol {
    |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
252 |         var baseIterator: AnyIterator<Element>
253 |         let totalUnitCount: Int
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:41: error: cannot find 'DispatchSemaphore' in scope
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                         `- error: cannot find 'DispatchSemaphore' in scope
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:59: error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                                           `- error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'E' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'E' could not be inferred
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'U' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'U' could not be inferred
144 |     }
145 |
Swift.Optional.map:2:13: note: in call to function 'map'
1 | generic enum Optional {
2 | public func map<E, U>(_ transform: (Wrapped) throws(E) -> U) throws(E) -> U? where E : Error, U : ~Copyable}
  |             `- note: in call to function 'map'
3 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:381:20: error: cannot find 'autoreleasepool' in scope
379 |
380 |         mutating func next() -> String? {
381 |             return autoreleasepool { () -> String? in
    |                    `- error: cannot find 'autoreleasepool' in scope
382 |                 guard let handle = self.handle, !isCompleted else {
383 |                     return nil
/host/spi-builder-workspace/Sources/DL4S/Util.swift:427:21: error: cannot find 'Thread' in scope
425 |     var wrappedValue: Value {
426 |         get {
427 |             return (Thread.current.threadDictionary[key] as? Value) ?? initialValue
    |                     `- error: cannot find 'Thread' in scope
428 |         }
429 |         set {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:430:13: error: cannot find 'Thread' in scope
428 |         }
429 |         set {
430 |             Thread.current.threadDictionary[key] = newValue
    |             `- error: cannot find 'Thread' in scope
431 |         }
432 |     }
[5/79] Compiling DL4S Stack.swift
/host/spi-builder-workspace/Sources/DL4S/Util.swift:93:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 91 | }
 92 |
 93 | extension Slice: Equatable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 94 |     public static func == (lhs: Slice<Base>, rhs: Slice<Base>) -> Bool {
 95 |         return lhs.count == rhs.count && !zip(lhs, rhs).map(==).contains(false)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:99:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 97 | }
 98 |
 99 | extension Slice: Hashable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
100 |     public func hash(into hasher: inout Hasher) {
101 |         for element in self {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:122:11: error: cannot find type 'DispatchSemaphore' in scope
120 |
121 |
122 | extension DispatchSemaphore {
    |           `- error: cannot find type 'DispatchSemaphore' in scope
123 |     func execute<Result>(_ block: () throws -> Result) rethrows -> Result {
124 |         self.wait()
/host/spi-builder-workspace/Sources/DL4S/Util.swift:133:24: error: cannot find 'DispatchSemaphore' in scope
131 |
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:134:29: error: cannot find type 'DispatchSemaphore' in scope
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
    |                             `- error: cannot find type 'DispatchSemaphore' in scope
135 |     private let lock = DispatchSemaphore(value: 1)
136 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:135:24: error: cannot find 'DispatchSemaphore' in scope
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
136 |
137 |     public private(set) var isStopped: Bool = false
/host/spi-builder-workspace/Sources/DL4S/Util.swift:251:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
248 |
249 |
250 | public struct Progress<Element>: Sequence {
    |                        `- note: 'Element' previously declared here
251 |     private struct ProgressIterator<Element>: IteratorProtocol {
    |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
252 |         var baseIterator: AnyIterator<Element>
253 |         let totalUnitCount: Int
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:41: error: cannot find 'DispatchSemaphore' in scope
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                         `- error: cannot find 'DispatchSemaphore' in scope
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:59: error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                                           `- error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'E' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'E' could not be inferred
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'U' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'U' could not be inferred
144 |     }
145 |
Swift.Optional.map:2:13: note: in call to function 'map'
1 | generic enum Optional {
2 | public func map<E, U>(_ transform: (Wrapped) throws(E) -> U) throws(E) -> U? where E : Error, U : ~Copyable}
  |             `- note: in call to function 'map'
3 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:381:20: error: cannot find 'autoreleasepool' in scope
379 |
380 |         mutating func next() -> String? {
381 |             return autoreleasepool { () -> String? in
    |                    `- error: cannot find 'autoreleasepool' in scope
382 |                 guard let handle = self.handle, !isCompleted else {
383 |                     return nil
/host/spi-builder-workspace/Sources/DL4S/Util.swift:427:21: error: cannot find 'Thread' in scope
425 |     var wrappedValue: Value {
426 |         get {
427 |             return (Thread.current.threadDictionary[key] as? Value) ?? initialValue
    |                     `- error: cannot find 'Thread' in scope
428 |         }
429 |         set {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:430:13: error: cannot find 'Thread' in scope
428 |         }
429 |         set {
430 |             Thread.current.threadDictionary[key] = newValue
    |             `- error: cannot find 'Thread' in scope
431 |         }
432 |     }
[6/79] Compiling DL4S Subscript.swift
/host/spi-builder-workspace/Sources/DL4S/Util.swift:93:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 91 | }
 92 |
 93 | extension Slice: Equatable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 94 |     public static func == (lhs: Slice<Base>, rhs: Slice<Base>) -> Bool {
 95 |         return lhs.count == rhs.count && !zip(lhs, rhs).map(==).contains(false)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:99:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 97 | }
 98 |
 99 | extension Slice: Hashable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
100 |     public func hash(into hasher: inout Hasher) {
101 |         for element in self {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:122:11: error: cannot find type 'DispatchSemaphore' in scope
120 |
121 |
122 | extension DispatchSemaphore {
    |           `- error: cannot find type 'DispatchSemaphore' in scope
123 |     func execute<Result>(_ block: () throws -> Result) rethrows -> Result {
124 |         self.wait()
/host/spi-builder-workspace/Sources/DL4S/Util.swift:133:24: error: cannot find 'DispatchSemaphore' in scope
131 |
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:134:29: error: cannot find type 'DispatchSemaphore' in scope
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
    |                             `- error: cannot find type 'DispatchSemaphore' in scope
135 |     private let lock = DispatchSemaphore(value: 1)
136 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:135:24: error: cannot find 'DispatchSemaphore' in scope
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
136 |
137 |     public private(set) var isStopped: Bool = false
/host/spi-builder-workspace/Sources/DL4S/Util.swift:251:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
248 |
249 |
250 | public struct Progress<Element>: Sequence {
    |                        `- note: 'Element' previously declared here
251 |     private struct ProgressIterator<Element>: IteratorProtocol {
    |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
252 |         var baseIterator: AnyIterator<Element>
253 |         let totalUnitCount: Int
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:41: error: cannot find 'DispatchSemaphore' in scope
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                         `- error: cannot find 'DispatchSemaphore' in scope
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:59: error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                                           `- error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'E' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'E' could not be inferred
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'U' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'U' could not be inferred
144 |     }
145 |
Swift.Optional.map:2:13: note: in call to function 'map'
1 | generic enum Optional {
2 | public func map<E, U>(_ transform: (Wrapped) throws(E) -> U) throws(E) -> U? where E : Error, U : ~Copyable}
  |             `- note: in call to function 'map'
3 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:381:20: error: cannot find 'autoreleasepool' in scope
379 |
380 |         mutating func next() -> String? {
381 |             return autoreleasepool { () -> String? in
    |                    `- error: cannot find 'autoreleasepool' in scope
382 |                 guard let handle = self.handle, !isCompleted else {
383 |                     return nil
/host/spi-builder-workspace/Sources/DL4S/Util.swift:427:21: error: cannot find 'Thread' in scope
425 |     var wrappedValue: Value {
426 |         get {
427 |             return (Thread.current.threadDictionary[key] as? Value) ?? initialValue
    |                     `- error: cannot find 'Thread' in scope
428 |         }
429 |         set {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:430:13: error: cannot find 'Thread' in scope
428 |         }
429 |         set {
430 |             Thread.current.threadDictionary[key] = newValue
    |             `- error: cannot find 'Thread' in scope
431 |         }
432 |     }
[7/79] Compiling DL4S Unary.swift
/host/spi-builder-workspace/Sources/DL4S/Util.swift:93:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 91 | }
 92 |
 93 | extension Slice: Equatable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 94 |     public static func == (lhs: Slice<Base>, rhs: Slice<Base>) -> Bool {
 95 |         return lhs.count == rhs.count && !zip(lhs, rhs).map(==).contains(false)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:99:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 97 | }
 98 |
 99 | extension Slice: Hashable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
100 |     public func hash(into hasher: inout Hasher) {
101 |         for element in self {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:122:11: error: cannot find type 'DispatchSemaphore' in scope
120 |
121 |
122 | extension DispatchSemaphore {
    |           `- error: cannot find type 'DispatchSemaphore' in scope
123 |     func execute<Result>(_ block: () throws -> Result) rethrows -> Result {
124 |         self.wait()
/host/spi-builder-workspace/Sources/DL4S/Util.swift:133:24: error: cannot find 'DispatchSemaphore' in scope
131 |
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:134:29: error: cannot find type 'DispatchSemaphore' in scope
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
    |                             `- error: cannot find type 'DispatchSemaphore' in scope
135 |     private let lock = DispatchSemaphore(value: 1)
136 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:135:24: error: cannot find 'DispatchSemaphore' in scope
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
136 |
137 |     public private(set) var isStopped: Bool = false
/host/spi-builder-workspace/Sources/DL4S/Util.swift:251:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
248 |
249 |
250 | public struct Progress<Element>: Sequence {
    |                        `- note: 'Element' previously declared here
251 |     private struct ProgressIterator<Element>: IteratorProtocol {
    |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
252 |         var baseIterator: AnyIterator<Element>
253 |         let totalUnitCount: Int
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:41: error: cannot find 'DispatchSemaphore' in scope
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                         `- error: cannot find 'DispatchSemaphore' in scope
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:59: error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                                           `- error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'E' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'E' could not be inferred
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'U' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'U' could not be inferred
144 |     }
145 |
Swift.Optional.map:2:13: note: in call to function 'map'
1 | generic enum Optional {
2 | public func map<E, U>(_ transform: (Wrapped) throws(E) -> U) throws(E) -> U? where E : Error, U : ~Copyable}
  |             `- note: in call to function 'map'
3 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:381:20: error: cannot find 'autoreleasepool' in scope
379 |
380 |         mutating func next() -> String? {
381 |             return autoreleasepool { () -> String? in
    |                    `- error: cannot find 'autoreleasepool' in scope
382 |                 guard let handle = self.handle, !isCompleted else {
383 |                     return nil
/host/spi-builder-workspace/Sources/DL4S/Util.swift:427:21: error: cannot find 'Thread' in scope
425 |     var wrappedValue: Value {
426 |         get {
427 |             return (Thread.current.threadDictionary[key] as? Value) ?? initialValue
    |                     `- error: cannot find 'Thread' in scope
428 |         }
429 |         set {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:430:13: error: cannot find 'Thread' in scope
428 |         }
429 |         set {
430 |             Thread.current.threadDictionary[key] = newValue
    |             `- error: cannot find 'Thread' in scope
431 |         }
432 |     }
[8/79] Compiling DL4S UtilOps.swift
/host/spi-builder-workspace/Sources/DL4S/Util.swift:93:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 91 | }
 92 |
 93 | extension Slice: Equatable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 94 |     public static func == (lhs: Slice<Base>, rhs: Slice<Base>) -> Bool {
 95 |         return lhs.count == rhs.count && !zip(lhs, rhs).map(==).contains(false)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:99:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 97 | }
 98 |
 99 | extension Slice: Hashable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
100 |     public func hash(into hasher: inout Hasher) {
101 |         for element in self {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:122:11: error: cannot find type 'DispatchSemaphore' in scope
120 |
121 |
122 | extension DispatchSemaphore {
    |           `- error: cannot find type 'DispatchSemaphore' in scope
123 |     func execute<Result>(_ block: () throws -> Result) rethrows -> Result {
124 |         self.wait()
/host/spi-builder-workspace/Sources/DL4S/Util.swift:133:24: error: cannot find 'DispatchSemaphore' in scope
131 |
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:134:29: error: cannot find type 'DispatchSemaphore' in scope
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
    |                             `- error: cannot find type 'DispatchSemaphore' in scope
135 |     private let lock = DispatchSemaphore(value: 1)
136 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:135:24: error: cannot find 'DispatchSemaphore' in scope
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
136 |
137 |     public private(set) var isStopped: Bool = false
/host/spi-builder-workspace/Sources/DL4S/Util.swift:251:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
248 |
249 |
250 | public struct Progress<Element>: Sequence {
    |                        `- note: 'Element' previously declared here
251 |     private struct ProgressIterator<Element>: IteratorProtocol {
    |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
252 |         var baseIterator: AnyIterator<Element>
253 |         let totalUnitCount: Int
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:41: error: cannot find 'DispatchSemaphore' in scope
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                         `- error: cannot find 'DispatchSemaphore' in scope
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:59: error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                                           `- error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'E' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'E' could not be inferred
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'U' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'U' could not be inferred
144 |     }
145 |
Swift.Optional.map:2:13: note: in call to function 'map'
1 | generic enum Optional {
2 | public func map<E, U>(_ transform: (Wrapped) throws(E) -> U) throws(E) -> U? where E : Error, U : ~Copyable}
  |             `- note: in call to function 'map'
3 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:381:20: error: cannot find 'autoreleasepool' in scope
379 |
380 |         mutating func next() -> String? {
381 |             return autoreleasepool { () -> String? in
    |                    `- error: cannot find 'autoreleasepool' in scope
382 |                 guard let handle = self.handle, !isCompleted else {
383 |                     return nil
/host/spi-builder-workspace/Sources/DL4S/Util.swift:427:21: error: cannot find 'Thread' in scope
425 |     var wrappedValue: Value {
426 |         get {
427 |             return (Thread.current.threadDictionary[key] as? Value) ?? initialValue
    |                     `- error: cannot find 'Thread' in scope
428 |         }
429 |         set {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:430:13: error: cannot find 'Thread' in scope
428 |         }
429 |         set {
430 |             Thread.current.threadDictionary[key] = newValue
    |             `- error: cannot find 'Thread' in scope
431 |         }
432 |     }
[9/79] Compiling DL4S Tensor.swift
/host/spi-builder-workspace/Sources/DL4S/Util.swift:93:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 91 | }
 92 |
 93 | extension Slice: Equatable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 94 |     public static func == (lhs: Slice<Base>, rhs: Slice<Base>) -> Bool {
 95 |         return lhs.count == rhs.count && !zip(lhs, rhs).map(==).contains(false)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:99:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 97 | }
 98 |
 99 | extension Slice: Hashable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
100 |     public func hash(into hasher: inout Hasher) {
101 |         for element in self {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:122:11: error: cannot find type 'DispatchSemaphore' in scope
120 |
121 |
122 | extension DispatchSemaphore {
    |           `- error: cannot find type 'DispatchSemaphore' in scope
123 |     func execute<Result>(_ block: () throws -> Result) rethrows -> Result {
124 |         self.wait()
/host/spi-builder-workspace/Sources/DL4S/Util.swift:133:24: error: cannot find 'DispatchSemaphore' in scope
131 |
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:134:29: error: cannot find type 'DispatchSemaphore' in scope
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
    |                             `- error: cannot find type 'DispatchSemaphore' in scope
135 |     private let lock = DispatchSemaphore(value: 1)
136 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:135:24: error: cannot find 'DispatchSemaphore' in scope
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
136 |
137 |     public private(set) var isStopped: Bool = false
/host/spi-builder-workspace/Sources/DL4S/Util.swift:251:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
248 |
249 |
250 | public struct Progress<Element>: Sequence {
    |                        `- note: 'Element' previously declared here
251 |     private struct ProgressIterator<Element>: IteratorProtocol {
    |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
252 |         var baseIterator: AnyIterator<Element>
253 |         let totalUnitCount: Int
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:41: error: cannot find 'DispatchSemaphore' in scope
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                         `- error: cannot find 'DispatchSemaphore' in scope
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:59: error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                                           `- error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'E' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'E' could not be inferred
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'U' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'U' could not be inferred
144 |     }
145 |
Swift.Optional.map:2:13: note: in call to function 'map'
1 | generic enum Optional {
2 | public func map<E, U>(_ transform: (Wrapped) throws(E) -> U) throws(E) -> U? where E : Error, U : ~Copyable}
  |             `- note: in call to function 'map'
3 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:381:20: error: cannot find 'autoreleasepool' in scope
379 |
380 |         mutating func next() -> String? {
381 |             return autoreleasepool { () -> String? in
    |                    `- error: cannot find 'autoreleasepool' in scope
382 |                 guard let handle = self.handle, !isCompleted else {
383 |                     return nil
/host/spi-builder-workspace/Sources/DL4S/Util.swift:427:21: error: cannot find 'Thread' in scope
425 |     var wrappedValue: Value {
426 |         get {
427 |             return (Thread.current.threadDictionary[key] as? Value) ?? initialValue
    |                     `- error: cannot find 'Thread' in scope
428 |         }
429 |         set {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:430:13: error: cannot find 'Thread' in scope
428 |         }
429 |         set {
430 |             Thread.current.threadDictionary[key] = newValue
    |             `- error: cannot find 'Thread' in scope
431 |         }
432 |     }
[10/79] Compiling DL4S TensorExt.swift
/host/spi-builder-workspace/Sources/DL4S/Util.swift:93:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 91 | }
 92 |
 93 | extension Slice: Equatable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 94 |     public static func == (lhs: Slice<Base>, rhs: Slice<Base>) -> Bool {
 95 |         return lhs.count == rhs.count && !zip(lhs, rhs).map(==).contains(false)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:99:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 97 | }
 98 |
 99 | extension Slice: Hashable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
100 |     public func hash(into hasher: inout Hasher) {
101 |         for element in self {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:122:11: error: cannot find type 'DispatchSemaphore' in scope
120 |
121 |
122 | extension DispatchSemaphore {
    |           `- error: cannot find type 'DispatchSemaphore' in scope
123 |     func execute<Result>(_ block: () throws -> Result) rethrows -> Result {
124 |         self.wait()
/host/spi-builder-workspace/Sources/DL4S/Util.swift:133:24: error: cannot find 'DispatchSemaphore' in scope
131 |
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:134:29: error: cannot find type 'DispatchSemaphore' in scope
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
    |                             `- error: cannot find type 'DispatchSemaphore' in scope
135 |     private let lock = DispatchSemaphore(value: 1)
136 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:135:24: error: cannot find 'DispatchSemaphore' in scope
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
136 |
137 |     public private(set) var isStopped: Bool = false
/host/spi-builder-workspace/Sources/DL4S/Util.swift:251:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
248 |
249 |
250 | public struct Progress<Element>: Sequence {
    |                        `- note: 'Element' previously declared here
251 |     private struct ProgressIterator<Element>: IteratorProtocol {
    |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
252 |         var baseIterator: AnyIterator<Element>
253 |         let totalUnitCount: Int
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:41: error: cannot find 'DispatchSemaphore' in scope
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                         `- error: cannot find 'DispatchSemaphore' in scope
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:59: error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                                           `- error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'E' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'E' could not be inferred
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'U' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'U' could not be inferred
144 |     }
145 |
Swift.Optional.map:2:13: note: in call to function 'map'
1 | generic enum Optional {
2 | public func map<E, U>(_ transform: (Wrapped) throws(E) -> U) throws(E) -> U? where E : Error, U : ~Copyable}
  |             `- note: in call to function 'map'
3 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:381:20: error: cannot find 'autoreleasepool' in scope
379 |
380 |         mutating func next() -> String? {
381 |             return autoreleasepool { () -> String? in
    |                    `- error: cannot find 'autoreleasepool' in scope
382 |                 guard let handle = self.handle, !isCompleted else {
383 |                     return nil
/host/spi-builder-workspace/Sources/DL4S/Util.swift:427:21: error: cannot find 'Thread' in scope
425 |     var wrappedValue: Value {
426 |         get {
427 |             return (Thread.current.threadDictionary[key] as? Value) ?? initialValue
    |                     `- error: cannot find 'Thread' in scope
428 |         }
429 |         set {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:430:13: error: cannot find 'Thread' in scope
428 |         }
429 |         set {
430 |             Thread.current.threadDictionary[key] = newValue
    |             `- error: cannot find 'Thread' in scope
431 |         }
432 |     }
[11/79] Compiling DL4S Util.swift
/host/spi-builder-workspace/Sources/DL4S/Util.swift:93:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 91 | }
 92 |
 93 | extension Slice: Equatable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 94 |     public static func == (lhs: Slice<Base>, rhs: Slice<Base>) -> Bool {
 95 |         return lhs.count == rhs.count && !zip(lhs, rhs).map(==).contains(false)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:99:1: warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 97 | }
 98 |
 99 | extension Slice: Hashable where Element: Hashable {
    | |- warning: extension declares a conformance of imported type 'Slice' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
100 |     public func hash(into hasher: inout Hasher) {
101 |         for element in self {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:122:11: error: cannot find type 'DispatchSemaphore' in scope
120 |
121 |
122 | extension DispatchSemaphore {
    |           `- error: cannot find type 'DispatchSemaphore' in scope
123 |     func execute<Result>(_ block: () throws -> Result) rethrows -> Result {
124 |         self.wait()
/host/spi-builder-workspace/Sources/DL4S/Util.swift:133:24: error: cannot find 'DispatchSemaphore' in scope
131 |
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:134:29: error: cannot find type 'DispatchSemaphore' in scope
132 | public class Queue<Element> {
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
    |                             `- error: cannot find type 'DispatchSemaphore' in scope
135 |     private let lock = DispatchSemaphore(value: 1)
136 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:135:24: error: cannot find 'DispatchSemaphore' in scope
133 |     private let sema = DispatchSemaphore(value: 0)
134 |     private let maxLenSema: DispatchSemaphore?
135 |     private let lock = DispatchSemaphore(value: 1)
    |                        `- error: cannot find 'DispatchSemaphore' in scope
136 |
137 |     public private(set) var isStopped: Bool = false
/host/spi-builder-workspace/Sources/DL4S/Util.swift:251:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
248 |
249 |
250 | public struct Progress<Element>: Sequence {
    |                        `- note: 'Element' previously declared here
251 |     private struct ProgressIterator<Element>: IteratorProtocol {
    |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
252 |         var baseIterator: AnyIterator<Element>
253 |         let totalUnitCount: Int
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:41: error: cannot find 'DispatchSemaphore' in scope
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                         `- error: cannot find 'DispatchSemaphore' in scope
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:59: error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                                           `- error: converting non-escaping value to '(Int) throws(E) -> U' may allow it to escape
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'E' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'E' could not be inferred
144 |     }
145 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:143:37: error: generic parameter 'U' could not be inferred
141 |     public init(maxLength: Int? = nil) {
142 |         self.maxLength = maxLength
143 |         self.maxLenSema = maxLength.map(DispatchSemaphore.init(value:))
    |                                     `- error: generic parameter 'U' could not be inferred
144 |     }
145 |
Swift.Optional.map:2:13: note: in call to function 'map'
1 | generic enum Optional {
2 | public func map<E, U>(_ transform: (Wrapped) throws(E) -> U) throws(E) -> U? where E : Error, U : ~Copyable}
  |             `- note: in call to function 'map'
3 |
/host/spi-builder-workspace/Sources/DL4S/Util.swift:381:20: error: cannot find 'autoreleasepool' in scope
379 |
380 |         mutating func next() -> String? {
381 |             return autoreleasepool { () -> String? in
    |                    `- error: cannot find 'autoreleasepool' in scope
382 |                 guard let handle = self.handle, !isCompleted else {
383 |                     return nil
/host/spi-builder-workspace/Sources/DL4S/Util.swift:427:21: error: cannot find 'Thread' in scope
425 |     var wrappedValue: Value {
426 |         get {
427 |             return (Thread.current.threadDictionary[key] as? Value) ?? initialValue
    |                     `- error: cannot find 'Thread' in scope
428 |         }
429 |         set {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:430:13: error: cannot find 'Thread' in scope
428 |         }
429 |         set {
430 |             Thread.current.threadDictionary[key] = newValue
    |             `- error: cannot find 'Thread' in scope
431 |         }
432 |     }
[12/79] Compiling DL4S LearningRate.swift
/host/spi-builder-workspace/Sources/DL4S/Numerics/Int32.swift:29:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 27 |
 28 |
 29 | extension Int32: NumericType {
    | |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 30 |     public func format(maxDecimals: Int) -> String {
 31 |         return "\(self)"
[13/79] Compiling DL4S Momentum.swift
/host/spi-builder-workspace/Sources/DL4S/Numerics/Int32.swift:29:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 27 |
 28 |
 29 | extension Int32: NumericType {
    | |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 30 |     public func format(maxDecimals: Int) -> String {
 31 |         return "\(self)"
[14/79] Compiling DL4S Optim.swift
/host/spi-builder-workspace/Sources/DL4S/Numerics/Int32.swift:29:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 27 |
 28 |
 29 | extension Int32: NumericType {
    | |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 30 |     public func format(maxDecimals: Int) -> String {
 31 |         return "\(self)"
[15/79] Compiling DL4S RMSProp.swift
/host/spi-builder-workspace/Sources/DL4S/Numerics/Int32.swift:29:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 27 |
 28 |
 29 | extension Int32: NumericType {
    | |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 30 |     public func format(maxDecimals: Int) -> String {
 31 |         return "\(self)"
[16/79] Compiling DL4S SGD.swift
/host/spi-builder-workspace/Sources/DL4S/Numerics/Int32.swift:29:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 27 |
 28 |
 29 | extension Int32: NumericType {
    | |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 30 |     public func format(maxDecimals: Int) -> String {
 31 |         return "\(self)"
[17/79] Compiling DL4S Double.swift
/host/spi-builder-workspace/Sources/DL4S/Numerics/Int32.swift:29:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 27 |
 28 |
 29 | extension Int32: NumericType {
    | |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 30 |     public func format(maxDecimals: Int) -> String {
 31 |         return "\(self)"
[18/79] Compiling DL4S Float.swift
/host/spi-builder-workspace/Sources/DL4S/Numerics/Int32.swift:29:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 27 |
 28 |
 29 | extension Int32: NumericType {
    | |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 30 |     public func format(maxDecimals: Int) -> String {
 31 |         return "\(self)"
[19/79] Compiling DL4S Int32.swift
/host/spi-builder-workspace/Sources/DL4S/Numerics/Int32.swift:29:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 27 |
 28 |
 29 | extension Int32: NumericType {
    | |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 30 |     public func format(maxDecimals: Int) -> String {
 31 |         return "\(self)"
[20/79] Compiling DL4S NumericType.swift
/host/spi-builder-workspace/Sources/DL4S/Numerics/Int32.swift:29:1: warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 27 |
 28 |
 29 | extension Int32: NumericType {
    | |- warning: extension declares a conformance of imported type 'Int32' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 30 |     public func format(maxDecimals: Int) -> String {
 31 |         return "\(self)"
[21/79] Compiling DL4S GPU.swift
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 26 | import Foundation
 27 |
 28 | extension UnsafeMutableRawBufferPointer: Hashable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', '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 |     public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
 30 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 89 | }
 90 |
 91 | extension UnsafeMutableBufferPointer: Equatable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 92 |     public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
 93 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:63:27: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 61 |         precondition(self.count >= count, "Out of bounds write")
 62 |         //memcpy(self.baseAddress!, ptr.baseAddress!, count * MemoryLayout<Element>.stride)
 63 |         self.baseAddress!.assign(from: ptr.baseAddress!, count: count)
    |                           |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                           `- note: use 'update(from:count:)' instead
 64 |     }
 65 |
[22/79] Compiling DL4S Allocator.swift
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 26 | import Foundation
 27 |
 28 | extension UnsafeMutableRawBufferPointer: Hashable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', '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 |     public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
 30 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 89 | }
 90 |
 91 | extension UnsafeMutableBufferPointer: Equatable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 92 |     public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
 93 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:63:27: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 61 |         precondition(self.count >= count, "Out of bounds write")
 62 |         //memcpy(self.baseAddress!, ptr.baseAddress!, count * MemoryLayout<Element>.stride)
 63 |         self.baseAddress!.assign(from: ptr.baseAddress!, count: count)
    |                           |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                           `- note: use 'update(from:count:)' instead
 64 |     }
 65 |
[23/79] Compiling DL4S MemoryOps.swift
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 26 | import Foundation
 27 |
 28 | extension UnsafeMutableRawBufferPointer: Hashable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', '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 |     public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
 30 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 89 | }
 90 |
 91 | extension UnsafeMutableBufferPointer: Equatable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 92 |     public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
 93 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:63:27: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 61 |         precondition(self.count >= count, "Out of bounds write")
 62 |         //memcpy(self.baseAddress!, ptr.baseAddress!, count * MemoryLayout<Element>.stride)
 63 |         self.baseAddress!.assign(from: ptr.baseAddress!, count: count)
    |                           |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                           `- note: use 'update(from:count:)' instead
 64 |     }
 65 |
[24/79] Compiling DL4S Activation.swift
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 26 | import Foundation
 27 |
 28 | extension UnsafeMutableRawBufferPointer: Hashable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', '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 |     public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
 30 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 89 | }
 90 |
 91 | extension UnsafeMutableBufferPointer: Equatable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 92 |     public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
 93 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:63:27: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 61 |         precondition(self.count >= count, "Out of bounds write")
 62 |         //memcpy(self.baseAddress!, ptr.baseAddress!, count * MemoryLayout<Element>.stride)
 63 |         self.baseAddress!.assign(from: ptr.baseAddress!, count: count)
    |                           |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                           `- note: use 'update(from:count:)' instead
 64 |     }
 65 |
[25/79] Compiling DL4S BasicRNN.swift
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 26 | import Foundation
 27 |
 28 | extension UnsafeMutableRawBufferPointer: Hashable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', '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 |     public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
 30 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 89 | }
 90 |
 91 | extension UnsafeMutableBufferPointer: Equatable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 92 |     public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
 93 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:63:27: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 61 |         precondition(self.count >= count, "Out of bounds write")
 62 |         //memcpy(self.baseAddress!, ptr.baseAddress!, count * MemoryLayout<Element>.stride)
 63 |         self.baseAddress!.assign(from: ptr.baseAddress!, count: count)
    |                           |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                           `- note: use 'update(from:count:)' instead
 64 |     }
 65 |
[26/79] Compiling DL4S BatchNorm.swift
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 26 | import Foundation
 27 |
 28 | extension UnsafeMutableRawBufferPointer: Hashable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', '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 |     public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
 30 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 89 | }
 90 |
 91 | extension UnsafeMutableBufferPointer: Equatable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 92 |     public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
 93 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:63:27: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 61 |         precondition(self.count >= count, "Out of bounds write")
 62 |         //memcpy(self.baseAddress!, ptr.baseAddress!, count * MemoryLayout<Element>.stride)
 63 |         self.baseAddress!.assign(from: ptr.baseAddress!, count: count)
    |                           |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                           `- note: use 'update(from:count:)' instead
 64 |     }
 65 |
[27/79] Compiling DL4S BidirectionalRNN.swift
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 26 | import Foundation
 27 |
 28 | extension UnsafeMutableRawBufferPointer: Hashable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', '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 |     public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
 30 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 89 | }
 90 |
 91 | extension UnsafeMutableBufferPointer: Equatable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 92 |     public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
 93 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:63:27: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 61 |         precondition(self.count >= count, "Out of bounds write")
 62 |         //memcpy(self.baseAddress!, ptr.baseAddress!, count * MemoryLayout<Element>.stride)
 63 |         self.baseAddress!.assign(from: ptr.baseAddress!, count: count)
    |                           |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                           `- note: use 'update(from:count:)' instead
 64 |     }
 65 |
[28/79] Compiling DL4S Convolution.swift
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 26 | import Foundation
 27 |
 28 | extension UnsafeMutableRawBufferPointer: Hashable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', '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 |     public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
 30 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 89 | }
 90 |
 91 | extension UnsafeMutableBufferPointer: Equatable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 92 |     public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
 93 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:63:27: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 61 |         precondition(self.count >= count, "Out of bounds write")
 62 |         //memcpy(self.baseAddress!, ptr.baseAddress!, count * MemoryLayout<Element>.stride)
 63 |         self.baseAddress!.assign(from: ptr.baseAddress!, count: count)
    |                           |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                           `- note: use 'update(from:count:)' instead
 64 |     }
 65 |
[29/79] Compiling DL4S Dense.swift
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 26 | import Foundation
 27 |
 28 | extension UnsafeMutableRawBufferPointer: Hashable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', '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 |     public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
 30 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 89 | }
 90 |
 91 | extension UnsafeMutableBufferPointer: Equatable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 92 |     public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
 93 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:63:27: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 61 |         precondition(self.count >= count, "Out of bounds write")
 62 |         //memcpy(self.baseAddress!, ptr.baseAddress!, count * MemoryLayout<Element>.stride)
 63 |         self.baseAddress!.assign(from: ptr.baseAddress!, count: count)
    |                           |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                           `- note: use 'update(from:count:)' instead
 64 |     }
 65 |
[30/79] Compiling DL4S Dropout.swift
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 26 | import Foundation
 27 |
 28 | extension UnsafeMutableRawBufferPointer: Hashable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableRawBufferPointer' to imported protocols 'Hashable', '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 |     public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
 30 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 89 | }
 90 |
 91 | extension UnsafeMutableBufferPointer: Equatable {
    | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 92 |     public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
 93 |         return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:63:27: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 61 |         precondition(self.count >= count, "Out of bounds write")
 62 |         //memcpy(self.baseAddress!, ptr.baseAddress!, count * MemoryLayout<Element>.stride)
 63 |         self.baseAddress!.assign(from: ptr.baseAddress!, count: count)
    |                           |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                           `- note: use 'update(from:count:)' instead
 64 |     }
 65 |
[31/79] Compiling DL4S Random.swift
/host/spi-builder-workspace/Sources/DL4S/SummaryWriter.swift:47:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
45 |         }
46 |         if !FileManager.default.fileExists(atPath: eventsFile.path) {
47 |             FileManager.default.createFile(atPath: eventsFile.path, contents: nil, attributes: nil)
   |                                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
48 |         }
49 |
[32/79] Compiling DL4S SummaryWriter.swift
/host/spi-builder-workspace/Sources/DL4S/SummaryWriter.swift:47:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
45 |         }
46 |         if !FileManager.default.fileExists(atPath: eventsFile.path) {
47 |             FileManager.default.createFile(atPath: eventsFile.path, contents: nil, attributes: nil)
   |                                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
48 |         }
49 |
[33/79] Compiling DL4S Context.swift
/host/spi-builder-workspace/Sources/DL4S/SummaryWriter.swift:47:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
45 |         }
46 |         if !FileManager.default.fileExists(atPath: eventsFile.path) {
47 |             FileManager.default.createFile(atPath: eventsFile.path, contents: nil, attributes: nil)
   |                                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
48 |         }
49 |
[34/79] Compiling DL4S Graph.swift
/host/spi-builder-workspace/Sources/DL4S/SummaryWriter.swift:47:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
45 |         }
46 |         if !FileManager.default.fileExists(atPath: eventsFile.path) {
47 |             FileManager.default.createFile(atPath: eventsFile.path, contents: nil, attributes: nil)
   |                                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
48 |         }
49 |
[35/79] Compiling DL4S Binary.swift
/host/spi-builder-workspace/Sources/DL4S/SummaryWriter.swift:47:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
45 |         }
46 |         if !FileManager.default.fileExists(atPath: eventsFile.path) {
47 |             FileManager.default.createFile(atPath: eventsFile.path, contents: nil, attributes: nil)
   |                                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
48 |         }
49 |
[36/79] Compiling DL4S Conv.swift
/host/spi-builder-workspace/Sources/DL4S/SummaryWriter.swift:47:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
45 |         }
46 |         if !FileManager.default.fileExists(atPath: eventsFile.path) {
47 |             FileManager.default.createFile(atPath: eventsFile.path, contents: nil, attributes: nil)
   |                                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
48 |         }
49 |
[37/79] Compiling DL4S Loss.swift
/host/spi-builder-workspace/Sources/DL4S/SummaryWriter.swift:47:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
45 |         }
46 |         if !FileManager.default.fileExists(atPath: eventsFile.path) {
47 |             FileManager.default.createFile(atPath: eventsFile.path, contents: nil, attributes: nil)
   |                                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
48 |         }
49 |
[38/79] Compiling DL4S Matrix.swift
/host/spi-builder-workspace/Sources/DL4S/SummaryWriter.swift:47:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
45 |         }
46 |         if !FileManager.default.fileExists(atPath: eventsFile.path) {
47 |             FileManager.default.createFile(atPath: eventsFile.path, contents: nil, attributes: nil)
   |                                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
48 |         }
49 |
[39/79] Compiling DL4S Reduce.swift
/host/spi-builder-workspace/Sources/DL4S/SummaryWriter.swift:47:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
45 |         }
46 |         if !FileManager.default.fileExists(atPath: eventsFile.path) {
47 |             FileManager.default.createFile(atPath: eventsFile.path, contents: nil, attributes: nil)
   |                                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
48 |         }
49 |
[40/79] Compiling DL4S AlexNet.swift
[41/79] Compiling DL4S ResNet.swift
[42/79] Compiling DL4S MultiHeadAttention.swift
[43/79] Compiling DL4S PointwiseFeedForward.swift
[44/79] Compiling DL4S PositionalEncoding.swift
[45/79] Compiling DL4S ScaledDotProductAttention.swift
[46/79] Compiling DL4S Transformer.swift
[47/79] Compiling DL4S TransformerDecoder.swift
[48/79] Compiling DL4S TransformerDecoderBlock.swift
[49/79] Compiling DL4S TransformerEncoder.swift
[50/79] Compiling DL4S Embedding.swift
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift:91:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 89 |
 90 | /// A layer builder can be used to create sequences of layers
 91 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 92 | public enum LayerBuilder {}
 93 |
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Embedding.swift:98:13: error: cannot find 'autoreleasepool' in scope
 96 |
 97 |         for line in File(url: embeddingsURL) {
 98 |             autoreleasepool {
    |             `- error: cannot find 'autoreleasepool' in scope
 99 |                 let components = line.split(whereSeparator: {$0.isWhitespace})
100 |
[51/79] Compiling DL4S GRU.swift
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift:91:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 89 |
 90 | /// A layer builder can be used to create sequences of layers
 91 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 92 | public enum LayerBuilder {}
 93 |
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Embedding.swift:98:13: error: cannot find 'autoreleasepool' in scope
 96 |
 97 |         for line in File(url: embeddingsURL) {
 98 |             autoreleasepool {
    |             `- error: cannot find 'autoreleasepool' in scope
 99 |                 let components = line.split(whereSeparator: {$0.isWhitespace})
100 |
[52/79] Compiling DL4S LSTM.swift
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift:91:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 89 |
 90 | /// A layer builder can be used to create sequences of layers
 91 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 92 | public enum LayerBuilder {}
 93 |
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Embedding.swift:98:13: error: cannot find 'autoreleasepool' in scope
 96 |
 97 |         for line in File(url: embeddingsURL) {
 98 |             autoreleasepool {
    |             `- error: cannot find 'autoreleasepool' in scope
 99 |                 let components = line.split(whereSeparator: {$0.isWhitespace})
100 |
[53/79] Compiling DL4S Layer.swift
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift:91:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 89 |
 90 | /// A layer builder can be used to create sequences of layers
 91 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 92 | public enum LayerBuilder {}
 93 |
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Embedding.swift:98:13: error: cannot find 'autoreleasepool' in scope
 96 |
 97 |         for line in File(url: embeddingsURL) {
 98 |             autoreleasepool {
    |             `- error: cannot find 'autoreleasepool' in scope
 99 |                 let components = line.split(whereSeparator: {$0.isWhitespace})
100 |
[54/79] Compiling DL4S LayerNorm.swift
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift:91:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 89 |
 90 | /// A layer builder can be used to create sequences of layers
 91 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 92 | public enum LayerBuilder {}
 93 |
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Embedding.swift:98:13: error: cannot find 'autoreleasepool' in scope
 96 |
 97 |         for line in File(url: embeddingsURL) {
 98 |             autoreleasepool {
    |             `- error: cannot find 'autoreleasepool' in scope
 99 |                 let components = line.split(whereSeparator: {$0.isWhitespace})
100 |
[55/79] Compiling DL4S Pooling.swift
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift:91:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 89 |
 90 | /// A layer builder can be used to create sequences of layers
 91 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 92 | public enum LayerBuilder {}
 93 |
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Embedding.swift:98:13: error: cannot find 'autoreleasepool' in scope
 96 |
 97 |         for line in File(url: embeddingsURL) {
 98 |             autoreleasepool {
    |             `- error: cannot find 'autoreleasepool' in scope
 99 |                 let components = line.split(whereSeparator: {$0.isWhitespace})
100 |
[56/79] Compiling DL4S RNN.swift
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift:91:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 89 |
 90 | /// A layer builder can be used to create sequences of layers
 91 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 92 | public enum LayerBuilder {}
 93 |
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Embedding.swift:98:13: error: cannot find 'autoreleasepool' in scope
 96 |
 97 |         for line in File(url: embeddingsURL) {
 98 |             autoreleasepool {
    |             `- error: cannot find 'autoreleasepool' in scope
 99 |                 let components = line.split(whereSeparator: {$0.isWhitespace})
100 |
[57/79] Compiling DL4S Residual.swift
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift:91:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 89 |
 90 | /// A layer builder can be used to create sequences of layers
 91 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 92 | public enum LayerBuilder {}
 93 |
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Embedding.swift:98:13: error: cannot find 'autoreleasepool' in scope
 96 |
 97 |         for line in File(url: embeddingsURL) {
 98 |             autoreleasepool {
    |             `- error: cannot find 'autoreleasepool' in scope
 99 |                 let components = line.split(whereSeparator: {$0.isWhitespace})
100 |
[58/79] Compiling DL4S Sequential.swift
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift:91:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 89 |
 90 | /// A layer builder can be used to create sequences of layers
 91 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 92 | public enum LayerBuilder {}
 93 |
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Embedding.swift:98:13: error: cannot find 'autoreleasepool' in scope
 96 |
 97 |         for line in File(url: embeddingsURL) {
 98 |             autoreleasepool {
    |             `- error: cannot find 'autoreleasepool' in scope
 99 |                 let components = line.split(whereSeparator: {$0.isWhitespace})
100 |
[59/79] Compiling DL4S ShapeLayer.swift
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift:91:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 89 |
 90 | /// A layer builder can be used to create sequences of layers
 91 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 92 | public enum LayerBuilder {}
 93 |
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Embedding.swift:98:13: error: cannot find 'autoreleasepool' in scope
 96 |
 97 |         for line in File(url: embeddingsURL) {
 98 |             autoreleasepool {
    |             `- error: cannot find 'autoreleasepool' in scope
 99 |                 let components = line.split(whereSeparator: {$0.isWhitespace})
100 |
[60/79] Compiling DL4S TransformerEncoderBlock.swift
[61/79] Compiling DL4S TransformerUtil.swift
[62/79] Compiling DL4S VGG.swift
[63/79] Compiling DL4S VGG11.swift
[64/79] Compiling DL4S VGG13.swift
[65/79] Compiling DL4S VGG16.swift
[66/79] Compiling DL4S VGG19.swift
[67/79] Compiling DL4S Adadelta.swift
[68/79] Compiling DL4S Adagrad.swift
[69/79] Compiling DL4S Adam.swift
[70/79] Compiling DL4S Assertions.swift
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
27 |
28 |
29 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |     public func write(_ string: String) {
31 |         self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:44:31: error: cannot find 'DispatchSemaphore' in scope
 42 |     }
 43 |     private static var allocations: [UnsafeMutableRawBufferPointer: [String]] = [:]
 44 |     private static let sema = DispatchSemaphore(value: 1)
    |                               `- error: cannot find 'DispatchSemaphore' in scope
 45 |
 46 |     @inline(__always)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:79:25: error: cannot find 'Thread' in scope
 77 |         if traceAllocations {
 78 |             sema.wait()
 79 |             let trace = Thread.callStackSymbols
    |                         `- error: cannot find 'Thread' in scope
 80 |             allocations[buffer] = trace
 81 |             sema.signal()
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:13: error: cannot find 'DispatchQueue' in scope
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |             `- error: cannot find 'DispatchQueue' in scope
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:58: error: cannot call value of non-function type 'ContinuousClock.Instant'
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |                                                          `- error: cannot call value of non-function type 'ContinuousClock.Instant'
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:109:9: error: cannot find 'DispatchQueue' in scope
107 |             sema.signal()
108 |         }
109 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
110 |             buffer.memory.deallocate()
111 |         }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:933:41: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 931 |             }
 932 |
 933 |             dstMem.advanced(by: dstIdx).assign(from: sourceMem.advanced(by: srcIdx), count: copyCount)
     |                                         |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                         `- note: use 'update(from:count:)' instead
 934 |         }
 935 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1018:42: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1016 |                 }
1017 |
1018 |                 dst.advanced(by: dstIdx).assign(from: src.advanced(by: srcIdx), count: copyCount)
     |                                          |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                          `- note: use 'update(from:count:)' instead
1019 |             }
1020 |
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1098:50: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1096 |             let dstIdx = count - srcIdx - 1
1097 |
1098 |             dstPtr.advanced(by: dstIdx * stride).assign(from: srcPtr.advanced(by: srcIdx * stride), count: stride)
     |                                                  |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                                  `- note: use 'update(from:count:)' instead
1099 |         }
1100 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:461:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
459 |         #else
460 |         for i in 0 ..< count {
461 |             dst[i] = exp(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
462 |         }
463 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:475:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
473 |         #else
474 |         for i in 0 ..< count {
475 |             dst[i] = log(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
476 |         }
477 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:489:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
487 |         #else
488 |         for i in 0 ..< count {
489 |             dst[i] = tanh(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
490 |         }
491 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:503:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
501 |         #else
502 |         for i in 0 ..< count {
503 |             dst[i] = sqrt(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
504 |         }
505 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:525:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
523 |         #else
524 |         for i in 0 ..< count {
525 |             dst[i] = sin(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
526 |         }
527 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:539:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
537 |         #else
538 |         for i in 0 ..< count {
539 |             dst[i] = cos(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
540 |         }
541 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:553:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
551 |         #else
552 |         for i in 0 ..< count {
553 |             dst[i] = tan(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
554 |         }
555 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:31:10: warning: Compiling DL4S without any accelerator library
 29 | import Accelerate
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
    |          `- warning: Compiling DL4S without any accelerator library
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
 33 | #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
    |          `- warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 33 | #endif
 34 | #if os(Linux)
[71/79] Compiling DL4S Buffer.swift
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
27 |
28 |
29 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |     public func write(_ string: String) {
31 |         self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:44:31: error: cannot find 'DispatchSemaphore' in scope
 42 |     }
 43 |     private static var allocations: [UnsafeMutableRawBufferPointer: [String]] = [:]
 44 |     private static let sema = DispatchSemaphore(value: 1)
    |                               `- error: cannot find 'DispatchSemaphore' in scope
 45 |
 46 |     @inline(__always)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:79:25: error: cannot find 'Thread' in scope
 77 |         if traceAllocations {
 78 |             sema.wait()
 79 |             let trace = Thread.callStackSymbols
    |                         `- error: cannot find 'Thread' in scope
 80 |             allocations[buffer] = trace
 81 |             sema.signal()
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:13: error: cannot find 'DispatchQueue' in scope
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |             `- error: cannot find 'DispatchQueue' in scope
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:58: error: cannot call value of non-function type 'ContinuousClock.Instant'
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |                                                          `- error: cannot call value of non-function type 'ContinuousClock.Instant'
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:109:9: error: cannot find 'DispatchQueue' in scope
107 |             sema.signal()
108 |         }
109 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
110 |             buffer.memory.deallocate()
111 |         }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:933:41: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 931 |             }
 932 |
 933 |             dstMem.advanced(by: dstIdx).assign(from: sourceMem.advanced(by: srcIdx), count: copyCount)
     |                                         |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                         `- note: use 'update(from:count:)' instead
 934 |         }
 935 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1018:42: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1016 |                 }
1017 |
1018 |                 dst.advanced(by: dstIdx).assign(from: src.advanced(by: srcIdx), count: copyCount)
     |                                          |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                          `- note: use 'update(from:count:)' instead
1019 |             }
1020 |
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1098:50: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1096 |             let dstIdx = count - srcIdx - 1
1097 |
1098 |             dstPtr.advanced(by: dstIdx * stride).assign(from: srcPtr.advanced(by: srcIdx * stride), count: stride)
     |                                                  |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                                  `- note: use 'update(from:count:)' instead
1099 |         }
1100 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:461:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
459 |         #else
460 |         for i in 0 ..< count {
461 |             dst[i] = exp(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
462 |         }
463 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:475:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
473 |         #else
474 |         for i in 0 ..< count {
475 |             dst[i] = log(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
476 |         }
477 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:489:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
487 |         #else
488 |         for i in 0 ..< count {
489 |             dst[i] = tanh(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
490 |         }
491 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:503:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
501 |         #else
502 |         for i in 0 ..< count {
503 |             dst[i] = sqrt(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
504 |         }
505 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:525:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
523 |         #else
524 |         for i in 0 ..< count {
525 |             dst[i] = sin(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
526 |         }
527 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:539:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
537 |         #else
538 |         for i in 0 ..< count {
539 |             dst[i] = cos(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
540 |         }
541 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:553:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
551 |         #else
552 |         for i in 0 ..< count {
553 |             dst[i] = tan(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
554 |         }
555 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:31:10: warning: Compiling DL4S without any accelerator library
 29 | import Accelerate
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
    |          `- warning: Compiling DL4S without any accelerator library
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
 33 | #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
    |          `- warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 33 | #endif
 34 | #if os(Linux)
[72/79] Compiling DL4S CPU.swift
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
27 |
28 |
29 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |     public func write(_ string: String) {
31 |         self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:44:31: error: cannot find 'DispatchSemaphore' in scope
 42 |     }
 43 |     private static var allocations: [UnsafeMutableRawBufferPointer: [String]] = [:]
 44 |     private static let sema = DispatchSemaphore(value: 1)
    |                               `- error: cannot find 'DispatchSemaphore' in scope
 45 |
 46 |     @inline(__always)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:79:25: error: cannot find 'Thread' in scope
 77 |         if traceAllocations {
 78 |             sema.wait()
 79 |             let trace = Thread.callStackSymbols
    |                         `- error: cannot find 'Thread' in scope
 80 |             allocations[buffer] = trace
 81 |             sema.signal()
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:13: error: cannot find 'DispatchQueue' in scope
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |             `- error: cannot find 'DispatchQueue' in scope
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:58: error: cannot call value of non-function type 'ContinuousClock.Instant'
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |                                                          `- error: cannot call value of non-function type 'ContinuousClock.Instant'
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:109:9: error: cannot find 'DispatchQueue' in scope
107 |             sema.signal()
108 |         }
109 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
110 |             buffer.memory.deallocate()
111 |         }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:933:41: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 931 |             }
 932 |
 933 |             dstMem.advanced(by: dstIdx).assign(from: sourceMem.advanced(by: srcIdx), count: copyCount)
     |                                         |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                         `- note: use 'update(from:count:)' instead
 934 |         }
 935 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1018:42: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1016 |                 }
1017 |
1018 |                 dst.advanced(by: dstIdx).assign(from: src.advanced(by: srcIdx), count: copyCount)
     |                                          |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                          `- note: use 'update(from:count:)' instead
1019 |             }
1020 |
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1098:50: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1096 |             let dstIdx = count - srcIdx - 1
1097 |
1098 |             dstPtr.advanced(by: dstIdx * stride).assign(from: srcPtr.advanced(by: srcIdx * stride), count: stride)
     |                                                  |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                                  `- note: use 'update(from:count:)' instead
1099 |         }
1100 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:461:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
459 |         #else
460 |         for i in 0 ..< count {
461 |             dst[i] = exp(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
462 |         }
463 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:475:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
473 |         #else
474 |         for i in 0 ..< count {
475 |             dst[i] = log(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
476 |         }
477 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:489:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
487 |         #else
488 |         for i in 0 ..< count {
489 |             dst[i] = tanh(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
490 |         }
491 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:503:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
501 |         #else
502 |         for i in 0 ..< count {
503 |             dst[i] = sqrt(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
504 |         }
505 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:525:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
523 |         #else
524 |         for i in 0 ..< count {
525 |             dst[i] = sin(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
526 |         }
527 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:539:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
537 |         #else
538 |         for i in 0 ..< count {
539 |             dst[i] = cos(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
540 |         }
541 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:553:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
551 |         #else
552 |         for i in 0 ..< count {
553 |             dst[i] = tan(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
554 |         }
555 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:31:10: warning: Compiling DL4S without any accelerator library
 29 | import Accelerate
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
    |          `- warning: Compiling DL4S without any accelerator library
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
 33 | #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
    |          `- warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 33 | #endif
 34 | #if os(Linux)
[73/79] Compiling DL4S CPUEngine.swift
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
27 |
28 |
29 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |     public func write(_ string: String) {
31 |         self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:44:31: error: cannot find 'DispatchSemaphore' in scope
 42 |     }
 43 |     private static var allocations: [UnsafeMutableRawBufferPointer: [String]] = [:]
 44 |     private static let sema = DispatchSemaphore(value: 1)
    |                               `- error: cannot find 'DispatchSemaphore' in scope
 45 |
 46 |     @inline(__always)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:79:25: error: cannot find 'Thread' in scope
 77 |         if traceAllocations {
 78 |             sema.wait()
 79 |             let trace = Thread.callStackSymbols
    |                         `- error: cannot find 'Thread' in scope
 80 |             allocations[buffer] = trace
 81 |             sema.signal()
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:13: error: cannot find 'DispatchQueue' in scope
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |             `- error: cannot find 'DispatchQueue' in scope
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:58: error: cannot call value of non-function type 'ContinuousClock.Instant'
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |                                                          `- error: cannot call value of non-function type 'ContinuousClock.Instant'
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:109:9: error: cannot find 'DispatchQueue' in scope
107 |             sema.signal()
108 |         }
109 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
110 |             buffer.memory.deallocate()
111 |         }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:933:41: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 931 |             }
 932 |
 933 |             dstMem.advanced(by: dstIdx).assign(from: sourceMem.advanced(by: srcIdx), count: copyCount)
     |                                         |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                         `- note: use 'update(from:count:)' instead
 934 |         }
 935 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1018:42: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1016 |                 }
1017 |
1018 |                 dst.advanced(by: dstIdx).assign(from: src.advanced(by: srcIdx), count: copyCount)
     |                                          |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                          `- note: use 'update(from:count:)' instead
1019 |             }
1020 |
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1098:50: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1096 |             let dstIdx = count - srcIdx - 1
1097 |
1098 |             dstPtr.advanced(by: dstIdx * stride).assign(from: srcPtr.advanced(by: srcIdx * stride), count: stride)
     |                                                  |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                                  `- note: use 'update(from:count:)' instead
1099 |         }
1100 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:461:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
459 |         #else
460 |         for i in 0 ..< count {
461 |             dst[i] = exp(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
462 |         }
463 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:475:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
473 |         #else
474 |         for i in 0 ..< count {
475 |             dst[i] = log(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
476 |         }
477 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:489:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
487 |         #else
488 |         for i in 0 ..< count {
489 |             dst[i] = tanh(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
490 |         }
491 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:503:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
501 |         #else
502 |         for i in 0 ..< count {
503 |             dst[i] = sqrt(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
504 |         }
505 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:525:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
523 |         #else
524 |         for i in 0 ..< count {
525 |             dst[i] = sin(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
526 |         }
527 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:539:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
537 |         #else
538 |         for i in 0 ..< count {
539 |             dst[i] = cos(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
540 |         }
541 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:553:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
551 |         #else
552 |         for i in 0 ..< count {
553 |             dst[i] = tan(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
554 |         }
555 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:31:10: warning: Compiling DL4S without any accelerator library
 29 | import Accelerate
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
    |          `- warning: Compiling DL4S without any accelerator library
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
 33 | #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
    |          `- warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 33 | #endif
 34 | #if os(Linux)
[74/79] Compiling DL4S CPUDouble.swift
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
27 |
28 |
29 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |     public func write(_ string: String) {
31 |         self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:44:31: error: cannot find 'DispatchSemaphore' in scope
 42 |     }
 43 |     private static var allocations: [UnsafeMutableRawBufferPointer: [String]] = [:]
 44 |     private static let sema = DispatchSemaphore(value: 1)
    |                               `- error: cannot find 'DispatchSemaphore' in scope
 45 |
 46 |     @inline(__always)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:79:25: error: cannot find 'Thread' in scope
 77 |         if traceAllocations {
 78 |             sema.wait()
 79 |             let trace = Thread.callStackSymbols
    |                         `- error: cannot find 'Thread' in scope
 80 |             allocations[buffer] = trace
 81 |             sema.signal()
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:13: error: cannot find 'DispatchQueue' in scope
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |             `- error: cannot find 'DispatchQueue' in scope
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:58: error: cannot call value of non-function type 'ContinuousClock.Instant'
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |                                                          `- error: cannot call value of non-function type 'ContinuousClock.Instant'
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:109:9: error: cannot find 'DispatchQueue' in scope
107 |             sema.signal()
108 |         }
109 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
110 |             buffer.memory.deallocate()
111 |         }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:933:41: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 931 |             }
 932 |
 933 |             dstMem.advanced(by: dstIdx).assign(from: sourceMem.advanced(by: srcIdx), count: copyCount)
     |                                         |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                         `- note: use 'update(from:count:)' instead
 934 |         }
 935 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1018:42: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1016 |                 }
1017 |
1018 |                 dst.advanced(by: dstIdx).assign(from: src.advanced(by: srcIdx), count: copyCount)
     |                                          |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                          `- note: use 'update(from:count:)' instead
1019 |             }
1020 |
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1098:50: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1096 |             let dstIdx = count - srcIdx - 1
1097 |
1098 |             dstPtr.advanced(by: dstIdx * stride).assign(from: srcPtr.advanced(by: srcIdx * stride), count: stride)
     |                                                  |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                                  `- note: use 'update(from:count:)' instead
1099 |         }
1100 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:461:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
459 |         #else
460 |         for i in 0 ..< count {
461 |             dst[i] = exp(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
462 |         }
463 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:475:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
473 |         #else
474 |         for i in 0 ..< count {
475 |             dst[i] = log(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
476 |         }
477 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:489:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
487 |         #else
488 |         for i in 0 ..< count {
489 |             dst[i] = tanh(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
490 |         }
491 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:503:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
501 |         #else
502 |         for i in 0 ..< count {
503 |             dst[i] = sqrt(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
504 |         }
505 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:525:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
523 |         #else
524 |         for i in 0 ..< count {
525 |             dst[i] = sin(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
526 |         }
527 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:539:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
537 |         #else
538 |         for i in 0 ..< count {
539 |             dst[i] = cos(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
540 |         }
541 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:553:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
551 |         #else
552 |         for i in 0 ..< count {
553 |             dst[i] = tan(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
554 |         }
555 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:31:10: warning: Compiling DL4S without any accelerator library
 29 | import Accelerate
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
    |          `- warning: Compiling DL4S without any accelerator library
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
 33 | #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
    |          `- warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 33 | #endif
 34 | #if os(Linux)
[75/79] Compiling DL4S CPUFloat.swift
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
27 |
28 |
29 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |     public func write(_ string: String) {
31 |         self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:44:31: error: cannot find 'DispatchSemaphore' in scope
 42 |     }
 43 |     private static var allocations: [UnsafeMutableRawBufferPointer: [String]] = [:]
 44 |     private static let sema = DispatchSemaphore(value: 1)
    |                               `- error: cannot find 'DispatchSemaphore' in scope
 45 |
 46 |     @inline(__always)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:79:25: error: cannot find 'Thread' in scope
 77 |         if traceAllocations {
 78 |             sema.wait()
 79 |             let trace = Thread.callStackSymbols
    |                         `- error: cannot find 'Thread' in scope
 80 |             allocations[buffer] = trace
 81 |             sema.signal()
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:13: error: cannot find 'DispatchQueue' in scope
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |             `- error: cannot find 'DispatchQueue' in scope
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:58: error: cannot call value of non-function type 'ContinuousClock.Instant'
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |                                                          `- error: cannot call value of non-function type 'ContinuousClock.Instant'
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:109:9: error: cannot find 'DispatchQueue' in scope
107 |             sema.signal()
108 |         }
109 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
110 |             buffer.memory.deallocate()
111 |         }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:933:41: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 931 |             }
 932 |
 933 |             dstMem.advanced(by: dstIdx).assign(from: sourceMem.advanced(by: srcIdx), count: copyCount)
     |                                         |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                         `- note: use 'update(from:count:)' instead
 934 |         }
 935 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1018:42: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1016 |                 }
1017 |
1018 |                 dst.advanced(by: dstIdx).assign(from: src.advanced(by: srcIdx), count: copyCount)
     |                                          |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                          `- note: use 'update(from:count:)' instead
1019 |             }
1020 |
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1098:50: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1096 |             let dstIdx = count - srcIdx - 1
1097 |
1098 |             dstPtr.advanced(by: dstIdx * stride).assign(from: srcPtr.advanced(by: srcIdx * stride), count: stride)
     |                                                  |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                                  `- note: use 'update(from:count:)' instead
1099 |         }
1100 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:461:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
459 |         #else
460 |         for i in 0 ..< count {
461 |             dst[i] = exp(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
462 |         }
463 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:475:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
473 |         #else
474 |         for i in 0 ..< count {
475 |             dst[i] = log(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
476 |         }
477 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:489:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
487 |         #else
488 |         for i in 0 ..< count {
489 |             dst[i] = tanh(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
490 |         }
491 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:503:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
501 |         #else
502 |         for i in 0 ..< count {
503 |             dst[i] = sqrt(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
504 |         }
505 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:525:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
523 |         #else
524 |         for i in 0 ..< count {
525 |             dst[i] = sin(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
526 |         }
527 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:539:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
537 |         #else
538 |         for i in 0 ..< count {
539 |             dst[i] = cos(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
540 |         }
541 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:553:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
551 |         #else
552 |         for i in 0 ..< count {
553 |             dst[i] = tan(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
554 |         }
555 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:31:10: warning: Compiling DL4S without any accelerator library
 29 | import Accelerate
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
    |          `- warning: Compiling DL4S without any accelerator library
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
 33 | #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
    |          `- warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 33 | #endif
 34 | #if os(Linux)
[76/79] Compiling DL4S CPUGeneric.swift
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
27 |
28 |
29 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |     public func write(_ string: String) {
31 |         self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:44:31: error: cannot find 'DispatchSemaphore' in scope
 42 |     }
 43 |     private static var allocations: [UnsafeMutableRawBufferPointer: [String]] = [:]
 44 |     private static let sema = DispatchSemaphore(value: 1)
    |                               `- error: cannot find 'DispatchSemaphore' in scope
 45 |
 46 |     @inline(__always)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:79:25: error: cannot find 'Thread' in scope
 77 |         if traceAllocations {
 78 |             sema.wait()
 79 |             let trace = Thread.callStackSymbols
    |                         `- error: cannot find 'Thread' in scope
 80 |             allocations[buffer] = trace
 81 |             sema.signal()
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:13: error: cannot find 'DispatchQueue' in scope
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |             `- error: cannot find 'DispatchQueue' in scope
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:58: error: cannot call value of non-function type 'ContinuousClock.Instant'
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |                                                          `- error: cannot call value of non-function type 'ContinuousClock.Instant'
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:109:9: error: cannot find 'DispatchQueue' in scope
107 |             sema.signal()
108 |         }
109 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
110 |             buffer.memory.deallocate()
111 |         }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:933:41: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 931 |             }
 932 |
 933 |             dstMem.advanced(by: dstIdx).assign(from: sourceMem.advanced(by: srcIdx), count: copyCount)
     |                                         |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                         `- note: use 'update(from:count:)' instead
 934 |         }
 935 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1018:42: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1016 |                 }
1017 |
1018 |                 dst.advanced(by: dstIdx).assign(from: src.advanced(by: srcIdx), count: copyCount)
     |                                          |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                          `- note: use 'update(from:count:)' instead
1019 |             }
1020 |
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1098:50: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1096 |             let dstIdx = count - srcIdx - 1
1097 |
1098 |             dstPtr.advanced(by: dstIdx * stride).assign(from: srcPtr.advanced(by: srcIdx * stride), count: stride)
     |                                                  |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                                  `- note: use 'update(from:count:)' instead
1099 |         }
1100 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:461:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
459 |         #else
460 |         for i in 0 ..< count {
461 |             dst[i] = exp(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
462 |         }
463 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:475:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
473 |         #else
474 |         for i in 0 ..< count {
475 |             dst[i] = log(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
476 |         }
477 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:489:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
487 |         #else
488 |         for i in 0 ..< count {
489 |             dst[i] = tanh(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
490 |         }
491 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:503:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
501 |         #else
502 |         for i in 0 ..< count {
503 |             dst[i] = sqrt(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
504 |         }
505 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:525:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
523 |         #else
524 |         for i in 0 ..< count {
525 |             dst[i] = sin(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
526 |         }
527 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:539:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
537 |         #else
538 |         for i in 0 ..< count {
539 |             dst[i] = cos(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
540 |         }
541 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:553:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
551 |         #else
552 |         for i in 0 ..< count {
553 |             dst[i] = tan(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
554 |         }
555 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:31:10: warning: Compiling DL4S without any accelerator library
 29 | import Accelerate
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
    |          `- warning: Compiling DL4S without any accelerator library
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
 33 | #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
    |          `- warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 33 | #endif
 34 | #if os(Linux)
[77/79] Compiling DL4S CPUInt32.swift
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
27 |
28 |
29 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |     public func write(_ string: String) {
31 |         self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:44:31: error: cannot find 'DispatchSemaphore' in scope
 42 |     }
 43 |     private static var allocations: [UnsafeMutableRawBufferPointer: [String]] = [:]
 44 |     private static let sema = DispatchSemaphore(value: 1)
    |                               `- error: cannot find 'DispatchSemaphore' in scope
 45 |
 46 |     @inline(__always)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:79:25: error: cannot find 'Thread' in scope
 77 |         if traceAllocations {
 78 |             sema.wait()
 79 |             let trace = Thread.callStackSymbols
    |                         `- error: cannot find 'Thread' in scope
 80 |             allocations[buffer] = trace
 81 |             sema.signal()
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:13: error: cannot find 'DispatchQueue' in scope
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |             `- error: cannot find 'DispatchQueue' in scope
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:58: error: cannot call value of non-function type 'ContinuousClock.Instant'
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |                                                          `- error: cannot call value of non-function type 'ContinuousClock.Instant'
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:109:9: error: cannot find 'DispatchQueue' in scope
107 |             sema.signal()
108 |         }
109 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
110 |             buffer.memory.deallocate()
111 |         }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:933:41: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 931 |             }
 932 |
 933 |             dstMem.advanced(by: dstIdx).assign(from: sourceMem.advanced(by: srcIdx), count: copyCount)
     |                                         |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                         `- note: use 'update(from:count:)' instead
 934 |         }
 935 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1018:42: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1016 |                 }
1017 |
1018 |                 dst.advanced(by: dstIdx).assign(from: src.advanced(by: srcIdx), count: copyCount)
     |                                          |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                          `- note: use 'update(from:count:)' instead
1019 |             }
1020 |
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1098:50: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1096 |             let dstIdx = count - srcIdx - 1
1097 |
1098 |             dstPtr.advanced(by: dstIdx * stride).assign(from: srcPtr.advanced(by: srcIdx * stride), count: stride)
     |                                                  |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                                  `- note: use 'update(from:count:)' instead
1099 |         }
1100 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:461:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
459 |         #else
460 |         for i in 0 ..< count {
461 |             dst[i] = exp(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
462 |         }
463 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:475:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
473 |         #else
474 |         for i in 0 ..< count {
475 |             dst[i] = log(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
476 |         }
477 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:489:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
487 |         #else
488 |         for i in 0 ..< count {
489 |             dst[i] = tanh(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
490 |         }
491 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:503:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
501 |         #else
502 |         for i in 0 ..< count {
503 |             dst[i] = sqrt(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
504 |         }
505 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:525:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
523 |         #else
524 |         for i in 0 ..< count {
525 |             dst[i] = sin(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
526 |         }
527 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:539:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
537 |         #else
538 |         for i in 0 ..< count {
539 |             dst[i] = cos(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
540 |         }
541 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:553:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
551 |         #else
552 |         for i in 0 ..< count {
553 |             dst[i] = tan(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
554 |         }
555 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:31:10: warning: Compiling DL4S without any accelerator library
 29 | import Accelerate
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
    |          `- warning: Compiling DL4S without any accelerator library
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
 33 | #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
    |          `- warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 33 | #endif
 34 | #if os(Linux)
[78/79] Compiling DL4S CPUNumeric.swift
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
27 |
28 |
29 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |     public func write(_ string: String) {
31 |         self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:44:31: error: cannot find 'DispatchSemaphore' in scope
 42 |     }
 43 |     private static var allocations: [UnsafeMutableRawBufferPointer: [String]] = [:]
 44 |     private static let sema = DispatchSemaphore(value: 1)
    |                               `- error: cannot find 'DispatchSemaphore' in scope
 45 |
 46 |     @inline(__always)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:79:25: error: cannot find 'Thread' in scope
 77 |         if traceAllocations {
 78 |             sema.wait()
 79 |             let trace = Thread.callStackSymbols
    |                         `- error: cannot find 'Thread' in scope
 80 |             allocations[buffer] = trace
 81 |             sema.signal()
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:13: error: cannot find 'DispatchQueue' in scope
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |             `- error: cannot find 'DispatchQueue' in scope
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:58: error: cannot call value of non-function type 'ContinuousClock.Instant'
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |                                                          `- error: cannot call value of non-function type 'ContinuousClock.Instant'
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:109:9: error: cannot find 'DispatchQueue' in scope
107 |             sema.signal()
108 |         }
109 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
110 |             buffer.memory.deallocate()
111 |         }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:933:41: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 931 |             }
 932 |
 933 |             dstMem.advanced(by: dstIdx).assign(from: sourceMem.advanced(by: srcIdx), count: copyCount)
     |                                         |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                         `- note: use 'update(from:count:)' instead
 934 |         }
 935 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1018:42: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1016 |                 }
1017 |
1018 |                 dst.advanced(by: dstIdx).assign(from: src.advanced(by: srcIdx), count: copyCount)
     |                                          |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                          `- note: use 'update(from:count:)' instead
1019 |             }
1020 |
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1098:50: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1096 |             let dstIdx = count - srcIdx - 1
1097 |
1098 |             dstPtr.advanced(by: dstIdx * stride).assign(from: srcPtr.advanced(by: srcIdx * stride), count: stride)
     |                                                  |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                                  `- note: use 'update(from:count:)' instead
1099 |         }
1100 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:461:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
459 |         #else
460 |         for i in 0 ..< count {
461 |             dst[i] = exp(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
462 |         }
463 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:475:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
473 |         #else
474 |         for i in 0 ..< count {
475 |             dst[i] = log(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
476 |         }
477 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:489:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
487 |         #else
488 |         for i in 0 ..< count {
489 |             dst[i] = tanh(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
490 |         }
491 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:503:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
501 |         #else
502 |         for i in 0 ..< count {
503 |             dst[i] = sqrt(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
504 |         }
505 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:525:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
523 |         #else
524 |         for i in 0 ..< count {
525 |             dst[i] = sin(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
526 |         }
527 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:539:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
537 |         #else
538 |         for i in 0 ..< count {
539 |             dst[i] = cos(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
540 |         }
541 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:553:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
551 |         #else
552 |         for i in 0 ..< count {
553 |             dst[i] = tan(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
554 |         }
555 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:31:10: warning: Compiling DL4S without any accelerator library
 29 | import Accelerate
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
    |          `- warning: Compiling DL4S without any accelerator library
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
 33 | #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
    |          `- warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 33 | #endif
 34 | #if os(Linux)
[79/79] Compiling DL4S Engine.swift
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
27 |
28 |
29 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
30 |     public func write(_ string: String) {
31 |         self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:44:31: error: cannot find 'DispatchSemaphore' in scope
 42 |     }
 43 |     private static var allocations: [UnsafeMutableRawBufferPointer: [String]] = [:]
 44 |     private static let sema = DispatchSemaphore(value: 1)
    |                               `- error: cannot find 'DispatchSemaphore' in scope
 45 |
 46 |     @inline(__always)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:79:25: error: cannot find 'Thread' in scope
 77 |         if traceAllocations {
 78 |             sema.wait()
 79 |             let trace = Thread.callStackSymbols
    |                         `- error: cannot find 'Thread' in scope
 80 |             allocations[buffer] = trace
 81 |             sema.signal()
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:13: error: cannot find 'DispatchQueue' in scope
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |             `- error: cannot find 'DispatchQueue' in scope
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:83:58: error: cannot call value of non-function type 'ContinuousClock.Instant'
 81 |             sema.signal()
 82 |
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
    |                                                          `- error: cannot call value of non-function type 'ContinuousClock.Instant'
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:109:9: error: cannot find 'DispatchQueue' in scope
107 |             sema.signal()
108 |         }
109 |         DispatchQueue.global().async {
    |         `- error: cannot find 'DispatchQueue' in scope
110 |             buffer.memory.deallocate()
111 |         }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:933:41: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
 931 |             }
 932 |
 933 |             dstMem.advanced(by: dstIdx).assign(from: sourceMem.advanced(by: srcIdx), count: copyCount)
     |                                         |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                         `- note: use 'update(from:count:)' instead
 934 |         }
 935 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1018:42: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1016 |                 }
1017 |
1018 |                 dst.advanced(by: dstIdx).assign(from: src.advanced(by: srcIdx), count: copyCount)
     |                                          |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                          `- note: use 'update(from:count:)' instead
1019 |             }
1020 |
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1098:50: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
1096 |             let dstIdx = count - srcIdx - 1
1097 |
1098 |             dstPtr.advanced(by: dstIdx * stride).assign(from: srcPtr.advanced(by: srcIdx * stride), count: stride)
     |                                                  |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
     |                                                  `- note: use 'update(from:count:)' instead
1099 |         }
1100 |     }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:461:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
459 |         #else
460 |         for i in 0 ..< count {
461 |             dst[i] = exp(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
462 |         }
463 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:475:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
473 |         #else
474 |         for i in 0 ..< count {
475 |             dst[i] = log(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
476 |         }
477 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:489:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
487 |         #else
488 |         for i in 0 ..< count {
489 |             dst[i] = tanh(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
490 |         }
491 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:503:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
501 |         #else
502 |         for i in 0 ..< count {
503 |             dst[i] = sqrt(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
504 |         }
505 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:525:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
523 |         #else
524 |         for i in 0 ..< count {
525 |             dst[i] = sin(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
526 |         }
527 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:539:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
537 |         #else
538 |         for i in 0 ..< count {
539 |             dst[i] = cos(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
540 |         }
541 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:553:22: error: function produces expected type 'Double'; did you mean to call it with '()'?
551 |         #else
552 |         for i in 0 ..< count {
553 |             dst[i] = tan(src[i])
    |                      `- error: function produces expected type 'Double'; did you mean to call it with '()'?
554 |         }
555 |         #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:31:10: warning: Compiling DL4S without any accelerator library
 29 | import Accelerate
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
    |          `- warning: Compiling DL4S without any accelerator library
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
 33 | #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 30 | #else
 31 | #warning("Compiling DL4S without any accelerator library")
 32 | #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
    |          `- warning: DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md
 33 | #endif
 34 | #if os(Linux)
BUILD FAILURE 6.1 wasm