Build Information
Successful build of Netable, reference v2.3.0 (d1dc98
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 06:58:00 UTC.
Swift 6 data race errors: 1
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/steamclock/netable.git
Reference: v2.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/steamclock/netable
* tag v2.3.0 -> FETCH_HEAD
HEAD is now at d1dc982 fix changelog missing 2.2.0, update interceptor stuff to 2.3.0
Cloned https://github.com/steamclock/netable.git
Revision (git rev-parse @):
d1dc982cd6a0ec0db37e6d3873069f929422c074
SUCCESS checkout https://github.com/steamclock/netable.git at v2.3.0
========================================
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": "netable",
"name": "Netable",
"url": "https://github.com/steamclock/netable.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/netable",
"dependencies": [
]
}
]
}
Fetching https://github.com/steamclock/netable.git
[1/3648] Fetching netable
Fetched https://github.com/steamclock/netable.git from cache (1.41s)
Creating working copy for https://github.com/steamclock/netable.git
Working copy of https://github.com/steamclock/netable.git resolved at v2.3.0 (d1dc982)
warning: '.resolve-product-dependencies': dependency 'netable' 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/steamclock/netable.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/23] Emitting module Netable
/Users/admin/builder/spi-builder-workspace/Netable/Netable/LossyArray.swift:26:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | /// Array container that allows for partial decoding of elements.
14 | /// If an element of the array fails to decode, it will be omitted rather than the rest of the array failing to decode.
15 | public struct LossyArray<Element>: Sendable where Element: Sendable {
| `- note: 'Element' previously declared here
16 | /// All elements of the array that decoded successfully.
17 | public var elements: [Element]
:
24 | extension LossyArray: Decodable where Element: Decodable {
25 | /// Decode non-optional item into an optional element.
26 | public struct FailableDecodable<Element: Decodable>: Decodable {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
27 | public var element: Element?
28 |
/Users/admin/builder/spi-builder-workspace/Netable/Netable/Netable.swift:317:1: warning: extension declares a conformance of imported type 'AnyPublisher' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Combine' introduce this conformance in the future
315 | }
316 |
317 | extension AnyPublisher: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'AnyPublisher' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Combine' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
318 |
[4/25] Compiling Netable URLRequest+EncodeURL.swift
[5/25] Compiling Netable URLRequest+Multipart.swift
[6/25] Compiling Netable Config.swift
[7/25] Compiling Netable DecodingError+Logging.swift
[8/25] Compiling Netable Error.swift
[9/25] Compiling Netable String+FullyQualifiedURL.swift
[10/25] Compiling Netable AdaptedRequest.swift
[11/25] Compiling Netable SmartUnwrap.swift
[12/25] Compiling Netable URLRequest+EncodeParameters.swift
[13/25] Compiling Netable Netable+Equatable.swift
[14/25] Compiling Netable Netable+Error.swift
[15/25] Compiling Netable Interceptor.swift
[16/25] Compiling Netable InterceptorList.swift
[17/25] Compiling Netable RequestFailedDelegate.swift
[18/25] Compiling Netable RetryConfiguration.swift
[19/25] Compiling Netable LogDestination.swift
/Users/admin/builder/spi-builder-workspace/Netable/Netable/LossyArray.swift:26:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | /// Array container that allows for partial decoding of elements.
14 | /// If an element of the array fails to decode, it will be omitted rather than the rest of the array failing to decode.
15 | public struct LossyArray<Element>: Sendable where Element: Sendable {
| `- note: 'Element' previously declared here
16 | /// All elements of the array that decoded successfully.
17 | public var elements: [Element]
:
24 | extension LossyArray: Decodable where Element: Decodable {
25 | /// Decode non-optional item into an optional element.
26 | public struct FailableDecodable<Element: Decodable>: Decodable {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
27 | public var element: Element?
28 |
[20/25] Compiling Netable LossyArray.swift
/Users/admin/builder/spi-builder-workspace/Netable/Netable/LossyArray.swift:26:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | /// Array container that allows for partial decoding of elements.
14 | /// If an element of the array fails to decode, it will be omitted rather than the rest of the array failing to decode.
15 | public struct LossyArray<Element>: Sendable where Element: Sendable {
| `- note: 'Element' previously declared here
16 | /// All elements of the array that decoded successfully.
17 | public var elements: [Element]
:
24 | extension LossyArray: Decodable where Element: Decodable {
25 | /// Decode non-optional item into an optional element.
26 | public struct FailableDecodable<Element: Decodable>: Decodable {
| `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
27 | public var element: Element?
28 |
[21/25] Compiling Netable Netable.swift
/Users/admin/builder/spi-builder-workspace/Netable/Netable/Netable.swift:317:1: warning: extension declares a conformance of imported type 'AnyPublisher' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Combine' introduce this conformance in the future
315 | }
316 |
317 | extension AnyPublisher: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'AnyPublisher' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Combine' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
318 |
/Users/admin/builder/spi-builder-workspace/Netable/Netable/Netable.swift:177:20: warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <()>' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
175 | let resultSubject = PassthroughSubject<Result<T.FinalResource, NetableError>, Never>()
176 |
177 | let task = Task {
| `- warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <()>' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
178 | do {
179 | let finalResource = try await self.request(request)
:
184 | }
185 |
186 | return (task: task, subject: resultSubject.receive(on: RunLoop.main))
| `- note: access can happen concurrently
187 | }
188 |
[22/25] Compiling Netable Request.swift
/Users/admin/builder/spi-builder-workspace/Netable/Netable/Netable.swift:317:1: warning: extension declares a conformance of imported type 'AnyPublisher' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Combine' introduce this conformance in the future
315 | }
316 |
317 | extension AnyPublisher: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'AnyPublisher' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Combine' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
318 |
/Users/admin/builder/spi-builder-workspace/Netable/Netable/Netable.swift:177:20: warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <()>' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
175 | let resultSubject = PassthroughSubject<Result<T.FinalResource, NetableError>, Never>()
176 |
177 | let task = Task {
| `- warning: value of non-Sendable type '@isolated(any) @async @callee_guaranteed @substituted <τ_0_0> () -> @out τ_0_0 for <()>' accessed after being transferred; later accesses could race; this is an error in the Swift 6 language mode
178 | do {
179 | let finalResource = try await self.request(request)
:
184 | }
185 |
186 | return (task: task, subject: resultSubject.receive(on: RunLoop.main))
| `- note: access can happen concurrently
187 | }
188 |
[23/25] Compiling Netable GraphQLRequest.swift
[24/25] Compiling Netable HTTPMethod.swift
[25/25] Compiling Netable ArrayDecodeStrategy.swift
Build complete! (18.16s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Netable",
"name" : "Netable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Netable",
"targets" : [
"Netable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Netable",
"module_type" : "SwiftTarget",
"name" : "Netable",
"path" : "Netable/Netable",
"product_memberships" : [
"Netable"
],
"sources" : [
"Config.swift",
"DecodingError+Logging.swift",
"Error.swift",
"GraphQLRequest.swift",
"HTTPMethod.swift",
"Helper/ArrayDecodeStrategy.swift",
"Helper/Netable+Equatable.swift",
"Helper/Netable+Error.swift",
"Helper/String+FullyQualifiedURL.swift",
"Interceptors/AdaptedRequest.swift",
"Interceptors/Interceptor.swift",
"Interceptors/InterceptorList.swift",
"LogDestination.swift",
"LossyArray.swift",
"Netable.swift",
"Request.swift",
"RequestFailedDelegate.swift",
"RetryConfiguration.swift",
"SmartUnwrap.swift",
"URLRequest+EncodeParameters.swift",
"URLRequest+EncodeURL.swift",
"URLRequest+Multipart.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.