Build Information
Successful build of OpenAPIDiff, reference main (6887e6
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 01:45:03 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
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/mattpolzin/OpenAPIKit.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/9936] Fetching yams
[2/22331] Fetching yams, swift-argument-parser
[572/80026] Fetching yams, swift-argument-parser, openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (3.60s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.60s)
Fetched https://github.com/jpsim/Yams.git from cache (3.60s)
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.01s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.57s)
Computing version for https://github.com/mattpolzin/OpenAPIKit.git
Computed https://github.com/mattpolzin/OpenAPIKit.git at 3.0.0 (0.68s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
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
========================================
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.80s)
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/mattpolzin/OpenAPIKit.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (0.61s)
Fetched https://github.com/jpsim/Yams.git from cache (0.65s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.65s)
Computing version for https://github.com/mattpolzin/OpenAPIKit.git
Computed https://github.com/mattpolzin/OpenAPIKit.git at 3.3.0 (0.02s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.51s)
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.43s)
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/OpenAPIDiff.git
Working copy of https://github.com/mattpolzin/OpenAPIDiff.git resolved at main (6887e65)
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/OpenAPIKit.git
Working copy of https://github.com/mattpolzin/OpenAPIKit.git resolved at 3.3.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
{
"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"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/21] Write sources
[5/21] Write openapi-diff-entitlement.plist
[9/21] Write sources
[11/21] Write swift-version--7754E27361AE5C74.txt
[12/57] Compiling reader.c
[13/57] Compiling writer.c
[14/57] Compiling api.c
[15/57] Compiling parser.c
[16/57] Compiling emitter.c
[17/57] Compiling scanner.c
[19/72] Emitting module ArgumentParserToolInfo
[20/72] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/110] Compiling ArgumentParser ArgumentHelp.swift
[22/110] Compiling ArgumentParser ArgumentVisibility.swift
[23/110] Compiling ArgumentParser CompletionKind.swift
[24/110] Compiling ArgumentParser Errors.swift
[25/114] Compiling ArgumentParser AsyncParsableCommand.swift
[26/114] Compiling ArgumentParser CommandConfiguration.swift
[27/114] Compiling ArgumentParser EnumerableFlag.swift
[28/114] Compiling ArgumentParser ExpressibleByArgument.swift
[29/114] Compiling ArgumentParser ArgumentDefinition.swift
[30/114] Compiling ArgumentParser ArgumentSet.swift
[31/114] Compiling ArgumentParser CommandParser.swift
[32/114] Compiling ArgumentParser InputKey.swift
[33/117] Compiling OpenAPIKitCore Optional+Zip.swift
[34/117] Compiling OpenAPIKitCore Result+Value.swift
[35/117] Compiling OpenAPIKitCore Validatable.swift
[36/117] Emitting module OpenAPIKitCore
[37/117] Compiling ArgumentParser Platform.swift
[38/117] Compiling ArgumentParser SequenceExtensions.swift
[39/117] Compiling ArgumentParser StringExtensions.swift
[40/117] Compiling ArgumentParser Tree.swift
[41/117] Emitting module ArgumentParser
[42/117] Compiling ArgumentParser ParsableArguments.swift
[43/117] Compiling ArgumentParser ParsableArgumentsValidation.swift
[44/117] Compiling ArgumentParser ParsableCommand.swift
[45/117] Compiling ArgumentParser ArgumentDecoder.swift
[50/117] Compiling ArgumentParser BashCompletionsGenerator.swift
[51/117] Compiling ArgumentParser CompletionsGenerator.swift
[52/117] Compiling ArgumentParser FishCompletionsGenerator.swift
[53/117] Compiling Yams Resolver.swift
[54/117] Compiling Yams Tag.swift
[55/118] Compiling ArgumentParser DumpHelpGenerator.swift
[56/118] Compiling ArgumentParser HelpCommand.swift
[58/118] Compiling ArgumentParser Option.swift
[59/118] Compiling ArgumentParser OptionGroup.swift
[60/118] Compiling ArgumentParser ParserError.swift
[61/118] Compiling ArgumentParser SplitArguments.swift
[62/118] Compiling ArgumentParser ZshCompletionsGenerator.swift
[63/118] Compiling ArgumentParser Argument.swift
[64/118] Compiling ArgumentParser Flag.swift
[65/118] Compiling ArgumentParser NameSpecification.swift
[75/118] Compiling Yams Representer.swift
[76/118] Compiling ArgumentParser InputOrigin.swift
[77/118] Compiling ArgumentParser Name.swift
[78/118] Compiling ArgumentParser Parsed.swift
[79/118] Compiling ArgumentParser ParsedValues.swift
[80/118] Compiling ArgumentParser HelpGenerator.swift
[81/118] Compiling ArgumentParser MessageInfo.swift
[82/118] Compiling ArgumentParser UsageGenerator.swift
[83/118] Compiling ArgumentParser CollectionExtensions.swift
[86/118] Compiling Yams String+Yams.swift
[110/118] Emitting module Yams
[115/241] Compiling Yams YamlError.swift
[116/241] Compiling OpenAPIKit Either+Convenience.swift
[117/241] Compiling OpenAPIKit Either+LocallyDereferenceable.swift
[118/241] Compiling OpenAPIKit Either+Summarizable.swift
[119/241] Compiling OpenAPIKit Either+Validatable.swift
[120/241] Compiling OpenAPIKit DocumentDecodingError.swift
[121/241] Compiling OpenAPIKit OperationDecodingError.swift
[122/241] Compiling OpenAPIKit PathDecodingError.swift
[123/247] Compiling OpenAPIKit JSONSchema+Combining.swift
[124/247] Compiling OpenAPIKit JSONSchema.swift
[125/247] Compiling OpenAPIKit JSONSchemaContext.swift
[126/247] Compiling OpenAPIKit SimplifiedJSONSchema.swift
[127/247] Compiling OpenAPIKit TypesAndFormats.swift
[128/247] Compiling OpenAPIKit DereferencedSecurityRequirement.swift
[129/247] Compiling OpenAPIKit Request.swift
[137/253] Emitting module OpenAPIKit30
[138/253] Emitting module OpenAPIKit
[139/253] Compiling OpenAPIKit30 DereferencedOperation.swift
[140/253] Compiling OpenAPIKit30 Operation.swift
[141/253] Compiling OpenAPIKit30 ResolvedEndpoint.swift
[142/253] Compiling OpenAPIKit30 OrderedDictionary+Validatable.swift
[143/253] Compiling OpenAPIKit30 DereferencedParameter.swift
[144/253] Compiling OpenAPIKit30 DereferencedSchemaContext.swift
[145/253] Compiling OpenAPIKit30 Parameter.swift
[146/253] Compiling OpenAPIKit30 Validation+Builtins.swift
[147/253] Compiling OpenAPIKit30 Validation.swift
[148/253] Compiling OpenAPIKit30 Validator+Convenience.swift
[149/253] Compiling OpenAPIKit30 Validator.swift
[150/253] Compiling OpenAPIKit30 XML.swift
[151/253] Compiling OpenAPIKit30 _CoreReExport.swift
[157/253] Compiling OpenAPIKit _CoreReExport.swift
[158/253] Compiling OpenAPIKit30 JSONSchema+Combining.swift
[159/253] Compiling OpenAPIKit30 JSONSchema.swift
[160/253] Compiling OpenAPIKit30 JSONSchemaContext.swift
[161/253] Compiling OpenAPIKit30 SimplifiedJSONSchema.swift
[162/253] Compiling OpenAPIKit30 TypesAndFormats.swift
[163/253] Compiling OpenAPIKit30 DereferencedSecurityRequirement.swift
[172/253] Compiling OpenAPIKit DereferencedResponse.swift
[173/253] Compiling OpenAPIKit Response.swift
[174/253] Compiling OpenAPIKit RuntimeExpression.swift
[175/253] Compiling OpenAPIKit SchemaProtocols.swift
[176/253] Compiling OpenAPIKit SwiftPrimitiveTypes+OpenAPI.swift
[177/253] Compiling OpenAPIKit DereferencedJSONSchema.swift
[178/253] Compiling OpenAPIKit SecurityScheme.swift
[179/253] Compiling OpenAPIKit ResponseDecodingError.swift
[180/253] Compiling OpenAPIKit30 DereferencedResponse.swift
[181/253] Compiling OpenAPIKit30 Response.swift
[182/253] Compiling OpenAPIKit30 RuntimeExpression.swift
[183/253] Compiling OpenAPIKit Header.swift
[184/253] Compiling OpenAPIKit30 SwiftPrimitiveTypes+OpenAPI.swift
[185/253] Compiling OpenAPIKit30 DereferencedJSONSchema.swift
[186/253] Compiling OpenAPIKit AnyCodable+Validatable.swift
[187/253] Compiling OpenAPIKit Callbacks.swift
[188/253] Compiling OpenAPIKit CodableVendorExtendable.swift
[189/253] Compiling OpenAPIKit Components+JSONReference.swift
[190/253] Compiling OpenAPIKit Components+Locatable.swift
[191/253] Compiling OpenAPIKit30 ResolvedRoute.swift
[192/253] Compiling OpenAPIKit30 DereferencedRequest.swift
[201/253] Compiling OpenAPIKit Server.swift
[202/253] Compiling OpenAPIKit Tag.swift
[203/253] Compiling OpenAPIKit URLTemplate+Validatable.swift
[204/253] Compiling OpenAPIKit Container+DecodeURLAsString.swift
[205/253] Compiling OpenAPIKit OrderedDictionry+LocallyDereferenceable.swift
[206/253] Compiling OpenAPIKit30 Example.swift
[207/253] Compiling OpenAPIKit30 ExternalDocumentation.swift
[208/253] Compiling OpenAPIKit30 DereferencedHeader.swift
[209/253] Compiling OpenAPIKit30 Header.swift
[210/253] Compiling OpenAPIKit30 JSONReference.swift
[211/253] Compiling OpenAPIKit30 Link.swift
[212/253] Compiling OpenAPIKit30 OpenAPI.swift
[251/269] Compiling OpenAPIKitCompat Either+Map.swift
[252/269] Compiling OpenAPIDiff Exports.swift
[253/270] Compiling OpenAPIDiff Identifiable.swift
[254/270] Compiling OpenAPIDiff OpenAPIReference+ApiComparable.swift
[255/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) }
[256/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) }
[257/270] Compiling OpenAPIDiff ApiComparable.swift
[258/270] Compiling OpenAPIDiff ApiContext.swift
[259/270] Compiling OpenAPIDiff Swift+ApiComparable.swift
[260/270] Compiling OpenAPIDiff Parameter+ApiComparable.swift
[261/270] Compiling OpenAPIDiff SecurityScheme+ApiComparable.swift
[262/270] Compiling OpenAPIDiff OrderedDictionary+ApiComparable.swift
[263/270] Compiling OpenAPIDiff JSONSChema+ApiComparable.swift
[264/270] Compiling OpenAPIDiff OpenAPI+ApiComparable.swift
[265/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) }
[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.16s)
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.