Build Information
Successful build of SLazeKit, reference master (2b3a27
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 08:38:32 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/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
========================================
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": "slazekit",
"name": "SLazeKit",
"url": "https://github.com/shial4/SLazeKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SLazeKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/shial4/SLazeKit.git
[1/382] Fetching slazekit
Fetched https://github.com/shial4/SLazeKit.git from cache (0.84s)
Creating working copy for https://github.com/shial4/SLazeKit.git
Working copy of https://github.com/shial4/SLazeKit.git resolved at master (2b3a27c)
warning: '.resolve-product-dependencies': dependency 'slazekit' 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/shial4/SLazeKit.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/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)
[4/9] Compiling SLazeKit LazeConfiguration.swift
[5/9] Emitting module SLazeKit
[6/9] Compiling SLazeKit StringInitializable.swift
[7/9] Compiling SLazeKit String.swift
[8/9] Compiling SLazeKit Laze.swift
[9/9] Compiling SLazeKit Decodable.swift
Build complete! (8.62s)
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.