Build Information
Failed to build SwiftNP, reference main (13a2b3
), with Swift 6.0 for Linux on 17 Jun 2025 05:01:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/k-arindam/SwiftNP.git
Reference: main
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/k-arindam/SwiftNP
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 13a2b3a Update README.md
Cloned https://github.com/k-arindam/SwiftNP.git
Revision (git rev-parse @):
13a2b3a395d5fca792b265ad90c9320e47448790
SUCCESS checkout https://github.com/k-arindam/SwiftNP.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/k-arindam/SwiftNP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (2.43s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3411] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.75s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/6] Write sources
[3/6] Copying Localizable.xcstrings
[4/6] Copying banner.png
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/35] Emitting module SwiftNP
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[8/38] Compiling SwiftNP ArrayExtension.swift
[9/38] Compiling SwiftNP IntExtension.swift
[10/38] Compiling SwiftNP MLMultiArrayDataTypeExtension.swift
[11/38] Compiling SwiftNP NDArrayExtension.swift
[12/38] Compiling SwiftNP NumericExtension.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:23:63: error: extra argument 'bundle' in call
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
| `- error: extra argument 'bundle' in call
24 |
25 | // Format the localized string with the provided arguments and return it
[13/38] Compiling SwiftNP ShapeExtension.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:23:63: error: extra argument 'bundle' in call
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
| `- error: extra argument 'bundle' in call
24 |
25 | // Format the localized string with the provided arguments and return it
[14/38] Compiling SwiftNP StringExtension.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:23:63: error: extra argument 'bundle' in call
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
| `- error: extra argument 'bundle' in call
24 |
25 | // Format the localized string with the provided arguments and return it
[15/38] Compiling SwiftNP MatrixOperation.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:23:63: error: extra argument 'bundle' in call
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
| `- error: extra argument 'bundle' in call
24 |
25 | // Format the localized string with the provided arguments and return it
[16/38] Compiling SwiftNP Constants.swift
[17/38] Compiling SwiftNP NDArrayOperators.swift
[18/38] Compiling SwiftNP MLMultiArray+NDArray.swift
[19/38] Compiling SwiftNP UIImage+NDArray.swift
[20/38] Compiling SwiftNP Typealiases.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[21/38] Compiling SwiftNP Utils.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[22/38] Compiling SwiftNP ArithmeticOperation.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[23/38] Compiling SwiftNP ContentType.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[24/38] Compiling SwiftNP NDArrayImpl.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[25/38] Compiling SwiftNP Arithmetic.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[26/38] Compiling SwiftNP Broadcasting.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[27/38] Compiling SwiftNP Convenience.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[28/38] Compiling SwiftNP NDArray.swift
[29/38] Compiling SwiftNP SwiftNP.swift
[30/38] Compiling SwiftNP resource_bundle_accessor.swift
[31/38] Compiling SwiftNP DType.swift
[32/38] Compiling SwiftNP ReshapeOrder.swift
[33/38] Compiling SwiftNP SNPError.swift
[34/38] Compiling SwiftNP ScalarOperation.swift
[35/38] Compiling SwiftNP Indexing.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[36/38] Compiling SwiftNP Reshape.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[37/38] Compiling SwiftNP Statistical.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
[38/38] Compiling SwiftNP Transpose.swift
/host/spi-builder-workspace/Sources/SwiftNP/Extensions/StringExtension.swift:21:36: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
19 | /// let greeting = String.custom(key: "hello_key", args: ["World"])
20 | /// // Returns a localized string for "hello_key" formatted with "World"
21 | static func custom(key: String.LocalizationValue, args: [CVarArg] = []) -> String {
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
22 | // Retrieve the localized string from the specified bundle
23 | let localized = String(localized: key, bundle: Bundle.module)
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
BUILD FAILURE 6.0 linux