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 with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.9
Building package at path:  $workDir
https://github.com/hadycodes/HName.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/4] Compiling HName HName.swift
/host/spi-builder-workspace/Sources/HName/HName.swift:3:2: error: Objective-C interoperability is disabled
@objc public class HName: NSObject, ExpressibleByStringLiteral, Codable {
~^~~~~
/host/spi-builder-workspace/Sources/HName/HName.swift:10:55: error: missing argument for parameter 'coder' in call
        let formatter = PersonNameComponentsFormatter()
                                                      ^
                                                      coder: <#NSCoder#>
Foundation.PersonNameComponentsFormatter:4:21: note: 'init(coder:)' declared here
    required public init?(coder: NSCoder)
                    ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module HName
/host/spi-builder-workspace/Sources/HName/HName+Formatters.swift:18:6: error: Objective-C interoperability is disabled
    @objc func formatted(_ style: NameStyle = .default) -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:10:2: error: Objective-C interoperability is disabled
@objc public extension HName {
~^~~~~
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:11:6: error: Objective-C interoperability is disabled
    @objc var firstName: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:15:6: error: Objective-C interoperability is disabled
    @objc var lastName: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:19:6: error: Objective-C interoperability is disabled
    @objc var namePrefix: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:23:6: error: Objective-C interoperability is disabled
    @objc var abbrivation: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:27:6: error: Objective-C interoperability is disabled
    @objc var fullName: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName.swift:3:2: error: Objective-C interoperability is disabled
@objc public class HName: NSObject, ExpressibleByStringLiteral, Codable {
~^~~~~
[3/4] Compiling HName HName+Getters.swift
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:10:2: error: Objective-C interoperability is disabled
@objc public extension HName {
~^~~~~
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:11:6: error: Objective-C interoperability is disabled
    @objc var firstName: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:15:6: error: Objective-C interoperability is disabled
    @objc var lastName: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:19:6: error: Objective-C interoperability is disabled
    @objc var namePrefix: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:23:6: error: Objective-C interoperability is disabled
    @objc var abbrivation: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:27:6: error: Objective-C interoperability is disabled
    @objc var fullName: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:31:55: error: missing argument for parameter 'coder' in call
        let formatter = PersonNameComponentsFormatter()
                                                      ^
                                                      coder: <#NSCoder#>
Foundation.PersonNameComponentsFormatter:4:21: note: 'init(coder:)' declared here
    required public init?(coder: NSCoder)
                    ^
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:32:28: error: cannot infer contextual base in reference to member 'default'
        formatter.style = .default
                          ~^~~~~~~
[4/4] Compiling HName HName+Formatters.swift
/host/spi-builder-workspace/Sources/HName/HName+Formatters.swift:18:6: error: Objective-C interoperability is disabled
    @objc func formatted(_ style: NameStyle = .default) -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Formatters.swift:22:55: error: missing argument for parameter 'coder' in call
        let formatter = PersonNameComponentsFormatter()
                                                      ^
                                                      coder: <#NSCoder#>
Foundation.PersonNameComponentsFormatter:4:21: note: 'init(coder:)' declared here
    required public init?(coder: NSCoder)
                    ^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/4] Compiling HName HName.swift
/host/spi-builder-workspace/Sources/HName/HName.swift:3:2: error: Objective-C interoperability is disabled
@objc public class HName: NSObject, ExpressibleByStringLiteral, Codable {
~^~~~~
/host/spi-builder-workspace/Sources/HName/HName.swift:10:55: error: missing argument for parameter 'coder' in call
        let formatter = PersonNameComponentsFormatter()
                                                      ^
                                                      coder: <#NSCoder#>
Foundation.PersonNameComponentsFormatter:4:21: note: 'init(coder:)' declared here
    required public init?(coder: NSCoder)
                    ^
[2/4] Compiling HName HName+Getters.swift
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:10:2: error: Objective-C interoperability is disabled
@objc public extension HName {
~^~~~~
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:11:6: error: Objective-C interoperability is disabled
    @objc var firstName: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:15:6: error: Objective-C interoperability is disabled
    @objc var lastName: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:19:6: error: Objective-C interoperability is disabled
    @objc var namePrefix: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:23:6: error: Objective-C interoperability is disabled
    @objc var abbrivation: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:27:6: error: Objective-C interoperability is disabled
    @objc var fullName: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:31:55: error: missing argument for parameter 'coder' in call
        let formatter = PersonNameComponentsFormatter()
                                                      ^
                                                      coder: <#NSCoder#>
Foundation.PersonNameComponentsFormatter:4:21: note: 'init(coder:)' declared here
    required public init?(coder: NSCoder)
                    ^
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:32:28: error: cannot infer contextual base in reference to member 'default'
        formatter.style = .default
                          ~^~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module HName
/host/spi-builder-workspace/Sources/HName/HName+Formatters.swift:18:6: error: Objective-C interoperability is disabled
    @objc func formatted(_ style: NameStyle = .default) -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:10:2: error: Objective-C interoperability is disabled
@objc public extension HName {
~^~~~~
/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:11:6: error: Objective-C interoperability is disabled
    @objc var firstName: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:15:6: error: Objective-C interoperability is disabled
    @objc var lastName: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:19:6: error: Objective-C interoperability is disabled
    @objc var namePrefix: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:23:6: error: Objective-C interoperability is disabled
    @objc var abbrivation: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Getters.swift:27:6: error: Objective-C interoperability is disabled
    @objc var fullName: String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName.swift:3:2: error: Objective-C interoperability is disabled
@objc public class HName: NSObject, ExpressibleByStringLiteral, Codable {
~^~~~~
[4/4] Compiling HName HName+Formatters.swift
/host/spi-builder-workspace/Sources/HName/HName+Formatters.swift:18:6: error: Objective-C interoperability is disabled
    @objc func formatted(_ style: NameStyle = .default) -> String? {
    ~^~~~~

/host/spi-builder-workspace/Sources/HName/HName+Formatters.swift:22:55: error: missing argument for parameter 'coder' in call
        let formatter = PersonNameComponentsFormatter()
                                                      ^
                                                      coder: <#NSCoder#>
Foundation.PersonNameComponentsFormatter:4:21: note: 'init(coder:)' declared here
    required public init?(coder: NSCoder)
                    ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1