This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

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/FlineDev/MungoHealer.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FlineDev/MungoHealer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6718c02 Link localized resources correctly in target
Cloned https://github.com/FlineDev/MungoHealer.git
Revision (git rev-parse @):
6718c0233d73efa86da0802b346ecb3b189699ac
SUCCESS checkout https://github.com/FlineDev/MungoHealer.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/FlineDev/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/5] Write sources
[1/5] Copying Info.plist
[2/5] Copying Localizable.strings
[4/5] Write swift-version-6F35C1178C84523A.txt
[6/20] Compiling MungoHealer MungoHealer.swift
[7/20] Compiling MungoHealer ErrorSource.swift
[8/20] Compiling MungoHealer HealingOption.swift
[9/21] Compiling MungoHealer FatalError.swift
[10/21] Compiling MungoHealer HealableError.swift
[11/21] Compiling MungoHealer MungoHealableError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoHealableError.swift:3:14: warning: non-final class 'MungoHealableError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | 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
 4 |   public let healingOptions: [HealingOption]
 5 |
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoHealableError.swift:4:14: warning: stored property 'healingOptions' of 'Sendable'-conforming class 'MungoHealableError' has non-sendable type '[HealingOption]'; this is an error in the Swift 6 language mode
 2 |
 3 | public class MungoHealableError: MungoError, HealableError {
 4 |   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
 5 |
 6 |   public init(source: ErrorSource, message: String, healingOption: HealingOption) {
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/Models/HealingOption.swift:4:15: note: consider making struct 'HealingOption' conform to the 'Sendable' protocol
 2 |
 3 | /// A possible healing (recovery) option.
 4 | public struct HealingOption {
   |               `- note: consider making struct 'HealingOption' conform to the 'Sendable' protocol
 5 |   /// The style of an option to be considered when presenting it to the user.
 6 |   public enum Style {
[12/21] Compiling MungoHealer BaseError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoHealableError.swift:3:14: warning: non-final class 'MungoHealableError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | 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
 4 |   public let healingOptions: [HealingOption]
 5 |
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoHealableError.swift:4:14: warning: stored property 'healingOptions' of 'Sendable'-conforming class 'MungoHealableError' has non-sendable type '[HealingOption]'; this is an error in the Swift 6 language mode
 2 |
 3 | public class MungoHealableError: MungoError, HealableError {
 4 |   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
 5 |
 6 |   public init(source: ErrorSource, message: String, healingOption: HealingOption) {
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/Models/HealingOption.swift:4:15: note: consider making struct 'HealingOption' conform to the 'Sendable' protocol
 2 |
 3 | /// A possible healing (recovery) option.
 4 | public struct HealingOption {
   |               `- note: consider making struct 'HealingOption' conform to the 'Sendable' protocol
 5 |   /// The style of an option to be considered when presenting it to the user.
 6 |   public enum Style {
[13/21] Compiling MungoHealer StringExt.swift
[14/21] Compiling MungoHealer UIWindowExt.swift
[15/21] Compiling MungoHealer AlertLogErrorHandler.swift
[16/21] Compiling MungoHealer ErrorHandler.swift
[17/21] Compiling MungoHealer MungoError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoError.swift:3:14: warning: non-final class 'MungoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | 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
 4 |   public let source: ErrorSource
 5 |   public let errorDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoError.swift:4:14: warning: stored property 'source' of 'Sendable'-conforming class 'MungoError' has non-sendable type 'ErrorSource'; this is an error in the Swift 6 language mode
 2 |
 3 | public class MungoError: BaseError {
 4 |   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
 5 |   public let errorDescription: String
 6 |   public let debugDescription: String?
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/Models/ErrorSource.swift:4:13: note: consider making enum 'ErrorSource' conform to the 'Sendable' protocol
 2 |
 3 | /// A general classification between different sources for runtime errors.
 4 | public enum ErrorSource: CaseIterable {
   |             `- note: consider making enum 'ErrorSource' conform to the 'Sendable' protocol
 5 |   case invalidUserInput
 6 |   case internalInconsistency
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoFatalError.swift:3:14: warning: non-final class 'MungoFatalError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | 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
4 |
[18/21] Compiling MungoHealer MungoFatalError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoError.swift:3:14: warning: non-final class 'MungoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | 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
 4 |   public let source: ErrorSource
 5 |   public let errorDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoError.swift:4:14: warning: stored property 'source' of 'Sendable'-conforming class 'MungoError' has non-sendable type 'ErrorSource'; this is an error in the Swift 6 language mode
 2 |
 3 | public class MungoError: BaseError {
 4 |   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
 5 |   public let errorDescription: String
 6 |   public let debugDescription: String?
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/Models/ErrorSource.swift:4:13: note: consider making enum 'ErrorSource' conform to the 'Sendable' protocol
 2 |
 3 | /// A general classification between different sources for runtime errors.
 4 | public enum ErrorSource: CaseIterable {
   |             `- note: consider making enum 'ErrorSource' conform to the 'Sendable' protocol
 5 |   case invalidUserInput
 6 |   case internalInconsistency
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoFatalError.swift:3:14: warning: non-final class 'MungoFatalError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | 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
4 |
[19/21] Compiling MungoHealer Globals.swift
[20/21] Emitting module MungoHealer
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoError.swift:3:14: warning: non-final class 'MungoError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | 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
 4 |   public let source: ErrorSource
 5 |   public let errorDescription: String
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoError.swift:4:14: warning: stored property 'source' of 'Sendable'-conforming class 'MungoError' has non-sendable type 'ErrorSource'; this is an error in the Swift 6 language mode
 2 |
 3 | public class MungoError: BaseError {
 4 |   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
 5 |   public let errorDescription: String
 6 |   public let debugDescription: String?
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/Models/ErrorSource.swift:4:13: note: consider making enum 'ErrorSource' conform to the 'Sendable' protocol
 2 |
 3 | /// A general classification between different sources for runtime errors.
 4 | public enum ErrorSource: CaseIterable {
   |             `- note: consider making enum 'ErrorSource' conform to the 'Sendable' protocol
 5 |   case invalidUserInput
 6 |   case internalInconsistency
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoFatalError.swift:3:14: warning: non-final class 'MungoFatalError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | 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
4 |
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoHealableError.swift:3:14: warning: non-final class 'MungoHealableError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | 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
 4 |   public let healingOptions: [HealingOption]
 5 |
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/ErrorTypes/MungoHealableError.swift:4:14: warning: stored property 'healingOptions' of 'Sendable'-conforming class 'MungoHealableError' has non-sendable type '[HealingOption]'; this is an error in the Swift 6 language mode
 2 |
 3 | public class MungoHealableError: MungoError, HealableError {
 4 |   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
 5 |
 6 |   public init(source: ErrorSource, message: String, healingOption: HealingOption) {
/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/Models/HealingOption.swift:4:15: note: consider making struct 'HealingOption' conform to the 'Sendable' protocol
 2 |
 3 | /// A possible healing (recovery) option.
 4 | public struct HealingOption {
   |               `- note: consider making struct 'HealingOption' conform to the 'Sendable' protocol
 5 |   /// The style of an option to be considered when presenting it to the user.
 6 |   public enum Style {
[21/21] Compiling MungoHealer resource_bundle_accessor.swift
Build complete! (22.14s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "MungoHealer",
  "name" : "MungoHealer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "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" : "Sources/MungoHealer",
      "product_memberships" : [
        "MungoHealer"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/Resources/Localizables/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MungoHealer/Resources/Localizables/de.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        }
      ],
      "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/StringExt.swift",
        "Globals/Extensions/UIWindowExt.swift",
        "Globals/Globals.swift",
        "Models/ErrorSource.swift",
        "Models/HealingOption.swift",
        "MungoHealer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.