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 ProxyResolver with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

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/rinold/ProxyResolver.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rinold/ProxyResolver
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3eef3cb Merge pull request #4 from rinold/develop
Cloned https://github.com/rinold/ProxyResolver.git
Revision (git rev-parse @):
3eef3cb2fbe766bc503f3e46c10c4b24fb8a4318
SUCCESS checkout https://github.com/rinold/ProxyResolver.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/rinold/ProxyResolver.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/5] Emitting module ProxyResolver
[4/5] Compiling ProxyResolver Types.swift
/Users/admin/builder/spi-builder-workspace/ProxyResolver/Classes/Internal/Types.swift:71:17: warning: capture of 'completion' with non-sendable type '(String?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 |         let task = URLSession.shared.dataTask(with: request) { (data, response, error)  in
70 |             if error == nil, let data = data, let scriptContents = String(data: data, encoding: .utf8) {
71 |                 completion(scriptContents, nil)
   |                 |- warning: capture of 'completion' with non-sendable type '(String?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 |             } else {
73 |                 completion(nil, error)
[5/5] Compiling ProxyResolver ProxyResolver.swift
Build complete! (16.21s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ProxyResolver",
  "name" : "ProxyResolver",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ProxyResolver",
      "targets" : [
        "ProxyResolver"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProxyResolverTests",
      "module_type" : "SwiftTarget",
      "name" : "ProxyResolverTests",
      "path" : "Example/Tests",
      "sources" : [
        "Configuration.swift",
        "DelegateTests.swift",
        "Tests.swift"
      ],
      "target_dependencies" : [
        "ProxyResolver"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProxyResolver",
      "module_type" : "SwiftTarget",
      "name" : "ProxyResolver",
      "path" : "ProxyResolver/Classes",
      "product_memberships" : [
        "ProxyResolver"
      ],
      "sources" : [
        "Internal/Types.swift",
        "ProxyResolver.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.