Build Information
Failed to build UserDefaultMacro, reference 1.0.0 (aae47f
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 19:27:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maniramezan/UserDefaultMacro.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maniramezan/UserDefaultMacro
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at aae47fb Update SwiftSyntax to non-beta version (#5)
Cloned https://github.com/maniramezan/UserDefaultMacro.git
Revision (git rev-parse @):
aae47fb0fca5bbee12d0a438bee13a951ecc5941
SUCCESS checkout https://github.com/maniramezan/UserDefaultMacro.git at 1.0.0
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2038] Fetching swift-docc-plugin
[226/5191] Fetching swift-docc-plugin, swift-docc-symbolkit
[5192/71590] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (4.65s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (4.65s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.65s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (3.30s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.1 (0.76s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.68s)
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-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-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.1
========================================
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": "userdefaultmacro",
"name": "UserDefaultMacro",
"url": "https://github.com/maniramezan/UserDefaultMacro.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UserDefaultMacro",
"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/maniramezan/UserDefaultMacro.git
[1/173] Fetching userdefaultmacro
Fetched https://github.com/maniramezan/UserDefaultMacro.git from cache (0.74s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.84s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.03s)
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
Creating working copy for https://github.com/maniramezan/UserDefaultMacro.git
Working copy of https://github.com/maniramezan/UserDefaultMacro.git resolved at 1.0.0 (aae47fb)
Found 1 product dependencies
- swift-syntax
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/maniramezan/UserDefaultMacro.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/24] Write sources
[3/24] Write UserDefaultClient-entitlement.plist
[4/24] Write sources
[18/24] Write swift-version--7754E27361AE5C74.txt
[20/26] Compiling SwiftSyntax509 Empty.swift
[21/26] Emitting module SwiftSyntax509
[22/72] Compiling SwiftSyntax AbsolutePosition.swift
[23/72] Compiling SwiftSyntax Assert.swift
[24/72] Compiling SwiftSyntax BumpPtrAllocator.swift
[25/72] Compiling SwiftSyntax CommonAncestor.swift
[26/72] Compiling SwiftSyntax Convenience.swift
[27/77] Compiling SwiftSyntax MemoryLayout.swift
[28/77] Compiling SwiftSyntax MissingNodeInitializers.swift
[29/77] Compiling SwiftSyntax RawSyntax.swift
[30/77] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[31/77] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[32/77] Compiling SwiftSyntax SyntaxText.swift
[33/77] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[34/77] Compiling SwiftSyntax TokenDiagnostic.swift
[35/77] Compiling SwiftSyntax TokenSyntax.swift
[36/77] Compiling SwiftSyntax Trivia.swift
[37/77] Emitting module SwiftSyntax
[38/77] Compiling SwiftSyntax Syntax.swift
[39/77] Compiling SwiftSyntax SyntaxArena.swift
[40/77] Compiling SwiftSyntax SyntaxChildren.swift
[41/77] Compiling SwiftSyntax SyntaxCollection.swift
[42/77] Compiling SwiftSyntax SyntaxData.swift
[43/77] Compiling SwiftSyntax Utils.swift
[44/77] Compiling SwiftSyntax ChildNameForKeyPath.swift
[45/77] Compiling SwiftSyntax Keyword.swift
[46/77] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[47/77] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[48/77] Compiling SwiftSyntax Tokens.swift
[49/77] Compiling SwiftSyntax TriviaPieces.swift
[50/77] Compiling SwiftSyntax RawSyntaxNodes.swift
[51/77] Compiling SwiftSyntax RawSyntaxValidation.swift
[52/77] Compiling SwiftSyntax SyntaxDeclNodes.swift
[53/77] Compiling SwiftSyntax SyntaxExprNodes.swift
[54/77] Compiling SwiftSyntax SyntaxNodes.swift
[55/77] Compiling SwiftSyntax SyntaxPatternNodes.swift
[56/77] Compiling SwiftSyntax SyntaxStmtNodes.swift
[57/77] Compiling SwiftSyntax SyntaxTypeNodes.swift
[58/77] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[59/77] Compiling SwiftSyntax SyntaxBaseNodes.swift
[60/77] Compiling SwiftSyntax SyntaxCollections.swift
[61/77] Compiling SwiftSyntax SyntaxEnum.swift
[62/77] Compiling SwiftSyntax SyntaxKind.swift
[63/77] Compiling SwiftSyntax RawSyntaxTokenView.swift
[64/77] Compiling SwiftSyntax SourceLength.swift
[65/77] Compiling SwiftSyntax SourceLocation.swift
[66/77] Compiling SwiftSyntax SourcePresence.swift
[67/77] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[68/77] Compiling SwiftSyntax SyntaxRewriter.swift
[69/77] Compiling SwiftSyntax SyntaxTraits.swift
[70/77] Compiling SwiftSyntax SyntaxTransform.swift
[71/77] Compiling SwiftSyntax SyntaxVisitor.swift
[72/77] Compiling SwiftSyntax TokenKind.swift
[73/129] Compiling SwiftDiagnostics Convenience.swift
[74/129] Compiling SwiftDiagnostics Note.swift
[75/129] Compiling SwiftDiagnostics Message.swift
[76/129] Emitting module SwiftDiagnostics
[77/129] Compiling SwiftDiagnostics FixIt.swift
[78/129] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[79/129] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[80/129] Compiling SwiftDiagnostics Diagnostic.swift
[81/129] Compiling SwiftParser SyntaxUtils.swift
[82/129] Compiling SwiftParser TokenConsumer.swift
[83/129] Compiling SwiftParser TokenPrecedence.swift
[84/129] Compiling SwiftParser TokenSpec.swift
[85/133] Compiling SwiftBasicFormat Syntax+Extensions.swift
[86/133] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[87/133] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[88/133] Compiling SwiftBasicFormat BasicFormat.swift
[89/133] Emitting module SwiftBasicFormat
[90/133] Compiling SwiftParser Lexeme.swift
[91/133] Compiling SwiftParser LexemeSequence.swift
[92/133] Compiling SwiftParser Lexer.swift
[93/133] Compiling SwiftParser RegexLiteralLexer.swift
[94/133] Compiling SwiftParser Statements.swift
[95/133] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[96/133] Compiling SwiftParser StringLiterals.swift
[97/133] Compiling SwiftParser SwiftParserCompatibility.swift
[98/133] Compiling SwiftParser UnicodeScalarExtensions.swift
[99/133] Compiling SwiftParser Lookahead.swift
[100/133] Compiling SwiftParser LoopProgressCondition.swift
[101/133] Compiling SwiftParser Modifiers.swift
[102/133] Compiling SwiftParser Parser.swift
[103/133] Compiling SwiftParser Patterns.swift
[104/133] Compiling SwiftParser Recovery.swift
[105/133] Compiling SwiftParser Specifiers.swift
[106/133] Compiling SwiftParser TokenSpecSet.swift
[107/133] Compiling SwiftParser TopLevel.swift
[108/133] Compiling SwiftParser TriviaParser.swift
[109/133] Compiling SwiftParser Types.swift
[110/133] Compiling SwiftParser Attributes.swift
[111/133] Compiling SwiftParser Availability.swift
[112/133] Compiling SwiftParser CharacterInfo.swift
[113/133] Compiling SwiftParser CollectionNodes+Parsable.swift
[114/133] Compiling SwiftParser Declarations.swift
[115/133] Emitting module SwiftParser
[116/133] Compiling SwiftParser IsLexerClassified.swift
[117/133] Compiling SwiftParser LayoutNodes+Parsable.swift
[118/133] Compiling SwiftParser Parser+TokenSpecSet.swift
[119/133] Compiling SwiftParser TokenSpecStaticMembers.swift
[120/133] Compiling SwiftParser Names.swift
[121/133] Compiling SwiftParser Nominals.swift
[122/133] Compiling SwiftParser Parameters.swift
[123/133] Compiling SwiftParser ParseSourceFile.swift
[124/133] Compiling SwiftParser Directives.swift
[125/133] Compiling SwiftParser ExperimentalFeatures.swift
[126/133] Compiling SwiftParser Expressions.swift
[127/133] Compiling SwiftParser IncrementalParseTransition.swift
[128/133] Compiling SwiftParser Cursor.swift
[129/156] Compiling SwiftOperators PrecedenceGroup.swift
[130/156] Compiling SwiftOperators PrecedenceGraph.swift
[131/157] Compiling SwiftOperators OperatorTable.swift
[132/157] Compiling SwiftOperators SyntaxSynthesis.swift
[133/157] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[134/158] Compiling SwiftOperators OperatorTable+Semantics.swift
[135/158] Compiling SwiftOperators OperatorTable+Defaults.swift
[136/158] Compiling SwiftOperators OperatorError.swift
[137/158] Compiling SwiftOperators OperatorTable+Folding.swift
[138/158] Compiling SwiftOperators Operator.swift
[139/158] Compiling SwiftOperators OperatorError+Diagnostics.swift
[140/158] Emitting module SwiftOperators
[141/158] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[142/158] Compiling SwiftParserDiagnostics PresenceUtils.swift
[143/158] Compiling SwiftParserDiagnostics Utils.swift
[144/158] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[145/158] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[146/158] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[147/158] Emitting module SwiftParserDiagnostics
[148/158] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[149/158] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[150/158] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[151/158] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[152/158] Compiling SwiftParserDiagnostics MissingNodesError.swift
[153/158] Compiling SwiftParserDiagnostics MissingTokenError.swift
[154/172] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[155/173] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[156/173] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[157/173] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[158/173] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[159/173] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[160/173] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[161/173] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[162/173] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[163/173] Emitting module SwiftSyntaxBuilder
[164/173] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[165/173] Compiling SwiftSyntaxBuilder Indenter.swift
[166/173] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[167/173] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[168/173] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[169/187] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[170/187] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[171/188] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[172/188] Compiling SwiftSyntaxMacros Macro.swift
[173/188] Compiling SwiftSyntaxMacros MemberMacro.swift
[174/188] Compiling SwiftSyntaxMacros AccessorMacro.swift
[175/188] Compiling SwiftSyntaxMacros AttachedMacro.swift
[176/188] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[177/188] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[178/188] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[179/188] Compiling SwiftSyntaxMacros Macro+Format.swift
[180/188] Emitting module SwiftSyntaxMacros
[181/188] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[182/188] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[183/188] Compiling SwiftSyntaxMacros PeerMacro.swift
[184/196] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[185/196] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[186/196] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[187/196] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[188/196] Emitting module SwiftSyntaxMacroExpansion
[189/196] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[190/196] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[191/196] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[192/203] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[193/203] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[194/203] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[195/203] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[196/203] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[197/203] Emitting module SwiftCompilerPluginMessageHandling
[198/203] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[199/205] Emitting module SwiftCompilerPlugin
[200/205] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[201/218] Compiling UserDefaultMacro UserDefaultsType.swift
[202/219] Compiling UserDefaultMacro AccessLevel.swift
[203/219] Compiling UserDefaultMacro UserDefaultRecordMacro.swift
[204/219] Compiling UserDefaultMacro UserDefaultMacroError.swift
[205/219] Compiling UserDefaultMacro VariableType.swift
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultMacro/Models/VariableType.swift:4:16: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | indirect enum VariableType: CaseIterable {
4 | static var allCases: [VariableType] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | .int,
6 | .double,
[206/219] Compiling UserDefaultMacro UserDefaultPropertyMacro.swift
[207/219] Compiling UserDefaultMacro UserDefaultPlugin.swift
[208/219] Compiling UserDefaultMacro String+Extensions.swift
[209/219] Compiling UserDefaultMacro TupleExprElementListSyntax+Extensions.swift
[210/219] Compiling UserDefaultMacro UserDefaults+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultMacro/Extensions/UserDefaults+Extensions.swift:46:16: warning: static property 'standardName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | static let standardFullName: Name = standardName.asFullName
45 |
46 | static var standardName: Name = .shorten("standard")
| |- warning: static property 'standardName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
[211/219] Compiling UserDefaultMacro UserDefaultDataStoreMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultMacro/Extensions/UserDefaults+Extensions.swift:46:16: warning: static property 'standardName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | static let standardFullName: Name = standardName.asFullName
45 |
46 | static var standardName: Name = .shorten("standard")
| |- warning: static property 'standardName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
[212/219] Compiling UserDefaultMacro AccessorMacro+Extensions.swift
[213/219] Compiling UserDefaultMacro AttributeListSyntax+Extensions.swift
[214/219] Emitting module UserDefaultMacro
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultMacro/Extensions/UserDefaults+Extensions.swift:46:16: warning: static property 'standardName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | static let standardFullName: Name = standardName.asFullName
45 |
46 | static var standardName: Name = .shorten("standard")
| |- warning: static property 'standardName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/UserDefaultMacro/Models/VariableType.swift:4:16: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | indirect enum VariableType: CaseIterable {
4 | static var allCases: [VariableType] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | .int,
6 | .double,
[214/219] Write Objects.LinkFileList
[215/219] Linking UserDefaultMacro-tool
error: emit-module command failed with exit code 1 (use -v to see invocation)
[217/221] Emitting module UserDefault
/Users/admin/builder/spi-builder-workspace/Sources/UserDefault/UserDefault.swift:2:8: error: no such module 'UserDefaultMacro'
1 | import Foundation
2 | import UserDefaultMacro
| `- error: no such module 'UserDefaultMacro'
3 |
4 | /// # ``UserDefaultMacro``
[218/221] Compiling UserDefault UserDefault.swift
/Users/admin/builder/spi-builder-workspace/Sources/UserDefault/UserDefault.swift:2:8: error: no such module 'UserDefaultMacro'
1 | import Foundation
2 | import UserDefaultMacro
| `- error: no such module 'UserDefaultMacro'
3 |
4 | /// # ``UserDefaultMacro``
note: module 'UserDefaultMacro' is a macro, and cannot be imported by tests and other targets
note: module 'UserDefaultMacro' is a macro, and cannot be imported by tests and other targets
BUILD FAILURE 6.0 macosSpm