The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build HName, reference 0.9.1 (29a875), with Swift 6.1 for Linux on 28 Apr 2025 09:39:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hadycodes/HName.git
Reference: 0.9.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/hadycodes/HName
 * tag               0.9.1      -> FETCH_HEAD
HEAD is now at 29a8753 Add cocoapod support
Cloned https://github.com/hadycodes/HName.git
Revision (git rev-parse @):
29a87538433abf015d87ae0b3437b6647c83aa57
SUCCESS checkout https://github.com/hadycodes/HName.git at 0.9.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hadycodes/HName.git
https://github.com/hadycodes/HName.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HName",
  "name" : "HName",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "HName",
      "targets" : [
        "HName"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HNameTests",
      "module_type" : "SwiftTarget",
      "name" : "HNameTests",
      "path" : "Tests/HNameTests",
      "sources" : [
        "HNameCodableTests.swift",
        "HNameTests.swift"
      ],
      "target_dependencies" : [
        "HName"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HName",
      "module_type" : "SwiftTarget",
      "name" : "HName",
      "path" : "Sources/HName",
      "product_memberships" : [
        "HName"
      ],
      "sources" : [
        "HName+Formatters.swift",
        "HName+Getters.swift",
        "HName.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling HName HName.swift
/host/spi-builder-workspace/Sources/HName/HName.swift:3:2: error: Objective-C interoperability is disabled
 1 | import Foundation
 2 |
 3 | @objc public class HName: NSObject, ExpressibleByStringLiteral, Codable {
   |  `- error: Objective-C interoperability is disabled
 4 |     public let name: String
 5 |     internal let personComponents: PersonNameComponents?
/host/spi-builder-workspace/Sources/HName/HName.swift:10:55: error: missing argument for parameter 'coder' in call
 8 |     required public init(stringLiteral value: String) {
 9 |         name = value
10 |         let formatter = PersonNameComponentsFormatter()
   |                                                       `- error: missing argument for parameter 'coder' in call
11 |         personComponents = formatter.personNameComponents(from: value)
12 |     }
Foundation.PersonNameComponentsFormatter.init:3:19: note: 'init(coder:)' declared here
1 | class PersonNameComponentsFormatter {
2 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
3 |   required public init?(coder: NSCoder)}
  |                   `- note: 'init(coder:)' declared here
4 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module HName
/host/spi-builder-workspace/Sources/HName/HName+Formatters.swift:18:6: error: Objective-C interoperability is disabled
16 | }
17 | public extension HName {
18 |     @objc func formatted(_ style: NameStyle = .default) -> String? {
   |      `- error: Objective-C interoperability is disabled
19 |         guard let pc = personComponents else {
20 |             return nil
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:10:2: error: Objective-C interoperability is disabled
 8 | import Foundation
 9 |
10 | @objc public extension HName {
   |  `- error: Objective-C interoperability is disabled
11 |     @objc var firstName: String? {
12 |         return self.personComponents?.givenName
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:11:6: error: Objective-C interoperability is disabled
 9 |
10 | @objc public extension HName {
11 |     @objc var firstName: String? {
   |      `- error: Objective-C interoperability is disabled
12 |         return self.personComponents?.givenName
13 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:15:6: error: Objective-C interoperability is disabled
13 |     }
14 |
15 |     @objc var lastName: String? {
   |      `- error: Objective-C interoperability is disabled
16 |         return self.personComponents?.familyName
17 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:19:6: error: Objective-C interoperability is disabled
17 |     }
18 |
19 |     @objc var namePrefix: String? {
   |      `- error: Objective-C interoperability is disabled
20 |         return self.personComponents?.namePrefix
21 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:23:6: error: Objective-C interoperability is disabled
21 |     }
22 |
23 |     @objc var abbrivation: String? {
   |      `- error: Objective-C interoperability is disabled
24 |         return self.formatted(.abbreviated)
25 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:27:6: error: Objective-C interoperability is disabled
25 |     }
26 |
27 |     @objc var fullName: String? {
   |      `- error: Objective-C interoperability is disabled
28 |         guard let pc = personComponents else {
29 |             return nil
/host/spi-builder-workspace/Sources/HName/HName.swift:3:2: error: Objective-C interoperability is disabled
 1 | import Foundation
 2 |
 3 | @objc public class HName: NSObject, ExpressibleByStringLiteral, Codable {
   |  `- error: Objective-C interoperability is disabled
 4 |     public let name: String
 5 |     internal let personComponents: PersonNameComponents?
[5/6] Compiling HName HName+Formatters.swift
/host/spi-builder-workspace/Sources/HName/HName+Formatters.swift:18:6: error: Objective-C interoperability is disabled
16 | }
17 | public extension HName {
18 |     @objc func formatted(_ style: NameStyle = .default) -> String? {
   |      `- error: Objective-C interoperability is disabled
19 |         guard let pc = personComponents else {
20 |             return nil
/host/spi-builder-workspace/Sources/HName/HName+Formatters.swift:22:55: error: missing argument for parameter 'coder' in call
20 |             return nil
21 |         }
22 |         let formatter = PersonNameComponentsFormatter()
   |                                                       `- error: missing argument for parameter 'coder' in call
23 |         formatter.style = PersonNameComponentsFormatter.Style(rawValue: style.rawValue) ?? .default
24 |         return formatter.string(from: pc)
Foundation.PersonNameComponentsFormatter.init:3:19: note: 'init(coder:)' declared here
1 | class PersonNameComponentsFormatter {
2 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
3 |   required public init?(coder: NSCoder)}
  |                   `- note: 'init(coder:)' declared here
4 |
[6/6] Compiling HName HName+Getters.swift
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:10:2: error: Objective-C interoperability is disabled
 8 | import Foundation
 9 |
10 | @objc public extension HName {
   |  `- error: Objective-C interoperability is disabled
11 |     @objc var firstName: String? {
12 |         return self.personComponents?.givenName
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:11:6: error: Objective-C interoperability is disabled
 9 |
10 | @objc public extension HName {
11 |     @objc var firstName: String? {
   |      `- error: Objective-C interoperability is disabled
12 |         return self.personComponents?.givenName
13 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:15:6: error: Objective-C interoperability is disabled
13 |     }
14 |
15 |     @objc var lastName: String? {
   |      `- error: Objective-C interoperability is disabled
16 |         return self.personComponents?.familyName
17 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:19:6: error: Objective-C interoperability is disabled
17 |     }
18 |
19 |     @objc var namePrefix: String? {
   |      `- error: Objective-C interoperability is disabled
20 |         return self.personComponents?.namePrefix
21 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:23:6: error: Objective-C interoperability is disabled
21 |     }
22 |
23 |     @objc var abbrivation: String? {
   |      `- error: Objective-C interoperability is disabled
24 |         return self.formatted(.abbreviated)
25 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:27:6: error: Objective-C interoperability is disabled
25 |     }
26 |
27 |     @objc var fullName: String? {
   |      `- error: Objective-C interoperability is disabled
28 |         guard let pc = personComponents else {
29 |             return nil
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:31:55: error: missing argument for parameter 'coder' in call
29 |             return nil
30 |         }
31 |         let formatter = PersonNameComponentsFormatter()
   |                                                       `- error: missing argument for parameter 'coder' in call
32 |         formatter.style = .default
33 |         return formatter.string(from: pc)
Foundation.PersonNameComponentsFormatter.init:3:19: note: 'init(coder:)' declared here
1 | class PersonNameComponentsFormatter {
2 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
3 |   required public init?(coder: NSCoder)}
  |                   `- note: 'init(coder:)' declared here
4 |
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:32:28: error: cannot infer contextual base in reference to member 'default'
30 |         }
31 |         let formatter = PersonNameComponentsFormatter()
32 |         formatter.style = .default
   |                            `- error: cannot infer contextual base in reference to member 'default'
33 |         return formatter.string(from: pc)
34 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module HName
/host/spi-builder-workspace/Sources/HName/HName+Formatters.swift:18:6: error: Objective-C interoperability is disabled
16 | }
17 | public extension HName {
18 |     @objc func formatted(_ style: NameStyle = .default) -> String? {
   |      `- error: Objective-C interoperability is disabled
19 |         guard let pc = personComponents else {
20 |             return nil
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:10:2: error: Objective-C interoperability is disabled
 8 | import Foundation
 9 |
10 | @objc public extension HName {
   |  `- error: Objective-C interoperability is disabled
11 |     @objc var firstName: String? {
12 |         return self.personComponents?.givenName
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:11:6: error: Objective-C interoperability is disabled
 9 |
10 | @objc public extension HName {
11 |     @objc var firstName: String? {
   |      `- error: Objective-C interoperability is disabled
12 |         return self.personComponents?.givenName
13 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:15:6: error: Objective-C interoperability is disabled
13 |     }
14 |
15 |     @objc var lastName: String? {
   |      `- error: Objective-C interoperability is disabled
16 |         return self.personComponents?.familyName
17 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:19:6: error: Objective-C interoperability is disabled
17 |     }
18 |
19 |     @objc var namePrefix: String? {
   |      `- error: Objective-C interoperability is disabled
20 |         return self.personComponents?.namePrefix
21 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:23:6: error: Objective-C interoperability is disabled
21 |     }
22 |
23 |     @objc var abbrivation: String? {
   |      `- error: Objective-C interoperability is disabled
24 |         return self.formatted(.abbreviated)
25 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:27:6: error: Objective-C interoperability is disabled
25 |     }
26 |
27 |     @objc var fullName: String? {
   |      `- error: Objective-C interoperability is disabled
28 |         guard let pc = personComponents else {
29 |             return nil
/host/spi-builder-workspace/Sources/HName/HName.swift:3:2: error: Objective-C interoperability is disabled
 1 | import Foundation
 2 |
 3 | @objc public class HName: NSObject, ExpressibleByStringLiteral, Codable {
   |  `- error: Objective-C interoperability is disabled
 4 |     public let name: String
 5 |     internal let personComponents: PersonNameComponents?
[3/5] Compiling HName HName.swift
/host/spi-builder-workspace/Sources/HName/HName.swift:3:2: error: Objective-C interoperability is disabled
 1 | import Foundation
 2 |
 3 | @objc public class HName: NSObject, ExpressibleByStringLiteral, Codable {
   |  `- error: Objective-C interoperability is disabled
 4 |     public let name: String
 5 |     internal let personComponents: PersonNameComponents?
/host/spi-builder-workspace/Sources/HName/HName.swift:10:55: error: missing argument for parameter 'coder' in call
 8 |     required public init(stringLiteral value: String) {
 9 |         name = value
10 |         let formatter = PersonNameComponentsFormatter()
   |                                                       `- error: missing argument for parameter 'coder' in call
11 |         personComponents = formatter.personNameComponents(from: value)
12 |     }
Foundation.PersonNameComponentsFormatter.init:3:19: note: 'init(coder:)' declared here
1 | class PersonNameComponentsFormatter {
2 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
3 |   required public init?(coder: NSCoder)}
  |                   `- note: 'init(coder:)' declared here
4 |
[4/5] Compiling HName HName+Formatters.swift
/host/spi-builder-workspace/Sources/HName/HName+Formatters.swift:18:6: error: Objective-C interoperability is disabled
16 | }
17 | public extension HName {
18 |     @objc func formatted(_ style: NameStyle = .default) -> String? {
   |      `- error: Objective-C interoperability is disabled
19 |         guard let pc = personComponents else {
20 |             return nil
/host/spi-builder-workspace/Sources/HName/HName+Formatters.swift:22:55: error: missing argument for parameter 'coder' in call
20 |             return nil
21 |         }
22 |         let formatter = PersonNameComponentsFormatter()
   |                                                       `- error: missing argument for parameter 'coder' in call
23 |         formatter.style = PersonNameComponentsFormatter.Style(rawValue: style.rawValue) ?? .default
24 |         return formatter.string(from: pc)
Foundation.PersonNameComponentsFormatter.init:3:19: note: 'init(coder:)' declared here
1 | class PersonNameComponentsFormatter {
2 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
3 |   required public init?(coder: NSCoder)}
  |                   `- note: 'init(coder:)' declared here
4 |
[5/5] Compiling HName HName+Getters.swift
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:10:2: error: Objective-C interoperability is disabled
 8 | import Foundation
 9 |
10 | @objc public extension HName {
   |  `- error: Objective-C interoperability is disabled
11 |     @objc var firstName: String? {
12 |         return self.personComponents?.givenName
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:11:6: error: Objective-C interoperability is disabled
 9 |
10 | @objc public extension HName {
11 |     @objc var firstName: String? {
   |      `- error: Objective-C interoperability is disabled
12 |         return self.personComponents?.givenName
13 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:15:6: error: Objective-C interoperability is disabled
13 |     }
14 |
15 |     @objc var lastName: String? {
   |      `- error: Objective-C interoperability is disabled
16 |         return self.personComponents?.familyName
17 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:19:6: error: Objective-C interoperability is disabled
17 |     }
18 |
19 |     @objc var namePrefix: String? {
   |      `- error: Objective-C interoperability is disabled
20 |         return self.personComponents?.namePrefix
21 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:23:6: error: Objective-C interoperability is disabled
21 |     }
22 |
23 |     @objc var abbrivation: String? {
   |      `- error: Objective-C interoperability is disabled
24 |         return self.formatted(.abbreviated)
25 |     }
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:27:6: error: Objective-C interoperability is disabled
25 |     }
26 |
27 |     @objc var fullName: String? {
   |      `- error: Objective-C interoperability is disabled
28 |         guard let pc = personComponents else {
29 |             return nil
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:31:55: error: missing argument for parameter 'coder' in call
29 |             return nil
30 |         }
31 |         let formatter = PersonNameComponentsFormatter()
   |                                                       `- error: missing argument for parameter 'coder' in call
32 |         formatter.style = .default
33 |         return formatter.string(from: pc)
Foundation.PersonNameComponentsFormatter.init:3:19: note: 'init(coder:)' declared here
1 | class PersonNameComponentsFormatter {
2 | @available(*, unavailable, message: "Person name components formatting isn't available in swift-corelibs-foundation")
3 |   required public init?(coder: NSCoder)}
  |                   `- note: 'init(coder:)' declared here
4 |
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:32:28: error: cannot infer contextual base in reference to member 'default'
30 |         }
31 |         let formatter = PersonNameComponentsFormatter()
32 |         formatter.style = .default
   |                            `- error: cannot infer contextual base in reference to member 'default'
33 |         return formatter.string(from: pc)
34 |     }
BUILD FAILURE 6.1 linux