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 NotarizeProcess, reference 0.2.3 (ae77b9), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 15:48:15 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/phimage/NotarizeProcess.git
Reference: 0.2.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/phimage/NotarizeProcess
 * tag               0.2.3      -> FETCH_HEAD
HEAD is now at ae77b9c Remove path escape for ditto
Cloned https://github.com/phimage/NotarizeProcess.git
Revision (git rev-parse @):
ae77b9c3e8a29613d96c6d66719723e23a629fc8
SUCCESS checkout https://github.com/phimage/NotarizeProcess.git at 0.2.3
Fetching https://github.com/phimage/NotarizationInfo
[1/85] Fetching notarizationinfo
Fetched https://github.com/phimage/NotarizationInfo from cache (0.63s)
Fetching https://github.com/phimage/NotarizationAuditLog
[1/32] Fetching notarizationauditlog
Fetched https://github.com/phimage/NotarizationAuditLog from cache (0.57s)
Creating working copy for https://github.com/phimage/NotarizationInfo
Working copy of https://github.com/phimage/NotarizationInfo resolved at HEAD (0622445)
Creating working copy for https://github.com/phimage/NotarizationAuditLog
Working copy of https://github.com/phimage/NotarizationAuditLog resolved at HEAD (daa6a29)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "notarizeprocess",
      "name": "NotarizeProcess",
      "url": "https://github.com/phimage/NotarizeProcess.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NotarizeProcess",
      "dependencies": [
        {
          "identity": "notarizationinfo",
          "name": "NotarizationInfo",
          "url": "https://github.com/phimage/NotarizationInfo",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NotarizationInfo",
          "dependencies": [
          ]
        },
        {
          "identity": "notarizationauditlog",
          "name": "NotarizationAuditLog",
          "url": "https://github.com/phimage/NotarizationAuditLog",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NotarizationAuditLog",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/phimage/NotarizeProcess.git
[1/133] Fetching notarizeprocess
Fetched https://github.com/phimage/NotarizeProcess.git from cache (0.73s)
Fetching https://github.com/phimage/NotarizationInfo from cache
Fetched https://github.com/phimage/NotarizationInfo from cache (0.51s)
Fetching https://github.com/phimage/NotarizationAuditLog from cache
Fetched https://github.com/phimage/NotarizationAuditLog from cache (0.49s)
Creating working copy for https://github.com/phimage/NotarizationInfo
Working copy of https://github.com/phimage/NotarizationInfo resolved at HEAD (86e4288)
Creating working copy for https://github.com/phimage/NotarizationAuditLog
Working copy of https://github.com/phimage/NotarizationAuditLog resolved at HEAD (511ff36)
Creating working copy for https://github.com/phimage/NotarizeProcess.git
Working copy of https://github.com/phimage/NotarizeProcess.git resolved at 0.2.3 (ae77b9c)
warning: '.resolve-product-dependencies': dependency 'notarizeprocess' is not used by any target
Found 2 product dependencies
  - NotarizationInfo
  - NotarizationAuditLog
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/phimage/NotarizeProcess.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/13] Compiling NotarizationAuditLog NotarizationAuditLog.swift
[6/13] Emitting module NotarizationAuditLog
[7/13] Compiling NotarizationInfo NotarizationError.swift
[8/13] Compiling NotarizationInfo NotarizationHistory.swift
[9/13] Emitting module NotarizationInfo
[10/13] Compiling NotarizationInfo NotarizationUpload.swift
[11/13] Compiling NotarizationInfo NotarizationResponse.swift
[12/13] Compiling NotarizationInfo NotarizationInfo.swift
[13/13] Compiling NotarizationInfo NotarizationStatus.swift
[14/21] Compiling NotarizeProcess NotarizePlatform.swift
[15/21] Compiling NotarizeProcess NotarizeProcessError.swift
[16/21] Compiling NotarizeProcess Processable.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/Processable.swift:30:16: warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | struct XcRun: Processable {
30 |     static var launchPath = "/usr/bin/xcrun"
   |                |- warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'launchPath' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'launchPath' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/Processable.swift:34:16: warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | struct Ditto: Processable {
34 |     static var launchPath = "/usr/bin/ditto"
   |                |- warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'launchPath' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'launchPath' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[17/21] Compiling NotarizeProcess WaitMethod.swift
[18/21] Compiling NotarizeProcess NotarizeProcess.swift
[19/21] Compiling NotarizeProcess NotarizationInfo+AuditLog.swift
[20/21] Compiling NotarizeProcess NotarizeProcessAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:19:23: warning: static property 'notarize' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
17 |     }
18 |
19 |     public static let notarize = NotarizeProcessAction(rawValue: 1 << 0)
   |                       |- warning: static property 'notarize' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'notarize' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     public static let wait = NotarizeProcessAction(rawValue: 1 << 1)
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:20:23: warning: static property 'wait' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
18 |
19 |     public static let notarize = NotarizeProcessAction(rawValue: 1 << 0)
20 |     public static let wait = NotarizeProcessAction(rawValue: 1 << 1)
   |                       |- warning: static property 'wait' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'wait' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:21:23: warning: static property 'staple' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
19 |     public static let notarize = NotarizeProcessAction(rawValue: 1 << 0)
20 |     public static let wait = NotarizeProcessAction(rawValue: 1 << 1)
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
   |                       |- warning: static property 'staple' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'staple' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |     public static let all: NotarizeProcessAction = [ .notarize, .wait, .staple]
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:23:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
22 |
23 |     public static let all: NotarizeProcessAction = [ .notarize, .wait, .staple]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
[21/21] Emitting module NotarizeProcess
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:19:23: warning: static property 'notarize' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
17 |     }
18 |
19 |     public static let notarize = NotarizeProcessAction(rawValue: 1 << 0)
   |                       |- warning: static property 'notarize' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'notarize' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     public static let wait = NotarizeProcessAction(rawValue: 1 << 1)
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:20:23: warning: static property 'wait' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
18 |
19 |     public static let notarize = NotarizeProcessAction(rawValue: 1 << 0)
20 |     public static let wait = NotarizeProcessAction(rawValue: 1 << 1)
   |                       |- warning: static property 'wait' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'wait' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:21:23: warning: static property 'staple' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
19 |     public static let notarize = NotarizeProcessAction(rawValue: 1 << 0)
20 |     public static let wait = NotarizeProcessAction(rawValue: 1 << 1)
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
   |                       |- warning: static property 'staple' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'staple' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |     public static let all: NotarizeProcessAction = [ .notarize, .wait, .staple]
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/NotarizeProcessAction.swift:23:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | import NotarizationInfo
10 |
11 | public struct NotarizeProcessAction: OptionSet {
   |               `- note: consider making struct 'NotarizeProcessAction' conform to the 'Sendable' protocol
12 |
13 |     public let rawValue: Int
   :
21 |     public static let staple = NotarizeProcessAction(rawValue: 1 << 2)
22 |
23 |     public static let all: NotarizeProcessAction = [ .notarize, .wait, .staple]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'NotarizeProcessAction' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/Processable.swift:30:16: warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | struct XcRun: Processable {
30 |     static var launchPath = "/usr/bin/xcrun"
   |                |- warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'launchPath' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'launchPath' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/NotarizeProcess/Processable.swift:34:16: warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | struct Ditto: Processable {
34 |     static var launchPath = "/usr/bin/ditto"
   |                |- warning: static property 'launchPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'launchPath' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'launchPath' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
Build complete! (9.40s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "notarizationinfo",
      "requirement" : {
        "revision" : [
          "HEAD"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/phimage/NotarizationInfo"
    },
    {
      "identity" : "notarizationauditlog",
      "requirement" : {
        "revision" : [
          "HEAD"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/phimage/NotarizationAuditLog"
    }
  ],
  "manifest_display_name" : "NotarizeProcess",
  "name" : "NotarizeProcess",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "NotarizeProcess",
      "targets" : [
        "NotarizeProcess"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NotarizeProcessTests",
      "module_type" : "SwiftTarget",
      "name" : "NotarizeProcessTests",
      "path" : "Tests/NotarizeProcessTests",
      "sources" : [
        "NotarizeProcessTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "NotarizeProcess"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NotarizeProcess",
      "module_type" : "SwiftTarget",
      "name" : "NotarizeProcess",
      "path" : "Sources/NotarizeProcess",
      "product_dependencies" : [
        "NotarizationInfo",
        "NotarizationAuditLog"
      ],
      "product_memberships" : [
        "NotarizeProcess"
      ],
      "sources" : [
        "NotarizationInfo+AuditLog.swift",
        "NotarizePlatform.swift",
        "NotarizeProcess.swift",
        "NotarizeProcessAction.swift",
        "NotarizeProcessError.swift",
        "Processable.swift",
        "WaitMethod.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.