Build Information
Failed to build SwiftOpenAPI, reference 2.26.0 (057aec), with Swift 6.1 for Android on 18 Dec 2025 19:44:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
33 | static var uri: DataFormat = "uri"
34 | static var hostname: DataFormat = "hostname"
35 | static var ipv4: DataFormat = "ipv4"
| |- warning: static property 'ipv4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ipv4' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ipv4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static var ipv6: DataFormat = "ipv6"
37 | static var int64: DataFormat = "int64"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:36:13: warning: static property 'ipv6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | static var hostname: DataFormat = "hostname"
35 | static var ipv4: DataFormat = "ipv4"
36 | static var ipv6: DataFormat = "ipv6"
| |- warning: static property 'ipv6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ipv6' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ipv6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | static var int64: DataFormat = "int64"
38 | static var int32: DataFormat = "int32"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:37:13: warning: static property 'int64' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | static var ipv4: DataFormat = "ipv4"
36 | static var ipv6: DataFormat = "ipv6"
37 | static var int64: DataFormat = "int64"
| |- warning: static property 'int64' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'int64' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static var int32: DataFormat = "int32"
39 | static var double: DataFormat = "double"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:38:13: warning: static property 'int32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | static var ipv6: DataFormat = "ipv6"
37 | static var int64: DataFormat = "int64"
38 | static var int32: DataFormat = "int32"
| |- warning: static property 'int32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'int32' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var double: DataFormat = "double"
40 | static var float: DataFormat = "float"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:39:13: warning: static property 'double' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var int64: DataFormat = "int64"
38 | static var int32: DataFormat = "int32"
39 | static var double: DataFormat = "double"
| |- warning: static property 'double' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'double' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | static var float: DataFormat = "float"
41 | static var decimal: DataFormat = "decimal"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:40:13: warning: static property 'float' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | static var int32: DataFormat = "int32"
39 | static var double: DataFormat = "double"
40 | static var float: DataFormat = "float"
| |- warning: static property 'float' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'float' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var decimal: DataFormat = "decimal"
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:41:13: warning: static property 'decimal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | static var double: DataFormat = "double"
40 | static var float: DataFormat = "float"
41 | static var decimal: DataFormat = "decimal"
| |- warning: static property 'decimal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'decimal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'decimal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:44:13: warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
44 | static var date: DataFormat = "date"
| |- warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'date' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:47:13: warning: static property 'dateTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
47 | static var dateTime: DataFormat = "date-time"
| |- warning: static property 'dateTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | /// a hint to UIs to mask the input
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:50:13: warning: static property 'password' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// a hint to UIs to mask the input
50 | static var password: DataFormat = "password"
| |- warning: static property 'password' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'password' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | /// base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:53:13: warning: static property 'byte' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==
53 | static var byte: DataFormat = "byte"
| |- warning: static property 'byte' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'byte' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// binary data, used to describe files
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:56:13: warning: static property 'binary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// binary data, used to describe files
56 | static var binary: DataFormat = "binary"
| |- warning: static property 'binary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'binary' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:31:13: warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public extension DataFormat {
30 |
31 | static var email: DataFormat = "email"
| |- warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'email' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'email' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static var uuid: DataFormat = "uuid"
33 | static var uri: DataFormat = "uri"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:32:13: warning: static property 'uuid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | static var email: DataFormat = "email"
32 | static var uuid: DataFormat = "uuid"
| |- warning: static property 'uuid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uuid' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static var uri: DataFormat = "uri"
34 | static var hostname: DataFormat = "hostname"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:33:13: warning: static property 'uri' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | static var email: DataFormat = "email"
32 | static var uuid: DataFormat = "uuid"
33 | static var uri: DataFormat = "uri"
| |- warning: static property 'uri' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uri' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'uri' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static var hostname: DataFormat = "hostname"
35 | static var ipv4: DataFormat = "ipv4"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:34:13: warning: static property 'hostname' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | static var uuid: DataFormat = "uuid"
33 | static var uri: DataFormat = "uri"
34 | static var hostname: DataFormat = "hostname"
| |- warning: static property 'hostname' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hostname' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hostname' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | static var ipv4: DataFormat = "ipv4"
36 | static var ipv6: DataFormat = "ipv6"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:35:13: warning: static property 'ipv4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | static var uri: DataFormat = "uri"
34 | static var hostname: DataFormat = "hostname"
35 | static var ipv4: DataFormat = "ipv4"
| |- warning: static property 'ipv4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ipv4' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ipv4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static var ipv6: DataFormat = "ipv6"
37 | static var int64: DataFormat = "int64"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:36:13: warning: static property 'ipv6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | static var hostname: DataFormat = "hostname"
35 | static var ipv4: DataFormat = "ipv4"
36 | static var ipv6: DataFormat = "ipv6"
| |- warning: static property 'ipv6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ipv6' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ipv6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | static var int64: DataFormat = "int64"
38 | static var int32: DataFormat = "int32"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:37:13: warning: static property 'int64' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | static var ipv4: DataFormat = "ipv4"
36 | static var ipv6: DataFormat = "ipv6"
37 | static var int64: DataFormat = "int64"
| |- warning: static property 'int64' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'int64' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static var int32: DataFormat = "int32"
39 | static var double: DataFormat = "double"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:38:13: warning: static property 'int32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | static var ipv6: DataFormat = "ipv6"
37 | static var int64: DataFormat = "int64"
38 | static var int32: DataFormat = "int32"
| |- warning: static property 'int32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'int32' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var double: DataFormat = "double"
40 | static var float: DataFormat = "float"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:39:13: warning: static property 'double' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var int64: DataFormat = "int64"
38 | static var int32: DataFormat = "int32"
39 | static var double: DataFormat = "double"
| |- warning: static property 'double' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'double' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | static var float: DataFormat = "float"
41 | static var decimal: DataFormat = "decimal"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:40:13: warning: static property 'float' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | static var int32: DataFormat = "int32"
39 | static var double: DataFormat = "double"
40 | static var float: DataFormat = "float"
| |- warning: static property 'float' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'float' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var decimal: DataFormat = "decimal"
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:41:13: warning: static property 'decimal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | static var double: DataFormat = "double"
40 | static var float: DataFormat = "float"
41 | static var decimal: DataFormat = "decimal"
| |- warning: static property 'decimal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'decimal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'decimal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:44:13: warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
44 | static var date: DataFormat = "date"
| |- warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'date' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:47:13: warning: static property 'dateTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
47 | static var dateTime: DataFormat = "date-time"
| |- warning: static property 'dateTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | /// a hint to UIs to mask the input
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:50:13: warning: static property 'password' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// a hint to UIs to mask the input
50 | static var password: DataFormat = "password"
| |- warning: static property 'password' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'password' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | /// base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:53:13: warning: static property 'byte' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==
53 | static var byte: DataFormat = "byte"
| |- warning: static property 'byte' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'byte' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// binary data, used to describe files
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:56:13: warning: static property 'binary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// binary data, used to describe files
56 | static var binary: DataFormat = "binary"
| |- warning: static property 'binary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'binary' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:31:13: warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public extension DataFormat {
30 |
31 | static var email: DataFormat = "email"
| |- warning: static property 'email' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'email' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'email' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static var uuid: DataFormat = "uuid"
33 | static var uri: DataFormat = "uri"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:32:13: warning: static property 'uuid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | static var email: DataFormat = "email"
32 | static var uuid: DataFormat = "uuid"
| |- warning: static property 'uuid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uuid' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'uuid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static var uri: DataFormat = "uri"
34 | static var hostname: DataFormat = "hostname"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:33:13: warning: static property 'uri' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | static var email: DataFormat = "email"
32 | static var uuid: DataFormat = "uuid"
33 | static var uri: DataFormat = "uri"
| |- warning: static property 'uri' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'uri' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'uri' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static var hostname: DataFormat = "hostname"
35 | static var ipv4: DataFormat = "ipv4"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:34:13: warning: static property 'hostname' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | static var uuid: DataFormat = "uuid"
33 | static var uri: DataFormat = "uri"
34 | static var hostname: DataFormat = "hostname"
| |- warning: static property 'hostname' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hostname' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hostname' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | static var ipv4: DataFormat = "ipv4"
36 | static var ipv6: DataFormat = "ipv6"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:35:13: warning: static property 'ipv4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | static var uri: DataFormat = "uri"
34 | static var hostname: DataFormat = "hostname"
35 | static var ipv4: DataFormat = "ipv4"
| |- warning: static property 'ipv4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ipv4' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ipv4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static var ipv6: DataFormat = "ipv6"
37 | static var int64: DataFormat = "int64"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:36:13: warning: static property 'ipv6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | static var hostname: DataFormat = "hostname"
35 | static var ipv4: DataFormat = "ipv4"
36 | static var ipv6: DataFormat = "ipv6"
| |- warning: static property 'ipv6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ipv6' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ipv6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | static var int64: DataFormat = "int64"
38 | static var int32: DataFormat = "int32"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:37:13: warning: static property 'int64' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | static var ipv4: DataFormat = "ipv4"
36 | static var ipv6: DataFormat = "ipv6"
37 | static var int64: DataFormat = "int64"
| |- warning: static property 'int64' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'int64' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'int64' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | static var int32: DataFormat = "int32"
39 | static var double: DataFormat = "double"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:38:13: warning: static property 'int32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | static var ipv6: DataFormat = "ipv6"
37 | static var int64: DataFormat = "int64"
38 | static var int32: DataFormat = "int32"
| |- warning: static property 'int32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'int32' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'int32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static var double: DataFormat = "double"
40 | static var float: DataFormat = "float"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:39:13: warning: static property 'double' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | static var int64: DataFormat = "int64"
38 | static var int32: DataFormat = "int32"
39 | static var double: DataFormat = "double"
| |- warning: static property 'double' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'double' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'double' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | static var float: DataFormat = "float"
41 | static var decimal: DataFormat = "decimal"
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:40:13: warning: static property 'float' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | static var int32: DataFormat = "int32"
39 | static var double: DataFormat = "double"
40 | static var float: DataFormat = "float"
| |- warning: static property 'float' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'float' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'float' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static var decimal: DataFormat = "decimal"
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:41:13: warning: static property 'decimal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | static var double: DataFormat = "double"
40 | static var float: DataFormat = "float"
41 | static var decimal: DataFormat = "decimal"
| |- warning: static property 'decimal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'decimal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'decimal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:44:13: warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21
44 | static var date: DataFormat = "date"
| |- warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'date' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:47:13: warning: static property 'dateTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
47 | static var dateTime: DataFormat = "date-time"
| |- warning: static property 'dateTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'dateTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | /// a hint to UIs to mask the input
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:50:13: warning: static property 'password' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// a hint to UIs to mask the input
50 | static var password: DataFormat = "password"
| |- warning: static property 'password' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'password' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | /// base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:53:13: warning: static property 'byte' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==
53 | static var byte: DataFormat = "byte"
| |- warning: static property 'byte' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'byte' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'byte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /// binary data, used to describe files
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/JSONSchema/DataFormat.swift:56:13: warning: static property 'binary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// binary data, used to describe files
56 | static var binary: DataFormat = "binary"
| |- warning: static property 'binary' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'binary' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
[415/443] Compiling SwiftOpenAPI ServerVariableObject.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[416/443] Compiling SwiftOpenAPI SpecificationExtendable.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[417/443] Compiling SwiftOpenAPI TagObject.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[418/443] Compiling SwiftOpenAPI Version.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[419/443] Compiling SwiftOpenAPI XMLObject.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[420/443] Compiling SwiftOpenAPI OpenAPIDescriptable.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[421/443] Compiling SwiftOpenAPI OpenAPIDescription.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[422/443] Compiling SwiftOpenAPI OpenAPIType.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
[423/443] Compiling SwiftOpenAPI refactor.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Objects/Version.swift:5:20: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Version: Codable, Comparable, LosslessStringConvertible, ExpressibleByStringInterpolation {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
4 |
5 | public static let zero = Version(0, 0, 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// version when you make incompatible API changes
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:77:13: warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
| |- warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateEncodingFormat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:79:13: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | private let dateFormatter = DateFormatter()
81 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:19:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | static var useDefaultKeys: KeyEncodingStrategy = .custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static func custom(_ encode: @escaping (String) -> String) -> KeyEncodingStrategy {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:36:13: warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private let defaultKeyEncodingStrategy = Lock(KeyEncodingStrategy.useDefaultKeys)
| |- warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultKeyEncodingStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/TypeRevision/CodableTypes.swift:5:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | struct TypeInfo {
| `- note: consider making struct 'TypeInfo' conform to the 'Sendable' protocol
4 |
5 | static let any = TypeInfo(type: Any.self, container: .single(.null))
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var type: Any.Type
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:77:13: warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
| |- warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateEncodingFormat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:79:13: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | private let dateFormatter = DateFormatter()
81 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:19:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | static var useDefaultKeys: KeyEncodingStrategy = .custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static func custom(_ encode: @escaping (String) -> String) -> KeyEncodingStrategy {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:36:13: warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private let defaultKeyEncodingStrategy = Lock(KeyEncodingStrategy.useDefaultKeys)
| |- warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultKeyEncodingStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/TypeRevision/CodableTypes.swift:5:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | struct TypeInfo {
| `- note: consider making struct 'TypeInfo' conform to the 'Sendable' protocol
4 |
5 | static let any = TypeInfo(type: Any.self, container: .single(.null))
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var type: Any.Type
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:77:13: warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
| |- warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateEncodingFormat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:79:13: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | private let dateFormatter = DateFormatter()
81 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:19:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | static var useDefaultKeys: KeyEncodingStrategy = .custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static func custom(_ encode: @escaping (String) -> String) -> KeyEncodingStrategy {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:36:13: warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private let defaultKeyEncodingStrategy = Lock(KeyEncodingStrategy.useDefaultKeys)
| |- warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultKeyEncodingStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/TypeRevision/CodableTypes.swift:5:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | struct TypeInfo {
| `- note: consider making struct 'TypeInfo' conform to the 'Sendable' protocol
4 |
5 | static let any = TypeInfo(type: Any.self, container: .single(.null))
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var type: Any.Type
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:77:13: warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
| |- warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateEncodingFormat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:79:13: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | private let dateFormatter = DateFormatter()
81 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:19:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | static var useDefaultKeys: KeyEncodingStrategy = .custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static func custom(_ encode: @escaping (String) -> String) -> KeyEncodingStrategy {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:36:13: warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private let defaultKeyEncodingStrategy = Lock(KeyEncodingStrategy.useDefaultKeys)
| |- warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultKeyEncodingStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/TypeRevision/CodableTypes.swift:5:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | struct TypeInfo {
| `- note: consider making struct 'TypeInfo' conform to the 'Sendable' protocol
4 |
5 | static let any = TypeInfo(type: Any.self, container: .single(.null))
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var type: Any.Type
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:77:13: warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
| |- warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateEncodingFormat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:79:13: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | private let dateFormatter = DateFormatter()
81 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:19:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | static var useDefaultKeys: KeyEncodingStrategy = .custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static func custom(_ encode: @escaping (String) -> String) -> KeyEncodingStrategy {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:36:13: warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private let defaultKeyEncodingStrategy = Lock(KeyEncodingStrategy.useDefaultKeys)
| |- warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultKeyEncodingStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/TypeRevision/CodableTypes.swift:5:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | struct TypeInfo {
| `- note: consider making struct 'TypeInfo' conform to the 'Sendable' protocol
4 |
5 | static let any = TypeInfo(type: Any.self, container: .single(.null))
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var type: Any.Type
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:77:13: warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
| |- warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateEncodingFormat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:79:13: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | private let dateFormatter = DateFormatter()
81 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:19:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | static var useDefaultKeys: KeyEncodingStrategy = .custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static func custom(_ encode: @escaping (String) -> String) -> KeyEncodingStrategy {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:36:13: warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private let defaultKeyEncodingStrategy = Lock(KeyEncodingStrategy.useDefaultKeys)
| |- warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultKeyEncodingStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/TypeRevision/CodableTypes.swift:5:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | struct TypeInfo {
| `- note: consider making struct 'TypeInfo' conform to the 'Sendable' protocol
4 |
5 | static let any = TypeInfo(type: Any.self, container: .single(.null))
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var type: Any.Type
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:77:13: warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
| |- warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateEncodingFormat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:79:13: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | private let dateFormatter = DateFormatter()
81 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:19:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | static var useDefaultKeys: KeyEncodingStrategy = .custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static func custom(_ encode: @escaping (String) -> String) -> KeyEncodingStrategy {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:36:13: warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private let defaultKeyEncodingStrategy = Lock(KeyEncodingStrategy.useDefaultKeys)
| |- warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultKeyEncodingStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/TypeRevision/CodableTypes.swift:5:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | struct TypeInfo {
| `- note: consider making struct 'TypeInfo' conform to the 'Sendable' protocol
4 |
5 | static let any = TypeInfo(type: Any.self, container: .single(.null))
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var type: Any.Type
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:77:13: warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
| |- warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateEncodingFormat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:79:13: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | private let dateFormatter = DateFormatter()
81 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:19:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | static var useDefaultKeys: KeyEncodingStrategy = .custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static func custom(_ encode: @escaping (String) -> String) -> KeyEncodingStrategy {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:36:13: warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private let defaultKeyEncodingStrategy = Lock(KeyEncodingStrategy.useDefaultKeys)
| |- warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultKeyEncodingStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/TypeRevision/CodableTypes.swift:5:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | struct TypeInfo {
| `- note: consider making struct 'TypeInfo' conform to the 'Sendable' protocol
4 |
5 | static let any = TypeInfo(type: Any.self, container: .single(.null))
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var type: Any.Type
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:77:13: warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
| |- warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateEncodingFormat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:79:13: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | private let dateFormatter = DateFormatter()
81 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:19:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | static var useDefaultKeys: KeyEncodingStrategy = .custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static func custom(_ encode: @escaping (String) -> String) -> KeyEncodingStrategy {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:36:13: warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private let defaultKeyEncodingStrategy = Lock(KeyEncodingStrategy.useDefaultKeys)
| |- warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultKeyEncodingStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/TypeRevision/CodableTypes.swift:5:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | struct TypeInfo {
| `- note: consider making struct 'TypeInfo' conform to the 'Sendable' protocol
4 |
5 | static let any = TypeInfo(type: Any.self, container: .single(.null))
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var type: Any.Type
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:77:13: warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
75 | }
76 |
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
| |- warning: let 'defaultDateEncodingFormat' is not concurrency-safe because non-'Sendable' type 'Lock<DateEncodingFormat>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultDateEncodingFormat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/DateEncodingFormat.swift:79:13: warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
77 | private let defaultDateEncodingFormat = Lock(DateEncodingFormat.dateTime)
78 |
79 | private let isoFormatter = ISO8601DateFormatter()
| |- warning: let 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'isoFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | private let dateFormatter = DateFormatter()
81 |
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:19:13: warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | static var useDefaultKeys: KeyEncodingStrategy = .custom { $0 }
| |- warning: static property 'useDefaultKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'useDefaultKeys' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'useDefaultKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static func custom(_ encode: @escaping (String) -> String) -> KeyEncodingStrategy {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/KeyEncodingStrategy.swift:36:13: warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | private let defaultKeyEncodingStrategy = Lock(KeyEncodingStrategy.useDefaultKeys)
| |- warning: let 'defaultKeyEncodingStrategy' is not concurrency-safe because non-'Sendable' type 'Lock<KeyEncodingStrategy>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultKeyEncodingStrategy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:189:13: note: generic class 'Lock' does not conform to the 'Sendable' protocol
187 |
188 | @propertyWrapper
189 | final class Lock<T> {
| `- note: generic class 'Lock' does not conform to the 'Sendable' protocol
190 |
191 | private let lock = ReadWriteLock()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Encoders/TypeRevision/CodableTypes.swift:5:13: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | struct TypeInfo {
| `- note: consider making struct 'TypeInfo' conform to the 'Sendable' protocol
4 |
5 | static let any = TypeInfo(type: Any.self, container: .single(.null))
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'TypeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'any' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var type: Any.Type
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/CodingKeys.swift:23:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | struct StringKey<Value: LosslessStringConvertible>: CodingKey {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
20 |
21 | var stringValue: String { value.description }
22 | var intValue: Int? { nil }
23 | var value: Value
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'StringKey' has non-sendable type 'Value'; this is an error in the Swift 6 language mode
24 |
25 | init?(stringValue: String) {
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/20] Write swift-version-24593BA9C3E375BF.txt
[2/30] Compiling SwiftSyntax602 Empty.swift
[3/30] Emitting module SwiftSyntax602
[4/30] Emitting module SwiftSyntax600
[5/31] Compiling SwiftSyntax600 Empty.swift
[6/32] Compiling SwiftSyntax601 Empty.swift
[7/32] Compiling SwiftSyntax510 Empty.swift
[8/32] Emitting module SwiftSyntax510
[11/33] Emitting module SwiftSyntax601
[12/34] Emitting module SwiftSyntax509
[13/34] Compiling SwiftSyntax509 Empty.swift
[17/93] Compiling SwiftSyntax Identifier.swift
[18/93] Compiling SwiftSyntax MemoryLayout.swift
[19/93] Compiling SwiftSyntax MissingNodeInitializers.swift
[20/93] Compiling SwiftSyntax RawSyntax.swift
[21/93] Compiling SwiftSyntax RawSyntaxArena.swift
[22/93] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[23/93] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[24/93] Compiling SwiftSyntax RawSyntaxTokenView.swift
[25/93] Compiling SwiftSyntax SourceEdit.swift
[26/101] Emitting module SwiftSyntax
[27/101] Compiling SwiftSyntax SyntaxRewriter.swift
[28/101] Compiling SwiftSyntax SyntaxTraits.swift
[29/101] Compiling SwiftSyntax SyntaxVisitor.swift
[30/101] Compiling SwiftSyntax TokenKind.swift
[31/101] Compiling SwiftSyntax Tokens.swift
[32/101] Compiling SwiftSyntax TriviaPieces.swift
[33/101] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[34/101] Compiling SwiftSyntax RawSyntaxNodesC.swift
[35/101] Compiling SwiftSyntax RawSyntaxNodesD.swift
[36/101] Compiling SwiftSyntax SourceLength.swift
[37/101] Compiling SwiftSyntax SourceLocation.swift
[38/101] Compiling SwiftSyntax SourcePresence.swift
[39/101] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[40/101] Compiling SwiftSyntax Syntax.swift
[41/101] Compiling SwiftSyntax SyntaxChildren.swift
[42/101] Compiling SwiftSyntax SyntaxCollection.swift
[43/101] Compiling SwiftSyntax SyntaxHashable.swift
[44/101] Compiling SwiftSyntax SyntaxIdentifier.swift
[45/101] Compiling SwiftSyntax SyntaxNodeStructure.swift
[46/101] Compiling SwiftSyntax SyntaxProtocol.swift
[47/101] Compiling SwiftSyntax SyntaxText.swift
[48/101] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[49/101] Compiling SwiftSyntax TokenDiagnostic.swift
[50/101] Compiling SwiftSyntax TokenSequence.swift
[51/101] Compiling SwiftSyntax TokenSyntax.swift
[52/101] Compiling SwiftSyntax Trivia.swift
[53/101] Compiling SwiftSyntax Utils.swift
[54/101] Compiling SwiftSyntax AbsolutePosition.swift
[55/101] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[56/101] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[57/101] Compiling SwiftSyntax Assert.swift
[58/101] Compiling SwiftSyntax BumpPtrAllocator.swift
[59/101] Compiling SwiftSyntax CommonAncestor.swift
[60/101] Compiling SwiftSyntax Convenience.swift
[61/101] Compiling SwiftSyntax CustomTraits.swift
[62/101] Compiling SwiftSyntax EditorPlaceholder.swift
[63/101] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[64/101] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[65/101] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[66/101] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[67/101] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[68/101] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[69/101] Compiling SwiftSyntax RawSyntaxValidation.swift
[70/101] Compiling SwiftSyntax SyntaxNodesAB.swift
[71/101] Compiling SwiftSyntax ChildNameForKeyPath.swift
[72/101] Compiling SwiftSyntax Keyword.swift
[73/101] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[74/101] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[75/101] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[76/101] Compiling SwiftSyntax SyntaxBaseNodes.swift
[77/101] Compiling SwiftSyntax SyntaxCollections.swift
[78/101] Compiling SwiftSyntax SyntaxEnum.swift
[79/101] Compiling SwiftSyntax SyntaxKind.swift
[80/101] Compiling SwiftSyntax SyntaxNodesC.swift
[81/101] Compiling SwiftSyntax SyntaxNodesD.swift
[82/101] Compiling SwiftSyntax SyntaxNodesEF.swift
[83/101] Compiling SwiftSyntax SyntaxNodesGHI.swift
[84/101] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[85/101] Compiling SwiftSyntax SyntaxNodesOP.swift
[86/101] Compiling SwiftSyntax SyntaxNodesQRS.swift
[87/101] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[89/118] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[90/145] Compiling SwiftBasicFormat Syntax+Extensions.swift
[91/150] Compiling SwiftParser Lexeme.swift
[92/150] Compiling SwiftParser LexemeSequence.swift
[93/153] Compiling SwiftDiagnostics Message.swift
[94/161] Emitting module SwiftDiagnostics
[95/161] Compiling SwiftParser Lexer.swift
[96/161] Compiling SwiftParser RegexLiteralLexer.swift
[97/161] Compiling SwiftDiagnostics Note.swift
[98/161] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[99/161] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[100/161] Compiling SwiftBasicFormat Indenter.swift
[101/161] Compiling SwiftBasicFormat InferIndentation.swift
[102/161] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[103/161] Compiling SwiftDiagnostics FixIt.swift
[104/161] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[106/161] Compiling SwiftParser StringLiterals.swift
[107/161] Compiling SwiftParser SwiftParserCompatibility.swift
[108/161] Compiling SwiftParser SwiftVersion.swift
[109/161] Compiling SwiftParser SyntaxUtils.swift
[110/161] Compiling SwiftParser TokenConsumer.swift
[111/161] Compiling SwiftParser TokenPrecedence.swift
[112/166] Emitting module SwiftBasicFormat
[113/166] Compiling SwiftBasicFormat BasicFormat.swift
[115/166] Emitting module SwiftParser
[116/166] Compiling SwiftParser TokenSpec.swift
[117/166] Compiling SwiftParser TokenSpecSet.swift
[118/166] Compiling SwiftParser TopLevel.swift
[119/166] Compiling SwiftParser TriviaParser.swift
[120/166] Compiling SwiftParser Types.swift
[121/166] Compiling SwiftParser Parser.swift
[122/166] Compiling SwiftParser Patterns.swift
[123/166] Compiling SwiftParser Recovery.swift
[124/166] Compiling SwiftParser Specifiers.swift
[125/166] Compiling SwiftParser Statements.swift
[126/166] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[127/166] Compiling SwiftParser LoopProgressCondition.swift
[128/166] Compiling SwiftParser Modifiers.swift
[129/166] Compiling SwiftParser Names.swift
[130/166] Compiling SwiftParser Nominals.swift
[131/166] Compiling SwiftParser Parameters.swift
[132/166] Compiling SwiftParser ParseSourceFile.swift
[137/166] Compiling SwiftParser UnicodeScalarExtensions.swift
[138/166] Compiling SwiftParser Lookahead.swift
[139/166] Compiling SwiftParser Attributes.swift
[140/166] Compiling SwiftParser Availability.swift
[141/166] Compiling SwiftParser CharacterInfo.swift
[142/166] Compiling SwiftParser CollectionNodes+Parsable.swift
[143/166] Compiling SwiftParser CompilerFiles.swift
[144/166] Compiling SwiftParser Declarations.swift
[145/166] Compiling SwiftParser Directives.swift
[146/166] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[147/166] Compiling SwiftParser Expressions.swift
[148/166] Compiling SwiftParser IncrementalParseTransition.swift
[149/166] Compiling SwiftParser IsValidIdentifier.swift
[150/166] Compiling SwiftParser Cursor.swift
[151/166] Compiling SwiftParser ExperimentalFeatures.swift
[152/166] Compiling SwiftParser IsLexerClassified.swift
[153/166] Compiling SwiftParser LayoutNodes+Parsable.swift
[154/166] Compiling SwiftParser Parser+TokenSpecSet.swift
[155/166] Compiling SwiftParser TokenSpecStaticMembers.swift
[157/189] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[158/190] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[159/190] Compiling SwiftOperators PrecedenceGroup.swift
[160/191] Compiling SwiftOperators Operator.swift
[161/191] Compiling SwiftOperators OperatorError+Diagnostics.swift
[162/191] Compiling SwiftOperators OperatorError.swift
[163/191] Compiling SwiftOperators OperatorTable+Defaults.swift
[164/191] Compiling SwiftOperators OperatorTable.swift
[165/191] Compiling SwiftOperators PrecedenceGraph.swift
[166/191] Emitting module SwiftOperators
[167/191] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[168/191] Compiling SwiftParserDiagnostics Utils.swift
[169/191] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[170/191] Compiling SwiftOperators SyntaxSynthesis.swift
[171/191] Compiling SwiftOperators OperatorTable+Folding.swift
[172/191] Compiling SwiftOperators OperatorTable+Semantics.swift
[173/192] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[174/192] Compiling SwiftParserDiagnostics PresenceUtils.swift
[176/191] Emitting module SwiftParserDiagnostics
[181/191] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[182/191] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[184/206] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[185/206] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[186/206] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[187/206] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[188/207] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[189/207] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[190/207] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[191/207] Compiling SwiftSyntaxBuilder Indenter.swift
[192/207] Compiling SwiftSyntaxBuilder ListBuilder.swift
[193/207] Emitting module SwiftSyntaxBuilder
[194/207] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[195/207] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[196/207] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[197/207] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[198/207] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[199/207] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[201/224] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[202/224] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[203/224] Compiling SwiftSyntaxMacros Macro.swift
[204/224] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[205/224] Compiling SwiftSyntaxMacros MemberMacro.swift
[206/224] Compiling SwiftSyntaxMacros PeerMacro.swift
[207/226] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[208/226] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[209/226] Compiling SwiftSyntaxMacros AccessorMacro.swift
[210/226] Compiling SwiftSyntaxMacros AttachedMacro.swift
[211/226] Compiling SwiftSyntaxMacros BodyMacro.swift
[212/226] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[213/226] Compiling SwiftSyntaxMacros Macro+Format.swift
[214/226] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[215/226] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[216/226] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[217/226] Emitting module SwiftSyntaxMacros
[218/226] Compiling SwiftSyntaxMacros PreambleMacro.swift
[219/226] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[221/235] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[222/236] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[223/236] Emitting module SwiftSyntaxMacroExpansion
[224/236] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[225/236] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[226/236] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[227/236] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[228/236] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[229/236] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[230/236] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[232/248] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[233/249] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[234/249] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[235/249] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[236/249] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[237/249] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[238/249] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[239/249] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[240/249] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[241/249] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[242/249] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[243/249] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[244/249] Emitting module SwiftCompilerPluginMessageHandling
[246/251] Emitting module SwiftCompilerPlugin
[247/251] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[249/255] Compiling SwiftOpenAPIMacros StringError.swift
[250/255] Compiling SwiftOpenAPIMacros SyntaxExt.swift
[251/255] Emitting module SwiftOpenAPIMacros
/host/spi-builder-workspace/Sources/SwiftOpenAPIMacros/OpenAPIDescriptionMacro.swift:18:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
16 | }
17 |
18 | public struct OpenAPIDescriptionMacro: ExtensionMacro, MemberMacro {
| `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
19 |
20 | public static func expansion(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 | /// - Returns: the set of member declarations introduced by this macro, which
54 | /// are nested inside the `attachedTo` declaration.
55 | static func expansion(
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 | of node: AttributeSyntax,
57 | providingMembersOf declaration: some DeclGroupSyntax,
:
87 | message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 | )
89 | public static func expansion(
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 | of node: AttributeSyntax,
91 | providingMembersOf declaration: some DeclGroupSyntax,
[252/255] Compiling SwiftOpenAPIMacros OpenAPIDescriptionMacro.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPIMacros/OpenAPIDescriptionMacro.swift:18:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
16 | }
17 |
18 | public struct OpenAPIDescriptionMacro: ExtensionMacro, MemberMacro {
| `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter
19 |
20 | public static func expansion(
/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntaxMacros/MacroProtocols/MemberMacro.swift:89:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
53 | /// - Returns: the set of member declarations introduced by this macro, which
54 | /// are nested inside the `attachedTo` declaration.
55 | static func expansion(
| `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
56 | of node: AttributeSyntax,
57 | providingMembersOf declaration: some DeclGroupSyntax,
:
87 | message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter"
88 | )
89 | public static func expansion(
| `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
90 | of node: AttributeSyntax,
91 | providingMembersOf declaration: some DeclGroupSyntax,
[253/255] Write Objects.LinkFileList
[254/255] Linking SwiftOpenAPIMacros-tool
error: emit-module command failed with exit code 1 (use -v to see invocation)
[256/387] Emitting module SwiftOpenAPI
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
[257/396] Compiling SwiftOpenAPI ReferenceOr.swift
[258/396] Compiling SwiftOpenAPI RequestBodyObject.swift
[259/396] Compiling SwiftOpenAPI ResponseObject.swift
[260/396] Compiling SwiftOpenAPI ResponsesObject.swift
[261/396] Compiling SwiftOpenAPI RuntimeExpression.swift
[262/396] Compiling SwiftOpenAPI RuntimeExpressionOr.swift
[263/396] Compiling SwiftOpenAPI SecurityRequirementObject.swift
[264/396] Compiling SwiftOpenAPI SecuritySchemeObject.swift
[265/396] Compiling SwiftOpenAPI ServerObject.swift
[266/405] Emitting module SwiftOpenAPI
[267/405] Compiling SwiftOpenAPI OAuthFlowObject.swift
[268/405] Compiling SwiftOpenAPI OAuthFlowsObject.swift
[269/405] Compiling SwiftOpenAPI OpenAPIObject.swift
[270/405] Compiling SwiftOpenAPI OperationObject.swift
[271/405] Compiling SwiftOpenAPI ParameterObject.swift
[272/405] Compiling SwiftOpenAPI Path.swift
[273/405] Compiling SwiftOpenAPI PathItemObject.swift
[274/405] Compiling SwiftOpenAPI PathsObject.swift
[275/405] Compiling SwiftOpenAPI ReferenceObject.swift
[276/405] Compiling SwiftOpenAPI TypeRevision.swift
[277/405] Compiling SwiftOpenAPI TypeRevisionDecoder.swift
[278/405] Compiling SwiftOpenAPI TypeRevisionEncoder.swift
[279/405] Compiling SwiftOpenAPI AnyValue.swift
[280/405] Compiling SwiftOpenAPI CallbackObject.swift
[281/405] Compiling SwiftOpenAPI ComponentsObject.swift
[282/405] Compiling SwiftOpenAPI CompositeType.swift
[283/405] Compiling SwiftOpenAPI ContactObject.swift
[284/405] Compiling SwiftOpenAPI ContentObject.swift
[294/405] Compiling SwiftOpenAPI String++.swift
[295/405] Compiling SwiftOpenAPI AnyValueEncoder.swift
[296/405] Compiling SwiftOpenAPI CheckAllKeysDecoder.swift
[297/405] Compiling SwiftOpenAPI DateEncodingFormat.swift
[298/405] Compiling SwiftOpenAPI HeadersEncoder.swift
[299/405] Compiling SwiftOpenAPI KeyEncodingStrategy.swift
[300/405] Compiling SwiftOpenAPI ParametersEncoder.swift
[301/405] Compiling SwiftOpenAPI Ref.swift
[302/405] Compiling SwiftOpenAPI SchemeEncoder.swift
[303/405] Compiling SwiftOpenAPI CodableTypes.swift
[304/405] Compiling SwiftOpenAPI AnyRange.swift
[305/405] Compiling SwiftOpenAPI Bool++.swift
[306/405] Compiling SwiftOpenAPI Codable++.swift
[307/405] Compiling SwiftOpenAPI CodingKeys.swift
[308/405] Compiling SwiftOpenAPI Collection++.swift
[309/405] Compiling SwiftOpenAPI Decimal++.swift
[310/405] Compiling SwiftOpenAPI ExpressibleBy.swift
[311/405] Compiling SwiftOpenAPI Locks.swift
[312/405] Compiling SwiftOpenAPI OrderedDictionary.swift
[313/405] Compiling SwiftOpenAPI StringConvertibleHintProvider.swift
[324/405] Compiling SwiftOpenAPI EncodingObject.swift
[325/405] Compiling SwiftOpenAPI ExampleObject.swift
[326/405] Compiling SwiftOpenAPI ExternalDocumentationObject.swift
[327/405] Compiling SwiftOpenAPI HeaderObject.swift
[328/405] Compiling SwiftOpenAPI InfoObject.swift
[329/405] Compiling SwiftOpenAPI AdditionalProperties.swift
[330/405] Compiling SwiftOpenAPI DataFormat.swift
[331/405] Compiling SwiftOpenAPI DataType.swift
[332/405] Compiling SwiftOpenAPI DiscriminatorObject.swift
[333/405] Compiling SwiftOpenAPI ExpressibleBySchemaObject.swift
[334/405] Compiling SwiftOpenAPI SchemaContexts.swift
[335/405] Compiling SwiftOpenAPI SchemaObjec+deprecated.swift
[336/405] Compiling SwiftOpenAPI SchemaObject++.swift
[337/405] Compiling SwiftOpenAPI SchemaObject.swift
[338/405] Compiling SwiftOpenAPI LicenseObject.swift
[339/405] Compiling SwiftOpenAPI LinkObject.swift
[340/405] Compiling SwiftOpenAPI MediaType.swift
[341/405] Compiling SwiftOpenAPI MediaTypeObject.swift
[369/405] Compiling SwiftOpenAPI ServerVariableObject.swift
[370/405] Compiling SwiftOpenAPI SpecificationExtendable.swift
[371/405] Compiling SwiftOpenAPI TagObject.swift
[372/405] Compiling SwiftOpenAPI Version.swift
[373/405] Compiling SwiftOpenAPI XMLObject.swift
[374/405] Compiling SwiftOpenAPI OpenAPIDescriptable.swift
[375/405] Compiling SwiftOpenAPI OpenAPIDescription.swift
[376/405] Compiling SwiftOpenAPI OpenAPIType.swift
[377/405] Compiling SwiftOpenAPI refactor.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:58:47: error: cannot find type 'pthread_rwlock_t' in scope
56 | fileprivate var shared = true
57 | #else
58 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
59 | UnsafeMutablePointer.allocate(capacity: 1)
60 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:13: error: cannot find 'pthread_rwlock_init' in scope
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:69:41: error: 'nil' requires a contextual type
67 | InitializeSRWLock(rwlock)
68 | #else
69 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
70 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
71 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:81:13: error: cannot find 'pthread_rwlock_destroy' in scope
79 | self.rwlock.deallocate()
80 | #else
81 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
82 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
83 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:98:13: error: cannot find 'pthread_rwlock_rdlock' in scope
96 | shared = true
97 | #else
98 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:114:13: error: cannot find 'pthread_rwlock_wrlock' in scope
112 | shared = false
113 | #else
114 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
116 | #endif
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/Locks.swift:134:13: error: cannot find 'pthread_rwlock_unlock' in scope
132 | }
133 | #else
134 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
135 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
136 | #endif
BUILD FAILURE 6.1 android