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, reference 0.3.2 (132e5e), with Swift 6.0 for Linux on 27 Nov 2024 13:30:36 UTC.

Swift 6 data race errors: 5

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JamitLabs/MungoHealer.git
Reference: 0.3.2
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/JamitLabs/MungoHealer
 * tag               0.3.2      -> FETCH_HEAD
HEAD is now at 132e5e4 Merge branch 'deploy/0.3.2' into productive
Cloned https://github.com/JamitLabs/MungoHealer.git
Revision (git rev-parse @):
132e5e454298958f60ca6f1f34c733bc41f299e0
SUCCESS checkout https://github.com/JamitLabs/MungoHealer.git at 0.3.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/JamitLabs/MungoHealer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Frameworks/MungoHealer/Frameworks/SupportingFiles': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/MungoHealerTests/Tests/SupportingFiles': File not found.
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling MungoHealer AlertLogErrorHandler.swift
[4/16] Compiling MungoHealer ErrorHandler.swift
[5/16] Emitting module MungoHealer
/host/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
/host/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?
/host/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
/host/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 |
/host/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 |
/host/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) {
/host/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 {
[6/17] Compiling MungoHealer Globals.swift
[7/17] Compiling MungoHealer ErrorSource.swift
[8/17] Compiling MungoHealer HealingOption.swift
[9/17] Compiling MungoHealer MungoError.swift
/host/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
/host/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?
/host/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
/host/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 |
[10/17] Compiling MungoHealer MungoFatalError.swift
/host/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
/host/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?
/host/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
/host/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 |
[11/17] Compiling MungoHealer MungoHealableError.swift
/host/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 |
/host/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) {
/host/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 BaseError.swift
/host/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 |
/host/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) {
/host/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 {
[13/17] Compiling MungoHealer FatalError.swift
[14/17] Compiling MungoHealer HealableError.swift
[15/17] Compiling MungoHealer StringExtension.swift
[16/17] Compiling MungoHealer UIWindowExtension.swift
[17/17] Compiling MungoHealer MungoHealer.swift
Build complete! (8.46s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MungoHealer",
  "name" : "MungoHealer",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Frameworks/MungoHealer/Frameworks/SupportingFiles': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/MungoHealerTests/Tests/SupportingFiles': File not found.
Done.