Build Information
Successful build of OpenAPIDiff, reference main (6887e6
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 00:10:17 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattpolzin/OpenAPIDiff.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mattpolzin/OpenAPIDiff
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6887e65 Merge pull request #7 from mattpolzin/a-few-more-diffs
Cloned https://github.com/mattpolzin/OpenAPIDiff.git
Revision (git rev-parse @):
6887e651a5b4381f8f6f51616ff7e13a8e00fc8f
SUCCESS checkout https://github.com/mattpolzin/OpenAPIDiff.git at main
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/mattpolzin/OpenAPIKit.git
[1/9902] Fetching yams
[2/22255] Fetching yams, swift-argument-parser
[1140/79950] Fetching yams, swift-argument-parser, openapikit
Fetched https://github.com/jpsim/Yams.git from cache (13.33s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (13.33s)
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (13.33s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (3.26s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.66s)
Computing version for https://github.com/mattpolzin/OpenAPIKit.git
Computed https://github.com/mattpolzin/OpenAPIKit.git at 3.0.0 (0.69s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.3
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
Creating working copy for https://github.com/mattpolzin/OpenAPIKit.git
Working copy of https://github.com/mattpolzin/OpenAPIKit.git resolved at 3.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "openapidiff",
"name": "OpenAPIDiff",
"url": "https://github.com/mattpolzin/OpenAPIDiff.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenAPIDiff",
"dependencies": [
{
"identity": "openapikit",
"name": "OpenAPIKit",
"url": "https://github.com/mattpolzin/OpenAPIKit.git",
"version": "3.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenAPIKit",
"dependencies": [
{
"identity": "yams",
"name": "Yams",
"url": "https://github.com/jpsim/Yams.git",
"version": "5.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
"dependencies": [
]
}
]
},
{
"identity": "yams",
"name": "Yams",
"url": "https://github.com/jpsim/Yams.git",
"version": "5.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
"dependencies": [
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/mattpolzin/OpenAPIDiff.git
[1/392] Fetching openapidiff
Fetched https://github.com/mattpolzin/OpenAPIDiff.git from cache (0.82s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/mattpolzin/OpenAPIKit.git from cache
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (0.59s)
Fetched https://github.com/jpsim/Yams.git from cache (0.59s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.59s)
Computing version for https://github.com/mattpolzin/OpenAPIKit.git
Computed https://github.com/mattpolzin/OpenAPIKit.git at 3.3.0 (0.03s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.70s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.55s)
Creating working copy for https://github.com/mattpolzin/OpenAPIDiff.git
Working copy of https://github.com/mattpolzin/OpenAPIDiff.git resolved at main (6887e65)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
Creating working copy for https://github.com/mattpolzin/OpenAPIKit.git
Working copy of https://github.com/mattpolzin/OpenAPIKit.git resolved at 3.3.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Found 3 product dependencies
- OpenAPIKit
- Yams
- swift-argument-parser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/mattpolzin/OpenAPIDiff.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/21] Write sources
[5/21] Write openapi-diff-entitlement.plist
[5/21] Write sources
[11/21] Write swift-version--7754E27361AE5C74.txt
[12/57] Compiling writer.c
[13/57] Compiling parser.c
[14/57] Compiling reader.c
[15/57] Compiling scanner.c
[16/57] Compiling api.c
[17/57] Compiling emitter.c
[19/72] Emitting module ArgumentParserToolInfo
[20/72] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/110] Emitting module OpenAPIKitCore
[22/113] Compiling ArgumentParser ArgumentHelp.swift
[23/113] Compiling ArgumentParser ArgumentVisibility.swift
[24/113] Compiling ArgumentParser CompletionKind.swift
[25/113] Compiling ArgumentParser Errors.swift
[26/117] Compiling OpenAPIKitCore Optional+Zip.swift
[27/117] Compiling OpenAPIKitCore Result+Value.swift
[28/117] Compiling OpenAPIKitCore Validatable.swift
[29/117] Compiling ArgumentParser ParserError.swift
[30/117] Compiling ArgumentParser SplitArguments.swift
[31/117] Compiling ArgumentParser DumpHelpGenerator.swift
[32/117] Compiling ArgumentParser HelpCommand.swift
[33/117] Compiling ArgumentParser ParsableArguments.swift
[34/117] Compiling ArgumentParser ParsableArgumentsValidation.swift
[35/117] Compiling ArgumentParser ParsableCommand.swift
[36/117] Compiling ArgumentParser ArgumentDecoder.swift
[37/117] Compiling ArgumentParser ZshCompletionsGenerator.swift
[38/117] Compiling ArgumentParser Argument.swift
[39/117] Compiling ArgumentParser ArgumentDefinition.swift
[43/117] Compiling ArgumentParser ParsedValues.swift
[44/117] Compiling ArgumentParser ArgumentSet.swift
[45/117] Compiling ArgumentParser CommandParser.swift
[46/117] Compiling ArgumentParser InputKey.swift
[47/117] Compiling ArgumentParser AsyncParsableCommand.swift
[48/117] Compiling ArgumentParser CommandConfiguration.swift
[49/117] Compiling ArgumentParser EnumerableFlag.swift
[50/117] Compiling ArgumentParser ExpressibleByArgument.swift
[51/117] Compiling ArgumentParser Flag.swift
[52/117] Compiling ArgumentParser Platform.swift
[53/117] Compiling ArgumentParser SequenceExtensions.swift
[54/117] Compiling ArgumentParser StringExtensions.swift
[55/117] Compiling ArgumentParser Tree.swift
[56/117] Emitting module ArgumentParser
[61/117] Compiling ArgumentParser BashCompletionsGenerator.swift
[62/117] Compiling ArgumentParser CompletionsGenerator.swift
[63/117] Compiling ArgumentParser FishCompletionsGenerator.swift
[66/117] Compiling Yams Resolver.swift
[67/118] Compiling ArgumentParser HelpGenerator.swift
[68/118] Compiling ArgumentParser MessageInfo.swift
[69/118] Compiling ArgumentParser UsageGenerator.swift
[70/118] Compiling ArgumentParser CollectionExtensions.swift
[71/118] Compiling ArgumentParser NameSpecification.swift
[72/118] Compiling ArgumentParser Option.swift
[73/118] Compiling ArgumentParser OptionGroup.swift
[74/118] Compiling Yams String+Yams.swift
[75/118] Compiling Yams Tag.swift
[76/118] Compiling Yams Representer.swift
[110/118] Emitting module Yams
[115/241] Compiling Yams YamlError.swift
[116/241] Compiling OpenAPIKit30 DereferencedResponse.swift
[117/241] Compiling OpenAPIKit30 Response.swift
[118/241] Compiling OpenAPIKit30 RuntimeExpression.swift
[119/241] Compiling OpenAPIKit30 SchemaProtocols.swift
[120/241] Compiling OpenAPIKit30 SwiftPrimitiveTypes+OpenAPI.swift
[121/241] Compiling OpenAPIKit30 DereferencedJSONSchema.swift
[122/241] Compiling OpenAPIKit Link.swift
[123/247] Emitting module OpenAPIKit
[124/247] Compiling OpenAPIKit30 AnyCodable+Validatable.swift
[125/247] Compiling OpenAPIKit30 Callbacks.swift
[126/247] Compiling OpenAPIKit30 CodableVendorExtendable.swift
[127/247] Compiling OpenAPIKit30 Components+JSONReference.swift
[128/247] Compiling OpenAPIKit30 Components+Locatable.swift
[129/247] Compiling OpenAPIKit30 Components.swift
[130/247] Compiling OpenAPIKit30 Content.swift
[131/247] Compiling OpenAPIKit30 Either+Convenience.swift
[132/247] Compiling OpenAPIKit30 Either+LocallyDereferenceable.swift
[133/247] Compiling OpenAPIKit30 Either+Validatable.swift
[134/247] Compiling OpenAPIKit30 DocumentDecodingError.swift
[135/247] Compiling OpenAPIKit30 OperationDecodingError.swift
[136/247] Compiling OpenAPIKit30 PathDecodingError.swift
[137/247] Compiling OpenAPIKit30 ResponseDecodingError.swift
[138/247] Compiling OpenAPIKit30 DereferencedOperation.swift
[139/247] Compiling OpenAPIKit30 Operation.swift
[140/247] Compiling OpenAPIKit30 ResolvedEndpoint.swift
[141/247] Compiling OpenAPIKit30 OrderedDictionary+Validatable.swift
[142/247] Compiling OpenAPIKit30 DereferencedParameter.swift
[143/247] Compiling OpenAPIKit30 DereferencedSchemaContext.swift
[144/247] Compiling OpenAPIKit30 Parameter.swift
[145/253] Emitting module OpenAPIKit30
[153/253] Compiling OpenAPIKit30 ParameterContext.swift
[154/253] Compiling OpenAPIKit30 ParameterSchemaContext.swift
[155/253] Compiling OpenAPIKit30 DereferencedPathItem.swift
[156/253] Compiling OpenAPIKit30 PathItem.swift
[157/253] Compiling OpenAPIKit30 ResolvedRoute.swift
[158/253] Compiling OpenAPIKit30 DereferencedRequest.swift
[159/253] Compiling OpenAPIKit30 Request.swift
[160/253] Compiling OpenAPIKit30 SecurityScheme.swift
[161/253] Compiling OpenAPIKit30 Server.swift
[162/253] Compiling OpenAPIKit30 Tag.swift
[163/253] Compiling OpenAPIKit30 URLTemplate+Validatable.swift
[164/253] Compiling OpenAPIKit30 Container+DecodeURLAsString.swift
[165/253] Compiling OpenAPIKit30 OrderedDictionry+LocallyDereferenceable.swift
[166/253] Compiling OpenAPIKit30 Example.swift
[167/253] Compiling OpenAPIKit30 ExternalDocumentation.swift
[168/253] Compiling OpenAPIKit30 DereferencedHeader.swift
[169/253] Compiling OpenAPIKit30 Header.swift
[170/253] Compiling OpenAPIKit30 JSONReference.swift
[171/253] Compiling OpenAPIKit30 Link.swift
[172/253] Compiling OpenAPIKit30 OpenAPI.swift
[180/253] Compiling OpenAPIKit30 Validation.swift
[181/253] Compiling OpenAPIKit30 Validator+Convenience.swift
[182/253] Compiling OpenAPIKit30 Validator.swift
[183/253] Compiling OpenAPIKit30 XML.swift
[184/253] Compiling OpenAPIKit30 _CoreReExport.swift
[185/253] Compiling OpenAPIKit _CoreReExport.swift
[186/253] Compiling OpenAPIKit30 Validation+Builtins.swift
[192/253] Compiling OpenAPIKit30 ContentEncoding.swift
[193/253] Compiling OpenAPIKit30 DereferencedContent.swift
[194/253] Compiling OpenAPIKit30 DereferencedContentEncoding.swift
[195/253] Compiling OpenAPIKit30 DereferencedDocument.swift
[196/253] Compiling OpenAPIKit30 Document.swift
[197/253] Compiling OpenAPIKit30 DocumentInfo.swift
[198/253] Compiling OpenAPIKit30 ResolvedDocument.swift
[205/253] Compiling OpenAPIKit30 JSONSchema+Combining.swift
[206/253] Compiling OpenAPIKit30 JSONSchema.swift
[207/253] Compiling OpenAPIKit30 JSONSchemaContext.swift
[208/253] Compiling OpenAPIKit30 SimplifiedJSONSchema.swift
[209/253] Compiling OpenAPIKit30 TypesAndFormats.swift
[210/253] Compiling OpenAPIKit30 DereferencedSecurityRequirement.swift
[251/269] Compiling OpenAPIDiff ApiComparable.swift
[252/269] Compiling OpenAPIDiff ApiContext.swift
[253/270] Compiling OpenAPIDiff OrderedDictionary+ApiComparable.swift
[254/270] Compiling OpenAPIDiff SecurityScheme+ApiComparable.swift
[255/270] Compiling OpenAPIDiff Identifiable.swift
[256/270] Compiling OpenAPIDiff OpenAPIReference+ApiComparable.swift
[257/270] Emitting module OpenAPIDiff
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPIDiff/ApiDiff.swift:152:23: warning: static property 'same' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ApiDiff: CustomStringConvertible, Equatable, Comparable {
| `- note: consider making struct 'ApiDiff' conform to the 'Sendable' protocol
11 | public let context: String?
12 | public let diff: Diff
:
150 | // MARK: - Convenience
151 | extension ApiDiff {
152 | public static let same: Self = .init(context: nil, diff: .same)
| |- warning: static property 'same' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'same' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | public static func same(_ context: String? = nil) -> Self { .init(context: context, diff: .same) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPIDiff/ApiDiff.swift:156:23: warning: static property 'added' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ApiDiff: CustomStringConvertible, Equatable, Comparable {
| `- note: consider making struct 'ApiDiff' conform to the 'Sendable' protocol
11 | public let context: String?
12 | public let diff: Diff
:
154 | public static func same(_ context: String? = nil) -> Self { .init(context: context, diff: .same) }
155 |
156 | public static let added: Self = .init(context: nil, diff: .added)
| |- warning: static property 'added' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'added' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | public static func added(_ context: String? = nil) -> Self { .init(context: context, diff: .added) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPIDiff/ApiDiff.swift:160:23: warning: static property 'removed' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ApiDiff: CustomStringConvertible, Equatable, Comparable {
| `- note: consider making struct 'ApiDiff' conform to the 'Sendable' protocol
11 | public let context: String?
12 | public let diff: Diff
:
158 | public static func added(_ context: String? = nil) -> Self { .init(context: context, diff: .added) }
159 |
160 | public static let removed: Self = .init(context: nil, diff: .removed)
| |- warning: static property 'removed' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | public static func removed(_ context: String? = nil) -> Self { .init(context: context, diff: .removed) }
[258/270] Compiling OpenAPIDiff ApiDiff.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPIDiff/ApiDiff.swift:152:23: warning: static property 'same' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ApiDiff: CustomStringConvertible, Equatable, Comparable {
| `- note: consider making struct 'ApiDiff' conform to the 'Sendable' protocol
11 | public let context: String?
12 | public let diff: Diff
:
150 | // MARK: - Convenience
151 | extension ApiDiff {
152 | public static let same: Self = .init(context: nil, diff: .same)
| |- warning: static property 'same' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'same' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | public static func same(_ context: String? = nil) -> Self { .init(context: context, diff: .same) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPIDiff/ApiDiff.swift:156:23: warning: static property 'added' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ApiDiff: CustomStringConvertible, Equatable, Comparable {
| `- note: consider making struct 'ApiDiff' conform to the 'Sendable' protocol
11 | public let context: String?
12 | public let diff: Diff
:
154 | public static func same(_ context: String? = nil) -> Self { .init(context: context, diff: .same) }
155 |
156 | public static let added: Self = .init(context: nil, diff: .added)
| |- warning: static property 'added' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'added' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | public static func added(_ context: String? = nil) -> Self { .init(context: context, diff: .added) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPIDiff/ApiDiff.swift:160:23: warning: static property 'removed' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ApiDiff: CustomStringConvertible, Equatable, Comparable {
| `- note: consider making struct 'ApiDiff' conform to the 'Sendable' protocol
11 | public let context: String?
12 | public let diff: Diff
:
158 | public static func added(_ context: String? = nil) -> Self { .init(context: context, diff: .added) }
159 |
160 | public static let removed: Self = .init(context: nil, diff: .removed)
| |- warning: static property 'removed' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | public static func removed(_ context: String? = nil) -> Self { .init(context: context, diff: .removed) }
[259/270] Compiling OpenAPIDiff Either+ApiComparable.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPIDiff/ApiDiff.swift:152:23: warning: static property 'same' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ApiDiff: CustomStringConvertible, Equatable, Comparable {
| `- note: consider making struct 'ApiDiff' conform to the 'Sendable' protocol
11 | public let context: String?
12 | public let diff: Diff
:
150 | // MARK: - Convenience
151 | extension ApiDiff {
152 | public static let same: Self = .init(context: nil, diff: .same)
| |- warning: static property 'same' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'same' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | public static func same(_ context: String? = nil) -> Self { .init(context: context, diff: .same) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPIDiff/ApiDiff.swift:156:23: warning: static property 'added' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ApiDiff: CustomStringConvertible, Equatable, Comparable {
| `- note: consider making struct 'ApiDiff' conform to the 'Sendable' protocol
11 | public let context: String?
12 | public let diff: Diff
:
154 | public static func same(_ context: String? = nil) -> Self { .init(context: context, diff: .same) }
155 |
156 | public static let added: Self = .init(context: nil, diff: .added)
| |- warning: static property 'added' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'added' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | public static func added(_ context: String? = nil) -> Self { .init(context: context, diff: .added) }
/Users/admin/builder/spi-builder-workspace/Sources/OpenAPIDiff/ApiDiff.swift:160:23: warning: static property 'removed' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct ApiDiff: CustomStringConvertible, Equatable, Comparable {
| `- note: consider making struct 'ApiDiff' conform to the 'Sendable' protocol
11 | public let context: String?
12 | public let diff: Diff
:
158 | public static func added(_ context: String? = nil) -> Self { .init(context: context, diff: .added) }
159 |
160 | public static let removed: Self = .init(context: nil, diff: .removed)
| |- warning: static property 'removed' is not concurrency-safe because non-'Sendable' type 'ApiDiff' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | public static func removed(_ context: String? = nil) -> Self { .init(context: context, diff: .removed) }
[260/270] Compiling OpenAPIDiff Exports.swift
[261/270] Compiling OpenAPIDiff Swift+ApiComparable.swift
[262/270] Compiling OpenAPIDiff JSONSChema+ApiComparable.swift
[263/270] Compiling OpenAPIDiff OpenAPI+ApiComparable.swift
[264/270] Compiling OpenAPIDiff Parameter+ApiComparable.swift
[265/270] Compiling OpenAPIKitCompat Either+Map.swift
[266/270] Emitting module OpenAPIKitCompat
[267/270] Compiling OpenAPIKitCompat Compat30To31.swift
[268/272] Emitting module openapi_diff
/Users/admin/builder/spi-builder-workspace/Sources/openapi-diff/main.swift:18:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | struct OpenAPIDiff: ParsableCommand {
17 |
18 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | abstract: "Print the differences between two OpenAPI Documents.",
20 | discussion: "By default a custom nested structure is printed to show the differences between the two OpenAPI documents. While this format can be concise and good for quick information, the Markdown file produced when passing the --markdown flag is a better deliverable."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/openapi-diff/main.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
12 | import OpenAPIDiff
13 | import Yams
14 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
15 |
16 | struct OpenAPIDiff: ParsableCommand {
17 |
18 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' with '@MainActor' 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 | abstract: "Print the differences between two OpenAPI Documents.",
20 | discussion: "By default a custom nested structure is printed to show the differences between the two OpenAPI documents. While this format can be concise and good for quick information, the Markdown file produced when passing the --markdown flag is a better deliverable."
[269/272] Compiling openapi_diff main.swift
/Users/admin/builder/spi-builder-workspace/Sources/openapi-diff/main.swift:18:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | struct OpenAPIDiff: ParsableCommand {
17 |
18 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
19 | abstract: "Print the differences between two OpenAPI Documents.",
20 | discussion: "By default a custom nested structure is printed to show the differences between the two OpenAPI documents. While this format can be concise and good for quick information, the Markdown file produced when passing the --markdown flag is a better deliverable."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/openapi-diff/main.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
12 | import OpenAPIDiff
13 | import Yams
14 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
15 |
16 | struct OpenAPIDiff: ParsableCommand {
17 |
18 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' with '@MainActor' 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 | abstract: "Print the differences between two OpenAPI Documents.",
20 | discussion: "By default a custom nested structure is printed to show the differences between the two OpenAPI documents. While this format can be concise and good for quick information, the Markdown file produced when passing the --markdown flag is a better deliverable."
[269/272] Write Objects.LinkFileList
[270/272] Linking openapi-diff
[271/272] Applying openapi-diff
Build complete! (34.06s)
Build complete.
{
"dependencies" : [
{
"identity" : "openapikit",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattpolzin/OpenAPIKit.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "OpenAPIDiff",
"name" : "OpenAPIDiff",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "OpenAPIDiff",
"targets" : [
"OpenAPIDiff"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "openapi-diff",
"targets" : [
"openapi-diff"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "openapi_diff",
"module_type" : "SwiftTarget",
"name" : "openapi-diff",
"path" : "Sources/openapi-diff",
"product_dependencies" : [
"OpenAPIKitCompat",
"Yams",
"ArgumentParser"
],
"product_memberships" : [
"openapi-diff"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"OpenAPIDiff"
],
"type" : "executable"
},
{
"c99name" : "OpenAPIDiffTests",
"module_type" : "SwiftTarget",
"name" : "OpenAPIDiffTests",
"path" : "Tests/OpenAPIDiffTests",
"sources" : [
"OpenAPIDiffTests.swift"
],
"target_dependencies" : [
"OpenAPIDiff"
],
"type" : "test"
},
{
"c99name" : "OpenAPIDiff",
"module_type" : "SwiftTarget",
"name" : "OpenAPIDiff",
"path" : "Sources/OpenAPIDiff",
"product_dependencies" : [
"OpenAPIKit",
"Yams"
],
"product_memberships" : [
"OpenAPIDiff",
"openapi-diff"
],
"sources" : [
"ApiComparable.swift",
"ApiContext.swift",
"ApiDiff.swift",
"Comparable Conformances/Either+ApiComparable.swift",
"Comparable Conformances/OpenAPI Comparables/JSONSChema+ApiComparable.swift",
"Comparable Conformances/OpenAPI Comparables/OpenAPI+ApiComparable.swift",
"Comparable Conformances/OpenAPI Comparables/OpenAPIReference+ApiComparable.swift",
"Comparable Conformances/OpenAPI Comparables/Parameter+ApiComparable.swift",
"Comparable Conformances/OpenAPI Comparables/SecurityScheme+ApiComparable.swift",
"Comparable Conformances/OrderedDictionary+ApiComparable.swift",
"Comparable Conformances/Swift+ApiComparable.swift",
"Exports.swift",
"Identifiable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.