Build Information
Successful build of SLazeKit 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/shial4/SLazeKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shial4/SLazeKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2b3a27c [3.0.0] Update to swift 5
Cloned https://github.com/shial4/SLazeKit.git
Revision (git rev-parse @):
2b3a27c65090784e4ee850959fa6857de5fee4ca
SUCCESS checkout https://github.com/shial4/SLazeKit.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/shial4/SLazeKit.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/9] Compiling SLazeKit StringInitializable.swift
[4/9] Compiling SLazeKit Laze.swift
[5/9] Compiling SLazeKit LazeConfiguration.swift
[6/9] Compiling SLazeKit String.swift
[7/9] Compiling SLazeKit Decodable.swift
[8/9] Emitting module SLazeKit
[9/9] Compiling SLazeKit SLazeKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/SLazeKit/SLazeKit.swift:21:13: warning: capture of 'handler' with non-sendable type '(NetworkResponse, (any Error)?) -> Void' (aka '((data: Optional<Data>, http: Optional<HTTPURLResponse>), Optional<any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | let task = Config.urlSession.dataTask(with: req) { (data, response, error) in
20 | Config.handle(response as? HTTPURLResponse)
21 | handler((data, response as? HTTPURLResponse), error)
| |- warning: capture of 'handler' with non-sendable type '(NetworkResponse, (any Error)?) -> Void' (aka '((data: Optional<Data>, http: Optional<HTTPURLResponse>), Optional<any Error>) -> ()') 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'
22 | }
23 | task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SLazeKit/SLazeKit.swift:39:21: warning: capture of 'handler' with non-sendable type '(NetworkResponse, T?, (any Error)?) -> Void' (aka '((data: Optional<Data>, http: Optional<HTTPURLResponse>), Optional<T>, Optional<any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | let object = try Config.decoder.decode(T.self, from: data)
38 | Config.synchronize(object)
39 | handler((data, response as? HTTPURLResponse), object, nil)
| |- warning: capture of 'handler' with non-sendable type '(NetworkResponse, T?, (any Error)?) -> Void' (aka '((data: Optional<Data>, http: Optional<HTTPURLResponse>), Optional<T>, Optional<any Error>) -> ()') 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'
40 | } catch {
41 | handler((data, response as? HTTPURLResponse), nil, error)
Build complete! (18.53s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SLazeKit",
"name" : "SLazeKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SLazeKit",
"targets" : [
"SLazeKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SLazeKitTests",
"module_type" : "SwiftTarget",
"name" : "SLazeKitTests",
"path" : "Tests/SLazeKitTests",
"sources" : [
"SLazeKitTests.swift",
"StringInitializableTests.swift",
"StringPathTests.swift"
],
"target_dependencies" : [
"SLazeKit"
],
"type" : "test"
},
{
"c99name" : "SLazeKit",
"module_type" : "SwiftTarget",
"name" : "SLazeKit",
"path" : "Sources/SLazeKit",
"product_memberships" : [
"SLazeKit"
],
"sources" : [
"Extensions/Decodable.swift",
"Extensions/String.swift",
"Laze.swift",
"Protocols/LazeConfiguration.swift",
"Protocols/StringInitializable.swift",
"SLazeKit.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.