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>&1Build 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: [1;33mwarning: [1;39mCompiling DL4S without any accelerator library[0;0m
[0;36m29 |[0;0m import Accelerate
[0;36m30 |[0;0m #else
[0;36m31 |[0;0m #warning([4;39m"Compiling DL4S without any accelerator library"[0;0m)
[0;36m|[0;0m `- [1;33mwarning: [1;39mCompiling DL4S without any accelerator library[0;0m
[0;36m32 |[0;0m #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
[0;36m33 |[0;0m #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: [1;33mwarning: [1;39mDL4S can be accelerated with Intel MKL, IPP and TBB. See README.md[0;0m
[0;36m30 |[0;0m #else
[0;36m31 |[0;0m #warning("Compiling DL4S without any accelerator library")
[0;36m32 |[0;0m #warning([4;39m"DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md"[0;0m)
[0;36m|[0;0m `- [1;33mwarning: [1;39mDL4S can be accelerated with Intel MKL, IPP and TBB. See README.md[0;0m
[0;36m33 |[0;0m #endif
[0;36m34 |[0;0m #if os(Linux)
/host/spi-builder-workspace/Sources/DL4S/NN/Layer/Sequential.swift:91:2: [1;33mwarning: [1;39m'@_functionBuilder' has been renamed to '@resultBuilder'[0;0m
[0;36m89 |[0;0m
[0;36m90 |[0;0m /// A layer builder can be used to create sequences of layers
[0;36m91 |[0;0m @_functionBuilder
[0;36m|[0;0m `- [1;33mwarning: [1;39m'@_functionBuilder' has been renamed to '@resultBuilder'[0;0m
[0;36m92 |[0;0m public enum LayerBuilder {}
[0;36m93 |[0;0m
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m extension FileHandle: TextOutputStream {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m30 |[0;0m public func write(_ string: String) {
[0;36m31 |[0;0m self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m26 |[0;0m import Foundation
[0;36m27 |[0;0m
[0;36m28 |[0;0m extension UnsafeMutableRawBufferPointer: Hashable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m29 |[0;0m public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
[0;36m30 |[0;0m return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m89 |[0;0m }
[0;36m90 |[0;0m
[0;36m91 |[0;0m extension UnsafeMutableBufferPointer: Equatable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m92 |[0;0m public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
[0;36m93 |[0;0m return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Numerics/Int32.swift:29:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m extension Int32: NumericType {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m30 |[0;0m public func format(maxDecimals: Int) -> String {
[0;36m31 |[0;0m return "\(self)"
/host/spi-builder-workspace/Sources/DL4S/Util.swift:93:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m91 |[0;0m }
[0;36m92 |[0;0m
[0;36m93 |[0;0m extension Slice: Equatable where Element: Hashable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m94 |[0;0m public static func == (lhs: Slice<Base>, rhs: Slice<Base>) -> Bool {
[0;36m95 |[0;0m return lhs.count == rhs.count && !zip(lhs, rhs).map(==).contains(false)
/host/spi-builder-workspace/Sources/DL4S/Util.swift:99:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m97 |[0;0m }
[0;36m98 |[0;0m
[0;36m99 |[0;0m extension Slice: Hashable where Element: Hashable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m100 |[0;0m public func hash(into hasher: inout Hasher) {
[0;36m101 |[0;0m for element in self {
/host/spi-builder-workspace/Sources/DL4S/Util.swift:251:37: [1;33mwarning: [1;39mgeneric parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m248 |[0;0m
[0;36m249 |[0;0m
[0;36m250 |[0;0m public struct Progress<Element>: Sequence {
[0;36m|[0;0m `- [1;39mnote: [1;39m'Element' previously declared here[0;0m
[0;36m251 |[0;0m private struct ProgressIterator<Element>: IteratorProtocol {
[0;36m|[0;0m `- [1;33mwarning: [1;39mgeneric parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode[0;0m
[0;36m252 |[0;0m var baseIterator: AnyIterator<Element>
[0;36m253 |[0;0m let totalUnitCount: Int
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:28:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m26 |[0;0m import Foundation
[0;36m27 |[0;0m
[0;36m28 |[0;0m extension UnsafeMutableRawBufferPointer: Hashable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m29 |[0;0m public static func == (lhs: UnsafeMutableRawBufferPointer, rhs: UnsafeMutableRawBufferPointer) -> Bool {
[0;36m30 |[0;0m return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:91:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m89 |[0;0m }
[0;36m90 |[0;0m
[0;36m91 |[0;0m extension UnsafeMutableBufferPointer: Equatable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m92 |[0;0m public static func == (lhs: UnsafeMutableBufferPointer<Element>, rhs: UnsafeMutableBufferPointer<Element>) -> Bool {
[0;36m93 |[0;0m return lhs.baseAddress == rhs.baseAddress && lhs.count == rhs.count
/host/spi-builder-workspace/Sources/DL4S/Memory Management/Allocator.swift:63:27: [1;33mwarning: [1;39m'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m61 |[0;0m precondition(self.count >= count, "Out of bounds write")
[0;36m62 |[0;0m //memcpy(self.baseAddress!, ptr.baseAddress!, count * MemoryLayout<Element>.stride)
[0;36m63 |[0;0m self.baseAddress!.assign(from: ptr.baseAddress!, count: count)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'update(from:count:)' instead[0;0m
[0;36m64 |[0;0m }
[0;36m65 |[0;0m
[#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: [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m45 |[0;0m }
[0;36m46 |[0;0m if !FileManager.default.fileExists(atPath: eventsFile.path) {
[0;36m47 |[0;0m FileManager.default.createFile(atPath: eventsFile.path, contents: nil, attributes: nil)
[0;36m|[0;0m `- [1;33mwarning: [1;39mresult of call to 'createFile(atPath:contents:attributes:)' is unused[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
[0;36m48 |[0;0m }
[0;36m49 |[0;0m
[#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: [1;33mwarning: [1;39mCompiling DL4S without any accelerator library[0;0m
[0;36m29 |[0;0m import Accelerate
[0;36m30 |[0;0m #else
[0;36m31 |[0;0m #warning([4;39m"Compiling DL4S without any accelerator library"[0;0m)
[0;36m|[0;0m `- [1;33mwarning: [1;39mCompiling DL4S without any accelerator library[0;0m
[0;36m32 |[0;0m #warning("DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md")
[0;36m33 |[0;0m #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUFloat.swift:32:10: [1;33mwarning: [1;39mDL4S can be accelerated with Intel MKL, IPP and TBB. See README.md[0;0m
[0;36m30 |[0;0m #else
[0;36m31 |[0;0m #warning("Compiling DL4S without any accelerator library")
[0;36m32 |[0;0m #warning([4;39m"DL4S can be accelerated with Intel MKL, IPP and TBB. See README.md"[0;0m)
[0;36m|[0;0m `- [1;33mwarning: [1;39mDL4S can be accelerated with Intel MKL, IPP and TBB. See README.md[0;0m
[0;36m33 |[0;0m #endif
[0;36m34 |[0;0m #if os(Linux)
/host/spi-builder-workspace/Sources/DL4S/Assertions.swift:29:1: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m extension FileHandle: TextOutputStream {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m30 |[0;0m public func write(_ string: String) {
[0;36m31 |[0;0m self.write(string.data(using: .utf8)!)
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPU.swift:85:44: [1;33mwarning: [1;39mcapture of 'buffer' with non-Sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m83 |[0;0m DispatchQueue.global().asyncAfter(deadline: .now() + .seconds(5)) {
[0;36m84 |[0;0m sema.wait()
[0;36m85 |[0;0m if let trace = allocations[buffer] {
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'buffer' with non-Sendable type 'UnsafeMutableRawBufferPointer' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m86 |[0;0m print("[ALLOC TRACE]: buffer of size \(capacity) not freed after 3 seconds.")
[0;36m87 |[0;0m print("[ALLOC TRACE] [begin callstack]")
Swift.UnsafeMutableRawBufferPointer:1:23: [1;39mnote: [1;39mstruct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol[0;0m
[0;36m1 |[0;0m @frozen public struct UnsafeMutableRawBufferPointer {
[0;36m|[0;0m `- [1;39mnote: [1;39mstruct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
[0;36m3 |[0;0m public init(_empty: ())
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:933:41: [1;33mwarning: [1;39m'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m931 |[0;0m }
[0;36m932 |[0;0m
[0;36m933 |[0;0m dstMem.advanced(by: dstIdx).assign(from: sourceMem.advanced(by: srcIdx), count: copyCount)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'update(from:count:)' instead[0;0m
[0;36m934 |[0;0m }
[0;36m935 |[0;0m }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1018:42: [1;33mwarning: [1;39m'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m1016 |[0;0m }
[0;36m1017 |[0;0m
[0;36m1018 |[0;0m dst.advanced(by: dstIdx).assign(from: src.advanced(by: srcIdx), count: copyCount)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'update(from:count:)' instead[0;0m
[0;36m1019 |[0;0m }
[0;36m1020 |[0;0m
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/CPUEngine.swift:1098:50: [1;33mwarning: [1;39m'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m1096 |[0;0m let dstIdx = count - srcIdx - 1
[0;36m1097 |[0;0m
[0;36m1098 |[0;0m dstPtr.advanced(by: dstIdx * stride).assign(from: srcPtr.advanced(by: srcIdx * stride), count: stride)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'update(from:count:)' instead[0;0m
[0;36m1099 |[0;0m }
[0;36m1100 |[0;0m }
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:461:22: [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m459 |[0;0m #else
[0;36m460 |[0;0m for i in 0 ..< count {
[0;36m461 |[0;0m dst[i] = [4;39mexp(src[i])[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m462 |[0;0m }
[0;36m463 |[0;0m #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:475:22: [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m473 |[0;0m #else
[0;36m474 |[0;0m for i in 0 ..< count {
[0;36m475 |[0;0m dst[i] = [4;39mlog(src[i])[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m476 |[0;0m }
[0;36m477 |[0;0m #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:489:22: [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m487 |[0;0m #else
[0;36m488 |[0;0m for i in 0 ..< count {
[0;36m489 |[0;0m dst[i] = [4;39mtanh(src[i])[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m490 |[0;0m }
[0;36m491 |[0;0m #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:503:22: [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m501 |[0;0m #else
[0;36m502 |[0;0m for i in 0 ..< count {
[0;36m503 |[0;0m dst[i] = [4;39msqrt(src[i])[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m504 |[0;0m }
[0;36m505 |[0;0m #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:525:22: [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m523 |[0;0m #else
[0;36m524 |[0;0m for i in 0 ..< count {
[0;36m525 |[0;0m dst[i] = [4;39msin(src[i])[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m526 |[0;0m }
[0;36m527 |[0;0m #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:539:22: [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m537 |[0;0m #else
[0;36m538 |[0;0m for i in 0 ..< count {
[0;36m539 |[0;0m dst[i] = [4;39mcos(src[i])[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m540 |[0;0m }
[0;36m541 |[0;0m #endif
/host/spi-builder-workspace/Sources/DL4S/Engine/CPU/Numeric/CPUDouble.swift:553:22: [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m551 |[0;0m #else
[0;36m552 |[0;0m for i in 0 ..< count {
[0;36m553 |[0;0m dst[i] = [4;39mtan(src[i])[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mfunction produces expected type 'Double'; did you mean to call it with '()'?[0;0m
[0;36m554 |[0;0m }
[0;36m555 |[0;0m #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: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m extension Int32: NumericType {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m30 |[0;0m public func format(maxDecimals: Int) -> String {
[0;36m31 |[0;0m return "\(self)"
error: Build failed
BUILD FAILURE 6.4 linux