Build Information
Successful build of Resting, reference main (667c7e
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 23:51:13 UTC.
Swift 6 data race errors: 2
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/rocxteady/Resting.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rocxteady/Resting
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 667c7e7 Merge pull request #9 from rocxteady/development
Cloned https://github.com/rocxteady/Resting.git
Revision (git rev-parse @):
667c7e7903e41ccd4ab8a39f4df0570a29f49ead
SUCCESS checkout https://github.com/rocxteady/Resting.git at main
========================================
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": "resting",
"name": "Resting",
"url": "https://github.com/rocxteady/Resting.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Resting",
"dependencies": [
]
}
]
}
Fetching https://github.com/rocxteady/Resting.git
[1/281] Fetching resting
Fetched https://github.com/rocxteady/Resting.git from cache (2.00s)
Creating working copy for https://github.com/rocxteady/Resting.git
Working copy of https://github.com/rocxteady/Resting.git resolved at main (667c7e7)
warning: '.resolve-product-dependencies': dependency 'resting' 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/rocxteady/Resting.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/5] Write sources
[1/5] Copying Localizable.strings
[2/5] Copying Info.plist
[2/5] Copying Localizable.strings
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/13] Compiling Resting resource_bundle_accessor.swift
[7/13] Compiling Resting RestingError.swift
[8/13] Compiling Resting Resting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Resting/Resting.swift:29:14: warning: non-final class 'RestClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
27 | /// ///
28 | /// This client utilizes a `RestClientConfiguration` to configure its behavior, including the session configuration and JSON decoding.
29 | public class RestClient: NSObject {
| `- warning: non-final class 'RestClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
30 | private lazy var session: URLSession = URLSession(configuration: clientConfiguration.sessionConfiguration, delegate: self, delegateQueue: nil)
31 | private let clientConfiguration: RestClientConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/Resting/Resting.swift:30:22: warning: stored property '$__lazy_storage_$_session' of 'Sendable'-conforming class 'RestClient' is mutable; this is an error in the Swift 6 language mode
28 | /// This client utilizes a `RestClientConfiguration` to configure its behavior, including the session configuration and JSON decoding.
29 | public class RestClient: NSObject {
30 | private lazy var session: URLSession = URLSession(configuration: clientConfiguration.sessionConfiguration, delegate: self, delegateQueue: nil)
| `- warning: stored property '$__lazy_storage_$_session' of 'Sendable'-conforming class 'RestClient' is mutable; this is an error in the Swift 6 language mode
31 | private let clientConfiguration: RestClientConfiguration
32 |
[9/13] Compiling Resting URLComponents+Helper.swift
[10/13] Compiling Resting URLSession+Helper.swift
[11/13] Emitting module Resting
/Users/admin/builder/spi-builder-workspace/Sources/Resting/Resting.swift:29:14: warning: non-final class 'RestClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
27 | /// ///
28 | /// This client utilizes a `RestClientConfiguration` to configure its behavior, including the session configuration and JSON decoding.
29 | public class RestClient: NSObject {
| `- warning: non-final class 'RestClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
30 | private lazy var session: URLSession = URLSession(configuration: clientConfiguration.sessionConfiguration, delegate: self, delegateQueue: nil)
31 | private let clientConfiguration: RestClientConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/Resting/Resting.swift:30:22: warning: stored property '$__lazy_storage_$_session' of 'Sendable'-conforming class 'RestClient' is mutable; this is an error in the Swift 6 language mode
28 | /// This client utilizes a `RestClientConfiguration` to configure its behavior, including the session configuration and JSON decoding.
29 | public class RestClient: NSObject {
30 | private lazy var session: URLSession = URLSession(configuration: clientConfiguration.sessionConfiguration, delegate: self, delegateQueue: nil)
| `- warning: stored property '$__lazy_storage_$_session' of 'Sendable'-conforming class 'RestClient' is mutable; this is an error in the Swift 6 language mode
31 | private let clientConfiguration: RestClientConfiguration
32 |
[12/13] Compiling Resting DataWithURLResponse.swift
[13/13] Compiling Resting RequestConfiguration.swift
Build complete! (10.79s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "Resting",
"name" : "Resting",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "Resting",
"targets" : [
"Resting"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RestingTests",
"module_type" : "SwiftTarget",
"name" : "RestingTests",
"path" : "Tests/RestingTests",
"sources" : [
"LocalizationTests.swift",
"Mocks/MockedModel.swift",
"Mocks/MockedURLService.swift",
"RequestConfigurationTests.swift",
"RestClientTests.swift",
"RestClientWithFailureTests.swift"
],
"target_dependencies" : [
"Resting"
],
"type" : "test"
},
{
"c99name" : "Resting",
"module_type" : "SwiftTarget",
"name" : "Resting",
"path" : "Sources/Resting",
"product_memberships" : [
"Resting"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Resting/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Resting/Resources/tr.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "tr"
}
}
}
],
"sources" : [
"DataWithURLResponse.swift",
"Extensions/URLComponents+Helper.swift",
"Extensions/URLSession+Helper.swift",
"RequestConfiguration.swift",
"Resting.swift",
"RestingError.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.