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 SwiftNP, reference main (13a2b3), with Swift 6.1 for Android on 17 Jun 2025 05:01:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/k-arindam/SwiftNP.git
https://github.com/k-arindam/SwiftNP.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "SwiftNP",
  "name" : "SwiftNP",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftNP",
      "targets" : [
        "SwiftNP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftNPTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNPTests",
      "path" : "Tests/SwiftNPTests",
      "sources" : [
        "SwiftNPTests.swift"
      ],
      "target_dependencies" : [
        "SwiftNP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftNP",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNP",
      "path" : "Sources/SwiftNP",
      "product_memberships" : [
        "SwiftNP"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SwiftNP/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwiftNP/Resources/banner.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Common/Constants.swift",
        "Common/NDArrayOperators.swift",
        "Core/NDArrayImpl/Conversions/MLMultiArray+NDArray.swift",
        "Core/NDArrayImpl/Conversions/UIImage+NDArray.swift",
        "Core/NDArrayImpl/NDArrayImpl.swift",
        "Core/NDArrayImpl/Operations/Arithmetic.swift",
        "Core/NDArrayImpl/Operations/Broadcasting.swift",
        "Core/NDArrayImpl/Operations/Convenience.swift",
        "Core/NDArrayImpl/Operations/Indexing.swift",
        "Core/NDArrayImpl/Operations/Reshape.swift",
        "Core/NDArrayImpl/Operations/Statistical.swift",
        "Core/NDArrayImpl/Operations/Transpose.swift",
        "Core/Typealiases.swift",
        "Core/Utils.swift",
        "Enums/ArithmeticOperation.swift",
        "Enums/ContentType.swift",
        "Enums/DType.swift",
        "Enums/ReshapeOrder.swift",
        "Enums/SNPError.swift",
        "Enums/ScalarOperation.swift",
        "Extensions/ArrayExtension.swift",
        "Extensions/IntExtension.swift",
        "Extensions/MLMultiArrayDataTypeExtension.swift",
        "Extensions/NDArrayExtension.swift",
        "Extensions/NumericExtension.swift",
        "Extensions/ShapeExtension.swift",
        "Extensions/StringExtension.swift",
        "Protocols/MatrixOperation.swift",
        "Protocols/NDArray.swift",
        "SwiftNP.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-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.40s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (2.34s)
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.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.92s)
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 Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/6] Write sources
[2/6] Copying Localizable.xcstrings
[2/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 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()
[9/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()
[10/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()
[11/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()
[12/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()
[13/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()
[14/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()
[15/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()
[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 NDArray.swift
[21/38] Compiling SwiftNP SwiftNP.swift
[22/38] Compiling SwiftNP resource_bundle_accessor.swift
[23/38] Compiling SwiftNP DType.swift
[24/38] Compiling SwiftNP ReshapeOrder.swift
[25/38] Compiling SwiftNP SNPError.swift
[26/38] Compiling SwiftNP ScalarOperation.swift
[27/38] Compiling SwiftNP ArrayExtension.swift
[28/38] Compiling SwiftNP IntExtension.swift
[29/38] Compiling SwiftNP MLMultiArrayDataTypeExtension.swift
[30/38] Compiling SwiftNP NDArrayExtension.swift
[31/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()
[32/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()
[33/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()
[34/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()
[35/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
[36/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
[37/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
[38/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/32] 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()
[5/35] 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()
[6/35] 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()
[7/35] 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()
[8/35] 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()
[9/35] 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
[10/35] 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
[11/35] 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
[12/35] 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
[13/35] Compiling SwiftNP Constants.swift
[14/35] Compiling SwiftNP NDArrayOperators.swift
[15/35] Compiling SwiftNP MLMultiArray+NDArray.swift
[16/35] Compiling SwiftNP UIImage+NDArray.swift
[17/35] 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()
[18/35] 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()
[19/35] 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()
[20/35] 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()
[21/35] Compiling SwiftNP ArrayExtension.swift
[22/35] Compiling SwiftNP IntExtension.swift
[23/35] Compiling SwiftNP MLMultiArrayDataTypeExtension.swift
[24/35] Compiling SwiftNP NDArrayExtension.swift
[25/35] Compiling SwiftNP NDArray.swift
[26/35] Compiling SwiftNP SwiftNP.swift
[27/35] Compiling SwiftNP resource_bundle_accessor.swift
[28/35] Compiling SwiftNP DType.swift
[29/35] Compiling SwiftNP ReshapeOrder.swift
[30/35] Compiling SwiftNP SNPError.swift
[31/35] Compiling SwiftNP ScalarOperation.swift
[32/35] 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()
[33/35] 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()
[34/35] 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()
[35/35] 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()
BUILD FAILURE 6.1 android