Build Information
Successful build of JSONSession, reference main (636fdf
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 14:02:19 UTC.
Swift 6 data race errors: 3
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/elegantchaos/JSONSession.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/JSONSession
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 636fdf1 Upped watchOS minimum to v6.
Cloned https://github.com/elegantchaos/JSONSession.git
Revision (git rev-parse @):
636fdf1fc8050f619e5299892c1ac0b95fd6677f
SUCCESS checkout https://github.com/elegantchaos/JSONSession.git at main
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/elegantchaos/Runner
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/SemanticVersion
Fetching https://github.com/elegantchaos/SwiftFormatterPlugin.git
[1/152] Fetching semanticversion
[153/828] Fetching semanticversion, runner
[289/2875] Fetching semanticversion, runner, logger
[330/3019] Fetching semanticversion, runner, logger, actionbuilderplugin
[474/3106] Fetching semanticversion, runner, logger, actionbuilderplugin, swiftformatterplugin
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.77s)
Fetching https://github.com/elegantchaos/Coercion.git
[422/2962] Fetching semanticversion, runner, logger, swiftformatterplugin
[973/3533] Fetching semanticversion, runner, logger, swiftformatterplugin, xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (1.02s)
Fetched https://github.com/elegantchaos/Runner from cache (1.02s)
[1795/2286] Fetching semanticversion, logger, swiftformatterplugin
Fetched https://github.com/elegantchaos/SemanticVersion from cache (1.02s)
[1848/2134] Fetching logger, swiftformatterplugin
Fetching https://github.com/elegantchaos/DataFetcher.git
Fetching https://github.com/elegantchaos/ActionBuilderCore
[2135/47168] Fetching logger, swiftformatterplugin, swiftformat
[4387/47442] Fetching logger, swiftformatterplugin, swiftformat, coercion
Fetched https://github.com/elegantchaos/Coercion.git from cache (0.81s)
[5287/47168] Fetching logger, swiftformatterplugin, swiftformat
[6189/47619] Fetching logger, swiftformatterplugin, swiftformat, actionbuildercore
[6383/47791] Fetching logger, swiftformatterplugin, swiftformat, actionbuildercore, datafetcher
Fetched https://github.com/elegantchaos/DataFetcher.git from cache (0.80s)
Fetched https://github.com/elegantchaos/ActionBuilderCore from cache (0.80s)
[7088/47168] Fetching logger, swiftformatterplugin, swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (101.25s)
Fetched https://github.com/elegantchaos/Logger.git from cache (101.25s)
Fetched https://github.com/elegantchaos/SwiftFormatterPlugin.git from cache (101.25s)
Computing version for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Computed https://github.com/elegantchaos/SwiftFormatterPlugin.git at 1.0.3 (0.93s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 1.0.7 (0.65s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.1.2 (0.61s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.5.5 (0.65s)
Computing version for https://github.com/elegantchaos/DataFetcher.git
Computed https://github.com/elegantchaos/DataFetcher.git at 1.0.2 (0.66s)
Computing version for https://github.com/elegantchaos/Coercion.git
Computed https://github.com/elegantchaos/Coercion.git at 1.0.3 (0.66s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.49.13 (2.63s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore
Computed https://github.com/elegantchaos/ActionBuilderCore at 1.0.9 (0.65s)
Computing version for https://github.com/elegantchaos/SemanticVersion
Computed https://github.com/elegantchaos/SemanticVersion at 1.1.0 (0.66s)
Computing version for https://github.com/elegantchaos/Runner
Computed https://github.com/elegantchaos/Runner at 1.3.2 (0.64s)
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.1.2
Creating working copy for https://github.com/elegantchaos/Runner
Working copy of https://github.com/elegantchaos/Runner resolved at 1.3.2
Creating working copy for https://github.com/elegantchaos/Coercion.git
Working copy of https://github.com/elegantchaos/Coercion.git resolved at 1.0.3
Creating working copy for https://github.com/elegantchaos/DataFetcher.git
Working copy of https://github.com/elegantchaos/DataFetcher.git resolved at 1.0.2
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.5.5
Creating working copy for https://github.com/elegantchaos/ActionBuilderCore
Working copy of https://github.com/elegantchaos/ActionBuilderCore resolved at 1.0.9
Creating working copy for https://github.com/elegantchaos/ActionBuilderPlugin.git
Working copy of https://github.com/elegantchaos/ActionBuilderPlugin.git resolved at 1.0.7
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.49.13
Creating working copy for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Working copy of https://github.com/elegantchaos/SwiftFormatterPlugin.git resolved at 1.0.3
Creating working copy for https://github.com/elegantchaos/SemanticVersion
Working copy of https://github.com/elegantchaos/SemanticVersion resolved at 1.1.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": "jsonsession",
"name": "JSONSession",
"url": "https://github.com/elegantchaos/JSONSession.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JSONSession",
"dependencies": [
{
"identity": "coercion",
"name": "Coercion",
"url": "https://github.com/elegantchaos/Coercion.git",
"version": "1.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Coercion",
"dependencies": [
]
},
{
"identity": "datafetcher",
"name": "DataFetcher",
"url": "https://github.com/elegantchaos/DataFetcher.git",
"version": "1.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DataFetcher",
"dependencies": [
{
"identity": "coercion",
"name": "Coercion",
"url": "https://github.com/elegantchaos/Coercion.git",
"version": "1.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Coercion",
"dependencies": [
]
}
]
},
{
"identity": "logger",
"name": "Logger",
"url": "https://github.com/elegantchaos/Logger.git",
"version": "1.8.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Logger",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/elegantchaos/JSONSession.git
[1/307] Fetching jsonsession
Fetched https://github.com/elegantchaos/JSONSession.git from cache (0.76s)
Fetching https://github.com/elegantchaos/Coercion.git from cache
Fetching https://github.com/elegantchaos/Logger.git from cache
Fetching https://github.com/elegantchaos/DataFetcher.git from cache
Fetched https://github.com/elegantchaos/Coercion.git from cache (0.49s)
Fetched https://github.com/elegantchaos/DataFetcher.git from cache (0.49s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.49s)
Computing version for https://github.com/elegantchaos/DataFetcher.git
Computed https://github.com/elegantchaos/DataFetcher.git at 1.0.2 (0.02s)
Computing version for https://github.com/elegantchaos/Coercion.git
Computed https://github.com/elegantchaos/Coercion.git at 1.1.3 (0.02s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.1 (0.65s)
Creating working copy for https://github.com/elegantchaos/JSONSession.git
Working copy of https://github.com/elegantchaos/JSONSession.git resolved at main (636fdf1)
Creating working copy for https://github.com/elegantchaos/Coercion.git
Working copy of https://github.com/elegantchaos/Coercion.git resolved at 1.1.3
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 1.8.1
Creating working copy for https://github.com/elegantchaos/DataFetcher.git
Working copy of https://github.com/elegantchaos/DataFetcher.git resolved at 1.0.2
warning: '.resolve-product-dependencies': dependency 'jsonsession' is not used by any target
Found 3 product dependencies
- Coercion
- DataFetcher
- Logger
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/elegantchaos/JSONSession.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
[1/1] Compiling plugin ActionBuilderPlugin
[2/2] Compiling plugin SwiftFormatterPlugin
Building for debugging...
[2/7] Write sources
[6/7] Write swift-version--7754E27361AE5C74.txt
[8/30] Compiling Coercion UIntConvertible.swift
[9/31] Compiling Coercion IntConvertible.swift
[10/31] Compiling Coercion StringConvertible.swift
[11/31] Compiling Coercion StandardConvertible.swift
[12/31] Compiling Logger OSLogHandler.swift
[13/31] Compiling Coercion String+Coercion.swift
[14/31] Compiling Logger NSLogHandler.swift
[15/31] Compiling Logger Handler.swift
[16/31] Compiling Logger PrintHandler.swift
[17/31] Compiling Logger Manager.swift
[18/31] Compiling Logger Context.swift
[19/31] Compiling Coercion BoolConvertible.swift
[20/31] Compiling Coercion DataConvertible.swift
[21/31] Compiling Coercion DateConvertible.swift
[22/31] Compiling Coercion DoubleConvertible.swift
[23/31] Compiling Logger Channel.swift
[24/31] Emitting module Logger
[25/31] Compiling Coercion Dictionary+Coercion.swift
[26/31] Compiling Coercion Double+Coercion.swift
[27/31] Emitting module Coercion
[28/31] Compiling Coercion Converter.swift
[29/31] Compiling Coercion Date+Coercion.swift
[30/31] Compiling Coercion BinaryInteger+Coercion.swift
[31/31] Compiling Coercion Bool+Coercion.swift
[32/35] Compiling DataFetcher JSONDictionary.swift
[33/35] Compiling DataFetcher MockDataFetcher.swift
[34/35] Emitting module DataFetcher
[35/35] Compiling DataFetcher DataFetcher.swift
[36/45] Emitting module JSONSession
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:15:12: warning: let 'sessionChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public let sessionChannel = Channel("com.elegantchaos.jsonsession.JSONSession")
| `- warning: let 'sessionChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Channel.swift:15:14: note: class 'Channel' does not conform to the 'Sendable' protocol
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 |
17 | /**
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logger'
7 | import DataFetcher
8 | import Foundation
9 | import Logger
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logger'
10 |
11 | #if canImport(FoundationNetworking)
:
13 | #endif
14 |
15 | public let sessionChannel = Channel("com.elegantchaos.jsonsession.JSONSession")
| |- note: annotate 'sessionChannel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
17 |
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:16:12: warning: let 'networkingChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | public let sessionChannel = Channel("com.elegantchaos.jsonsession.JSONSession")
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
| |- warning: let 'networkingChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'networkingChannel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | open class Session {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Channel.swift:15:14: note: class 'Channel' does not conform to the 'Sendable' protocol
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 |
17 | /**
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:50:14: warning: associated value 'apiError' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'Failure'; this is an error in the Swift 6 language mode
48 | case badResponse
49 | case missingData
50 | case apiError(Failure)
| `- warning: associated value 'apiError' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'Failure'; this is an error in the Swift 6 language mode
51 | case unexpectedResponse(Int)
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Failure.swift:8:15: note: consider making struct 'Failure' conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public struct Failure: Codable {
| `- note: consider making struct 'Failure' conform to the 'Sendable' protocol
9 | let message: String
10 | let documentation_url: String
[37/45] Compiling JSONSession TimeExtensions.swift
[38/45] Compiling JSONSession Resource.swift
[39/45] Compiling JSONSession Query.swift
[40/45] Compiling JSONSession Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:16:12: warning: let 'networkingChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | public let sessionChannel = Channel("com.elegantchaos.jsonsession.JSONSession")
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
| `- warning: let 'networkingChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | open class Session {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Channel.swift:15:14: note: class 'Channel' does not conform to the 'Sendable' protocol
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 |
17 | /**
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logger'
7 | import DataFetcher
8 | import Foundation
9 | import Logger
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logger'
10 |
11 | #if canImport(FoundationNetworking)
:
14 |
15 | public let sessionChannel = Channel("com.elegantchaos.jsonsession.JSONSession")
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
| |- note: annotate 'networkingChannel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | open class Session {
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:15:12: warning: let 'sessionChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public let sessionChannel = Channel("com.elegantchaos.jsonsession.JSONSession")
| |- warning: let 'sessionChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sessionChannel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Channel.swift:15:14: note: class 'Channel' does not conform to the 'Sendable' protocol
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 |
17 | /**
[41/45] Compiling JSONSession ResourceResolver.swift
[42/45] Compiling JSONSession Processor.swift
[43/45] Compiling JSONSession ProcessorGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:15:12: warning: let 'sessionChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public let sessionChannel = Channel("com.elegantchaos.jsonsession.JSONSession")
| `- warning: let 'sessionChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Channel.swift:15:14: note: class 'Channel' does not conform to the 'Sendable' protocol
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 |
17 | /**
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logger'
7 | import DataFetcher
8 | import Foundation
9 | import Logger
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logger'
10 |
11 | #if canImport(FoundationNetworking)
:
13 | #endif
14 |
15 | public let sessionChannel = Channel("com.elegantchaos.jsonsession.JSONSession")
| |- note: annotate 'sessionChannel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
17 |
[44/45] Compiling JSONSession Failure.swift
[45/45] Compiling JSONSession Session.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:15:12: warning: let 'sessionChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public let sessionChannel = Channel("com.elegantchaos.jsonsession.JSONSession")
| `- warning: let 'sessionChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Channel.swift:15:14: note: class 'Channel' does not conform to the 'Sendable' protocol
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 |
17 | /**
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logger'
7 | import DataFetcher
8 | import Foundation
9 | import Logger
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logger'
10 |
11 | #if canImport(FoundationNetworking)
:
13 | #endif
14 |
15 | public let sessionChannel = Channel("com.elegantchaos.jsonsession.JSONSession")
| |- note: annotate 'sessionChannel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
17 |
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:16:12: warning: let 'networkingChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | public let sessionChannel = Channel("com.elegantchaos.jsonsession.JSONSession")
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
| |- warning: let 'networkingChannel' is not concurrency-safe because non-'Sendable' type 'Channel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'networkingChannel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | open class Session {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Channel.swift:15:14: note: class 'Channel' does not conform to the 'Sendable' protocol
13 | */
14 |
15 | public class Channel {
| `- note: class 'Channel' does not conform to the 'Sendable' protocol
16 |
17 | /**
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:50:14: warning: associated value 'apiError' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'Failure'; this is an error in the Swift 6 language mode
48 | case badResponse
49 | case missingData
50 | case apiError(Failure)
| `- warning: associated value 'apiError' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'Failure'; this is an error in the Swift 6 language mode
51 | case unexpectedResponse(Int)
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Failure.swift:8:15: note: consider making struct 'Failure' conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public struct Failure: Codable {
| `- note: consider making struct 'Failure' conform to the 'Sendable' protocol
9 | let message: String
10 | let documentation_url: String
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:57:13: warning: capture of 'self' with non-sendable type 'Session' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
17 |
18 | open class Session {
| `- note: class 'Session' does not conform to the 'Sendable' protocol
19 | public let fetcher: DataFetcher
20 | public let base: URL
:
55 | request.log(deadline: deadline)
56 | DispatchQueue.global(qos: .background).asyncAfter(deadline: deadline) {
57 | self.sendRequest(request: request)
| `- warning: capture of 'self' with non-sendable type 'Session' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:57:39: warning: capture of 'request' with non-sendable type 'Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | request.log(deadline: deadline)
56 | DispatchQueue.global(qos: .background).asyncAfter(deadline: deadline) {
57 | self.sendRequest(request: request)
| `- warning: capture of 'request' with non-sendable type 'Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | }
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Request.swift:12:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
10 | #endif
11 |
12 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
13 | public let resource: ResourceResolver
14 | let processors: ProcessorGroup
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:72:17: warning: capture of 'self' with non-sendable type 'Session' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
17 |
18 | open class Session {
| `- note: class 'Session' does not conform to the 'Sendable' protocol
19 | public let fetcher: DataFetcher
20 | public let base: URL
:
70 |
71 | DispatchQueue.main.async {
72 | self.tasks = self.tasks.filter { task in !task.isDone }
| `- warning: capture of 'self' with non-sendable type 'Session' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:77:13: warning: capture of 'self' with non-sendable type 'Session' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 | public let networkingChannel = Channel("com.elegantchaos.jsonsession.JSONNetworking")
17 |
18 | open class Session {
| `- note: class 'Session' does not conform to the 'Sendable' protocol
19 | public let fetcher: DataFetcher
20 | public let base: URL
:
75 |
76 | DispatchQueue.main.async {
77 | self.tasks.append(task)
| `- warning: capture of 'self' with non-sendable type 'Session' in a `@Sendable` closure; this is an error in the Swift 6 language mode
78 | task.resume()
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:77:31: warning: capture of 'task' with non-sendable type 'any DataTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 |
76 | DispatchQueue.main.async {
77 | self.tasks.append(task)
| `- warning: capture of 'task' with non-sendable type 'any DataTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
78 | task.resume()
79 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/DataFetcher/Sources/DataFetcher/DataFetcher.swift:33:17: note: protocol 'DataTask' does not conform to the 'Sendable' protocol
31 | }
32 |
33 | public protocol DataTask {
| `- note: protocol 'DataTask' does not conform to the 'Sendable' protocol
34 | var isDone: Bool { get }
35 | func resume()
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DataFetcher'
5 |
6 | import Coercion
7 | import DataFetcher
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DataFetcher'
8 | import Foundation
9 | import Logger
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:77:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
75 |
76 | DispatchQueue.main.async {
77 | self.tasks.append(task)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
78 | task.resume()
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:77:31: warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
75 |
76 | DispatchQueue.main.async {
77 | self.tasks.append(task)
| |- warning: sending 'task' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'task' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
78 | task.resume()
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/JSONSession/Session.swift:72:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
70 |
71 | DispatchQueue.main.async {
72 | self.tasks = self.tasks.filter { task in !task.isDone }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
73 | }
74 | }
Build complete! (30.04s)
Build complete.
{
"dependencies" : [
{
"identity" : "coercion",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/Coercion.git"
},
{
"identity" : "datafetcher",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/DataFetcher.git"
},
{
"identity" : "logger",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.5",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/Logger.git"
},
{
"identity" : "xctestextensions",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/XCTestExtensions.git"
},
{
"identity" : "actionbuilderplugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.7",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/ActionBuilderPlugin.git"
},
{
"identity" : "swiftformatterplugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/elegantchaos/SwiftFormatterPlugin.git"
}
],
"manifest_display_name" : "JSONSession",
"name" : "JSONSession",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "JSONSession",
"targets" : [
"JSONSession"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JSONSessionTests",
"module_type" : "SwiftTarget",
"name" : "JSONSessionTests",
"path" : "Tests/JSONSessionTests",
"product_dependencies" : [
"XCTestExtensions"
],
"sources" : [
"JSONSessionTests.swift",
"LinuxShimTests.swift"
],
"target_dependencies" : [
"JSONSession"
],
"type" : "test"
},
{
"c99name" : "JSONSession",
"module_type" : "SwiftTarget",
"name" : "JSONSession",
"path" : "Sources/JSONSession",
"product_dependencies" : [
"Coercion",
"DataFetcher",
"Logger"
],
"product_memberships" : [
"JSONSession"
],
"sources" : [
"Failure.swift",
"Processor.swift",
"ProcessorGroup.swift",
"Query.swift",
"Request.swift",
"Resource.swift",
"ResourceResolver.swift",
"Session.swift",
"TimeExtensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.