Build Information
Successful build of OpenAPIDiff, reference 0.8.0 (6887e6
), with Swift 6.1 for Linux on 28 Apr 2025 19:09:47 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattpolzin/OpenAPIDiff.git
Reference: 0.8.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/mattpolzin/OpenAPIDiff.git
https://github.com/mattpolzin/OpenAPIDiff.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/mattpolzin/OpenAPIKit.git
Fetching https://github.com/jpsim/Yams.git
[1/10289] Fetching yams
[5660/25239] Fetching yams, swift-argument-parser
[10903/103733] Fetching yams, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.23s)
[40902/88783] Fetching yams, openapikit
Fetched https://github.com/jpsim/Yams.git from cache (1.27s)
[32183/78494] Fetching openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (3.91s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (6.20s)
Computing version for https://github.com/mattpolzin/OpenAPIKit.git
Computed https://github.com/mattpolzin/OpenAPIKit.git at 3.5.0 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (2.20s)
Creating working copy for https://github.com/mattpolzin/OpenAPIKit.git
Working copy of https://github.com/mattpolzin/OpenAPIKit.git resolved at 3.5.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/28] Write sources
[10/28] Compiling writer.c
[11/28] Compiling reader.c
[12/28] Compiling parser.c
[13/28] Compiling api.c
[14/28] Compiling emitter.c
[15/28] Compiling scanner.c
[16/28] Write swift-version-24593BA9C3E375BF.txt
[18/82] Emitting module Yams
[19/84] Emitting module OpenAPIKitCore
[20/88] Emitting module ArgumentParserToolInfo
[21/88] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/89] Compiling OpenAPIKitCore Shared.swift
[23/89] Compiling OpenAPIKitCore CallbackURL.swift
[24/89] Wrapping AST for ArgumentParserToolInfo for debugging
[26/127] Emitting module ArgumentParser
[27/132] Compiling ArgumentParser ArgumentVisibility.swift
[28/132] Compiling ArgumentParser CompletionKind.swift
[29/132] Compiling ArgumentParser Errors.swift
[30/132] Compiling ArgumentParser Flag.swift
[31/132] Compiling ArgumentParser NameSpecification.swift
[32/132] Compiling ArgumentParser Option.swift
[33/132] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/132] Compiling ArgumentParser CompletionsGenerator.swift
[35/132] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/132] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/132] Compiling ArgumentParser Argument.swift
[38/132] Compiling ArgumentParser ParsableCommand.swift
[39/132] Compiling ArgumentParser ArgumentDecoder.swift
[40/132] Compiling ArgumentParser DumpHelpGenerator.swift
[41/132] Compiling ArgumentParser HelpCommand.swift
[42/132] Compiling ArgumentParser ParsableArguments.swift
[43/132] Compiling ArgumentParser ParsableArgumentsValidation.swift
[49/132] Compiling ArgumentParser OptionGroup.swift
[50/132] Compiling ArgumentParser AsyncParsableCommand.swift
[51/132] Compiling ArgumentParser CommandConfiguration.swift
[52/132] Compiling ArgumentParser ArgumentHelp.swift
[57/132] Compiling ArgumentParser CommandGroup.swift
[58/132] Compiling ArgumentParser EnumerableFlag.swift
[59/132] Compiling ArgumentParser ExpressibleByArgument.swift
[62/132] Compiling ArgumentParser Name.swift
[63/132] Compiling ArgumentParser Parsed.swift
[64/132] Compiling ArgumentParser ParsedValues.swift
[65/132] Compiling ArgumentParser ParserError.swift
[66/132] Compiling ArgumentParser ArgumentSet.swift
[67/132] Compiling ArgumentParser CommandParser.swift
[68/132] Compiling ArgumentParser InputKey.swift
[69/132] Compiling ArgumentParser InputOrigin.swift
[70/132] Compiling ArgumentParser HelpGenerator.swift
[71/132] Compiling ArgumentParser MessageInfo.swift
[72/132] Compiling ArgumentParser UsageGenerator.swift
[73/132] Compiling ArgumentParser ArgumentDefinition.swift
[94/134] Wrapping AST for OpenAPIKitCore for debugging
[96/134] Compiling ArgumentParser CollectionExtensions.swift
[97/134] Compiling ArgumentParser Platform.swift
[98/134] Compiling ArgumentParser SequenceExtensions.swift
[99/134] Compiling ArgumentParser StringExtensions.swift
[100/134] Compiling ArgumentParser Tree.swift
[101/218] Compiling OpenAPIKit30 Example.swift
[102/218] Compiling OpenAPIKit30 ExternalDocumentation.swift
[103/218] Compiling OpenAPIKit30 DereferencedHeader.swift
[104/219] Compiling OpenAPIKit30 Header.swift
[105/219] Compiling OpenAPIKit30 JSONReference.swift
[106/219] Compiling OpenAPIKit30 DereferencedContentEncoding.swift
[107/219] Compiling OpenAPIKit30 DereferencedDocument.swift
[108/219] Compiling OpenAPIKit30 Document.swift
[109/219] Compiling OpenAPIKit30 DocumentInfo.swift
[110/220] Compiling OpenAPIKit30 ResolvedDocument.swift
[110/253] Wrapping AST for Yams for debugging
[112/253] Compiling OpenAPIKit OperationDecodingError.swift
[113/253] Compiling OpenAPIKit30 DereferencedOperation.swift
[114/253] Compiling OpenAPIKit30 Operation.swift
[115/253] Compiling OpenAPIKit30 ResolvedEndpoint.swift
[116/253] Compiling OpenAPIKit30 OrderedDictionary+Validatable.swift
[117/253] Compiling OpenAPIKit DereferencedHeader.swift
[118/253] Compiling OpenAPIKit Header.swift
[119/253] Compiling OpenAPIKit JSONReference.swift
[120/253] Compiling OpenAPIKit DereferencedResponse.swift
[121/253] Compiling OpenAPIKit Response.swift
[122/253] Compiling OpenAPIKit30 Either+Convenience.swift
[123/253] Compiling OpenAPIKit30 Either+LocallyDereferenceable.swift
[124/253] Compiling OpenAPIKit30 Either+Validatable.swift
[125/253] Compiling OpenAPIKit30 DocumentDecodingError.swift
[126/253] Compiling OpenAPIKit30 Link.swift
[127/254] Wrapping AST for ArgumentParser for debugging
[129/254] Emitting module OpenAPIKit
[130/262] Compiling OpenAPIKit30 OperationDecodingError.swift
[131/262] Compiling OpenAPIKit30 PathDecodingError.swift
[132/262] Compiling OpenAPIKit30 ResponseDecodingError.swift
[138/270] Compiling OpenAPIKit30 AnyCodable+Validatable.swift
[139/270] Compiling OpenAPIKit30 Callbacks.swift
[140/270] Compiling OpenAPIKit30 CodableVendorExtendable.swift
[141/270] Compiling OpenAPIKit30 Components+JSONReference.swift
[142/270] Compiling OpenAPIKit30 Components+Locatable.swift
[143/270] Compiling OpenAPIKit30 Components.swift
[144/270] Compiling OpenAPIKit30 Content.swift
[145/270] Compiling OpenAPIKit30 ContentEncoding.swift
[146/270] Compiling OpenAPIKit30 DereferencedContent.swift
[167/270] Compiling OpenAPIKit RuntimeExpression.swift
[168/270] Compiling OpenAPIKit SchemaProtocols.swift
[169/270] Compiling OpenAPIKit SwiftPrimitiveTypes+OpenAPI.swift
[170/270] Compiling OpenAPIKit DereferencedJSONSchema.swift
[171/270] Compiling OpenAPIKit JSONSchema+Combining.swift
[190/270] Emitting module OpenAPIKit30
[191/270] Compiling OpenAPIKit Request.swift
[192/270] Compiling OpenAPIKit JSONSchemaContext.swift
[193/270] Compiling OpenAPIKit SimplifiedJSONSchema.swift
[194/270] Compiling OpenAPIKit TypesAndFormats.swift
[195/270] Compiling OpenAPIKit DereferencedSecurityRequirement.swift
[196/270] Compiling OpenAPIKit SecurityScheme.swift
[197/270] Compiling OpenAPIKit Server.swift
[198/270] Compiling OpenAPIKit Tag.swift
[214/270] Compiling OpenAPIKit30 Container+DecodeURLAsString.swift
[215/270] Compiling OpenAPIKit30 OrderedDictionry+LocallyDereferenceable.swift
[216/270] Compiling OpenAPIKit30 Validation+Builtins.swift
[217/270] Compiling OpenAPIKit30 Validation.swift
[218/270] Compiling OpenAPIKit30 Validator+Convenience.swift
[219/270] Compiling OpenAPIKit30 Validator.swift
[220/270] Compiling OpenAPIKit30 XML.swift
[221/270] Compiling OpenAPIKit30 _CoreReExport.swift
[222/270] Compiling OpenAPIKit _CoreReExport.swift
[231/270] Compiling OpenAPIKit JSONSchema.swift
[232/270] Compiling OpenAPIKit Parameter.swift
[233/270] Compiling OpenAPIKit ParameterContext.swift
[234/270] Compiling OpenAPIKit ParameterSchemaContext.swift
[235/270] Compiling OpenAPIKit DereferencedPathItem.swift
[236/270] Compiling OpenAPIKit PathItem.swift
[237/270] Compiling OpenAPIKit ResolvedRoute.swift
[238/270] Compiling OpenAPIKit DereferencedRequest.swift
[239/271] Wrapping AST for OpenAPIKit30 for debugging
[266/272] Wrapping AST for OpenAPIKit for debugging
[268/288] Compiling OpenAPIDiff Exports.swift
[269/289] Compiling OpenAPIKitCompat Either+Map.swift
[270/289] Emitting module OpenAPIKitCompat
[271/289] Compiling OpenAPIDiff Swift+ApiComparable.swift
[272/289] Compiling OpenAPIDiff Identifiable.swift
[273/289] Compiling OpenAPIDiff SecurityScheme+ApiComparable.swift
[274/289] Compiling OpenAPIDiff OrderedDictionary+ApiComparable.swift
[275/289] Compiling OpenAPIDiff OpenAPIReference+ApiComparable.swift
[276/289] Compiling OpenAPIDiff Parameter+ApiComparable.swift
[277/289] Compiling OpenAPIDiff ApiDiff.swift
/host/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: add '@MainActor' to make static property 'same' part of global actor 'MainActor'
| `- 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) }
/host/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: add '@MainActor' to make static property 'added' part of global actor 'MainActor'
| `- 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) }
/host/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: add '@MainActor' to make static property 'removed' part of global actor 'MainActor'
| `- 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) }
[278/289] Compiling OpenAPIDiff Either+ApiComparable.swift
/host/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: add '@MainActor' to make static property 'same' part of global actor 'MainActor'
| `- 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) }
/host/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: add '@MainActor' to make static property 'added' part of global actor 'MainActor'
| `- 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) }
/host/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: add '@MainActor' to make static property 'removed' part of global actor 'MainActor'
| `- 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) }
[279/289] Compiling OpenAPIDiff JSONSChema+ApiComparable.swift
[280/289] Compiling OpenAPIDiff OpenAPI+ApiComparable.swift
[281/289] Emitting module OpenAPIDiff
/host/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: add '@MainActor' to make static property 'same' part of global actor 'MainActor'
| `- 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) }
/host/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: add '@MainActor' to make static property 'added' part of global actor 'MainActor'
| `- 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) }
/host/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: add '@MainActor' to make static property 'removed' part of global actor 'MainActor'
| `- 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) }
[282/289] Compiling OpenAPIDiff ApiComparable.swift
[283/289] Compiling OpenAPIDiff ApiContext.swift
[284/290] Wrapping AST for OpenAPIDiff for debugging
[286/290] Compiling OpenAPIKitCompat Compat30To31.swift
[287/291] Wrapping AST for OpenAPIKitCompat for debugging
[289/293] Emitting module openapi_diff
[290/293] Compiling openapi_diff main.swift
[291/294] Wrapping AST for openapi-diff for debugging
[292/294] Write Objects.LinkFileList
[293/294] Linking openapi-diff
Build complete! (46.98s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.