The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of JSONSession, reference main (636fdf), with Swift 6.0 for Linux on 2 Nov 2024 13:53:42 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/elegantchaos/JSONSession.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/elegantchaos/SwiftFormatterPlugin.git
Fetching https://github.com/elegantchaos/Coercion.git
Fetching https://github.com/elegantchaos/DataFetcher.git
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
Fetching https://github.com/elegantchaos/Logger.git
[1/144] Fetching actionbuilderplugin
[145/231] Fetching actionbuilderplugin, swiftformatterplugin
[206/2278] Fetching actionbuilderplugin, swiftformatterplugin, logger
[519/2552] Fetching actionbuilderplugin, swiftformatterplugin, logger, coercion
[2328/3123] Fetching actionbuilderplugin, swiftformatterplugin, logger, coercion, xctestextensions
[3124/3295] Fetching actionbuilderplugin, swiftformatterplugin, logger, coercion, xctestextensions, datafetcher
Fetched https://github.com/elegantchaos/SwiftFormatterPlugin.git from cache (0.24s)
[3049/3208] Fetching actionbuilderplugin, logger, coercion, xctestextensions, datafetcher
Fetched https://github.com/elegantchaos/Coercion.git from cache (0.26s)
Fetched https://github.com/elegantchaos/DataFetcher.git from cache (0.28s)
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.29s)
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.29s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.29s)
Computing version for https://github.com/elegantchaos/SwiftFormatterPlugin.git
Computed https://github.com/elegantchaos/SwiftFormatterPlugin.git at 1.0.3 (0.49s)
Fetching https://github.com/nicklockwood/SwiftFormat
[1/45034] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (31.43s)
Computing version for https://github.com/elegantchaos/DataFetcher.git
Computed https://github.com/elegantchaos/DataFetcher.git at 1.0.2 (0.87s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 1.0.8 (4.63s)
Fetching https://github.com/elegantchaos/ActionBuilderCore.git
[1/451] Fetching actionbuildercore
Fetched https://github.com/elegantchaos/ActionBuilderCore.git from cache (2.56s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore.git
Computed https://github.com/elegantchaos/ActionBuilderCore.git at 1.1.1 (1.45s)
Fetching https://github.com/elegantchaos/Runner.git
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
[1/152] Fetching semanticversion
[153/403] Fetching semanticversion, versionator
[404/1079] Fetching semanticversion, versionator, runner
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.24s)
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.25s)
Fetched https://github.com/elegantchaos/Runner.git from cache (0.25s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 1.0.3 (0.91s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (0.53s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 1.3.3 (0.52s)
Computing version for https://github.com/elegantchaos/Coercion.git
Computed https://github.com/elegantchaos/Coercion.git at 1.1.3 (0.84s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 1.8.1 (0.77s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (0.52s)
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.19s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.52s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.54.6 (0.69s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.54.6
Creating working copy for https://github.com/elegantchaos/ActionBuilderCore.git
Working copy of https://github.com/elegantchaos/ActionBuilderCore.git resolved at 1.1.1
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
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/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/Versionator.git
Working copy of https://github.com/elegantchaos/Versionator.git resolved at 1.0.3
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/ActionBuilderPlugin.git
Working copy of https://github.com/elegantchaos/ActionBuilderPlugin.git resolved at 1.0.8
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/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 1.3.3
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/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Runner Runner.swift
[5/9] Emitting module Runner
[6/10] Wrapping AST for Runner for debugging
[8/12] Emitting module VersionatorTool
[9/12] Compiling VersionatorTool VersionatorTool.swift
[10/13] Wrapping AST for VersionatorTool for debugging
[11/13] Write Objects.LinkFileList
[12/13] Linking VersionatorTool-tool
Build of product 'VersionatorTool' complete! (11.24s)
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
Build of product 'VersionatorTool' complete! (0.23s)
[1/1] Compiling plugin ActionBuilderPlugin
[2/2] Compiling plugin SwiftFormatPlugin
[3/3] Compiling plugin SwiftFormatterPlugin
[4/4] Compiling plugin VersionatorPlugin
Building for debugging...
[4/9] Write sources
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/33] Compiling Logger PrintHandler.swift
[11/34] Compiling Logger OSLogHandler.swift
[12/34] Compiling Logger NSLogHandler.swift
[13/34] Compiling Coercion IntConvertible.swift
[14/34] Compiling Coercion StandardConvertible.swift
[15/34] Compiling Coercion DateConvertible.swift
[16/34] Compiling Coercion DoubleConvertible.swift
[17/35] Compiling Coercion StringConvertible.swift
[18/35] Compiling Coercion UIntConvertible.swift
[19/35] Compiling Logger ManagerSettings.swift
[20/35] Compiling Coercion Dictionary+Coercion.swift
[21/35] Compiling Coercion Double+Coercion.swift
[22/35] Compiling Coercion BoolConvertible.swift
[23/35] Compiling Coercion DataConvertible.swift
[24/35] Compiling Logger UserDefaultsManagerSettings.swift
[25/35] Compiling Logger Channel.swift
[26/35] Compiling Logger Context.swift
[27/35] Emitting module Coercion
[28/35] Compiling Coercion Converter.swift
[29/35] Compiling Coercion Date+Coercion.swift
[30/35] Compiling Logger Handler.swift
[31/35] Emitting module Logger
[32/35] Compiling Logger Manager.swift
[36/36] Compiling Coercion String+Coercion.swift
[38/41] Compiling DataFetcher JSONDictionary.swift
[39/41] Compiling DataFetcher DataFetcher.swift
[40/41] Compiling DataFetcher MockDataFetcher.swift
[41/41] Emitting module DataFetcher
[43/51] Compiling JSONSession Resource.swift
[44/52] Compiling JSONSession ProcessorGroup.swift
/host/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 |
/host/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 |      Default log handler which prints to standard out,
/host/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 |
[45/52] Compiling JSONSession Query.swift
[46/52] Compiling JSONSession Request.swift
/host/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 {
/host/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 |      Default log handler which prints to standard out,
/host/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 {
/host/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 |
/host/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 |      Default log handler which prints to standard out,
[47/52] Compiling JSONSession Failure.swift
[48/52] Compiling JSONSession Processor.swift
[49/52] Emitting module JSONSession
/host/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 |
/host/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 |      Default log handler which prints to standard out,
/host/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 |
/host/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 {
/host/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 |      Default log handler which prints to standard out,
/host/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 |     }
/host/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
/host/spi-builder-workspace/Sources/JSONSession/TimeExtensions.swift:71:33: warning: conformance of 'DispatchTimeInterval' to protocol 'Equatable' was already stated in the type's module 'Dispatch'
69 | }
70 |
71 | extension DispatchTimeInterval: Equatable {}
   |                                 `- warning: conformance of 'DispatchTimeInterval' to protocol 'Equatable' was already stated in the type's module 'Dispatch'
72 | #endif
73 |
Dispatch.DispatchTimeInterval:1:13: note: 'DispatchTimeInterval' declares conformance to protocol 'Equatable' here
1 | public enum DispatchTimeInterval : Equatable, Sendable {
  |             `- note: 'DispatchTimeInterval' declares conformance to protocol 'Equatable' here
2 |     case seconds(Int)
3 |     case milliseconds(Int)
[50/52] Compiling JSONSession TimeExtensions.swift
/host/spi-builder-workspace/Sources/JSONSession/TimeExtensions.swift:71:33: warning: conformance of 'DispatchTimeInterval' to protocol 'Equatable' was already stated in the type's module 'Dispatch'
69 | }
70 |
71 | extension DispatchTimeInterval: Equatable {}
   |                                 `- warning: conformance of 'DispatchTimeInterval' to protocol 'Equatable' was already stated in the type's module 'Dispatch'
72 | #endif
73 |
Dispatch.DispatchTimeInterval:1:13: note: 'DispatchTimeInterval' declares conformance to protocol 'Equatable' here
1 | public enum DispatchTimeInterval : Equatable, Sendable {
  |             `- note: 'DispatchTimeInterval' declares conformance to protocol 'Equatable' here
2 |     case seconds(Int)
3 |     case milliseconds(Int)
[51/52] Compiling JSONSession ResourceResolver.swift
[52/52] Compiling JSONSession Session.swift
/host/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 |
/host/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 |      Default log handler which prints to standard out,
/host/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 |
/host/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 {
/host/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 |      Default log handler which prints to standard out,
/host/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 |     }
/host/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
/host/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 |     }
/host/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 |     }
/host/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
/host/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 |         }
/host/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 |         }
/host/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 |         }
/host/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()
/host/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
/host/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 |         }
/host/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 |         }
/host/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! (95.12s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.