Build Information
Successful build of PostgresClientKit, reference master (c2768c
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 19:35:22 UTC.
Swift 6 data race errors: 7
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/codewinsdotcom/PostgresClientKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/codewinsdotcom/PostgresClientKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c2768c8 README: using from an Xcode project
Cloned https://github.com/codewinsdotcom/PostgresClientKit.git
Revision (git rev-parse @):
c2768c8ebe708b1c5937431972c7882b33f4ea49
SUCCESS checkout https://github.com/codewinsdotcom/PostgresClientKit.git at master
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService
[1/2942] Fetching bluesocket
[90/5030] Fetching bluesocket, bluesslservice
Fetched https://github.com/Kitura/BlueSSLService from cache (1.20s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (1.20s)
Computing version for https://github.com/Kitura/BlueSSLService
Computed https://github.com/Kitura/BlueSSLService at 2.0.1 (0.87s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.3 (0.67s)
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.3
Creating working copy for https://github.com/Kitura/BlueSSLService
Working copy of https://github.com/Kitura/BlueSSLService resolved at 2.0.1
========================================
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": "postgresclientkit",
"name": "PostgresClientKit",
"url": "https://github.com/codewinsdotcom/PostgresClientKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PostgresClientKit",
"dependencies": [
{
"identity": "bluesocket",
"name": "Socket",
"url": "https://github.com/Kitura/BlueSocket.git",
"version": "2.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSocket",
"dependencies": [
]
},
{
"identity": "bluesslservice",
"name": "SSLService",
"url": "https://github.com/Kitura/BlueSSLService",
"version": "2.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSSLService",
"dependencies": [
{
"identity": "bluesocket",
"name": "Socket",
"url": "https://github.com/Kitura/BlueSocket.git",
"version": "2.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSocket",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/codewinsdotcom/PostgresClientKit.git
[1/1923] Fetching postgresclientkit
Fetched https://github.com/codewinsdotcom/PostgresClientKit.git from cache (1.02s)
Fetching https://github.com/Kitura/BlueSocket.git from cache
Fetching https://github.com/Kitura/BlueSSLService from cache
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.56s)
Fetched https://github.com/Kitura/BlueSSLService from cache (0.56s)
Computing version for https://github.com/Kitura/BlueSSLService
Computed https://github.com/Kitura/BlueSSLService at 2.0.2 (0.62s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.03s)
Creating working copy for https://github.com/codewinsdotcom/PostgresClientKit.git
Working copy of https://github.com/codewinsdotcom/PostgresClientKit.git resolved at master (c2768c8)
Creating working copy for https://github.com/Kitura/BlueSSLService
Working copy of https://github.com/Kitura/BlueSSLService resolved at 2.0.2
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
warning: '.resolve-product-dependencies': dependency 'postgresclientkit' is not used by any target
Found 2 product dependencies
- Socket
- SSLService
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/codewinsdotcom/PostgresClientKit.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/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/10] Compiling Socket SocketUtils.swift
[6/10] Compiling Socket SocketProtocols.swift
[7/10] Compiling Socket Socket+Hashable.swift
[8/10] Compiling Socket Socket+Equatable.swift
[9/10] Emitting module Socket
[10/10] Compiling Socket Socket.swift
[11/13] Compiling SSLService SSLPointerTricks.swift
[12/13] Emitting module SSLService
[13/13] Compiling SSLService SSLService.swift
[14/77] Compiling PostgresClientKit BackendKeyDataResponse.swift
[15/77] Compiling PostgresClientKit BindCompleteResponse.swift
[16/77] Compiling PostgresClientKit CloseCompleteResponse.swift
[17/77] Compiling PostgresClientKit CommandCompleteResponse.swift
[18/77] Compiling PostgresClientKit DataRowResponse.swift
[19/77] Compiling PostgresClientKit EmptyQueryResponse.swift
[20/77] Compiling PostgresClientKit ErrorResponse.swift
[21/83] Emitting module PostgresClientKit
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:617:24: warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
615 | //
616 |
617 | private static var timeZones = [Int : TimeZone]()
| |- warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeZones' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeZones' 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
618 | private static let timeZonesSemaphore = DispatchSemaphore(value: 1)
619 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:648:24: warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
646 | //
647 |
648 | private static var calendars = [TimeZone : Calendar]()
| |- warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'calendars' 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
649 | private static let calendarsSemaphore = DispatchSemaphore(value: 1)
650 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:713:24: warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
711 |
712 | // For PostgresTimeWithTimeZone values, a different formatter is required for each time zone.
713 | private static var timeWithTimeZoneFormatters = [TimeZone : DateFormatter]()
| |- warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeWithTimeZoneFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeWithTimeZoneFormatters' 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
714 | private static let timeWithTimeZoneFormattersSemaphore = DispatchSemaphore(value: 1)
715 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:47:24: warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | private static let nextIdSemaphore = DispatchSemaphore(value: 1)
47 | private static var _nextId: UInt64 = 1
| |- warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_nextId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_nextId' 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
48 |
49 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:60:10: warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
58 |
59 | /// The Postgres server reported a SQL error.
60 | case sqlError(notice: Notice)
| `- warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
61 |
62 | /// An error occurred in establishing SSL/TLS encryption.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Notice.swift:21:15: note: consider making struct 'Notice' conform to the 'Sendable' protocol
19 |
20 | /// A notice received from the Postgres server.
21 | public struct Notice: CustomStringConvertible {
| `- note: consider making struct 'Notice' conform to the 'Sendable' protocol
22 |
23 | internal init(fields: [Character: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:90:10: warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
88 |
89 | /// The value could not be converted to the requested type.
90 | case valueConversionError(value: PostgresValue, type: Any.Type)
| `- warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
91 |
92 | /// The value is `nil`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresValue.swift:51:15: note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
49 | /// try scoreValue.int() // throws PostgresError.valueIsNil
50 | ///
51 | public struct PostgresValue: PostgresValueConvertible, Equatable, CustomStringConvertible {
| `- note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
52 |
53 | /// Creates a `PostgresValue` from the raw value used in the Postgres network protocol.
[22/83] Compiling PostgresClientKit ClosePortalRequest.swift
[23/83] Compiling PostgresClientKit CloseStatementRequest.swift
[24/83] Compiling PostgresClientKit DescribePortalRequest.swift
[25/83] Compiling PostgresClientKit ExecuteRequest.swift
[26/83] Compiling PostgresClientKit FlushRequest.swift
[27/83] Compiling PostgresClientKit ParseRequest.swift
[28/83] Compiling PostgresClientKit PasswordMessageRequest.swift
[29/83] Compiling PostgresClientKit Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:47:24: warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | private static let nextIdSemaphore = DispatchSemaphore(value: 1)
47 | private static var _nextId: UInt64 = 1
| |- warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_nextId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_nextId' 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
48 |
49 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:60:10: warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
58 |
59 | /// The Postgres server reported a SQL error.
60 | case sqlError(notice: Notice)
| `- warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
61 |
62 | /// An error occurred in establishing SSL/TLS encryption.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Notice.swift:21:15: note: consider making struct 'Notice' conform to the 'Sendable' protocol
19 |
20 | /// A notice received from the Postgres server.
21 | public struct Notice: CustomStringConvertible {
| `- note: consider making struct 'Notice' conform to the 'Sendable' protocol
22 |
23 | internal init(fields: [Character: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:90:10: warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
88 |
89 | /// The value could not be converted to the requested type.
90 | case valueConversionError(value: PostgresValue, type: Any.Type)
| `- warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
91 |
92 | /// The value is `nil`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresValue.swift:51:15: note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
49 | /// try scoreValue.int() // throws PostgresError.valueIsNil
50 | ///
51 | public struct PostgresValue: PostgresValueConvertible, Equatable, CustomStringConvertible {
| `- note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
52 |
53 | /// Creates a `PostgresValue` from the raw value used in the Postgres network protocol.
[30/83] Compiling PostgresClientKit Notice.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:47:24: warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | private static let nextIdSemaphore = DispatchSemaphore(value: 1)
47 | private static var _nextId: UInt64 = 1
| |- warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_nextId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_nextId' 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
48 |
49 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:60:10: warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
58 |
59 | /// The Postgres server reported a SQL error.
60 | case sqlError(notice: Notice)
| `- warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
61 |
62 | /// An error occurred in establishing SSL/TLS encryption.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Notice.swift:21:15: note: consider making struct 'Notice' conform to the 'Sendable' protocol
19 |
20 | /// A notice received from the Postgres server.
21 | public struct Notice: CustomStringConvertible {
| `- note: consider making struct 'Notice' conform to the 'Sendable' protocol
22 |
23 | internal init(fields: [Character: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:90:10: warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
88 |
89 | /// The value could not be converted to the requested type.
90 | case valueConversionError(value: PostgresValue, type: Any.Type)
| `- warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
91 |
92 | /// The value is `nil`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresValue.swift:51:15: note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
49 | /// try scoreValue.int() // throws PostgresError.valueIsNil
50 | ///
51 | public struct PostgresValue: PostgresValueConvertible, Equatable, CustomStringConvertible {
| `- note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
52 |
53 | /// Creates a `PostgresValue` from the raw value used in the Postgres network protocol.
[31/83] Compiling PostgresClientKit Parameter.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:47:24: warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | private static let nextIdSemaphore = DispatchSemaphore(value: 1)
47 | private static var _nextId: UInt64 = 1
| |- warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_nextId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_nextId' 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
48 |
49 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:60:10: warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
58 |
59 | /// The Postgres server reported a SQL error.
60 | case sqlError(notice: Notice)
| `- warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
61 |
62 | /// An error occurred in establishing SSL/TLS encryption.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Notice.swift:21:15: note: consider making struct 'Notice' conform to the 'Sendable' protocol
19 |
20 | /// A notice received from the Postgres server.
21 | public struct Notice: CustomStringConvertible {
| `- note: consider making struct 'Notice' conform to the 'Sendable' protocol
22 |
23 | internal init(fields: [Character: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:90:10: warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
88 |
89 | /// The value could not be converted to the requested type.
90 | case valueConversionError(value: PostgresValue, type: Any.Type)
| `- warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
91 |
92 | /// The value is `nil`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresValue.swift:51:15: note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
49 | /// try scoreValue.int() // throws PostgresError.valueIsNil
50 | ///
51 | public struct PostgresValue: PostgresValueConvertible, Equatable, CustomStringConvertible {
| `- note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
52 |
53 | /// Creates a `PostgresValue` from the raw value used in the Postgres network protocol.
[32/83] Compiling PostgresClientKit Postgres.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:47:24: warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | private static let nextIdSemaphore = DispatchSemaphore(value: 1)
47 | private static var _nextId: UInt64 = 1
| |- warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_nextId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_nextId' 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
48 |
49 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:60:10: warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
58 |
59 | /// The Postgres server reported a SQL error.
60 | case sqlError(notice: Notice)
| `- warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
61 |
62 | /// An error occurred in establishing SSL/TLS encryption.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Notice.swift:21:15: note: consider making struct 'Notice' conform to the 'Sendable' protocol
19 |
20 | /// A notice received from the Postgres server.
21 | public struct Notice: CustomStringConvertible {
| `- note: consider making struct 'Notice' conform to the 'Sendable' protocol
22 |
23 | internal init(fields: [Character: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:90:10: warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
88 |
89 | /// The value could not be converted to the requested type.
90 | case valueConversionError(value: PostgresValue, type: Any.Type)
| `- warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
91 |
92 | /// The value is `nil`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresValue.swift:51:15: note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
49 | /// try scoreValue.int() // throws PostgresError.valueIsNil
50 | ///
51 | public struct PostgresValue: PostgresValueConvertible, Equatable, CustomStringConvertible {
| `- note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
52 |
53 | /// Creates a `PostgresValue` from the raw value used in the Postgres network protocol.
[33/83] Compiling PostgresClientKit PostgresByteA.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:47:24: warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | private static let nextIdSemaphore = DispatchSemaphore(value: 1)
47 | private static var _nextId: UInt64 = 1
| |- warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_nextId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_nextId' 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
48 |
49 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:60:10: warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
58 |
59 | /// The Postgres server reported a SQL error.
60 | case sqlError(notice: Notice)
| `- warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
61 |
62 | /// An error occurred in establishing SSL/TLS encryption.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Notice.swift:21:15: note: consider making struct 'Notice' conform to the 'Sendable' protocol
19 |
20 | /// A notice received from the Postgres server.
21 | public struct Notice: CustomStringConvertible {
| `- note: consider making struct 'Notice' conform to the 'Sendable' protocol
22 |
23 | internal init(fields: [Character: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:90:10: warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
88 |
89 | /// The value could not be converted to the requested type.
90 | case valueConversionError(value: PostgresValue, type: Any.Type)
| `- warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
91 |
92 | /// The value is `nil`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresValue.swift:51:15: note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
49 | /// try scoreValue.int() // throws PostgresError.valueIsNil
50 | ///
51 | public struct PostgresValue: PostgresValueConvertible, Equatable, CustomStringConvertible {
| `- note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
52 |
53 | /// Creates a `PostgresValue` from the raw value used in the Postgres network protocol.
[34/83] Compiling PostgresClientKit PostgresDate.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:47:24: warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | private static let nextIdSemaphore = DispatchSemaphore(value: 1)
47 | private static var _nextId: UInt64 = 1
| |- warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_nextId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_nextId' 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
48 |
49 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:60:10: warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
58 |
59 | /// The Postgres server reported a SQL error.
60 | case sqlError(notice: Notice)
| `- warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
61 |
62 | /// An error occurred in establishing SSL/TLS encryption.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Notice.swift:21:15: note: consider making struct 'Notice' conform to the 'Sendable' protocol
19 |
20 | /// A notice received from the Postgres server.
21 | public struct Notice: CustomStringConvertible {
| `- note: consider making struct 'Notice' conform to the 'Sendable' protocol
22 |
23 | internal init(fields: [Character: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:90:10: warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
88 |
89 | /// The value could not be converted to the requested type.
90 | case valueConversionError(value: PostgresValue, type: Any.Type)
| `- warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
91 |
92 | /// The value is `nil`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresValue.swift:51:15: note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
49 | /// try scoreValue.int() // throws PostgresError.valueIsNil
50 | ///
51 | public struct PostgresValue: PostgresValueConvertible, Equatable, CustomStringConvertible {
| `- note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
52 |
53 | /// Creates a `PostgresValue` from the raw value used in the Postgres network protocol.
[35/83] Compiling PostgresClientKit PostgresError.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:47:24: warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | private static let nextIdSemaphore = DispatchSemaphore(value: 1)
47 | private static var _nextId: UInt64 = 1
| |- warning: static property '_nextId' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_nextId' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_nextId' 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
48 |
49 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:60:10: warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
58 |
59 | /// The Postgres server reported a SQL error.
60 | case sqlError(notice: Notice)
| `- warning: associated value 'sqlError(notice:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'Notice'; this is an error in the Swift 6 language mode
61 |
62 | /// An error occurred in establishing SSL/TLS encryption.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Notice.swift:21:15: note: consider making struct 'Notice' conform to the 'Sendable' protocol
19 |
20 | /// A notice received from the Postgres server.
21 | public struct Notice: CustomStringConvertible {
| `- note: consider making struct 'Notice' conform to the 'Sendable' protocol
22 |
23 | internal init(fields: [Character: String]) {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresError.swift:90:10: warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
88 |
89 | /// The value could not be converted to the requested type.
90 | case valueConversionError(value: PostgresValue, type: Any.Type)
| `- warning: associated value 'valueConversionError(value:type:)' of 'Sendable'-conforming enum 'PostgresError' has non-sendable type 'PostgresValue'; this is an error in the Swift 6 language mode
91 |
92 | /// The value is `nil`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/PostgresValue.swift:51:15: note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
49 | /// try scoreValue.int() // throws PostgresError.valueIsNil
50 | ///
51 | public struct PostgresValue: PostgresValueConvertible, Equatable, CustomStringConvertible {
| `- note: consider making struct 'PostgresValue' conform to the 'Sendable' protocol
52 |
53 | /// Creates a `PostgresValue` from the raw value used in the Postgres network protocol.
[36/83] Compiling PostgresClientKit ColumnMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:573:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
571 |
572 | guard
573 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
574 | let request = request else {
575 | return
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:574:35: warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
572 | guard
573 | let self = self,
574 | let request = request else {
| `- warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | return
576 | }
:
769 |
770 | /// A request for a connection.
771 | private class Request {
| `- note: class 'Request' does not conform to the 'Sendable' protocol
772 |
773 | fileprivate init(connectionPool: ConnectionPool,
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:614:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
612 |
613 | guard
614 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:615:44: warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
613 | guard
614 | let self = self,
615 | let pooledConnection = pooledConnection,
| `- warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
616 | let connection = connection else {
617 | return
:
803 |
804 | /// Wraps a `Connection` in this `ConnectionPool` to track whether it is currently allocated.
805 | private class PooledConnection: Hashable {
| `- note: class 'PooledConnection' does not conform to the 'Sendable' protocol
806 |
807 | fileprivate enum State {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:616:38: warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
614 | let self = self,
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
| `- warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
617 | return
618 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Connection.swift:77:14: note: class 'Connection' does not conform to the 'Sendable' protocol
75 | /// deinitializer, or if an unrecoverable error occurs (for example, if the Postgres server closes
76 | /// the network socket). Use `Connection.isClosed` to test whether a `Connection` is closed.
77 | public class Connection: CustomStringConvertible {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
78 |
79 | //
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:667:38: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
665 | [weak self] in
666 |
667 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
668 | return
669 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:761:13: warning: capture of 'operation' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
759 | private func async(_ operation: @escaping () -> Void) {
760 | _connectionPoolConfiguration.dispatchQueue.async {
761 | operation()
| |- warning: capture of 'operation' with non-sendable type '() -> Void' 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'
762 | }
763 | }
[37/83] Compiling PostgresClientKit Connection.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:573:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
571 |
572 | guard
573 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
574 | let request = request else {
575 | return
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:574:35: warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
572 | guard
573 | let self = self,
574 | let request = request else {
| `- warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | return
576 | }
:
769 |
770 | /// A request for a connection.
771 | private class Request {
| `- note: class 'Request' does not conform to the 'Sendable' protocol
772 |
773 | fileprivate init(connectionPool: ConnectionPool,
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:614:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
612 |
613 | guard
614 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:615:44: warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
613 | guard
614 | let self = self,
615 | let pooledConnection = pooledConnection,
| `- warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
616 | let connection = connection else {
617 | return
:
803 |
804 | /// Wraps a `Connection` in this `ConnectionPool` to track whether it is currently allocated.
805 | private class PooledConnection: Hashable {
| `- note: class 'PooledConnection' does not conform to the 'Sendable' protocol
806 |
807 | fileprivate enum State {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:616:38: warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
614 | let self = self,
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
| `- warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
617 | return
618 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Connection.swift:77:14: note: class 'Connection' does not conform to the 'Sendable' protocol
75 | /// deinitializer, or if an unrecoverable error occurs (for example, if the Postgres server closes
76 | /// the network socket). Use `Connection.isClosed` to test whether a `Connection` is closed.
77 | public class Connection: CustomStringConvertible {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
78 |
79 | //
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:667:38: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
665 | [weak self] in
666 |
667 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
668 | return
669 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:761:13: warning: capture of 'operation' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
759 | private func async(_ operation: @escaping () -> Void) {
760 | _connectionPoolConfiguration.dispatchQueue.async {
761 | operation()
| |- warning: capture of 'operation' with non-sendable type '() -> Void' 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'
762 | }
763 | }
[38/83] Compiling PostgresClientKit ConnectionConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:573:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
571 |
572 | guard
573 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
574 | let request = request else {
575 | return
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:574:35: warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
572 | guard
573 | let self = self,
574 | let request = request else {
| `- warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | return
576 | }
:
769 |
770 | /// A request for a connection.
771 | private class Request {
| `- note: class 'Request' does not conform to the 'Sendable' protocol
772 |
773 | fileprivate init(connectionPool: ConnectionPool,
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:614:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
612 |
613 | guard
614 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:615:44: warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
613 | guard
614 | let self = self,
615 | let pooledConnection = pooledConnection,
| `- warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
616 | let connection = connection else {
617 | return
:
803 |
804 | /// Wraps a `Connection` in this `ConnectionPool` to track whether it is currently allocated.
805 | private class PooledConnection: Hashable {
| `- note: class 'PooledConnection' does not conform to the 'Sendable' protocol
806 |
807 | fileprivate enum State {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:616:38: warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
614 | let self = self,
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
| `- warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
617 | return
618 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Connection.swift:77:14: note: class 'Connection' does not conform to the 'Sendable' protocol
75 | /// deinitializer, or if an unrecoverable error occurs (for example, if the Postgres server closes
76 | /// the network socket). Use `Connection.isClosed` to test whether a `Connection` is closed.
77 | public class Connection: CustomStringConvertible {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
78 |
79 | //
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:667:38: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
665 | [weak self] in
666 |
667 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
668 | return
669 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:761:13: warning: capture of 'operation' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
759 | private func async(_ operation: @escaping () -> Void) {
760 | _connectionPoolConfiguration.dispatchQueue.async {
761 | operation()
| |- warning: capture of 'operation' with non-sendable type '() -> Void' 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'
762 | }
763 | }
[39/83] Compiling PostgresClientKit ConnectionDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:573:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
571 |
572 | guard
573 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
574 | let request = request else {
575 | return
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:574:35: warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
572 | guard
573 | let self = self,
574 | let request = request else {
| `- warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | return
576 | }
:
769 |
770 | /// A request for a connection.
771 | private class Request {
| `- note: class 'Request' does not conform to the 'Sendable' protocol
772 |
773 | fileprivate init(connectionPool: ConnectionPool,
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:614:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
612 |
613 | guard
614 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:615:44: warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
613 | guard
614 | let self = self,
615 | let pooledConnection = pooledConnection,
| `- warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
616 | let connection = connection else {
617 | return
:
803 |
804 | /// Wraps a `Connection` in this `ConnectionPool` to track whether it is currently allocated.
805 | private class PooledConnection: Hashable {
| `- note: class 'PooledConnection' does not conform to the 'Sendable' protocol
806 |
807 | fileprivate enum State {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:616:38: warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
614 | let self = self,
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
| `- warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
617 | return
618 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Connection.swift:77:14: note: class 'Connection' does not conform to the 'Sendable' protocol
75 | /// deinitializer, or if an unrecoverable error occurs (for example, if the Postgres server closes
76 | /// the network socket). Use `Connection.isClosed` to test whether a `Connection` is closed.
77 | public class Connection: CustomStringConvertible {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
78 |
79 | //
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:667:38: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
665 | [weak self] in
666 |
667 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
668 | return
669 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:761:13: warning: capture of 'operation' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
759 | private func async(_ operation: @escaping () -> Void) {
760 | _connectionPoolConfiguration.dispatchQueue.async {
761 | operation()
| |- warning: capture of 'operation' with non-sendable type '() -> Void' 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'
762 | }
763 | }
[40/83] Compiling PostgresClientKit ConnectionPool.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:573:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
571 |
572 | guard
573 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
574 | let request = request else {
575 | return
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:574:35: warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
572 | guard
573 | let self = self,
574 | let request = request else {
| `- warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | return
576 | }
:
769 |
770 | /// A request for a connection.
771 | private class Request {
| `- note: class 'Request' does not conform to the 'Sendable' protocol
772 |
773 | fileprivate init(connectionPool: ConnectionPool,
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:614:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
612 |
613 | guard
614 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:615:44: warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
613 | guard
614 | let self = self,
615 | let pooledConnection = pooledConnection,
| `- warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
616 | let connection = connection else {
617 | return
:
803 |
804 | /// Wraps a `Connection` in this `ConnectionPool` to track whether it is currently allocated.
805 | private class PooledConnection: Hashable {
| `- note: class 'PooledConnection' does not conform to the 'Sendable' protocol
806 |
807 | fileprivate enum State {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:616:38: warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
614 | let self = self,
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
| `- warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
617 | return
618 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Connection.swift:77:14: note: class 'Connection' does not conform to the 'Sendable' protocol
75 | /// deinitializer, or if an unrecoverable error occurs (for example, if the Postgres server closes
76 | /// the network socket). Use `Connection.isClosed` to test whether a `Connection` is closed.
77 | public class Connection: CustomStringConvertible {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
78 |
79 | //
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:667:38: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
665 | [weak self] in
666 |
667 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
668 | return
669 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:761:13: warning: capture of 'operation' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
759 | private func async(_ operation: @escaping () -> Void) {
760 | _connectionPoolConfiguration.dispatchQueue.async {
761 | operation()
| |- warning: capture of 'operation' with non-sendable type '() -> Void' 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'
762 | }
763 | }
[41/83] Compiling PostgresClientKit ConnectionPoolConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:573:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
571 |
572 | guard
573 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
574 | let request = request else {
575 | return
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:574:35: warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
572 | guard
573 | let self = self,
574 | let request = request else {
| `- warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | return
576 | }
:
769 |
770 | /// A request for a connection.
771 | private class Request {
| `- note: class 'Request' does not conform to the 'Sendable' protocol
772 |
773 | fileprivate init(connectionPool: ConnectionPool,
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:614:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
612 |
613 | guard
614 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:615:44: warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
613 | guard
614 | let self = self,
615 | let pooledConnection = pooledConnection,
| `- warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
616 | let connection = connection else {
617 | return
:
803 |
804 | /// Wraps a `Connection` in this `ConnectionPool` to track whether it is currently allocated.
805 | private class PooledConnection: Hashable {
| `- note: class 'PooledConnection' does not conform to the 'Sendable' protocol
806 |
807 | fileprivate enum State {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:616:38: warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
614 | let self = self,
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
| `- warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
617 | return
618 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Connection.swift:77:14: note: class 'Connection' does not conform to the 'Sendable' protocol
75 | /// deinitializer, or if an unrecoverable error occurs (for example, if the Postgres server closes
76 | /// the network socket). Use `Connection.isClosed` to test whether a `Connection` is closed.
77 | public class Connection: CustomStringConvertible {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
78 |
79 | //
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:667:38: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
665 | [weak self] in
666 |
667 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
668 | return
669 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:761:13: warning: capture of 'operation' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
759 | private func async(_ operation: @escaping () -> Void) {
760 | _connectionPoolConfiguration.dispatchQueue.async {
761 | operation()
| |- warning: capture of 'operation' with non-sendable type '() -> Void' 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'
762 | }
763 | }
[42/83] Compiling PostgresClientKit ConnectionPoolMetrics.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:573:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
571 |
572 | guard
573 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
574 | let request = request else {
575 | return
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:574:35: warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
572 | guard
573 | let self = self,
574 | let request = request else {
| `- warning: capture of 'request' with non-sendable type 'ConnectionPool.Request?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
575 | return
576 | }
:
769 |
770 | /// A request for a connection.
771 | private class Request {
| `- note: class 'Request' does not conform to the 'Sendable' protocol
772 |
773 | fileprivate init(connectionPool: ConnectionPool,
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:614:32: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
612 |
613 | guard
614 | let self = self,
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:615:44: warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
613 | guard
614 | let self = self,
615 | let pooledConnection = pooledConnection,
| `- warning: capture of 'pooledConnection' with non-sendable type 'ConnectionPool.PooledConnection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
616 | let connection = connection else {
617 | return
:
803 |
804 | /// Wraps a `Connection` in this `ConnectionPool` to track whether it is currently allocated.
805 | private class PooledConnection: Hashable {
| `- note: class 'PooledConnection' does not conform to the 'Sendable' protocol
806 |
807 | fileprivate enum State {
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:616:38: warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
614 | let self = self,
615 | let pooledConnection = pooledConnection,
616 | let connection = connection else {
| `- warning: capture of 'connection' with non-sendable type 'Connection?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
617 | return
618 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Connection.swift:77:14: note: class 'Connection' does not conform to the 'Sendable' protocol
75 | /// deinitializer, or if an unrecoverable error occurs (for example, if the Postgres server closes
76 | /// the network socket). Use `Connection.isClosed` to test whether a `Connection` is closed.
77 | public class Connection: CustomStringConvertible {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
78 |
79 | //
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:667:38: warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | /// `ConnectionPool` instance. Connections acquired from the pool are subject to the threadsafety
56 | /// constraints described by the API documentation for `Connection`.
57 | public class ConnectionPool {
| `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
58 |
59 | //
:
665 | [weak self] in
666 |
667 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'ConnectionPool?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
668 | return
669 | }
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ConnectionPool.swift:761:13: warning: capture of 'operation' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
759 | private func async(_ operation: @escaping () -> Void) {
760 | _connectionPoolConfiguration.dispatchQueue.async {
761 | operation()
| |- warning: capture of 'operation' with non-sendable type '() -> Void' 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'
762 | }
763 | }
[43/83] Compiling PostgresClientKit AuthenticationCleartextPasswordResponse.swift
[44/83] Compiling PostgresClientKit AuthenticationMD5PasswordResponse.swift
[45/83] Compiling PostgresClientKit AuthenticationOKResponse.swift
[46/83] Compiling PostgresClientKit AuthenticationResponse.swift
[47/83] Compiling PostgresClientKit AuthenticationSASLContinueResponse.swift
[48/83] Compiling PostgresClientKit AuthenticationSASLFinalResponse.swift
[49/83] Compiling PostgresClientKit AuthenticationSASLResponse.swift
[50/83] Compiling PostgresClientKit PostgresTime.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[51/83] Compiling PostgresClientKit PostgresTimeWithTimeZone.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[52/83] Compiling PostgresClientKit PostgresTimestamp.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[53/83] Compiling PostgresClientKit PostgresTimestampWithTimeZone.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[54/83] Compiling PostgresClientKit PostgresValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[55/83] Compiling PostgresClientKit PostgresValueConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[56/83] Compiling PostgresClientKit BindRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[57/83] Compiling PostgresClientKit Request.swift
[58/83] Compiling PostgresClientKit SASLInitialRequest.swift
[59/83] Compiling PostgresClientKit SASLRequest.swift
[60/83] Compiling PostgresClientKit SSLRequest.swift
[61/83] Compiling PostgresClientKit StartupRequest.swift
[62/83] Compiling PostgresClientKit SyncRequest.swift
[63/83] Compiling PostgresClientKit TerminateRequest.swift
[64/83] Compiling PostgresClientKit NoDataResponse.swift
[65/83] Compiling PostgresClientKit NoticeResponse.swift
[66/83] Compiling PostgresClientKit NotificationResponse.swift
[67/83] Compiling PostgresClientKit ParameterStatusResponse.swift
[68/83] Compiling PostgresClientKit ParseCompleteResponse.swift
[69/83] Compiling PostgresClientKit ReadyForQueryResponse.swift
[70/83] Compiling PostgresClientKit Response.swift
[71/83] Compiling PostgresClientKit Credential.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:617:24: warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
615 | //
616 |
617 | private static var timeZones = [Int : TimeZone]()
| |- warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeZones' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeZones' 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
618 | private static let timeZonesSemaphore = DispatchSemaphore(value: 1)
619 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:648:24: warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
646 | //
647 |
648 | private static var calendars = [TimeZone : Calendar]()
| |- warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'calendars' 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
649 | private static let calendarsSemaphore = DispatchSemaphore(value: 1)
650 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:713:24: warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
711 |
712 | // For PostgresTimeWithTimeZone values, a different formatter is required for each time zone.
713 | private static var timeWithTimeZoneFormatters = [TimeZone : DateFormatter]()
| |- warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeWithTimeZoneFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeWithTimeZoneFormatters' 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
714 | private static let timeWithTimeZoneFormattersSemaphore = DispatchSemaphore(value: 1)
715 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[72/83] Compiling PostgresClientKit Crypto.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:617:24: warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
615 | //
616 |
617 | private static var timeZones = [Int : TimeZone]()
| |- warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeZones' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeZones' 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
618 | private static let timeZonesSemaphore = DispatchSemaphore(value: 1)
619 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:648:24: warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
646 | //
647 |
648 | private static var calendars = [TimeZone : Calendar]()
| |- warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'calendars' 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
649 | private static let calendarsSemaphore = DispatchSemaphore(value: 1)
650 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:713:24: warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
711 |
712 | // For PostgresTimeWithTimeZone values, a different formatter is required for each time zone.
713 | private static var timeWithTimeZoneFormatters = [TimeZone : DateFormatter]()
| |- warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeWithTimeZoneFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeWithTimeZoneFormatters' 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
714 | private static let timeWithTimeZoneFormattersSemaphore = DispatchSemaphore(value: 1)
715 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[73/83] Compiling PostgresClientKit Cursor.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:617:24: warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
615 | //
616 |
617 | private static var timeZones = [Int : TimeZone]()
| |- warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeZones' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeZones' 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
618 | private static let timeZonesSemaphore = DispatchSemaphore(value: 1)
619 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:648:24: warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
646 | //
647 |
648 | private static var calendars = [TimeZone : Calendar]()
| |- warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'calendars' 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
649 | private static let calendarsSemaphore = DispatchSemaphore(value: 1)
650 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:713:24: warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
711 |
712 | // For PostgresTimeWithTimeZone values, a different formatter is required for each time zone.
713 | private static var timeWithTimeZoneFormatters = [TimeZone : DateFormatter]()
| |- warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeWithTimeZoneFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeWithTimeZoneFormatters' 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
714 | private static let timeWithTimeZoneFormattersSemaphore = DispatchSemaphore(value: 1)
715 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[74/83] Compiling PostgresClientKit ISO8601.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:617:24: warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
615 | //
616 |
617 | private static var timeZones = [Int : TimeZone]()
| |- warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeZones' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeZones' 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
618 | private static let timeZonesSemaphore = DispatchSemaphore(value: 1)
619 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:648:24: warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
646 | //
647 |
648 | private static var calendars = [TimeZone : Calendar]()
| |- warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'calendars' 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
649 | private static let calendarsSemaphore = DispatchSemaphore(value: 1)
650 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:713:24: warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
711 |
712 | // For PostgresTimeWithTimeZone values, a different formatter is required for each time zone.
713 | private static var timeWithTimeZoneFormatters = [TimeZone : DateFormatter]()
| |- warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeWithTimeZoneFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeWithTimeZoneFormatters' 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
714 | private static let timeWithTimeZoneFormattersSemaphore = DispatchSemaphore(value: 1)
715 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[75/83] Compiling PostgresClientKit LogHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:617:24: warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
615 | //
616 |
617 | private static var timeZones = [Int : TimeZone]()
| |- warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeZones' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeZones' 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
618 | private static let timeZonesSemaphore = DispatchSemaphore(value: 1)
619 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:648:24: warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
646 | //
647 |
648 | private static var calendars = [TimeZone : Calendar]()
| |- warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'calendars' 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
649 | private static let calendarsSemaphore = DispatchSemaphore(value: 1)
650 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:713:24: warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
711 |
712 | // For PostgresTimeWithTimeZone values, a different formatter is required for each time zone.
713 | private static var timeWithTimeZoneFormatters = [TimeZone : DateFormatter]()
| |- warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeWithTimeZoneFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeWithTimeZoneFormatters' 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
714 | private static let timeWithTimeZoneFormattersSemaphore = DispatchSemaphore(value: 1)
715 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[76/83] Compiling PostgresClientKit LogLevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:617:24: warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
615 | //
616 |
617 | private static var timeZones = [Int : TimeZone]()
| |- warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeZones' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeZones' 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
618 | private static let timeZonesSemaphore = DispatchSemaphore(value: 1)
619 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:648:24: warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
646 | //
647 |
648 | private static var calendars = [TimeZone : Calendar]()
| |- warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'calendars' 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
649 | private static let calendarsSemaphore = DispatchSemaphore(value: 1)
650 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:713:24: warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
711 |
712 | // For PostgresTimeWithTimeZone values, a different formatter is required for each time zone.
713 | private static var timeWithTimeZoneFormatters = [TimeZone : DateFormatter]()
| |- warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeWithTimeZoneFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeWithTimeZoneFormatters' 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
714 | private static let timeWithTimeZoneFormattersSemaphore = DispatchSemaphore(value: 1)
715 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[77/83] Compiling PostgresClientKit LogRecord.swift
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:617:24: warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
615 | //
616 |
617 | private static var timeZones = [Int : TimeZone]()
| |- warning: static property 'timeZones' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeZones' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeZones' 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
618 | private static let timeZonesSemaphore = DispatchSemaphore(value: 1)
619 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:648:24: warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
646 | //
647 |
648 | private static var calendars = [TimeZone : Calendar]()
| |- warning: static property 'calendars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'calendars' 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
649 | private static let calendarsSemaphore = DispatchSemaphore(value: 1)
650 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/ISO8601.swift:713:24: warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
711 |
712 | // For PostgresTimeWithTimeZone values, a different formatter is required for each time zone.
713 | private static var timeWithTimeZoneFormatters = [TimeZone : DateFormatter]()
| |- warning: static property 'timeWithTimeZoneFormatters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeWithTimeZoneFormatters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeWithTimeZoneFormatters' 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
714 | private static let timeWithTimeZoneFormattersSemaphore = DispatchSemaphore(value: 1)
715 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Postgres.swift:30:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | /// The logger used by PostgresClientKit.
30 | public static let logger = Logger()
| |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'logger' 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
31 |
32 |
/Users/admin/builder/spi-builder-workspace/Sources/PostgresClientKit/Logging/Logger.swift:54:14: note: class 'Logger' does not conform to the 'Sendable' protocol
52 | ///
53 | /// - SeeAlso: `Postgres.logger`
54 | public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
55 |
56 | /// Creates a `Logger`.
[78/83] Compiling PostgresClientKit RowDescriptionResponse.swift
[79/83] Compiling PostgresClientKit Row.swift
[80/83] Compiling PostgresClientKit RowDecoder.swift
[81/83] Compiling PostgresClientKit SASLPrep.swift
[82/83] Compiling PostgresClientKit SCRAMSHA256Authenticator.swift
[83/83] Compiling PostgresClientKit Statement.swift
Build complete! (19.36s)
Build complete.
{
"dependencies" : [
{
"identity" : "bluesocket",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueSocket.git"
},
{
"identity" : "bluesslservice",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueSSLService"
}
],
"manifest_display_name" : "PostgresClientKit",
"name" : "PostgresClientKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PostgresClientKit",
"targets" : [
"PostgresClientKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PostgresClientKitTests",
"module_type" : "SwiftTarget",
"name" : "PostgresClientKitTests",
"path" : "Tests/PostgresClientKitTests",
"sources" : [
"ConnectionConfigurationTest.swift",
"ConnectionDelegateTest.swift",
"ConnectionPoolConfigurationTest.swift",
"ConnectionPoolMetricsTest.swift",
"ConnectionPoolStressTest.swift",
"ConnectionPoolTest.swift",
"ConnectionTest.swift",
"CryptoTest.swift",
"CursorTest.swift",
"DataTypeTest.swift",
"ISO8601Test.swift",
"LoggingTest.swift",
"PostgresByteATest.swift",
"PostgresClientKitTestCase.swift",
"PostgresDateTest.swift",
"PostgresTimeTest.swift",
"PostgresTimeWithTimeZoneTest.swift",
"PostgresTimestampTest.swift",
"PostgresTimestampWithTimeZoneTest.swift",
"PostgresValueTest.swift",
"RowDecoderTest.swift",
"SASLPrepTest.swift",
"SCRAMSHA256AuthenticatorTest.swift",
"SQLStatementTest.swift",
"StatementTest.swift",
"TestEnvironment.swift"
],
"target_dependencies" : [
"PostgresClientKit"
],
"type" : "test"
},
{
"c99name" : "PostgresClientKit",
"module_type" : "SwiftTarget",
"name" : "PostgresClientKit",
"path" : "Sources/PostgresClientKit",
"product_dependencies" : [
"Socket",
"SSLService"
],
"product_memberships" : [
"PostgresClientKit"
],
"sources" : [
"ColumnMetadata.swift",
"Connection.swift",
"ConnectionConfiguration.swift",
"ConnectionDelegate.swift",
"ConnectionPool.swift",
"ConnectionPoolConfiguration.swift",
"ConnectionPoolMetrics.swift",
"Credential.swift",
"Crypto.swift",
"Cursor.swift",
"ISO8601.swift",
"Logging/LogHandler.swift",
"Logging/LogLevel.swift",
"Logging/LogRecord.swift",
"Logging/Logger.swift",
"Notice.swift",
"Parameter.swift",
"Postgres.swift",
"PostgresByteA.swift",
"PostgresDate.swift",
"PostgresError.swift",
"PostgresTime.swift",
"PostgresTimeWithTimeZone.swift",
"PostgresTimestamp.swift",
"PostgresTimestampWithTimeZone.swift",
"PostgresValue.swift",
"PostgresValueConvertible.swift",
"Request/BindRequest.swift",
"Request/ClosePortalRequest.swift",
"Request/CloseStatementRequest.swift",
"Request/DescribePortalRequest.swift",
"Request/ExecuteRequest.swift",
"Request/FlushRequest.swift",
"Request/ParseRequest.swift",
"Request/PasswordMessageRequest.swift",
"Request/Request.swift",
"Request/SASLInitialRequest.swift",
"Request/SASLRequest.swift",
"Request/SSLRequest.swift",
"Request/StartupRequest.swift",
"Request/SyncRequest.swift",
"Request/TerminateRequest.swift",
"Response/AuthenticationCleartextPasswordResponse.swift",
"Response/AuthenticationMD5PasswordResponse.swift",
"Response/AuthenticationOKResponse.swift",
"Response/AuthenticationResponse.swift",
"Response/AuthenticationSASLContinueResponse.swift",
"Response/AuthenticationSASLFinalResponse.swift",
"Response/AuthenticationSASLResponse.swift",
"Response/BackendKeyDataResponse.swift",
"Response/BindCompleteResponse.swift",
"Response/CloseCompleteResponse.swift",
"Response/CommandCompleteResponse.swift",
"Response/DataRowResponse.swift",
"Response/EmptyQueryResponse.swift",
"Response/ErrorResponse.swift",
"Response/NoDataResponse.swift",
"Response/NoticeResponse.swift",
"Response/NotificationResponse.swift",
"Response/ParameterStatusResponse.swift",
"Response/ParseCompleteResponse.swift",
"Response/ReadyForQueryResponse.swift",
"Response/Response.swift",
"Response/RowDescriptionResponse.swift",
"Row.swift",
"RowDecoder.swift",
"SASLPrep.swift",
"SCRAMSHA256Authenticator.swift",
"Statement.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.