Build Information
Successful build of MungoHealer with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JamitLabs/MungoHealer.git
Reference: stable
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JamitLabs/MungoHealer
* branch stable -> FETCH_HEAD
* [new branch] stable -> origin/stable
HEAD is now at 3c7be5c Merge pull request #7 from jjorn/work/swift5-migration
Cloned https://github.com/JamitLabs/MungoHealer.git
Revision (git rev-parse @):
3c7be5cf38f5d718543f996955f05e5f6136e781
SUCCESS checkout https://github.com/JamitLabs/MungoHealer.git at stable
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/JamitLabs/MungoHealer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/16] Compiling MungoHealer HealingOption.swift
[4/17] Compiling MungoHealer UIWindowExtension.swift
[5/17] Compiling MungoHealer Globals.swift
[6/17] Compiling MungoHealer StringExtension.swift
[7/17] Compiling MungoHealer MungoHealableError.swift
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoHealableError.swift:8:14: warning: non-final class 'MungoHealableError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class MungoHealableError: MungoError, HealableError {
| `- warning: non-final class 'MungoHealableError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 | public let healingOptions: [HealingOption]
10 |
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoHealableError.swift:9:16: warning: stored property 'healingOptions' of 'Sendable'-conforming class 'MungoHealableError' has non-sendable type '[HealingOption]'; this is an error in the Swift 6 language mode
7 |
8 | public class MungoHealableError: MungoError, HealableError {
9 | public let healingOptions: [HealingOption]
| `- warning: stored property 'healingOptions' of 'Sendable'-conforming class 'MungoHealableError' has non-sendable type '[HealingOption]'; this is an error in the Swift 6 language mode
10 |
11 | public init(source: ErrorSource, message: String, healingOption: HealingOption) {
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/Models/HealingOption.swift:9:15: note: consider making struct 'HealingOption' conform to the 'Sendable' protocol
7 |
8 | /// A possible healing (recovery) option.
9 | public struct HealingOption {
| `- note: consider making struct 'HealingOption' conform to the 'Sendable' protocol
10 | /// The style of an option to be considered when presenting it to the user.
11 | public enum Style {
[8/17] Compiling MungoHealer BaseError.swift
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoHealableError.swift:8:14: warning: non-final class 'MungoHealableError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class MungoHealableError: MungoError, HealableError {
| `- warning: non-final class 'MungoHealableError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 | public let healingOptions: [HealingOption]
10 |
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoHealableError.swift:9:16: warning: stored property 'healingOptions' of 'Sendable'-conforming class 'MungoHealableError' has non-sendable type '[HealingOption]'; this is an error in the Swift 6 language mode
7 |
8 | public class MungoHealableError: MungoError, HealableError {
9 | public let healingOptions: [HealingOption]
| `- warning: stored property 'healingOptions' of 'Sendable'-conforming class 'MungoHealableError' has non-sendable type '[HealingOption]'; this is an error in the Swift 6 language mode
10 |
11 | public init(source: ErrorSource, message: String, healingOption: HealingOption) {
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/Models/HealingOption.swift:9:15: note: consider making struct 'HealingOption' conform to the 'Sendable' protocol
7 |
8 | /// A possible healing (recovery) option.
9 | public struct HealingOption {
| `- note: consider making struct 'HealingOption' conform to the 'Sendable' protocol
10 | /// The style of an option to be considered when presenting it to the user.
11 | public enum Style {
[9/17] Compiling MungoHealer AlertLogErrorHandler.swift
[10/17] Compiling MungoHealer ErrorHandler.swift
[11/17] Emitting module MungoHealer
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoError.swift:8:14: warning: non-final class 'MungoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class MungoError: BaseError {
| `- warning: non-final class 'MungoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 | public let source: ErrorSource
10 | public let errorDescription: String
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoError.swift:9:16: warning: stored property 'source' of 'Sendable'-conforming class 'MungoError' has non-sendable type 'ErrorSource'; this is an error in the Swift 6 language mode
7 |
8 | public class MungoError: BaseError {
9 | public let source: ErrorSource
| `- warning: stored property 'source' of 'Sendable'-conforming class 'MungoError' has non-sendable type 'ErrorSource'; this is an error in the Swift 6 language mode
10 | public let errorDescription: String
11 | public let debugDescription: String?
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/Models/ErrorSource.swift:9:13: note: consider making enum 'ErrorSource' conform to the 'Sendable' protocol
7 |
8 | /// A general classification between different sources for runtime errors.
9 | public enum ErrorSource: CaseIterable {
| `- note: consider making enum 'ErrorSource' conform to the 'Sendable' protocol
10 | case invalidUserInput
11 | case internalInconsistency
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoFatalError.swift:8:14: warning: non-final class 'MungoFatalError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class MungoFatalError: MungoError, FatalError { /* only semantically different than MungoError */ }
| `- warning: non-final class 'MungoFatalError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 |
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoHealableError.swift:8:14: warning: non-final class 'MungoHealableError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class MungoHealableError: MungoError, HealableError {
| `- warning: non-final class 'MungoHealableError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 | public let healingOptions: [HealingOption]
10 |
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoHealableError.swift:9:16: warning: stored property 'healingOptions' of 'Sendable'-conforming class 'MungoHealableError' has non-sendable type '[HealingOption]'; this is an error in the Swift 6 language mode
7 |
8 | public class MungoHealableError: MungoError, HealableError {
9 | public let healingOptions: [HealingOption]
| `- warning: stored property 'healingOptions' of 'Sendable'-conforming class 'MungoHealableError' has non-sendable type '[HealingOption]'; this is an error in the Swift 6 language mode
10 |
11 | public init(source: ErrorSource, message: String, healingOption: HealingOption) {
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/Models/HealingOption.swift:9:15: note: consider making struct 'HealingOption' conform to the 'Sendable' protocol
7 |
8 | /// A possible healing (recovery) option.
9 | public struct HealingOption {
| `- note: consider making struct 'HealingOption' conform to the 'Sendable' protocol
10 | /// The style of an option to be considered when presenting it to the user.
11 | public enum Style {
[12/17] Compiling MungoHealer FatalError.swift
[13/17] Compiling MungoHealer HealableError.swift
[14/17] Compiling MungoHealer MungoError.swift
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoError.swift:8:14: warning: non-final class 'MungoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class MungoError: BaseError {
| `- warning: non-final class 'MungoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 | public let source: ErrorSource
10 | public let errorDescription: String
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoError.swift:9:16: warning: stored property 'source' of 'Sendable'-conforming class 'MungoError' has non-sendable type 'ErrorSource'; this is an error in the Swift 6 language mode
7 |
8 | public class MungoError: BaseError {
9 | public let source: ErrorSource
| `- warning: stored property 'source' of 'Sendable'-conforming class 'MungoError' has non-sendable type 'ErrorSource'; this is an error in the Swift 6 language mode
10 | public let errorDescription: String
11 | public let debugDescription: String?
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/Models/ErrorSource.swift:9:13: note: consider making enum 'ErrorSource' conform to the 'Sendable' protocol
7 |
8 | /// A general classification between different sources for runtime errors.
9 | public enum ErrorSource: CaseIterable {
| `- note: consider making enum 'ErrorSource' conform to the 'Sendable' protocol
10 | case invalidUserInput
11 | case internalInconsistency
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoFatalError.swift:8:14: warning: non-final class 'MungoFatalError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class MungoFatalError: MungoError, FatalError { /* only semantically different than MungoError */ }
| `- warning: non-final class 'MungoFatalError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 |
[15/17] Compiling MungoHealer MungoFatalError.swift
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoError.swift:8:14: warning: non-final class 'MungoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class MungoError: BaseError {
| `- warning: non-final class 'MungoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 | public let source: ErrorSource
10 | public let errorDescription: String
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoError.swift:9:16: warning: stored property 'source' of 'Sendable'-conforming class 'MungoError' has non-sendable type 'ErrorSource'; this is an error in the Swift 6 language mode
7 |
8 | public class MungoError: BaseError {
9 | public let source: ErrorSource
| `- warning: stored property 'source' of 'Sendable'-conforming class 'MungoError' has non-sendable type 'ErrorSource'; this is an error in the Swift 6 language mode
10 | public let errorDescription: String
11 | public let debugDescription: String?
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/Models/ErrorSource.swift:9:13: note: consider making enum 'ErrorSource' conform to the 'Sendable' protocol
7 |
8 | /// A general classification between different sources for runtime errors.
9 | public enum ErrorSource: CaseIterable {
| `- note: consider making enum 'ErrorSource' conform to the 'Sendable' protocol
10 | case invalidUserInput
11 | case internalInconsistency
/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/ErrorTypes/MungoFatalError.swift:8:14: warning: non-final class 'MungoFatalError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class MungoFatalError: MungoError, FatalError { /* only semantically different than MungoError */ }
| `- warning: non-final class 'MungoFatalError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
9 |
[16/17] Compiling MungoHealer ErrorSource.swift
[17/17] Compiling MungoHealer MungoHealer.swift
Build complete! (21.00s)
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/Frameworks/SupportingFiles': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/MungoHealerTests/Tests/SupportingFiles': File not found.
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MungoHealer",
"name" : "MungoHealer",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MungoHealer",
"targets" : [
"MungoHealer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MungoHealerTests",
"module_type" : "SwiftTarget",
"name" : "MungoHealerTests",
"path" : "Tests/MungoHealerTests",
"sources" : [
"ExampleTests.swift"
],
"target_dependencies" : [
"MungoHealer"
],
"type" : "test"
},
{
"c99name" : "MungoHealer",
"module_type" : "SwiftTarget",
"name" : "MungoHealer",
"path" : "Frameworks/MungoHealer",
"product_memberships" : [
"MungoHealer"
],
"sources" : [
"ErrorHandlers/AlertLogErrorHandler.swift",
"ErrorHandlers/ErrorHandler.swift",
"ErrorTypes/MungoError.swift",
"ErrorTypes/MungoFatalError.swift",
"ErrorTypes/MungoHealableError.swift",
"ErrorsProtocols/BaseError.swift",
"ErrorsProtocols/FatalError.swift",
"ErrorsProtocols/HealableError.swift",
"Globals/Extensions/StringExtension.swift",
"Globals/Extensions/UIWindowExtension.swift",
"Globals/Globals.swift",
"Models/ErrorSource.swift",
"Models/HealingOption.swift",
"MungoHealer.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Frameworks/MungoHealer/Frameworks/SupportingFiles': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/MungoHealerTests/Tests/SupportingFiles': File not found.
Done.