Build Information
Successful build of OpenAPIDiff, reference main (6887e6
), with Swift 6.1 for Linux on 28 Apr 2025 19:07:35 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: main
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
* 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
========================================
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-4609320-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
[6381/25239] Fetching yams, swift-argument-parser
[14015/103733] Fetching yams, swift-argument-parser, openapikit
Fetched https://github.com/jpsim/Yams.git from cache (1.06s)
[46348/93444] Fetching swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.04s)
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (3.10s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (4.90s)
Computing version for https://github.com/mattpolzin/OpenAPIKit.git
Computed https://github.com/mattpolzin/OpenAPIKit.git at 3.5.0 (0.48s)
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.3.1
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/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 scanner.c
[15/28] Compiling emitter.c
[16/28] Write swift-version-24593BA9C3E375BF.txt
[18/82] Emitting module Yams
[19/84] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/84] Emitting module ArgumentParserToolInfo
[21/85] Wrapping AST for ArgumentParserToolInfo for debugging
[23/123] Emitting module ArgumentParser
[24/128] Compiling ArgumentParser CommandGroup.swift
[25/128] Compiling ArgumentParser EnumerableFlag.swift
[26/128] Compiling ArgumentParser ExpressibleByArgument.swift
[27/128] Compiling ArgumentParser ArgumentHelp.swift
[28/128] Compiling ArgumentParser ArgumentVisibility.swift
[29/128] Compiling ArgumentParser CompletionKind.swift
[30/128] Compiling ArgumentParser Errors.swift
[31/128] Compiling ArgumentParser Flag.swift
[32/128] Compiling ArgumentParser ParsableArguments.swift
[33/128] Compiling ArgumentParser ParsableArgumentsValidation.swift
[34/132] Compiling ArgumentParser BashCompletionsGenerator.swift
[35/132] Compiling ArgumentParser CompletionsGenerator.swift
[36/132] Compiling ArgumentParser Argument.swift
[38/132] Compiling ArgumentParser FishCompletionsGenerator.swift
[39/132] Compiling ArgumentParser ZshCompletionsGenerator.swift
[46/132] Compiling ArgumentParser NameSpecification.swift
[47/132] Compiling ArgumentParser Option.swift
[51/132] Compiling ArgumentParser OptionGroup.swift
[52/132] Compiling ArgumentParser AsyncParsableCommand.swift
[53/132] Compiling ArgumentParser CommandConfiguration.swift
[55/132] Compiling ArgumentParser ParsableCommand.swift
[56/132] Compiling ArgumentParser ArgumentDecoder.swift
[57/132] Compiling ArgumentParser ArgumentDefinition.swift
[58/132] Compiling ArgumentParser ArgumentSet.swift
[59/132] Compiling ArgumentParser CommandParser.swift
[60/132] Compiling ArgumentParser InputKey.swift
[61/132] Compiling ArgumentParser InputOrigin.swift
[62/132] Emitting module OpenAPIKitCore
[72/132] Compiling ArgumentParser Name.swift
[73/132] Compiling ArgumentParser Parsed.swift
[74/132] Compiling ArgumentParser ParsedValues.swift
[75/132] Compiling ArgumentParser ParserError.swift
[76/132] Compiling ArgumentParser SplitArguments.swift
[78/133] Compiling OpenAPIKitCore Container+DecodeURLAsString.swift
[79/133] Compiling OpenAPIKitCore Optional+Zip.swift
[80/133] Compiling OpenAPIKitCore Result+Value.swift
[81/133] Compiling OpenAPIKitCore Validatable.swift
[88/134] Wrapping AST for Yams for debugging
[95/134] Wrapping AST for OpenAPIKitCore for debugging
[102/165] Compiling ArgumentParser CollectionExtensions.swift
[103/165] Compiling ArgumentParser Platform.swift
[104/165] Compiling ArgumentParser SequenceExtensions.swift
[105/165] Compiling ArgumentParser StringExtensions.swift
[106/165] Compiling ArgumentParser Tree.swift
[107/195] Compiling OpenAPIKit OperationDecodingError.swift
[108/195] Compiling OpenAPIKit PathDecodingError.swift
[109/195] Compiling OpenAPIKit ResponseDecodingError.swift
[110/195] Compiling OpenAPIKit Example.swift
[111/195] Compiling OpenAPIKit ExternalDocumentation.swift
[112/197] Compiling OpenAPIKit DereferencedHeader.swift
[113/197] Compiling OpenAPIKit Header.swift
[114/198] Compiling OpenAPIKit JSONReference.swift
[115/198] Compiling OpenAPIKit JSONSchemaContext.swift
[116/198] Compiling OpenAPIKit SimplifiedJSONSchema.swift
[117/253] Compiling OpenAPIKit30 Either+Convenience.swift
[118/253] Compiling OpenAPIKit30 Either+LocallyDereferenceable.swift
[119/253] Compiling OpenAPIKit30 Either+Validatable.swift
[120/253] Compiling OpenAPIKit30 DocumentDecodingError.swift
[121/253] Compiling OpenAPIKit30 Link.swift
[122/253] Compiling OpenAPIKit30 DereferencedContentEncoding.swift
[123/253] Compiling OpenAPIKit30 DereferencedDocument.swift
[124/253] Compiling OpenAPIKit30 Document.swift
[125/253] Compiling OpenAPIKit30 DocumentInfo.swift
[126/253] Compiling OpenAPIKit30 ResolvedDocument.swift
[127/254] Wrapping AST for ArgumentParser for debugging
[129/254] Emitting module OpenAPIKit30
[130/262] Compiling OpenAPIKit30 OperationDecodingError.swift
[131/262] Compiling OpenAPIKit30 PathDecodingError.swift
[132/262] Compiling OpenAPIKit30 ResponseDecodingError.swift
[133/262] Compiling OpenAPIKit30 Example.swift
[134/262] Compiling OpenAPIKit30 ExternalDocumentation.swift
[135/262] Compiling OpenAPIKit30 DereferencedHeader.swift
[136/262] Compiling OpenAPIKit30 Header.swift
[137/262] Compiling OpenAPIKit30 JSONReference.swift
[138/262] Emitting module OpenAPIKit
[140/270] Compiling OpenAPIKit30 OpenAPI.swift
[141/270] Compiling OpenAPIKit30 DereferencedOperation.swift
[142/270] Compiling OpenAPIKit30 Operation.swift
[143/270] Compiling OpenAPIKit30 ResolvedEndpoint.swift
[144/270] Compiling OpenAPIKit30 OrderedDictionary+Validatable.swift
[145/270] Compiling OpenAPIKit30 DereferencedParameter.swift
[146/270] Compiling OpenAPIKit30 DereferencedSchemaContext.swift
[155/270] Compiling OpenAPIKit30 AnyCodable+Validatable.swift
[156/270] Compiling OpenAPIKit30 Callbacks.swift
[157/270] Compiling OpenAPIKit30 CodableVendorExtendable.swift
[158/270] Compiling OpenAPIKit30 Components+JSONReference.swift
[159/270] Compiling OpenAPIKit30 Components+Locatable.swift
[160/270] Compiling OpenAPIKit30 Components.swift
[161/270] Compiling OpenAPIKit30 Content.swift
[162/270] Compiling OpenAPIKit30 ContentEncoding.swift
[163/270] Compiling OpenAPIKit30 DereferencedContent.swift
[164/270] Compiling OpenAPIKit30 JSONSchemaContext.swift
[165/270] Compiling OpenAPIKit30 SimplifiedJSONSchema.swift
[166/270] Compiling OpenAPIKit30 TypesAndFormats.swift
[167/270] Compiling OpenAPIKit30 DereferencedSecurityRequirement.swift
[168/270] Compiling OpenAPIKit30 SecurityScheme.swift
[169/270] Compiling OpenAPIKit30 Server.swift
[170/270] Compiling OpenAPIKit30 Tag.swift
[171/270] Compiling OpenAPIKit30 URLTemplate+Validatable.swift
[190/270] Compiling OpenAPIKit30 Container+DecodeURLAsString.swift
[191/270] Compiling OpenAPIKit Container+DecodeURLAsString.swift
[192/270] Compiling OpenAPIKit OrderedDictionry+LocallyDereferenceable.swift
[193/270] Compiling OpenAPIKit Validation+Builtins.swift
[194/270] Compiling OpenAPIKit Validation.swift
[195/270] Compiling OpenAPIKit Validator+Convenience.swift
[196/270] Compiling OpenAPIKit Validator.swift
[197/270] Compiling OpenAPIKit XML.swift
[198/270] Compiling OpenAPIKit30 Parameter.swift
[199/270] Compiling OpenAPIKit30 ParameterContext.swift
[200/270] Compiling OpenAPIKit30 ParameterSchemaContext.swift
[201/270] Compiling OpenAPIKit30 DereferencedPathItem.swift
[202/270] Compiling OpenAPIKit30 PathItem.swift
[203/270] Compiling OpenAPIKit30 ResolvedRoute.swift
[204/270] Compiling OpenAPIKit30 DereferencedRequest.swift
[205/270] Compiling OpenAPIKit30 Request.swift
[206/270] Compiling OpenAPIKit30 DereferencedResponse.swift
[207/270] Compiling OpenAPIKit30 Response.swift
[208/270] Compiling OpenAPIKit30 RuntimeExpression.swift
[209/270] Compiling OpenAPIKit30 SchemaProtocols.swift
[210/270] Compiling OpenAPIKit30 SwiftPrimitiveTypes+OpenAPI.swift
[211/270] Compiling OpenAPIKit30 DereferencedJSONSchema.swift
[212/270] Compiling OpenAPIKit30 JSONSchema+Combining.swift
[213/270] Compiling OpenAPIKit30 JSONSchema.swift
[214/271] Wrapping AST for OpenAPIKit30 for debugging
[223/271] Compiling OpenAPIKit _CoreReExport.swift
[266/272] Wrapping AST for OpenAPIKit for debugging
[268/288] Compiling OpenAPIDiff Exports.swift
[269/289] Compiling OpenAPIDiff Identifiable.swift
[270/289] Compiling OpenAPIDiff SecurityScheme+ApiComparable.swift
[271/289] Compiling OpenAPIDiff OrderedDictionary+ApiComparable.swift
[272/289] Compiling OpenAPIDiff Swift+ApiComparable.swift
[273/289] Compiling OpenAPIDiff ApiComparable.swift
[274/289] Compiling OpenAPIDiff ApiContext.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] 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) }
[280/289] Compiling OpenAPIDiff JSONSChema+ApiComparable.swift
[281/289] Compiling OpenAPIDiff OpenAPI+ApiComparable.swift
[282/290] Wrapping AST for OpenAPIDiff for debugging
[284/290] Compiling OpenAPIKitCompat Either+Map.swift
[285/290] Emitting module OpenAPIKitCompat
[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! (27.64s)
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.