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 SURL, reference 0.1.1 (c04f94), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 23:42:35 UTC.

Swift 6 data race errors: 0

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/0xLet/SURL.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xLet/SURL
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at c04f941 Added canImport(Combine)
Cloned https://github.com/0xLet/SURL.git
Revision (git rev-parse @):
c04f941eea250f78f5c7151c03cd2489ca9ffc2b
SUCCESS checkout https://github.com/0xLet/SURL.git at 0.1.1
========================================
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": "surl",
      "name": "SURL",
      "url": "https://github.com/0xLet/SURL.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SURL",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/0xLet/SURL.git
[1/45] Fetching surl
Fetched https://github.com/0xLet/SURL.git from cache (0.72s)
Creating working copy for https://github.com/0xLet/SURL.git
Working copy of https://github.com/0xLet/SURL.git resolved at 0.1.1 (c04f941)
warning: '.resolve-product-dependencies': dependency 'surl' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xLet/SURL.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling SURL URLRequest+.swift
/Users/admin/builder/spi-builder-workspace/Sources/SURL/URLRequest+.swift:33:67: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
30 |     }
31 |
32 |     func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
   |                               `- note: parameter 'handler' is implicitly non-sendable
33 |         URLSession.shared.dataTask(with: self, completionHandler: handler)
   |                                                                   `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
34 |     }
35 | }
[4/6] Compiling SURL String+.swift
[5/6] Compiling SURL URL+.swift
/Users/admin/builder/spi-builder-workspace/Sources/SURL/URL+.swift:19:67: warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
 16 |     }
 17 |
 18 |     func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
    |                               `- note: parameter 'handler' is implicitly non-sendable
 19 |         URLSession.shared.dataTask(with: self, completionHandler: handler)
    |                                                                   `- warning: passing non-sendable parameter 'handler' to function expecting a @Sendable closure
 20 |     }
 21 |
[6/6] Emitting module SURL
Build complete! (6.26s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SURL",
  "name" : "SURL",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SURL",
      "targets" : [
        "SURL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SURLTests",
      "module_type" : "SwiftTarget",
      "name" : "SURLTests",
      "path" : "Tests/SURLTests",
      "sources" : [
        "SURLTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SURL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SURL",
      "module_type" : "SwiftTarget",
      "name" : "SURL",
      "path" : "Sources/SURL",
      "product_memberships" : [
        "SURL"
      ],
      "sources" : [
        "String+.swift",
        "URL+.swift",
        "URLRequest+.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.