Build Information
Successful build of GoogleSignIn with Swift 6.0 (beta) for macOS (SPM).
Swift 6 data race errors: 1
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/darrarski/GoogleSignIn-Swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/darrarski/GoogleSignIn-Swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 503063c Merge pull request #1 from allexks/master
Cloned https://github.com/darrarski/GoogleSignIn-Swift.git
Revision (git rev-parse @):
503063ce6471ffee1d066486dc1b82a1dccde2a0
SUCCESS checkout https://github.com/darrarski/GoogleSignIn-Swift.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/darrarski/GoogleSignIn-Swift.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/8] Compiling GoogleSignIn URLSessionProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSignIn/URLSessionProtocol.swift:10:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'URLSessionProtocol'; this is an error in the Swift 6 language mode
2 |
3 | public protocol URLSessionProtocol {
4 | func dataTask(
| `- note: expected sendability to match requirement here
5 | with request: URLRequest,
6 | completionHandler: @escaping (Data?, URLResponse?, Swift.Error?) -> Void
:
8 | }
9 |
10 | extension URLSession: URLSessionProtocol {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'URLSessionProtocol'; this is an error in the Swift 6 language mode
11 |
[4/8] Emitting module GoogleSignIn
/Users/admin/builder/spi-builder-workspace/Sources/GoogleSignIn/URLSessionProtocol.swift:10:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'URLSessionProtocol'; this is an error in the Swift 6 language mode
2 |
3 | public protocol URLSessionProtocol {
4 | func dataTask(
| `- note: expected sendability to match requirement here
5 | with request: URLRequest,
6 | completionHandler: @escaping (Data?, URLResponse?, Swift.Error?) -> Void
:
8 | }
9 |
10 | extension URLSession: URLSessionProtocol {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'URLSessionProtocol'; this is an error in the Swift 6 language mode
11 |
[5/8] Compiling GoogleSignIn TokenResponse.swift
[6/8] Compiling GoogleSignIn Error.swift
[7/8] Compiling GoogleSignIn Controller.swift
[8/8] Compiling GoogleSignIn Config.swift
Build complete! (17.50s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "GoogleSignIn",
"name" : "GoogleSignIn",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GoogleSignIn",
"targets" : [
"GoogleSignIn"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GoogleSignInTests",
"module_type" : "SwiftTarget",
"name" : "GoogleSignInTests",
"path" : "Tests/GoogleSignInTests",
"sources" : [
"ControllerTests.swift",
"URLSessionDataTaskSpy.swift",
"URLSessionSpy.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"GoogleSignIn"
],
"type" : "test"
},
{
"c99name" : "GoogleSignIn",
"module_type" : "SwiftTarget",
"name" : "GoogleSignIn",
"path" : "Sources/GoogleSignIn",
"product_memberships" : [
"GoogleSignIn"
],
"sources" : [
"Config.swift",
"Controller.swift",
"Error.swift",
"TokenResponse.swift",
"URLSessionProtocol.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.