Build Information
Successful build of GlobalDependencies, reference 2.0.1 (f2ac65), with Swift 6.1 for macOS (SPM) on 31 Aug 2025 06:44:03 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/omv-libs/GlobalDependencies.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/omv-libs/GlobalDependencies
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at f2ac651 Merge pull request #10 from Gabardone/VisionSupport
Cloned https://github.com/omv-libs/GlobalDependencies.git
Revision (git rev-parse @):
f2ac651059e19424046e98951f2572e7d5350d08
SUCCESS checkout https://github.com/omv-libs/GlobalDependencies.git at 2.0.1
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-syntax.git
[1/2094] Fetching swift-docc-plugin
[232/5583] Fetching swift-docc-plugin, swift-docc-symbolkit
[5584/77424] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (3.10s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.10s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (3.10s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (6.60s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (0.70s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.65s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "globaldependencies",
"name": "GlobalDependencies",
"url": "https://github.com/omv-libs/GlobalDependencies.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GlobalDependencies",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/apple/swift-syntax.git",
"version": "509.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/omv-libs/GlobalDependencies.git
[1/758] Fetching globaldependencies
Fetched https://github.com/omv-libs/GlobalDependencies.git from cache (1.01s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.88s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.60s)
Creating working copy for https://github.com/omv-libs/GlobalDependencies.git
Working copy of https://github.com/omv-libs/GlobalDependencies.git resolved at 2.0.1 (f2ac651)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
warning: '.resolve-product-dependencies': dependency 'globaldependencies' is not used by any target
Found 1 product dependencies
- swift-syntax
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/omv-libs/GlobalDependencies.git
https://github.com/omv-libs/GlobalDependencies.git
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "510.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "GlobalDependencies",
"name" : "GlobalDependencies",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "GlobalDependencies",
"targets" : [
"GlobalDependencies"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GlobalDependenciesMacros",
"targets" : [
"GlobalDependenciesMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "GlobalDependenciesTests",
"module_type" : "SwiftTarget",
"name" : "GlobalDependenciesTests",
"path" : "Tests/GlobalDependenciesTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"DependencyMacroTests.swift",
"GlobalDependenciesTests.swift",
"GlobalDependencyMacroTests.swift",
"InjectedDependenciesMacroTests.swift",
"TLAService.swift",
"TestComponent.swift",
"TestService.swift"
],
"target_dependencies" : [
"GlobalDependencies",
"GlobalDependenciesMacros"
],
"type" : "test"
},
{
"c99name" : "GlobalDependenciesMacros",
"module_type" : "SwiftTarget",
"name" : "GlobalDependenciesMacros",
"path" : "Sources/GlobalDependenciesMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"GlobalDependencies",
"GlobalDependenciesMacros"
],
"sources" : [
"DependencyMacro.swift",
"GlobalDependenciesMacros.swift",
"GlobalDependencyMacro.swift",
"InjectedDependenciesMacro.swift"
],
"type" : "macro"
},
{
"c99name" : "GlobalDependencies",
"module_type" : "SwiftTarget",
"name" : "GlobalDependencies",
"path" : "Sources/GlobalDependencies",
"product_memberships" : [
"GlobalDependencies"
],
"sources" : [
"AccessControl.swift",
"DefaultDependencyValueFactory.swift",
"Dependencies.swift",
"Dependency.swift",
"DependencyKey.swift",
"GlobalDependencies.swift",
"InjectedDependencies.swift"
],
"target_dependencies" : [
"GlobalDependenciesMacros"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/20] Write sources
[17/20] Write swift-version-2F0A5646E1D333AE.txt
[19/22] Emitting module SwiftSyntax509
[20/22] Compiling SwiftSyntax509 Empty.swift
[21/68] Compiling SwiftSyntax Syntax.swift
[22/68] Compiling SwiftSyntax SyntaxArena.swift
[23/68] Compiling SwiftSyntax SyntaxChildren.swift
[24/68] Compiling SwiftSyntax SyntaxCollection.swift
[25/68] Compiling SwiftSyntax SyntaxData.swift
[26/73] Compiling SwiftSyntax RawSyntaxTokenView.swift
[27/73] Compiling SwiftSyntax SourceLength.swift
[28/73] Compiling SwiftSyntax SourceLocation.swift
[29/73] Compiling SwiftSyntax SourcePresence.swift
[30/73] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[31/73] Compiling SwiftSyntax MemoryLayout.swift
[32/73] Compiling SwiftSyntax MissingNodeInitializers.swift
[33/73] Compiling SwiftSyntax RawSyntax.swift
[34/73] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[35/73] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[36/73] Compiling SwiftSyntax SyntaxText.swift
[37/73] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[38/73] Compiling SwiftSyntax TokenDiagnostic.swift
[39/73] Compiling SwiftSyntax TokenSyntax.swift
[40/73] Compiling SwiftSyntax Trivia.swift
[41/73] Emitting module SwiftSyntax
[42/73] Compiling SwiftSyntax Tokens.swift
[43/73] Compiling SwiftSyntax TriviaPieces.swift
[44/73] Compiling SwiftSyntax RawSyntaxNodes.swift
[45/73] Compiling SwiftSyntax RawSyntaxValidation.swift
[46/73] Compiling SwiftSyntax SyntaxDeclNodes.swift
[47/73] Compiling SwiftSyntax SyntaxExprNodes.swift
[48/73] Compiling SwiftSyntax SyntaxNodes.swift
[49/73] Compiling SwiftSyntax SyntaxPatternNodes.swift
[50/73] Compiling SwiftSyntax SyntaxStmtNodes.swift
[51/73] Compiling SwiftSyntax SyntaxTypeNodes.swift
[52/73] Compiling SwiftSyntax SyntaxRewriter.swift
[53/73] Compiling SwiftSyntax SyntaxTraits.swift
[54/73] Compiling SwiftSyntax SyntaxTransform.swift
[55/73] Compiling SwiftSyntax SyntaxVisitor.swift
[56/73] Compiling SwiftSyntax TokenKind.swift
[57/73] Compiling SwiftSyntax Utils.swift
[58/73] Compiling SwiftSyntax ChildNameForKeyPath.swift
[59/73] Compiling SwiftSyntax Keyword.swift
[60/73] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[61/73] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[62/73] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[63/73] Compiling SwiftSyntax SyntaxBaseNodes.swift
[64/73] Compiling SwiftSyntax SyntaxCollections.swift
[65/73] Compiling SwiftSyntax SyntaxEnum.swift
[66/73] Compiling SwiftSyntax SyntaxKind.swift
[67/73] Compiling SwiftSyntax AbsolutePosition.swift
[68/73] Compiling SwiftSyntax Assert.swift
[69/73] Compiling SwiftSyntax BumpPtrAllocator.swift
[70/73] Compiling SwiftSyntax CommonAncestor.swift
[71/73] Compiling SwiftSyntax Convenience.swift
[72/125] Compiling SwiftDiagnostics Message.swift
[73/125] Compiling SwiftDiagnostics Note.swift
[74/125] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[75/125] Compiling SwiftDiagnostics FixIt.swift
[76/125] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[77/125] Compiling SwiftDiagnostics Convenience.swift
[78/125] Compiling SwiftDiagnostics Diagnostic.swift
[79/125] Emitting module SwiftDiagnostics
[80/125] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[81/125] Compiling SwiftBasicFormat Syntax+Extensions.swift
[82/125] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[83/125] Compiling SwiftBasicFormat BasicFormat.swift
[84/125] Emitting module SwiftBasicFormat
[85/125] Compiling SwiftParser Statements.swift
[86/125] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[87/125] Compiling SwiftParser StringLiterals.swift
[88/125] Compiling SwiftParser SwiftParserCompatibility.swift
[89/129] Compiling SwiftParser Lexeme.swift
[90/129] Compiling SwiftParser LexemeSequence.swift
[91/129] Compiling SwiftParser Lexer.swift
[92/129] Compiling SwiftParser RegexLiteralLexer.swift
[93/129] Compiling SwiftParser UnicodeScalarExtensions.swift
[94/129] Compiling SwiftParser Lookahead.swift
[95/129] Compiling SwiftParser LoopProgressCondition.swift
[96/129] Compiling SwiftParser Modifiers.swift
[97/129] Compiling SwiftParser Parser.swift
[98/129] Compiling SwiftParser Patterns.swift
[99/129] Compiling SwiftParser Recovery.swift
[100/129] Compiling SwiftParser Specifiers.swift
[101/129] Compiling SwiftParser Names.swift
[102/129] Compiling SwiftParser Nominals.swift
[103/129] Compiling SwiftParser Parameters.swift
[104/129] Compiling SwiftParser ParseSourceFile.swift
[105/129] Compiling SwiftParser SyntaxUtils.swift
[106/129] Compiling SwiftParser TokenConsumer.swift
[107/129] Compiling SwiftParser TokenPrecedence.swift
[108/129] Compiling SwiftParser TokenSpec.swift
[109/129] Compiling SwiftParser TokenSpecSet.swift
[110/129] Compiling SwiftParser TopLevel.swift
[111/129] Compiling SwiftParser TriviaParser.swift
[112/129] Compiling SwiftParser Types.swift
[113/129] Compiling SwiftParser IsLexerClassified.swift
[114/129] Compiling SwiftParser LayoutNodes+Parsable.swift
[115/129] Compiling SwiftParser Parser+TokenSpecSet.swift
[116/129] Compiling SwiftParser TokenSpecStaticMembers.swift
[117/129] Compiling SwiftParser Attributes.swift
[118/129] Compiling SwiftParser Availability.swift
[119/129] Compiling SwiftParser CharacterInfo.swift
[120/129] Compiling SwiftParser CollectionNodes+Parsable.swift
[121/129] Compiling SwiftParser Declarations.swift
[122/129] Emitting module SwiftParser
[123/129] Compiling SwiftParser Directives.swift
[124/129] Compiling SwiftParser ExperimentalFeatures.swift
[125/129] Compiling SwiftParser Expressions.swift
[126/129] Compiling SwiftParser IncrementalParseTransition.swift
[127/129] Compiling SwiftParser Cursor.swift
[128/152] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[129/153] Compiling SwiftOperators PrecedenceGroup.swift
[130/154] Compiling SwiftOperators OperatorTable.swift
[131/154] Compiling SwiftOperators PrecedenceGraph.swift
[132/154] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[133/154] Compiling SwiftOperators OperatorTable+Semantics.swift
[134/154] Compiling SwiftOperators SyntaxSynthesis.swift
[135/154] Compiling SwiftOperators OperatorError+Diagnostics.swift
[136/154] Compiling SwiftOperators OperatorTable+Defaults.swift
[137/154] Emitting module SwiftOperators
[138/154] Compiling SwiftOperators OperatorError.swift
[139/154] Compiling SwiftOperators Operator.swift
[140/154] Compiling SwiftOperators OperatorTable+Folding.swift
[141/154] Compiling SwiftParserDiagnostics PresenceUtils.swift
[142/154] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[143/154] Compiling SwiftParserDiagnostics Utils.swift
[144/154] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[145/154] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[146/154] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[147/154] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[148/154] Compiling SwiftParserDiagnostics MissingNodesError.swift
[149/154] Compiling SwiftParserDiagnostics MissingTokenError.swift
[150/154] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[151/154] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[152/154] Emitting module SwiftParserDiagnostics
[153/168] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[154/169] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[155/169] Emitting module SwiftSyntaxBuilder
[156/169] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[157/169] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[158/169] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[159/169] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[160/169] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[161/169] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[162/169] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[163/169] Compiling SwiftSyntaxBuilder Indenter.swift
[164/169] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[165/169] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[166/169] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[167/169] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[168/183] Compiling SwiftSyntaxMacros Macro.swift
[169/183] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[170/183] Compiling SwiftSyntaxMacros MemberMacro.swift
[171/183] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[172/183] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[173/183] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[174/183] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[175/183] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[176/183] Compiling SwiftSyntaxMacros Macro+Format.swift
[177/183] Compiling SwiftSyntaxMacros AccessorMacro.swift
[178/183] Compiling SwiftSyntaxMacros AttachedMacro.swift
[179/184] Emitting module SwiftSyntaxMacros
[180/184] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[181/184] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[182/184] Compiling SwiftSyntaxMacros PeerMacro.swift
[183/192] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[184/192] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[185/192] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[186/192] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[187/192] Emitting module SwiftSyntaxMacroExpansion
[188/192] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[189/192] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[190/192] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[191/199] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[192/199] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[193/199] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[194/199] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[195/199] Emitting module SwiftCompilerPluginMessageHandling
[196/199] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[197/199] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[198/201] Emitting module SwiftCompilerPlugin
[199/201] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[200/206] Compiling GlobalDependenciesMacros GlobalDependenciesMacros.swift
[201/206] Compiling GlobalDependenciesMacros DependencyMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/DependencyMacro.swift:113:16: warning: static property 'nonProtocolAttachee' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
111 |
112 | extension DiagnosticMessage {
113 | static let nonProtocolAttachee = DiagnosticMessage(
| |- warning: static property 'nonProtocolAttachee' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nonProtocolAttachee' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | message: "Dependency macro can only be applied to protocol declarations.",
115 | diagnosticID: "non-protocol-attachee"
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/GlobalDependenciesMacros.swift:92:8: note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
90 | }
91 |
92 | struct DiagnosticMessage: SwiftDiagnostics.DiagnosticMessage {
| `- note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
93 | init(message: String, diagnosticID: String) {
94 | self.message = message
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/DependencyMacro.swift:118:16: warning: static property 'defaultImplementationNotATypeIdentifier' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
116 | )
117 |
118 | static let defaultImplementationNotATypeIdentifier = DiagnosticMessage(
| |- warning: static property 'defaultImplementationNotATypeIdentifier' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultImplementationNotATypeIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | message: "Default implementation type parameter must be a concrete type identifier.",
120 | diagnosticID: "default-implementation-not-a-type"
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/GlobalDependenciesMacros.swift:92:8: note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
90 | }
91 |
92 | struct DiagnosticMessage: SwiftDiagnostics.DiagnosticMessage {
| `- note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
93 | init(message: String, diagnosticID: String) {
94 | self.message = message
[202/206] Compiling GlobalDependenciesMacros GlobalDependencyMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/GlobalDependencyMacro.swift:49:16: warning: static property 'nonProtocolImplementationParameter' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | extension DiagnosticMessage {
49 | static let nonProtocolImplementationParameter = DiagnosticMessage(
| |- warning: static property 'nonProtocolImplementationParameter' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nonProtocolImplementationParameter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | message: "Global dependency macro parameter can only be a protocol identifier.",
51 | diagnosticID: "non-protocol-implementation-parameter"
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/GlobalDependenciesMacros.swift:92:8: note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
90 | }
91 |
92 | struct DiagnosticMessage: SwiftDiagnostics.DiagnosticMessage {
| `- note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
93 | init(message: String, diagnosticID: String) {
94 | self.message = message
[203/206] Compiling GlobalDependenciesMacros InjectedDependenciesMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/InjectedDependenciesMacro.swift:94:16: warning: static property 'onlyProtocolIdentifiersAllowed' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
92 |
93 | extension DiagnosticMessage {
94 | static let onlyProtocolIdentifiersAllowed = DiagnosticMessage(
| |- warning: static property 'onlyProtocolIdentifiersAllowed' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'onlyProtocolIdentifiersAllowed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | message: "InjectedDependencies macro can only take protocol identifiers.",
96 | diagnosticID: "only-protocol-identifiers-allowed"
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/GlobalDependenciesMacros.swift:92:8: note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
90 | }
91 |
92 | struct DiagnosticMessage: SwiftDiagnostics.DiagnosticMessage {
| `- note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
93 | init(message: String, diagnosticID: String) {
94 | self.message = message
[204/206] Emitting module GlobalDependenciesMacros
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/DependencyMacro.swift:113:16: warning: static property 'nonProtocolAttachee' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
111 |
112 | extension DiagnosticMessage {
113 | static let nonProtocolAttachee = DiagnosticMessage(
| |- warning: static property 'nonProtocolAttachee' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nonProtocolAttachee' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | message: "Dependency macro can only be applied to protocol declarations.",
115 | diagnosticID: "non-protocol-attachee"
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/GlobalDependenciesMacros.swift:92:8: note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
90 | }
91 |
92 | struct DiagnosticMessage: SwiftDiagnostics.DiagnosticMessage {
| `- note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
93 | init(message: String, diagnosticID: String) {
94 | self.message = message
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/DependencyMacro.swift:118:16: warning: static property 'defaultImplementationNotATypeIdentifier' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
116 | )
117 |
118 | static let defaultImplementationNotATypeIdentifier = DiagnosticMessage(
| |- warning: static property 'defaultImplementationNotATypeIdentifier' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultImplementationNotATypeIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | message: "Default implementation type parameter must be a concrete type identifier.",
120 | diagnosticID: "default-implementation-not-a-type"
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/GlobalDependenciesMacros.swift:92:8: note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
90 | }
91 |
92 | struct DiagnosticMessage: SwiftDiagnostics.DiagnosticMessage {
| `- note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
93 | init(message: String, diagnosticID: String) {
94 | self.message = message
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/GlobalDependencyMacro.swift:49:16: warning: static property 'nonProtocolImplementationParameter' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | extension DiagnosticMessage {
49 | static let nonProtocolImplementationParameter = DiagnosticMessage(
| |- warning: static property 'nonProtocolImplementationParameter' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nonProtocolImplementationParameter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | message: "Global dependency macro parameter can only be a protocol identifier.",
51 | diagnosticID: "non-protocol-implementation-parameter"
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/GlobalDependenciesMacros.swift:92:8: note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
90 | }
91 |
92 | struct DiagnosticMessage: SwiftDiagnostics.DiagnosticMessage {
| `- note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
93 | init(message: String, diagnosticID: String) {
94 | self.message = message
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/InjectedDependenciesMacro.swift:94:16: warning: static property 'onlyProtocolIdentifiersAllowed' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
92 |
93 | extension DiagnosticMessage {
94 | static let onlyProtocolIdentifiersAllowed = DiagnosticMessage(
| |- warning: static property 'onlyProtocolIdentifiersAllowed' is not concurrency-safe because non-'Sendable' type 'DiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'onlyProtocolIdentifiersAllowed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | message: "InjectedDependencies macro can only take protocol identifiers.",
96 | diagnosticID: "only-protocol-identifiers-allowed"
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependenciesMacros/GlobalDependenciesMacros.swift:92:8: note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
90 | }
91 |
92 | struct DiagnosticMessage: SwiftDiagnostics.DiagnosticMessage {
| `- note: consider making struct 'DiagnosticMessage' conform to the 'Sendable' protocol
93 | init(message: String, diagnosticID: String) {
94 | self.message = message
[204/206] Write Objects.LinkFileList
[205/206] Linking GlobalDependenciesMacros-tool
[207/222] Emitting module GlobalDependencies
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependencies/GlobalDependencies.swift:27:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GlobalDependencies' may have shared mutable state; this is an error in the Swift 6 language mode
20 | don't have visibility to it.
21 | */
22 | public struct GlobalDependencies {
| `- note: consider making struct 'GlobalDependencies' conform to the 'Sendable' protocol
23 | /**
24 | The default environment singleton with no overrides. Use as a default parameter for dependency injection and to
25 | initialize root dependencies.
26 | */
27 | public static let `default` = GlobalDependencies()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GlobalDependencies' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /**
[208/222] Compiling GlobalDependencies Dependency.swift
[209/222] Compiling GlobalDependencies InjectedDependencies.swift
[210/222] Compiling GlobalDependencies Dependencies.swift
[211/222] Compiling GlobalDependencies InjectedDependencies.swift
[212/222] Compiling GlobalDependencies AccessControl.swift
[213/222] Compiling GlobalDependencies DependencyKey.swift
[214/222] Compiling GlobalDependencies GlobalDependencies.swift
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependencies/GlobalDependencies.swift:27:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GlobalDependencies' may have shared mutable state; this is an error in the Swift 6 language mode
20 | don't have visibility to it.
21 | */
22 | public struct GlobalDependencies {
| `- note: consider making struct 'GlobalDependencies' conform to the 'Sendable' protocol
23 | /**
24 | The default environment singleton with no overrides. Use as a default parameter for dependency injection and to
25 | initialize root dependencies.
26 | */
27 | public static let `default` = GlobalDependencies()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GlobalDependencies' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /**
[215/222] Compiling GlobalDependencies AccessControl.swift
[216/222] Compiling GlobalDependencies DependencyKey.swift
[217/222] Compiling GlobalDependencies DefaultDependencyValueFactory.swift
[218/222] Compiling GlobalDependencies Dependency.swift
[219/222] Compiling GlobalDependencies DefaultDependencyValueFactory.swift
[220/222] Compiling GlobalDependencies Dependencies.swift
[221/222] Emitting module GlobalDependencies
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependencies/GlobalDependencies.swift:27:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GlobalDependencies' may have shared mutable state; this is an error in the Swift 6 language mode
20 | don't have visibility to it.
21 | */
22 | public struct GlobalDependencies {
| `- note: consider making struct 'GlobalDependencies' conform to the 'Sendable' protocol
23 | /**
24 | The default environment singleton with no overrides. Use as a default parameter for dependency injection and to
25 | initialize root dependencies.
26 | */
27 | public static let `default` = GlobalDependencies()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GlobalDependencies' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /**
[222/222] Compiling GlobalDependencies GlobalDependencies.swift
/Users/admin/builder/spi-builder-workspace/Sources/GlobalDependencies/GlobalDependencies.swift:27:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GlobalDependencies' may have shared mutable state; this is an error in the Swift 6 language mode
20 | don't have visibility to it.
21 | */
22 | public struct GlobalDependencies {
| `- note: consider making struct 'GlobalDependencies' conform to the 'Sendable' protocol
23 | /**
24 | The default environment singleton with no overrides. Use as a default parameter for dependency injection and to
25 | initialize root dependencies.
26 | */
27 | public static let `default` = GlobalDependencies()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GlobalDependencies' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /**
Build complete! (42.37s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "510.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "GlobalDependencies",
"name" : "GlobalDependencies",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "GlobalDependencies",
"targets" : [
"GlobalDependencies"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GlobalDependenciesMacros",
"targets" : [
"GlobalDependenciesMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "GlobalDependenciesTests",
"module_type" : "SwiftTarget",
"name" : "GlobalDependenciesTests",
"path" : "Tests/GlobalDependenciesTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"DependencyMacroTests.swift",
"GlobalDependenciesTests.swift",
"GlobalDependencyMacroTests.swift",
"InjectedDependenciesMacroTests.swift",
"TLAService.swift",
"TestComponent.swift",
"TestService.swift"
],
"target_dependencies" : [
"GlobalDependencies",
"GlobalDependenciesMacros"
],
"type" : "test"
},
{
"c99name" : "GlobalDependenciesMacros",
"module_type" : "SwiftTarget",
"name" : "GlobalDependenciesMacros",
"path" : "Sources/GlobalDependenciesMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"GlobalDependencies",
"GlobalDependenciesMacros"
],
"sources" : [
"DependencyMacro.swift",
"GlobalDependenciesMacros.swift",
"GlobalDependencyMacro.swift",
"InjectedDependenciesMacro.swift"
],
"type" : "macro"
},
{
"c99name" : "GlobalDependencies",
"module_type" : "SwiftTarget",
"name" : "GlobalDependencies",
"path" : "Sources/GlobalDependencies",
"product_memberships" : [
"GlobalDependencies"
],
"sources" : [
"AccessControl.swift",
"DefaultDependencyValueFactory.swift",
"Dependencies.swift",
"Dependency.swift",
"DependencyKey.swift",
"GlobalDependencies.swift",
"InjectedDependencies.swift"
],
"target_dependencies" : [
"GlobalDependenciesMacros"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.