The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DL4S, reference 0.4.1 (1f90f8), with Swift 6.4 for Linux on 19 Sep 2026 12:36:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/palle-k/DL4S.git
Reference: 0.4.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/palle-k/DL4S
 * tag               0.4.1      -> FETCH_HEAD
HEAD is now at 1f90f87 docs update
Cloned https://github.com/palle-k/DL4S.git
Revision (git rev-parse @):
1f90f8790bc23c2cfcd4c94f27cf6ef011d78cba
SUCCESS checkout https://github.com/palle-k/DL4S.git at 0.4.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/palle-k/DL4S.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[22 / 31] MKL
[32 / 40] DL4S
/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/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/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: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/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:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                           `- note: use 'update(from:count:)' instead
 64 |     }
 65 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[33 / 40] DL4S
[37 / 40] DL4S
/host/spi-builder-workspace/Sources/DL4S/SummaryWriter.swift:47:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
48 |         }
49 |
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile CPUDouble.swift
/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/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:85:44: warning: capture of 'buffer' with non-Sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 83 |             DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
 84 |                 sema.wait()
 85 |                 if let trace = allocations[buffer] {
    |                                            `- warning: capture of 'buffer' with non-Sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 86 |                     print("[ALLOC TRACE]: buffer of size \(capacity) not freed after 3 seconds.")
 87 |                     print("[ALLOC TRACE] [begin callstack]")
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
  |                       `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 |     @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 |     public init(_empty: ())
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:933:41: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
     |                                         `- 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:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
     |                                          `- 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:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
     |                                                  `- 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
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/DL4S/Assertions.swift -primary-file /host/spi-builder-workspace/Sources/DL4S/Engine/Buffer.swift -primary-file /host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift -primary-file /host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift -primary-file /host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift -primary-file /host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift -primary-file /host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUGeneric.swift -primary-file /host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUInt32.swift -primary-file /host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUNumeric.swift -primary-file /host/spi-builder-workspace/Sources/DL4S/Engine/Engine.swift /host/spi-builder-workspace/Sources/DL4S/Engine/GPU/GPU.swift /host/spi-builder-workspace/Sources/DL4S/Memory\ Management/Allocator.swift /host/spi-builder-workspace/Sources/DL4S/Memory\ Management/MemoryOps.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/Activation.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/BasicRNN.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/BatchNorm.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/BidirectionalRNN.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/Convolution.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/Dense.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/Dropout.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/Embedding.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/GRU.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/LSTM.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/Layer.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/LayerNorm.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/Pooling.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/RNN.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/Residual.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift /host/spi-builder-workspace/Sources/DL4S/NN/Layer/ShapeLayer.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/AlexNet.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/ResNet.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/Transformer/MultiHeadAttention.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/Transformer/PointwiseFeedForward.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/Transformer/PositionalEncoding.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/Transformer/ScaledDotProductAttention.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/Transformer/Transformer.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/Transformer/TransformerDecoder.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/Transformer/TransformerDecoderBlock.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/Transformer/TransformerEncoder.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/Transformer/TransformerEncoderBlock.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/Transformer/TransformerUtil.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/VGG/VGG.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/VGG/VGG11.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/VGG/VGG13.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/VGG/VGG16.swift /host/spi-builder-workspace/Sources/DL4S/NN/Models/VGG/VGG19.swift /host/spi-builder-workspace/Sources/DL4S/NN/Optimizer/Adadelta.swift /host/spi-builder-workspace/Sources/DL4S/NN/Optimizer/Adagrad.swift /host/spi-builder-workspace/Sources/DL4S/NN/Optimizer/Adam.swift /host/spi-builder-workspace/Sources/DL4S/NN/Optimizer/LearningRate.swift /host/spi-builder-workspace/Sources/DL4S/NN/Optimizer/Momentum.swift /host/spi-builder-workspace/Sources/DL4S/NN/Optimizer/Optim.swift /host/spi-builder-workspace/Sources/DL4S/NN/Optimizer/RMSProp.swift /host/spi-builder-workspace/Sources/DL4S/NN/Optimizer/SGD.swift /host/spi-builder-workspace/Sources/DL4S/Numerics/Double.swift /host/spi-builder-workspace/Sources/DL4S/Numerics/Float.swift /host/spi-builder-workspace/Sources/DL4S/Numerics/Int32.swift /host/spi-builder-workspace/Sources/DL4S/Numerics/NumericType.swift /host/spi-builder-workspace/Sources/DL4S/Random.swift /host/spi-builder-workspace/Sources/DL4S/SummaryWriter.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Context.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Graph.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Operators/Binary.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Operators/Conv.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Operators/Loss.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Operators/Matrix.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Operators/Reduce.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Operators/Scatter.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Operators/Shape.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Operators/Stack.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Operators/Subscript.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Operators/Unary.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Operators/UtilOps.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/Tensor.swift /host/spi-builder-workspace/Sources/DL4S/Tensor/TensorExt.swift /host/spi-builder-workspace/Sources/DL4S/Util.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/supplementaryOutputs-1 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/Sources/MKL/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/Sources/MKL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name DL4S -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/DL4S_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/Assertions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/Buffer.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPU.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPUEngine.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPUDouble.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPUFloat.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPUGeneric.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPUInt32.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPUNumeric.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/Engine.o -index-unit-output-path /DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/Assertions.o -index-unit-output-path /DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/Buffer.o -index-unit-output-path /DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPU.o -index-unit-output-path /DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPUEngine.o -index-unit-output-path /DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPUDouble.o -index-unit-output-path /DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPUFloat.o -index-unit-output-path /DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPUGeneric.o -index-unit-output-path /DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPUInt32.o -index-unit-output-path /DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/CPUNumeric.o -index-unit-output-path /DL4S.build/Debug-linux-x86_64/DL4S-t.build/Objects-normal/x86_64/Engine.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
/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)"
error: Build failed
BUILD FAILURE 6.4 linux