Build Information
Successful build of Swiftgger, reference 2.0.0-rc2 (afd6e6
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 17:21:59 UTC.
Swift 6 data race errors: 13
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[36/85] Compiling Swiftgger APILocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[37/85] Compiling Swiftgger MirrorHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[38/85] Compiling Swiftgger OpenAPISchemaConverter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[39/85] Compiling Swiftgger OpenAPISchemaEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[40/85] Compiling Swiftgger OpenAPIPathsBuilder.swift
[41/85] Compiling Swiftgger OpenAPIRequestBuilder.swift
[42/85] Compiling Swiftgger OpenAPIResponsesBuilder.swift
[43/85] Compiling Swiftgger OpenAPISchemasBuilder.swift
[44/85] Compiling Swiftgger OpenAPISecurityActionsBuilder.swift
[45/85] Compiling Swiftgger OpenAPISecurityBuilder.swift
[46/85] Compiling Swiftgger OpenAPIServersBuilder.swift
[47/85] Compiling Swiftgger OpenAPIHeader.swift
[48/85] Compiling Swiftgger OpenAPIInfo.swift
[49/85] Compiling Swiftgger OpenAPILicense.swift
[50/85] Compiling Swiftgger OpenAPILink.swift
[51/85] Compiling Swiftgger OpenAPIMediaType.swift
[52/85] Compiling Swiftgger OpenAPIOAuthFlow.swift
[53/85] Compiling Swiftgger OpenAPIOAuthFlows.swift
[54/85] Compiling Swiftgger OpenAPIOperation.swift
[55/85] Compiling Swiftgger OpenAPIParameter.swift
[56/85] Compiling Swiftgger OpenAPIPathItem.swift
[57/85] Compiling Swiftgger OpenAPIRequestBody.swift
[58/85] Compiling Swiftgger OpenAPIResponse.swift
[59/85] Compiling Swiftgger OpenAPISchemaKeyedEncodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[60/85] Compiling Swiftgger OpenAPISchemaStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[61/85] Compiling Swiftgger OpenAPISchemaUnkeyedEncodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[62/85] Compiling Swiftgger PropertyKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[63/85] Compiling Swiftgger Encodable+openEncode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[64/85] Compiling Swiftgger String+snakeCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[65/85] Compiling Swiftgger OpenAPIComponents.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
[66/85] Compiling Swiftgger APIAction.swift
[67/85] Compiling Swiftgger APIAuthorizationFlow.swift
[68/85] Compiling Swiftgger APIAuthorizationOAuth2Type.swift
[69/85] Compiling Swiftgger APIAuthorizationType.swift
[70/85] Compiling Swiftgger APIBodyType.swift
[71/85] Compiling Swiftgger APIContact.swift
[72/85] Compiling Swiftgger APIController.swift
[73/85] Emitting module Swiftgger
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:89:23: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:84:23: warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
82 |
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
| |- warning: static property 'array' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'array' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:85:23: warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
83 | extension APIDataType {
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
| |- warning: static property 'int32' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int32' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:86:23: warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
84 | public static let array = APIDataType(type: "array", format: nil)
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
| |- warning: static property 'int64' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int64' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:87:23: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
85 | public static let int32 = APIDataType(type: "integer", format: "int32")
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:88:23: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
86 | public static let int64 = APIDataType(type: "integer", format: "int64")
87 | public static let float = APIDataType(type: "number", format: "float")
88 | public static let double = APIDataType(type: "number", format: "double")
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:90:23: warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
88 | public static let double = APIDataType(type: "number", format: "double")
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
| |- warning: static property 'byte' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'byte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:91:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
89 | public static let string = APIDataType(type: "string", format: nil)
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:92:23: warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
90 | public static let byte = APIDataType(type: "string", format: "byte")
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
| |- warning: static property 'boolean' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'boolean' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:93:23: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
91 | public static let binary = APIDataType(type: "string", format: "binary")
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:94:23: warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
92 | public static let boolean = APIDataType(type: "boolean", format: nil)
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
| |- warning: static property 'dateTime' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dateTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:95:23: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
93 | public static let date = APIDataType(type: "string", format: "date")
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:96:23: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
10 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
11 | let type: String
12 | let format: String?
:
94 | public static let dateTime = APIDataType(type: "string", format: "date-time")
95 | public static let password = APIDataType(type: "string", format: "password")
96 | public static let uuid = APIDataType(type: "string", format: "uuid")
| |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'APIDataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 | }
109 |
110 | public func encode(_ value: IndexSet) throws {
| |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
| |- note: candidate has non-matching type '(IndexSet) throws -> ()'
| `- note: move 'encode' to another extension to silence this warning
111 | print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 | }
Swift.SingleValueEncodingContainer:14:19: note: requirement 'encode' declared here
12 | mutating func encode(_ value: Int64) throws
13 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
14 | mutating func encode(_ value: Int128) throws
| `- note: requirement 'encode' declared here
15 | mutating func encode(_ value: UInt) throws
16 | mutating func encode(_ value: UInt8) throws
[74/85] Compiling Swiftgger OpenAPISchema.swift
[75/85] Compiling Swiftgger OpenAPISecurityScheme.swift
[76/85] Compiling Swiftgger OpenAPIServer.swift
[77/85] Compiling Swiftgger OpenAPIServerVariable.swift
[78/85] Compiling Swiftgger OpenAPITag.swift
[79/85] Compiling Swiftgger OpenAPIXML.swift
[80/104] Compiling SwiftggerTestApp Program.swift
[81/104] Compiling SwiftggerTestApp main.swift
[82/104] Compiling SwiftggerTestApp Species.swift
[83/104] Emitting module SwiftggerTestApp
[84/104] Compiling SwiftggerTestApp Fuel.swift
[85/104] Compiling SwiftggerTestApp Vehicle.swift
[85/104] Write Objects.LinkFileList
[87/104] Compiling SwiftggerGenerator main.swift
[88/105] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[89/105] Compiling SwiftggerGenerator SwiftggerError.swift
[90/105] Emitting module SwiftggerGenerator
[91/105] Compiling SwiftggerGenerator ModelSerializer.swift
[92/105] Compiling SwiftggerGenerator OptionType.swift
[93/105] Compiling SwiftggerGenerator Program.swift
[94/105] Compiling SwiftggerGenerator OpenAPISchema.swift
[95/105] Compiling SwiftggerGenerator String.swift
[96/105] Compiling SwiftggerGenerator ConsoleIO.swift
[97/105] Compiling SwiftggerGenerator OutputType.swift
[98/105] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[99/105] Compiling SwiftggerGenerator URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:18:13: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
16 |
17 | let dataTask = self.dataTask(with: urlrequest) {
18 | data = $0
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
19 | response = $1
20 | error = $2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:19:13: warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | let dataTask = self.dataTask(with: urlrequest) {
18 | data = $0
19 | response = $1
| `- warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | error = $2
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:20:13: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
18 | data = $0
19 | response = $1
20 | error = $2
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
21 |
22 | semaphore.signal()
[100/105] Compiling SwiftggerGenerator HttpClientGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:18:13: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
16 |
17 | let dataTask = self.dataTask(with: urlrequest) {
18 | data = $0
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
19 | response = $1
20 | error = $2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:19:13: warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | let dataTask = self.dataTask(with: urlrequest) {
18 | data = $0
19 | response = $1
| `- warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | error = $2
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:20:13: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
18 | data = $0
19 | response = $1
20 | error = $2
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
21 |
22 | semaphore.signal()
[100/105] Write Objects.LinkFileList
[101/105] Linking swiftgger-test-app
[102/105] Applying swiftgger-test-app
[103/105] Linking swiftgger-generator
[104/105] Applying swiftgger-generator
Build complete! (12.89s)
Build complete.
{
"dependencies" : [
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
}
],
"manifest_display_name" : "Swiftgger",
"name" : "Swiftgger",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Swiftgger",
"targets" : [
"Swiftgger"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swiftgger-generator",
"targets" : [
"SwiftggerGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "swiftgger-test-app",
"targets" : [
"SwiftggerTestApp"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftggerTests",
"module_type" : "SwiftTarget",
"name" : "SwiftggerTests",
"path" : "Tests/SwiftggerTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftggerTests/openapi.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"OpenAPIDocumentDecodableTests.swift",
"OpenAPIInfoBuilderTests.swift",
"OpenAPIParametersBuilderTests.swift",
"OpenAPIPathsBuilderTests.swift",
"OpenAPISchemasBuilderTests.swift",
"OpenAPISecurityBuilderTests.swift",
"OpenAPIServersBuilderTests.swift",
"OpenAPITagsBuilderTests.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "test"
},
{
"c99name" : "SwiftggerTestApp",
"module_type" : "SwiftTarget",
"name" : "SwiftggerTestApp",
"path" : "Sources/SwiftggerTestApp",
"product_memberships" : [
"swiftgger-test-app"
],
"sources" : [
"Models/Fuel.swift",
"Models/Species.swift",
"Models/Vehicle.swift",
"Program.swift",
"main.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "executable"
},
{
"c99name" : "SwiftggerGenerator",
"module_type" : "SwiftTarget",
"name" : "SwiftggerGenerator",
"path" : "Sources/SwiftggerGenerator",
"product_memberships" : [
"swiftgger-generator"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftggerGenerator/URLSession.template",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ConsoleOutput/ConsoleIO.swift",
"ConsoleOutput/OutputType.swift",
"Extensions/OpenAPISchema.swift",
"Extensions/String.swift",
"Extensions/URLSession.swift",
"HttpClientGenerator.swift",
"ModelSerializer.swift",
"OptionType.swift",
"Program.swift",
"SwiftggerError.swift",
"TemplateFileGenerator.swift",
"main.swift"
],
"target_dependencies" : [
"Swiftgger"
],
"type" : "executable"
},
{
"c99name" : "Swiftgger",
"module_type" : "SwiftTarget",
"name" : "Swiftgger",
"path" : "Sources/Swiftgger",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"Swiftgger",
"swiftgger-generator",
"swiftgger-test-app"
],
"sources" : [
"APIModel/APIAction.swift",
"APIModel/APIAuthorizationFlow.swift",
"APIModel/APIAuthorizationOAuth2Type.swift",
"APIModel/APIAuthorizationType.swift",
"APIModel/APIBodyType.swift",
"APIModel/APIContact.swift",
"APIModel/APIController.swift",
"APIModel/APILicense.swift",
"APIModel/APILink.swift",
"APIModel/APIObject.swift",
"APIModel/APIObjectEncodable.swift",
"APIModel/APIParameter.swift",
"APIModel/APIRequest.swift",
"APIModel/APIResponse.swift",
"APIModel/APIServer.swift",
"APIModel/APIVariable.swift",
"Builder/OpenAPIBuilder.swift",
"Builder/OpenAPIInfoBuilder.swift",
"Builder/OpenAPIMediaTypeBuilder.swift",
"Builder/OpenAPIOperationBuilder.swift",
"Builder/OpenAPIParametersBuilder.swift",
"Builder/OpenAPIPathsBuilder.swift",
"Builder/OpenAPIRequestBuilder.swift",
"Builder/OpenAPIResponsesBuilder.swift",
"Builder/OpenAPISchemasBuilder.swift",
"Builder/OpenAPISecurityActionsBuilder.swift",
"Builder/OpenAPISecurityBuilder.swift",
"Builder/OpenAPIServersBuilder.swift",
"Builder/OpenAPITagsBuilder.swift",
"Common/APIDataType.swift",
"Common/APIHttpMethod.swift",
"Common/APILocation.swift",
"Common/MirrorHelper.swift",
"Encoder/OpenAPISchemaConverter.swift",
"Encoder/OpenAPISchemaEncoder.swift",
"Encoder/OpenAPISchemaKeyedEncodingContainer.swift",
"Encoder/OpenAPISchemaStorage.swift",
"Encoder/OpenAPISchemaUnkeyedEncodingContainer.swift",
"Encoder/PropertyKey.swift",
"Extensions/Encodable+openEncode.swift",
"Extensions/String+snakeCase.swift",
"OpenAPIModel/OpenAPIComponents.swift",
"OpenAPIModel/OpenAPIContact.swift",
"OpenAPIModel/OpenAPIDiscriminator.swift",
"OpenAPIModel/OpenAPIDocument.swift",
"OpenAPIModel/OpenAPIEncoding.swift",
"OpenAPIModel/OpenAPIExample.swift",
"OpenAPIModel/OpenAPIExternalDocumentation.swift",
"OpenAPIModel/OpenAPIHeader.swift",
"OpenAPIModel/OpenAPIInfo.swift",
"OpenAPIModel/OpenAPILicense.swift",
"OpenAPIModel/OpenAPILink.swift",
"OpenAPIModel/OpenAPIMediaType.swift",
"OpenAPIModel/OpenAPIOAuthFlow.swift",
"OpenAPIModel/OpenAPIOAuthFlows.swift",
"OpenAPIModel/OpenAPIOperation.swift",
"OpenAPIModel/OpenAPIParameter.swift",
"OpenAPIModel/OpenAPIPathItem.swift",
"OpenAPIModel/OpenAPIRequestBody.swift",
"OpenAPIModel/OpenAPIResponse.swift",
"OpenAPIModel/OpenAPISchema.swift",
"OpenAPIModel/OpenAPISecurityScheme.swift",
"OpenAPIModel/OpenAPIServer.swift",
"OpenAPIModel/OpenAPIServerVariable.swift",
"OpenAPIModel/OpenAPITag.swift",
"OpenAPIModel/OpenAPIXML.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.