Build Information
Failed to build Swiftgger, reference 1.5.0 (25d9ea
), with Swift 6.0 for Linux on 1 Nov 2024 17:13:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mczachurski/swiftgger.git
Reference: 1.5.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/mczachurski/swiftgger
* tag 1.5.0 -> FETCH_HEAD
HEAD is now at 25d9ea8 Merge pull request #22 from mczachurski/feature/swift-generator
Cloned https://github.com/mczachurski/swiftgger.git
Revision (git rev-parse @):
25d9ea884067764ab314cd3bf7e0ca19867b3f45
SUCCESS checkout https://github.com/mczachurski/swiftgger.git at 1.5.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/mczachurski/swiftgger.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.19s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.41s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Building for debugging...
[0/14] Write sources
[1/14] Copying URLSession.template
[5/14] Write swift-version-24593BA9C3E375BF.txt
[7/18] Compiling AnyCodable AnyDecodable.swift
[8/18] Compiling AnyCodable AnyCodable.swift
[9/18] Emitting module AnyCodable
[10/18] Compiling AnyCodable AnyEncodable.swift
[11/19] Wrapping AST for AnyCodable for debugging
[13/69] Compiling Swiftgger APIAction.swift
[14/69] Compiling Swiftgger APIAuthorizationFlow.swift
[15/69] Compiling Swiftgger APIAuthorizationOAuth2Type.swift
[16/69] Compiling Swiftgger APIAuthorizationType.swift
[17/69] Compiling Swiftgger APIContact.swift
[18/69] Compiling Swiftgger APIController.swift
[19/69] Compiling Swiftgger APILicense.swift
[20/75] Compiling Swiftgger OpenAPIResponsesBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | 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
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | 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
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | 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
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | 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
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | 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
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | 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
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | 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
27 | }
28 |
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | 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
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | 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
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | 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
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | 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
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
[21/75] Compiling Swiftgger OpenAPISchemasBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | 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
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | 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
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | 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
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | 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
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | 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
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | 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
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | 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
27 | }
28 |
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | 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
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | 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
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | 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
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | 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
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
[22/75] Compiling Swiftgger OpenAPISecurityActionsBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | 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
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | 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
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | 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
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | 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
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | 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
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | 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
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | 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
27 | }
28 |
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | 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
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | 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
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | 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
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | 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
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
[23/75] Compiling Swiftgger OpenAPISecurityBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | 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
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | 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
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | 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
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | 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
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | 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
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | 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
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | 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
27 | }
28 |
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | 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
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | 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
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | 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
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | 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
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
[24/75] Compiling Swiftgger OpenAPIServersBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | 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
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | 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
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | 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
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | 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
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | 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
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | 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
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | 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
27 | }
28 |
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | 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
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | 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
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | 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
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | 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
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
[25/75] Compiling Swiftgger OpenAPITagsBuilder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | 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
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | 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
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | 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
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | 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
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | 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
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | 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
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | 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
27 | }
28 |
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | 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
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | 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
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | 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
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | 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
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
[26/75] Compiling Swiftgger APIDataType.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | 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
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | 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
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | 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
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | 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
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | 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
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | 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
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | 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
27 | }
28 |
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | 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
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | 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
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | 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
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | 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
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
[27/75] Emitting module Swiftgger
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:15: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | 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
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:16: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
14 |
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | 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
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:17: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
15 | public static let int32 = APIDataType(type: "integer", format: "int32")
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | 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
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:18: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
16 | public static let int64 = APIDataType(type: "integer", format: "int64")
17 | public static let float = APIDataType(type: "number", format: "float")
18 | 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
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:20: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
18 | public static let double = APIDataType(type: "number", format: "double")
19 | public static let string = APIDataType(type: "string", format: nil)
20 | 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
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:21: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
19 | public static let string = APIDataType(type: "string", format: nil)
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | 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
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:22: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | 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
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:23: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
21 | public static let binary = APIDataType(type: "string", format: "binary")
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | 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
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:24: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
22 | public static let boolean = APIDataType(type: "boolean", format: nil)
23 | public static let date = APIDataType(type: "string", format: "date")
24 | 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
25 | public static let password = APIDataType(type: "string", format: "password")
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:25: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
23 | public static let date = APIDataType(type: "string", format: "date")
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | 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
26 | public static let uuid = APIDataType(type: "string", format: "uuid")
27 | }
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:26: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
24 | public static let dateTime = APIDataType(type: "string", format: "date-time")
25 | public static let password = APIDataType(type: "string", format: "password")
26 | 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
27 | }
28 |
[28/75] Compiling Swiftgger APILink.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
[29/75] Compiling Swiftgger APIObject.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
[30/75] Compiling Swiftgger APIParameter.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
[31/75] Compiling Swiftgger APIRequest.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
[32/75] Compiling Swiftgger APIResponse.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
[33/75] Compiling Swiftgger APIServer.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
[34/75] Compiling Swiftgger APIVariable.swift
/host/spi-builder-workspace/Sources/Swiftgger/Common/APIDataType.swift:19: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
9 |
10 | /// OpenAPI Data Types as specified in https://swagger.io/specification/#dataTypes
11 | public struct APIDataType {
| `- note: consider making struct 'APIDataType' conform to the 'Sendable' protocol
12 | let type: String
13 | let format: String?
:
17 | public static let float = APIDataType(type: "number", format: "float")
18 | public static let double = APIDataType(type: "number", format: "double")
19 | 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
20 | public static let byte = APIDataType(type: "string", format: "byte")
21 | public static let binary = APIDataType(type: "string", format: "binary")
[35/75] Compiling Swiftgger APIHttpMethod.swift
[36/75] Compiling Swiftgger APILocation.swift
[37/75] Compiling Swiftgger OpenAPIComponents.swift
[38/75] Compiling Swiftgger OpenAPIContact.swift
[39/75] Compiling Swiftgger OpenAPIDiscriminator.swift
[40/75] Compiling Swiftgger OpenAPIDocument.swift
[41/75] Compiling Swiftgger OpenAPIEncoding.swift
[42/75] Compiling Swiftgger OpenAPIExample.swift
[43/75] Compiling Swiftgger OpenAPIExternalDocumentation.swift
[44/75] Compiling Swiftgger OpenAPIHeader.swift
[45/75] Compiling Swiftgger OpenAPIInfo.swift
[46/75] Compiling Swiftgger OpenAPILicense.swift
[47/75] Compiling Swiftgger OpenAPILink.swift
[48/75] Compiling Swiftgger OpenAPIMediaType.swift
[49/75] Compiling Swiftgger OpenAPIBuilder.swift
[50/75] Compiling Swiftgger OpenAPIInfoBuilder.swift
[51/75] Compiling Swiftgger OpenAPIMediaTypeBuilder.swift
[52/75] Compiling Swiftgger OpenAPIOperationBuilder.swift
[53/75] Compiling Swiftgger OpenAPIParametersBuilder.swift
[54/75] Compiling Swiftgger OpenAPIPathsBuilder.swift
[55/75] Compiling Swiftgger OpenAPIRequestBuilder.swift
[56/75] Compiling Swiftgger OpenAPIOAuthFlow.swift
[57/75] Compiling Swiftgger OpenAPIOAuthFlows.swift
[58/75] Compiling Swiftgger OpenAPIOperation.swift
[59/75] Compiling Swiftgger OpenAPIParameter.swift
[60/75] Compiling Swiftgger OpenAPIPathItem.swift
[61/75] Compiling Swiftgger OpenAPIRequestBody.swift
[62/75] Compiling Swiftgger OpenAPIResponse.swift
[63/75] Compiling Swiftgger OpenAPISchema.swift
[64/75] Compiling Swiftgger OpenAPISecurityScheme.swift
[65/75] Compiling Swiftgger OpenAPIServer.swift
[66/75] Compiling Swiftgger OpenAPIServerVariable.swift
[67/75] Compiling Swiftgger OpenAPITag.swift
[68/75] Compiling Swiftgger OpenAPIXML.swift
[69/76] Wrapping AST for Swiftgger for debugging
[71/94] Compiling SwiftggerTestApp main.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/94] Emitting module SwiftggerGenerator
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
13 | var data: Data?
[73/95] Compiling SwiftggerGenerator main.swift
[74/95] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[75/95] Compiling SwiftggerTestApp Fuel.swift
[76/95] Emitting module SwiftggerTestApp
[77/95] Compiling SwiftggerTestApp Vehicle.swift
[78/95] Compiling SwiftggerTestApp Program.swift
[79/96] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[80/96] Compiling SwiftggerGenerator Program.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:61:23: error: cannot find 'URLRequest' in scope
59 | }
60 |
61 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
62 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
63 |
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:62:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 |
61 | let request = URLRequest(url: url)
62 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
63 |
64 | if let error = response.error {
[81/96] Compiling SwiftggerGenerator SwiftggerError.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:61:23: error: cannot find 'URLRequest' in scope
59 | }
60 |
61 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
62 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
63 |
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:62:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
60 |
61 | let request = URLRequest(url: url)
62 | let response = URLSession.shared.synchronousDataTask(urlrequest: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
63 |
64 | if let error = response.error {
[83/96] Compiling SwiftggerGenerator OpenAPISchema.swift
[84/96] Compiling SwiftggerGenerator String.swift
[85/96] Compiling SwiftggerGenerator ConsoleIO.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:21:33: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 | print(message)
20 | case .debug:
21 | fputs("\(message)", stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | fflush(stdout)
23 | case .error:
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:22:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | case .debug:
21 | fputs("\(message)", stdout)
22 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 | case .error:
24 | fputs("Error: \(message)\n", stderr)
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:24:42: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | fflush(stdout)
23 | case .error:
24 | fputs("Error: \(message)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[86/96] Compiling SwiftggerGenerator OutputType.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:21:33: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 | print(message)
20 | case .debug:
21 | fputs("\(message)", stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | fflush(stdout)
23 | case .error:
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:22:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | case .debug:
21 | fputs("\(message)", stdout)
22 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 | case .error:
24 | fputs("Error: \(message)\n", stderr)
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/SwiftggerGenerator/ConsoleOutput/ConsoleIO.swift:24:42: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | fflush(stdout)
23 | case .error:
24 | fputs("Error: \(message)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[87/96] Compiling SwiftggerGenerator ModelSerializer.swift
[88/96] Compiling SwiftggerGenerator OptionType.swift
[89/96] Compiling SwiftggerGenerator URLSession.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
13 | var data: Data?
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:12:42: error: cannot find type 'URLRequest' in scope
10 |
11 | extension URLSession {
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
| `- error: cannot find type 'URLRequest' in scope
13 | var data: Data?
14 | var response: URLResponse?
[90/96] Compiling SwiftggerGenerator HttpClientGenerator.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Foundation
10 |
11 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
13 | var data: Data?
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:12:42: error: cannot find type 'URLRequest' in scope
10 |
11 | extension URLSession {
12 | func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
| `- error: cannot find type 'URLRequest' in scope
13 | var data: Data?
14 | var response: URLResponse?
[90/96] Wrapping AST for SwiftggerTestApp for debugging
BUILD FAILURE 6.0 linux