Build Information
Successful build of OpenAPIDiff, reference 0.8.0 (6887e6
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 00:10:34 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: 0.8.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mattpolzin/OpenAPIDiff
* tag 0.8.0 -> FETCH_HEAD
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 0.8.0
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/mattpolzin/OpenAPIKit.git
[1/9902] Fetching yams
[2/22255] Fetching yams, swift-argument-parser
[1338/79950] Fetching yams, swift-argument-parser, openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (4.39s)
Fetched https://github.com/jpsim/Yams.git from cache (4.39s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.39s)
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.33s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.63s)
Computing version for https://github.com/mattpolzin/OpenAPIKit.git
Computed https://github.com/mattpolzin/OpenAPIKit.git at 3.0.0 (0.64s)
Creating working copy for https://github.com/mattpolzin/OpenAPIKit.git
Working copy of https://github.com/mattpolzin/OpenAPIKit.git resolved at 3.0.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.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
========================================
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.83s)
Fetching https://github.com/mattpolzin/OpenAPIKit.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetched https://github.com/jpsim/Yams.git from cache (0.61s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.61s)
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (0.64s)
Computing version for https://github.com/mattpolzin/OpenAPIKit.git
Computed https://github.com/mattpolzin/OpenAPIKit.git at 3.3.0 (0.04s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.61s)
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.48s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
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
Creating working copy for https://github.com/mattpolzin/OpenAPIDiff.git
Working copy of https://github.com/mattpolzin/OpenAPIDiff.git resolved at 0.8.0 (6887e65)
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
[8/21] Write openapi-diff-entitlement.plist
[9/21] Write sources
[11/21] Write swift-version--7754E27361AE5C74.txt
[12/57] Compiling writer.c
[13/57] Compiling reader.c
[14/57] Compiling parser.c
[15/57] Compiling api.c
[16/57] Compiling emitter.c
[17/57] Compiling scanner.c
[19/72] Emitting module ArgumentParserToolInfo
[20/72] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/110] Emitting module OpenAPIKitCore
[22/113] Compiling OpenAPIKitCore Optional+Zip.swift
[23/113] Compiling OpenAPIKitCore Result+Value.swift
[24/113] Compiling OpenAPIKitCore Validatable.swift
[25/113] Compiling Yams Tag.swift
[26/114] Compiling ArgumentParser ArgumentHelp.swift
[27/114] Compiling ArgumentParser ArgumentVisibility.swift
[28/114] Compiling ArgumentParser CompletionKind.swift
[29/114] Compiling ArgumentParser Errors.swift
[30/118] Compiling ArgumentParser AsyncParsableCommand.swift
[31/118] Compiling ArgumentParser CommandConfiguration.swift
[32/118] Compiling ArgumentParser EnumerableFlag.swift
[33/118] Compiling ArgumentParser ExpressibleByArgument.swift
[34/118] Compiling ArgumentParser InputOrigin.swift
[35/118] Compiling ArgumentParser Name.swift
[36/118] Compiling ArgumentParser Parsed.swift
[37/118] Compiling ArgumentParser ParsedValues.swift
[38/118] Compiling ArgumentParser ParsableArguments.swift
[39/118] Compiling ArgumentParser ParsableArgumentsValidation.swift
[40/118] Compiling ArgumentParser ParsableCommand.swift
[41/118] Compiling ArgumentParser ArgumentDecoder.swift
[46/118] Compiling ArgumentParser BashCompletionsGenerator.swift
[47/118] Compiling ArgumentParser CompletionsGenerator.swift
[48/118] Compiling ArgumentParser FishCompletionsGenerator.swift
[49/118] Compiling ArgumentParser ZshCompletionsGenerator.swift
[50/118] Compiling ArgumentParser Argument.swift
[51/118] Compiling ArgumentParser Platform.swift
[52/118] Compiling ArgumentParser SequenceExtensions.swift
[53/118] Compiling ArgumentParser StringExtensions.swift
[54/118] Compiling ArgumentParser Tree.swift
[55/118] Emitting module ArgumentParser
[56/118] Compiling ArgumentParser ArgumentDefinition.swift
[57/118] Compiling ArgumentParser ArgumentSet.swift
[58/118] Compiling ArgumentParser CommandParser.swift
[59/118] Compiling ArgumentParser InputKey.swift
[60/118] Compiling ArgumentParser Flag.swift
[61/118] Compiling ArgumentParser NameSpecification.swift
[62/118] Compiling ArgumentParser Option.swift
[63/118] Compiling ArgumentParser OptionGroup.swift
[64/118] Compiling Yams Resolver.swift
[65/118] Compiling Yams String+Yams.swift
[81/118] Compiling Yams YamlError.swift
[91/118] Compiling ArgumentParser CollectionExtensions.swift
[92/118] Compiling ArgumentParser ParserError.swift
[93/118] Compiling ArgumentParser SplitArguments.swift
[94/118] Compiling ArgumentParser DumpHelpGenerator.swift
[95/118] Compiling ArgumentParser HelpCommand.swift
[99/118] Emitting module Yams
[115/118] Compiling Yams Representer.swift
[116/241] Compiling OpenAPIKit30 ParameterSchemaContext.swift
[117/241] Compiling OpenAPIKit30 DereferencedPathItem.swift
[118/241] Compiling OpenAPIKit30 PathItem.swift
[119/241] Compiling OpenAPIKit30 ResolvedRoute.swift
[120/241] Compiling OpenAPIKit30 DereferencedRequest.swift
[121/241] Compiling OpenAPIKit30 Request.swift
[122/241] Compiling OpenAPIKit PathDecodingError.swift
[123/247] Compiling OpenAPIKit30 AnyCodable+Validatable.swift
[124/247] Compiling OpenAPIKit30 Callbacks.swift
[125/247] Compiling OpenAPIKit30 CodableVendorExtendable.swift
[126/247] Compiling OpenAPIKit30 Components+JSONReference.swift
[127/247] Compiling OpenAPIKit30 Components+Locatable.swift
[128/247] Compiling OpenAPIKit30 Components.swift
[129/247] Compiling OpenAPIKit30 Content.swift
[130/253] Emitting module OpenAPIKit30
[131/253] Compiling OpenAPIKit30 Either+Convenience.swift
[132/253] Compiling OpenAPIKit30 Either+LocallyDereferenceable.swift
[133/253] Compiling OpenAPIKit30 Either+Validatable.swift
[134/253] Compiling OpenAPIKit30 DocumentDecodingError.swift
[135/253] Compiling OpenAPIKit30 OperationDecodingError.swift
[136/253] Compiling OpenAPIKit30 PathDecodingError.swift
[137/253] Compiling OpenAPIKit30 ResponseDecodingError.swift
[138/253] Emitting module OpenAPIKit
[139/253] Compiling OpenAPIKit30 DereferencedResponse.swift
[140/253] Compiling OpenAPIKit30 Response.swift
[141/253] Compiling OpenAPIKit30 RuntimeExpression.swift
[142/253] Compiling OpenAPIKit30 SchemaProtocols.swift
[143/253] Compiling OpenAPIKit30 SwiftPrimitiveTypes+OpenAPI.swift
[144/253] Compiling OpenAPIKit30 DereferencedJSONSchema.swift
[145/253] Compiling OpenAPIKit30 DereferencedOperation.swift
[146/253] Compiling OpenAPIKit30 OpenAPI.swift
[147/253] Compiling OpenAPIKit30 SecurityScheme.swift
[148/253] Compiling OpenAPIKit30 Server.swift
[149/253] Compiling OpenAPIKit30 Tag.swift
[150/253] Compiling OpenAPIKit30 URLTemplate+Validatable.swift
[151/253] Compiling OpenAPIKit30 Container+DecodeURLAsString.swift
[152/253] Compiling OpenAPIKit30 OrderedDictionry+LocallyDereferenceable.swift
[153/253] Compiling OpenAPIKit Request.swift
[154/253] Compiling OpenAPIKit30 JSONSchema+Combining.swift
[155/253] Compiling OpenAPIKit30 JSONSchema.swift
[156/253] Compiling OpenAPIKit30 JSONSchemaContext.swift
[157/253] Compiling OpenAPIKit30 SimplifiedJSONSchema.swift
[158/253] Compiling OpenAPIKit30 TypesAndFormats.swift
[159/253] Compiling OpenAPIKit30 DereferencedSecurityRequirement.swift
[161/253] Compiling OpenAPIKit30 Operation.swift
[162/253] Compiling OpenAPIKit30 ResolvedEndpoint.swift
[163/253] Compiling OpenAPIKit30 OrderedDictionary+Validatable.swift
[164/253] Compiling OpenAPIKit30 DereferencedParameter.swift
[165/253] Compiling OpenAPIKit30 DereferencedSchemaContext.swift
[166/253] Compiling OpenAPIKit30 Parameter.swift
[179/253] Compiling OpenAPIKit30 Example.swift
[180/253] Compiling OpenAPIKit30 ExternalDocumentation.swift
[181/253] Compiling OpenAPIKit30 DereferencedHeader.swift
[182/253] Compiling OpenAPIKit30 Header.swift
[183/253] Compiling OpenAPIKit30 JSONReference.swift
[184/253] Compiling OpenAPIKit30 Link.swift
[193/253] Compiling OpenAPIKit30 ParameterContext.swift
[200/253] Compiling OpenAPIKit30 Validation+Builtins.swift
[201/253] Compiling OpenAPIKit30 Validation.swift
[202/253] Compiling OpenAPIKit30 Validator+Convenience.swift
[203/253] Compiling OpenAPIKit30 Validator.swift
[204/253] Compiling OpenAPIKit30 XML.swift
[205/253] Compiling OpenAPIKit30 _CoreReExport.swift
[211/253] Compiling OpenAPIKit _CoreReExport.swift
[232/253] Compiling OpenAPIKit30 ContentEncoding.swift
[233/253] Compiling OpenAPIKit30 DereferencedContent.swift
[234/253] Compiling OpenAPIKit30 DereferencedContentEncoding.swift
[235/253] Compiling OpenAPIKit30 DereferencedDocument.swift
[236/253] Compiling OpenAPIKit30 Document.swift
[237/253] Compiling OpenAPIKit30 DocumentInfo.swift
[251/269] Compiling OpenAPIDiff ApiComparable.swift
[252/269] Compiling OpenAPIDiff ApiContext.swift
[253/270] Compiling OpenAPIDiff OpenAPIReference+ApiComparable.swift
[254/270] Compiling OpenAPIDiff Identifiable.swift
[255/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) }
[256/270] Compiling OpenAPIDiff OrderedDictionary+ApiComparable.swift
[257/270] Compiling OpenAPIDiff Exports.swift
[258/270] Compiling OpenAPIDiff Parameter+ApiComparable.swift
[259/270] Compiling OpenAPIDiff Swift+ApiComparable.swift
[260/270] Compiling OpenAPIDiff SecurityScheme+ApiComparable.swift
[261/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) }
[262/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) }
[263/270] Compiling OpenAPIDiff JSONSChema+ApiComparable.swift
[264/270] Compiling OpenAPIDiff OpenAPI+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! (35.96s)
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.