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 MailKit, reference master (51c72b), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 23:23:42 UTC.

Swift 6 data race errors: 2

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/Samasaur1/MailKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Samasaur1/MailKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 51c72bc Change LICENSE to AFLv3.0
Cloned https://github.com/Samasaur1/MailKit.git
Revision (git rev-parse @):
51c72bc6ca3e3c2e934008ccd224b2931985a0c2
SUCCESS checkout https://github.com/Samasaur1/MailKit.git at master
Fetching https://github.com/Samasaur1/ProtocolKit.git
[1/37] Fetching protocolkit
Fetched https://github.com/Samasaur1/ProtocolKit.git from cache (0.76s)
Computing version for https://github.com/Samasaur1/ProtocolKit.git
Computed https://github.com/Samasaur1/ProtocolKit.git at 1.0.2 (0.74s)
Creating working copy for https://github.com/Samasaur1/ProtocolKit.git
Working copy of https://github.com/Samasaur1/ProtocolKit.git resolved at 1.0.2
========================================
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": "mailkit",
      "name": "MailKit",
      "url": "https://github.com/Samasaur1/MailKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MailKit",
      "dependencies": [
        {
          "identity": "protocolkit",
          "name": "ProtocolKit",
          "url": "https://github.com/Samasaur1/ProtocolKit.git",
          "version": "1.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ProtocolKit",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Samasaur1/MailKit.git
[1/139] Fetching mailkit
Fetched https://github.com/Samasaur1/MailKit.git from cache (1.50s)
Fetching https://github.com/Samasaur1/ProtocolKit.git from cache
Fetched https://github.com/Samasaur1/ProtocolKit.git from cache (0.47s)
Computing version for https://github.com/Samasaur1/ProtocolKit.git
Computed https://github.com/Samasaur1/ProtocolKit.git at 1.0.2 (0.02s)
Creating working copy for https://github.com/Samasaur1/ProtocolKit.git
Working copy of https://github.com/Samasaur1/ProtocolKit.git resolved at 1.0.2
Creating working copy for https://github.com/Samasaur1/MailKit.git
Working copy of https://github.com/Samasaur1/MailKit.git resolved at master (51c72bc)
warning: '.resolve-product-dependencies': dependency 'mailkit' is not used by any target
Found 1 product dependencies
  - ProtocolKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Samasaur1/MailKit.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/5] Emitting module ProtocolKit
[5/5] Compiling ProtocolKit ProtocolKit.swift
[6/7] Compiling MailKit MailKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/MailKit/MailKit.swift:83:14: warning: associated value 'AppleScriptCompilation(info:)' of 'Sendable'-conforming enum 'Error' has non-sendable type '(info: NSDictionary)'; this is an error in the Swift 6 language mode
81 |     enum Error: Swift.Error {
82 |         case NotConfiured
83 |         case AppleScriptCompilation(info: NSDictionary)
   |              `- warning: associated value 'AppleScriptCompilation(info:)' of 'Sendable'-conforming enum 'Error' has non-sendable type '(info: NSDictionary)'; this is an error in the Swift 6 language mode
84 |         case AppleScriptExecution(info: NSDictionary)
85 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MailKit/MailKit.swift:84:14: warning: associated value 'AppleScriptExecution(info:)' of 'Sendable'-conforming enum 'Error' has non-sendable type '(info: NSDictionary)'; this is an error in the Swift 6 language mode
82 |         case NotConfiured
83 |         case AppleScriptCompilation(info: NSDictionary)
84 |         case AppleScriptExecution(info: NSDictionary)
   |              `- warning: associated value 'AppleScriptExecution(info:)' of 'Sendable'-conforming enum 'Error' has non-sendable type '(info: NSDictionary)'; this is an error in the Swift 6 language mode
85 |     }
86 |
[7/7] Emitting module MailKit
/Users/admin/builder/spi-builder-workspace/Sources/MailKit/MailKit.swift:83:14: warning: associated value 'AppleScriptCompilation(info:)' of 'Sendable'-conforming enum 'Error' has non-sendable type '(info: NSDictionary)'; this is an error in the Swift 6 language mode
81 |     enum Error: Swift.Error {
82 |         case NotConfiured
83 |         case AppleScriptCompilation(info: NSDictionary)
   |              `- warning: associated value 'AppleScriptCompilation(info:)' of 'Sendable'-conforming enum 'Error' has non-sendable type '(info: NSDictionary)'; this is an error in the Swift 6 language mode
84 |         case AppleScriptExecution(info: NSDictionary)
85 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MailKit/MailKit.swift:84:14: warning: associated value 'AppleScriptExecution(info:)' of 'Sendable'-conforming enum 'Error' has non-sendable type '(info: NSDictionary)'; this is an error in the Swift 6 language mode
82 |         case NotConfiured
83 |         case AppleScriptCompilation(info: NSDictionary)
84 |         case AppleScriptExecution(info: NSDictionary)
   |              `- warning: associated value 'AppleScriptExecution(info:)' of 'Sendable'-conforming enum 'Error' has non-sendable type '(info: NSDictionary)'; this is an error in the Swift 6 language mode
85 |     }
86 |
Build complete! (8.78s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "protocolkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Samasaur1/ProtocolKit.git"
    }
  ],
  "manifest_display_name" : "MailKit",
  "name" : "MailKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MailKit",
      "targets" : [
        "MailKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MailKitTests",
      "module_type" : "SwiftTarget",
      "name" : "MailKitTests",
      "path" : "Tests/MailKitTests",
      "sources" : [
        "MailKitTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "MailKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MailKit",
      "module_type" : "SwiftTarget",
      "name" : "MailKit",
      "path" : "Sources/MailKit",
      "product_dependencies" : [
        "ProtocolKit"
      ],
      "product_memberships" : [
        "MailKit"
      ],
      "sources" : [
        "MailKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.