Build Information
Successful build of SwagGen with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 10
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/SwagGen.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yonaskolb/SwagGen
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 61877cb Add UInt Integer Type (#323)
Cloned https://github.com/yonaskolb/SwagGen.git
Revision (git rev-parse @):
61877cb860d59cdf4c2cc747354ec9d8b397d588
SUCCESS checkout https://github.com/yonaskolb/SwagGen.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/yonaskolb/SwagGen.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/21] Write sources
[0/21] Write swaggen-entitlement.plist
[0/21] Write sources
[11/21] Write swift-version-6F35C1178C84523A.txt
[12/65] Compiling writer.c
[13/65] Compiling emitter.c
[14/65] Compiling parser.c
[15/65] Compiling api.c
[16/65] Compiling reader.c
[17/65] Compiling scanner.c
[19/80] Compiling Rainbow Style.swift
[20/81] Compiling Yams Tag.swift
[21/82] Compiling Rainbow XcodeColorsSupport.swift
[22/82] Compiling Yams YamlError.swift
[23/82] Compiling JSONUtilities KeyPath.swift
[24/82] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[25/82] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[26/82] Compiling JSONUtilities JSONObjectConvertible.swift
[27/82] Compiling JSONUtilities JSONFileLoading.swift
[28/82] Compiling PathKit PathKit.swift
[29/82] Emitting module PathKit
[30/82] Compiling Yams String+Yams.swift
[31/82] Compiling SwiftCLI Term.swift
[32/82] Compiling SwiftCLI Validation.swift
[33/82] Compiling Yams Parser.swift
[34/82] Compiling JSONUtilities Dictionary+KeyPath.swift
[35/82] Compiling Yams Node.Scalar.swift
[36/82] Emitting module SwiftCLI
[37/82] Compiling JSONUtilities DecodingError.swift
[38/82] Compiling JSONUtilities Dictionary+JSONKey.swift
[39/82] Compiling Yams Node.Sequence.swift
[40/82] Compiling Yams Mark.swift
[41/82] Compiling Yams Node.Mapping.swift
[42/82] Compiling JSONUtilities InvalidItemBehaviour.swift
[43/82] Compiling Yams Constructor.swift
[44/82] Compiling Yams Decoder.swift
[45/82] Emitting module Rainbow
[46/82] Emitting module JSONUtilities
[47/84] Compiling Rainbow String+Rainbow.swift
[48/84] Compiling Rainbow StringGenerator.swift
[49/84] Compiling Rainbow OutputTarget.swift
[50/84] Compiling Rainbow ModesExtractor.swift
[51/84] Compiling Rainbow ControlCode.swift
[52/84] Compiling Yams Emitter.swift
[53/84] Compiling Yams Encoder.swift
[54/84] Compiling Rainbow Color.swift
[55/84] Compiling Rainbow Rainbow.swift
[58/84] Compiling Yams Node.swift
[59/106] Compiling Stencil Template.swift
[60/106] Compiling Stencil Tokenizer.swift
[61/106] Compiling Stencil Filters.swift
[62/106] Compiling Stencil ForTag.swift
[63/106] Emitting module Yams
[64/106] Compiling Stencil Errors.swift
[65/106] Compiling Stencil Expression.swift
[66/106] Compiling Stencil Parser.swift
[67/106] Compiling SwiftCLI VersionCommand.swift
[68/106] Compiling Stencil Node.swift
[69/106] Compiling Stencil IfTag.swift
[70/106] Compiling Stencil Context.swift
[71/106] Compiling Stencil DynamicMemberLookup.swift
[72/106] Compiling Stencil Inheritance.swift
[73/106] Compiling Stencil KeyPath.swift
[74/106] Compiling Stencil Environment.swift
[75/106] Compiling Stencil Loader.swift
[76/106] Compiling Yams Representer.swift
[77/106] Compiling Yams Resolver.swift
[78/106] Compiling Stencil LazyValueWrapper.swift
[79/106] Compiling Stencil Lexer.swift
[80/106] Compiling Stencil Extension.swift
[81/106] Compiling Stencil FilterTag.swift
[82/106] Compiling Stencil NowTag.swift
[87/108] Compiling Stencil Include.swift
[97/137] Emitting module Stencil
[98/137] Compiling Swagger Content.swift
[99/137] Compiling Swagger Contact.swift
[100/137] Compiling Swagger Info.swift
[101/137] Compiling Swagger Discriminator.swift
[102/137] Compiling Swagger GroupSchema.swift
[103/137] Compiling Swagger IntegerSchema.swift
[107/140] Compiling Swagger StringSchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Security/Oauth2Schema.swift:21:20: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum FlowType: String {
| `- note: consider making enum 'FlowType' conform to the 'Sendable' protocol
16 | case implicit
17 | case password
:
19 | case authorizationCode
20 |
21 | static let allCases: [FlowType] = [
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' 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 | .implicit,
23 | .password,
[108/140] Compiling Swagger APIKeySchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Security/Oauth2Schema.swift:21:20: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum FlowType: String {
| `- note: consider making enum 'FlowType' conform to the 'Sendable' protocol
16 | case implicit
17 | case password
:
19 | case authorizationCode
20 |
21 | static let allCases: [FlowType] = [
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' 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 | .implicit,
23 | .password,
[109/140] Compiling Swagger Oauth2Schema.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Security/Oauth2Schema.swift:21:20: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum FlowType: String {
| `- note: consider making enum 'FlowType' conform to the 'Sendable' protocol
16 | case implicit
17 | case password
:
19 | case authorizationCode
20 |
21 | static let allCases: [FlowType] = [
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' 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 | .implicit,
23 | .password,
[110/140] Compiling Swagger SerializationStyle.swift
[111/140] Compiling Swagger NumberSchema.swift
[112/140] Emitting module Swagger
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:26:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
24 |
25 | extension Parameter: Component {
26 | public static let componentType: ComponentType = .parameter
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:30:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
28 |
29 | extension Response: Component {
30 | public static let componentType: ComponentType = .response
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:34:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
32 |
33 | extension Schema: Component {
34 | public static let componentType: ComponentType = .schema
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:38:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
36 |
37 | extension SecurityScheme: Component {
38 | public static let componentType: ComponentType = .securityScheme
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:42:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
40 |
41 | extension RequestBody: Component {
42 | public static let componentType: ComponentType = .requestBody
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:46:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
44 |
45 | extension Header: Component {
46 | public static let componentType: ComponentType = .header
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Security/Oauth2Schema.swift:21:20: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public enum FlowType: String {
| `- note: consider making enum 'FlowType' conform to the 'Sendable' protocol
16 | case implicit
17 | case password
:
19 | case authorizationCode
20 |
21 | static let allCases: [FlowType] = [
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[OAuth2Schema.FlowType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allCases' with '@MainActor' 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 | .implicit,
23 | .password,
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:7:10: warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
5 |
6 | case invalidVersion(String)
7 | case invalidItemType(JSONDictionary)
| `- warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
8 | case invalidSchemaType(JSONDictionary)
9 | case invalidArraySchema([String: Any])
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:8:10: warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | case invalidVersion(String)
7 | case invalidItemType(JSONDictionary)
8 | case invalidSchemaType(JSONDictionary)
| `- warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | case invalidArraySchema([String: Any])
10 | case loadError(URL)
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:9:10: warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
7 | case invalidItemType(JSONDictionary)
8 | case invalidSchemaType(JSONDictionary)
9 | case invalidArraySchema([String: Any])
| `- warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 | case loadError(URL)
11 | case parseError(String)
[116/140] Compiling Swagger Component.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:26:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
24 |
25 | extension Parameter: Component {
26 | public static let componentType: ComponentType = .parameter
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:30:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
28 |
29 | extension Response: Component {
30 | public static let componentType: ComponentType = .response
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:34:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
32 |
33 | extension Schema: Component {
34 | public static let componentType: ComponentType = .schema
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:38:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
36 |
37 | extension SecurityScheme: Component {
38 | public static let componentType: ComponentType = .securityScheme
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:42:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
40 |
41 | extension RequestBody: Component {
42 | public static let componentType: ComponentType = .requestBody
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:46:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
44 |
45 | extension Header: Component {
46 | public static let componentType: ComponentType = .header
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
[117/140] Compiling Swagger ComponentResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:26:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
24 |
25 | extension Parameter: Component {
26 | public static let componentType: ComponentType = .parameter
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:30:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
28 |
29 | extension Response: Component {
30 | public static let componentType: ComponentType = .response
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:34:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
32 |
33 | extension Schema: Component {
34 | public static let componentType: ComponentType = .schema
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:38:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
36 |
37 | extension SecurityScheme: Component {
38 | public static let componentType: ComponentType = .securityScheme
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:42:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
40 |
41 | extension RequestBody: Component {
42 | public static let componentType: ComponentType = .requestBody
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:46:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
44 |
45 | extension Header: Component {
46 | public static let componentType: ComponentType = .header
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
[118/140] Compiling Swagger Components.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:26:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
24 |
25 | extension Parameter: Component {
26 | public static let componentType: ComponentType = .parameter
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:30:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
28 |
29 | extension Response: Component {
30 | public static let componentType: ComponentType = .response
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:34:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
32 |
33 | extension Schema: Component {
34 | public static let componentType: ComponentType = .schema
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:38:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
36 |
37 | extension SecurityScheme: Component {
38 | public static let componentType: ComponentType = .securityScheme
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:42:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
40 |
41 | extension RequestBody: Component {
42 | public static let componentType: ComponentType = .requestBody
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:46:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
44 |
45 | extension Header: Component {
46 | public static let componentType: ComponentType = .header
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
[119/140] Compiling Swagger Reference.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:26:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
24 |
25 | extension Parameter: Component {
26 | public static let componentType: ComponentType = .parameter
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:30:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
28 |
29 | extension Response: Component {
30 | public static let componentType: ComponentType = .response
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:34:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
32 |
33 | extension Schema: Component {
34 | public static let componentType: ComponentType = .schema
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:38:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
36 |
37 | extension SecurityScheme: Component {
38 | public static let componentType: ComponentType = .securityScheme
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:42:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
40 |
41 | extension RequestBody: Component {
42 | public static let componentType: ComponentType = .requestBody
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/Component/Component.swift:46:23: warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public enum ComponentType: String {
| `- note: consider making enum 'ComponentType' conform to the 'Sendable' protocol
14 | case schema = "schemas"
15 | case response = "responses"
:
44 |
45 | extension Header: Component {
46 | public static let componentType: ComponentType = .header
| |- warning: static property 'componentType' is not concurrency-safe because non-'Sendable' type 'ComponentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'componentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
[120/152] Compiling Swagger SecurityRequirement.swift
[121/152] Compiling Swagger SecurityScheme.swift
[124/152] Compiling Swagger ObjectSchema.swift
[125/152] Compiling Swagger Schema.swift
[126/152] Compiling Swagger Parameter.swift
[127/152] Compiling Swagger Path.swift
[128/152] Compiling Swagger RequestBody.swift
[129/152] Compiling Swagger License.swift
[130/152] Compiling Swagger Metadata.swift
[131/152] Compiling Swagger Operation.swift
[132/152] Compiling Swagger Response.swift
[133/152] Compiling Swagger ArraySchema.swift
[134/152] Compiling Swagger DataType.swift
[135/152] Compiling StencilSwiftKit Filters.swift
[136/153] Compiling StencilSwiftKit MapNode.swift
[137/153] Compiling StencilSwiftKit ImportNode.swift
[138/153] Emitting module StencilSwiftKit
[139/153] Compiling StencilSwiftKit SetNode.swift
[140/153] Compiling StencilSwiftKit StencilSwiftTemplate.swift
[141/153] Compiling StencilSwiftKit Parameters.swift
[142/153] Compiling StencilSwiftKit Environment.swift
[143/153] Compiling StencilSwiftKit Filters+Numbers.swift
[144/153] Compiling StencilSwiftKit Filters+Strings.swift
[145/153] Compiling StencilSwiftKit CallMacroNodes.swift
[146/153] Compiling StencilSwiftKit Context.swift
[147/153] Compiling Swagger Server.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:7:10: warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
5 |
6 | case invalidVersion(String)
7 | case invalidItemType(JSONDictionary)
| `- warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
8 | case invalidSchemaType(JSONDictionary)
9 | case invalidArraySchema([String: Any])
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:8:10: warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | case invalidVersion(String)
7 | case invalidItemType(JSONDictionary)
8 | case invalidSchemaType(JSONDictionary)
| `- warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | case invalidArraySchema([String: Any])
10 | case loadError(URL)
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:9:10: warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
7 | case invalidItemType(JSONDictionary)
8 | case invalidSchemaType(JSONDictionary)
9 | case invalidArraySchema([String: Any])
| `- warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 | case loadError(URL)
11 | case parseError(String)
[148/153] Compiling Swagger SwaggerError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:7:10: warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
5 |
6 | case invalidVersion(String)
7 | case invalidItemType(JSONDictionary)
| `- warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
8 | case invalidSchemaType(JSONDictionary)
9 | case invalidArraySchema([String: Any])
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:8:10: warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | case invalidVersion(String)
7 | case invalidItemType(JSONDictionary)
8 | case invalidSchemaType(JSONDictionary)
| `- warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | case invalidArraySchema([String: Any])
10 | case loadError(URL)
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:9:10: warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
7 | case invalidItemType(JSONDictionary)
8 | case invalidSchemaType(JSONDictionary)
9 | case invalidArraySchema([String: Any])
| `- warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 | case loadError(URL)
11 | case parseError(String)
[149/153] Compiling Swagger SwaggerSpec.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:7:10: warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
5 |
6 | case invalidVersion(String)
7 | case invalidItemType(JSONDictionary)
| `- warning: associated value 'invalidItemType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
8 | case invalidSchemaType(JSONDictionary)
9 | case invalidArraySchema([String: Any])
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:8:10: warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | case invalidVersion(String)
7 | case invalidItemType(JSONDictionary)
8 | case invalidSchemaType(JSONDictionary)
| `- warning: associated value 'invalidSchemaType' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | case invalidArraySchema([String: Any])
10 | case loadError(URL)
/Users/admin/builder/spi-builder-workspace/Sources/Swagger/SwaggerError.swift:9:10: warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
7 | case invalidItemType(JSONDictionary)
8 | case invalidSchemaType(JSONDictionary)
9 | case invalidArraySchema([String: Any])
| `- warning: associated value 'invalidArraySchema' of 'Sendable'-conforming enum 'SwaggerError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 | case loadError(URL)
11 | case parseError(String)
[150/153] Compiling StencilSwiftKit SwiftIdentifier.swift
[151/161] Compiling SwagGenKit SwiftFormatter.swift
[152/161] Compiling SwagGenKit TemplateConfig.swift
[153/161] Compiling SwagGenKit SwaggerExtensions.swift
[154/161] Compiling SwagGenKit SwagGenStencilTemplate.swift
[155/161] Compiling SwagGenKit Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwagGenKit/Utilities.swift:5:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'JSONPrimitiveConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
3 | import PathKit
4 |
5 | extension Path: JSONPrimitiveConvertible {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'JSONPrimitiveConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 |
7 | public typealias JSONType = String
[156/161] Compiling SwagGenKit Generator.swift
[157/161] Emitting module SwagGenKit
/Users/admin/builder/spi-builder-workspace/Sources/SwagGenKit/Utilities.swift:5:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'JSONPrimitiveConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
3 | import PathKit
4 |
5 | extension Path: JSONPrimitiveConvertible {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'JSONPrimitiveConvertible'; this will not behave correctly if the owners of 'PathKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 |
7 | public typealias JSONType = String
[158/161] Compiling SwagGenKit CodeFormatter.swift
[159/164] Emitting module SwagGen
/Users/admin/builder/spi-builder-workspace/Sources/SwagGen/GenerateCommand.swift:232:1: warning: extension declares a conformance of imported type 'Clean' to imported protocol 'ConvertibleFromString'; this will not behave correctly if the owners of 'SwagGenKit' introduce this conformance in the future
230 | }
231 |
232 | extension Generator.Clean: ConvertibleFromString {
| |- warning: extension declares a conformance of imported type 'Clean' to imported protocol 'ConvertibleFromString'; this will not behave correctly if the owners of 'SwagGenKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
233 |
234 | public static func convert(from: String) -> Generator.Clean? {
[160/164] Compiling SwagGen GenerateCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwagGen/GenerateCommand.swift:232:1: warning: extension declares a conformance of imported type 'Clean' to imported protocol 'ConvertibleFromString'; this will not behave correctly if the owners of 'SwagGenKit' introduce this conformance in the future
230 | }
231 |
232 | extension Generator.Clean: ConvertibleFromString {
| |- warning: extension declares a conformance of imported type 'Clean' to imported protocol 'ConvertibleFromString'; this will not behave correctly if the owners of 'SwagGenKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
233 |
234 | public static func convert(from: String) -> Generator.Clean? {
[161/164] Compiling SwagGen main.swift
[161/164] Write Objects.LinkFileList
[162/164] Linking swaggen
[163/164] Applying swaggen
Build complete! (77.08s)
Fetching https://github.com/jakeheis/SwiftCLI
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/shibapm/Komondor.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/jpsim/Yams.git
[1/509] Fetching komondor
[12/1530] Fetching komondor, spectre
[176/6604] Fetching komondor, spectre, swiftcli
[379/7722] Fetching komondor, spectre, swiftcli, rainbow
[536/11730] Fetching komondor, spectre, swiftcli, rainbow, stencilswiftkit
[617/12686] Fetching komondor, spectre, swiftcli, rainbow, stencilswiftkit, shellout
[944/22023] Fetching komondor, spectre, swiftcli, rainbow, stencilswiftkit, shellout, yams
Fetched https://github.com/kylef/Spectre.git from cache (2.22s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git from cache (2.22s)
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/shibapm/PackageConfig.git
[8965/16994] Fetching komondor, swiftcli, rainbow, shellout, yams
[9526/22183] Fetching komondor, swiftcli, rainbow, shellout, yams, stencil
[9682/22763] Fetching komondor, swiftcli, rainbow, shellout, yams, stencil, packageconfig
Fetched https://github.com/stencilproject/Stencil.git from cache (1.14s)
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/shibapm/PackageConfig.git from cache (1.14s)
Fetching https://github.com/yonaskolb/JSONUtilities.git
[12233/16994] Fetching komondor, swiftcli, rainbow, shellout, yams
[14101/18347] Fetching komondor, swiftcli, rainbow, shellout, yams, jsonutilities
[14304/19758] Fetching komondor, swiftcli, rainbow, shellout, yams, jsonutilities, pathkit
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (1.00s)
Fetched https://github.com/kylef/PathKit.git from cache (1.00s)
[14193/16994] Fetching komondor, swiftcli, rainbow, shellout, yams
Fetched https://github.com/JohnSundell/ShellOut.git from cache (6.51s)
Fetched https://github.com/onevcat/Rainbow.git from cache (6.51s)
Fetched https://github.com/jpsim/Yams.git from cache (6.51s)
Fetched https://github.com/shibapm/Komondor.git from cache (6.51s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (6.51s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.59s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.68s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (2.26s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.3 (0.66s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.68s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 6.0.3 (0.66s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.66s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (0.65s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (0.66s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.65s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.65s)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.3
Creating working copy for https://github.com/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.0
Creating working copy for https://github.com/shibapm/Komondor.git
Working copy of https://github.com/shibapm/Komondor.git resolved at 1.1.3
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 6.0.3
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.10.1
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Build complete.
{
"dependencies" : [
{
"identity" : "pathkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/PathKit.git"
},
{
"identity" : "swiftcli",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/SwiftCLI"
},
{
"identity" : "stencilswiftkit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.10.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftGen/StencilSwiftKit.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "jsonutilities",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/yonaskolb/JSONUtilities.git"
},
{
"identity" : "spectre",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/Spectre.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
}
],
"manifest_display_name" : "SwagGen",
"name" : "SwagGen",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "swaggen",
"targets" : [
"SwagGen"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwagGenKit",
"targets" : [
"SwagGenKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Swagger",
"targets" : [
"Swagger"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwaggerTests",
"module_type" : "SwiftTarget",
"name" : "SwaggerTests",
"path" : "Tests/SwaggerTests",
"product_dependencies" : [
"Spectre"
],
"sources" : [
"ParsingTests.swift",
"SpecTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Swagger"
],
"type" : "test"
},
{
"c99name" : "Swagger",
"module_type" : "SwiftTarget",
"name" : "Swagger",
"path" : "Sources/Swagger",
"product_dependencies" : [
"JSONUtilities",
"Yams",
"PathKit"
],
"product_memberships" : [
"swaggen",
"SwagGenKit",
"Swagger"
],
"sources" : [
"Component/Component.swift",
"Component/ComponentResolver.swift",
"Component/Components.swift",
"Component/Reference.swift",
"Content.swift",
"Info/Contact.swift",
"Info/Info.swift",
"Info/License.swift",
"Metadata.swift",
"Operation.swift",
"Parameter.swift",
"Path.swift",
"RequestBody.swift",
"Response.swift",
"Schema/ArraySchema.swift",
"Schema/DataType.swift",
"Schema/Discriminator.swift",
"Schema/GroupSchema.swift",
"Schema/IntegerSchema.swift",
"Schema/NumberSchema.swift",
"Schema/ObjectSchema.swift",
"Schema/Schema.swift",
"Schema/StringSchema.swift",
"Security/APIKeySchema.swift",
"Security/Oauth2Schema.swift",
"Security/SecurityRequirement.swift",
"Security/SecurityScheme.swift",
"SerializationStyle.swift",
"Server.swift",
"SwaggerError.swift",
"SwaggerSpec.swift"
],
"type" : "library"
},
{
"c99name" : "SwagGenKitTests",
"module_type" : "SwiftTarget",
"name" : "SwagGenKitTests",
"path" : "Tests/SwagGenKitTests",
"product_dependencies" : [
"Spectre"
],
"sources" : [
"FixtureTests.swift",
"GeneratorTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwagGenKit"
],
"type" : "test"
},
{
"c99name" : "SwagGenKit",
"module_type" : "SwiftTarget",
"name" : "SwagGenKit",
"path" : "Sources/SwagGenKit",
"product_dependencies" : [
"JSONUtilities",
"PathKit",
"StencilSwiftKit"
],
"product_memberships" : [
"swaggen",
"SwagGenKit"
],
"sources" : [
"CodeFormatter.swift",
"Generator.swift",
"SwagGenStencilTemplate.swift",
"SwaggerExtensions.swift",
"SwiftFormatter.swift",
"TemplateConfig.swift",
"Utilities.swift"
],
"target_dependencies" : [
"Swagger"
],
"type" : "library"
},
{
"c99name" : "SwagGen",
"module_type" : "SwiftTarget",
"name" : "SwagGen",
"path" : "Sources/SwagGen",
"product_dependencies" : [
"SwiftCLI",
"Rainbow",
"PathKit"
],
"product_memberships" : [
"swaggen"
],
"sources" : [
"GenerateCommand.swift",
"main.swift"
],
"target_dependencies" : [
"SwagGenKit"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
Done.