Build Information
Failed to build UserDefaultMacro, reference main (fc8b1c
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 19:24:38 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maniramezan/UserDefaultMacro
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fc8b1c9 Adopt tuple renamed (#7)
Cloned https://github.com/maniramezan/UserDefaultMacro.git
Revision (git rev-parse @):
fc8b1c9fab46f57660cf609e64b4d48fdcba0036
SUCCESS checkout https://github.com/maniramezan/UserDefaultMacro.git at main
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-syntax.git
[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 (3.50s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (3.50s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.50s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (3.32s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.1 (0.75s)
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.76s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.81s)
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/maniramezan/UserDefaultMacro.git
Working copy of https://github.com/maniramezan/UserDefaultMacro.git resolved at main (fc8b1c9)
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
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
[4/24] Write UserDefaultClient-entitlement.plist
[7/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 MemoryLayout.swift
[23/72] Compiling SwiftSyntax MissingNodeInitializers.swift
[24/72] Compiling SwiftSyntax RawSyntax.swift
[25/72] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[26/72] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[27/72] Compiling SwiftSyntax RawSyntaxTokenView.swift
[28/72] Compiling SwiftSyntax SourceLength.swift
[29/72] Compiling SwiftSyntax SourceLocation.swift
[30/72] Compiling SwiftSyntax SourcePresence.swift
[31/72] Compiling SwiftSyntax SwiftSyntaxCompatibility.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] Compiling SwiftSyntax Syntax.swift
[38/77] Compiling SwiftSyntax SyntaxArena.swift
[39/77] Compiling SwiftSyntax SyntaxChildren.swift
[40/77] Compiling SwiftSyntax SyntaxCollection.swift
[41/77] Compiling SwiftSyntax SyntaxData.swift
[42/77] Emitting module SwiftSyntax
[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 SyntaxAnyVisitor.swift
[49/77] Compiling SwiftSyntax SyntaxBaseNodes.swift
[50/77] Compiling SwiftSyntax SyntaxCollections.swift
[51/77] Compiling SwiftSyntax SyntaxEnum.swift
[52/77] Compiling SwiftSyntax SyntaxKind.swift
[53/77] Compiling SwiftSyntax Tokens.swift
[54/77] Compiling SwiftSyntax TriviaPieces.swift
[55/77] Compiling SwiftSyntax RawSyntaxNodes.swift
[56/77] Compiling SwiftSyntax RawSyntaxValidation.swift
[57/77] Compiling SwiftSyntax SyntaxDeclNodes.swift
[58/77] Compiling SwiftSyntax SyntaxRewriter.swift
[59/77] Compiling SwiftSyntax SyntaxTraits.swift
[60/77] Compiling SwiftSyntax SyntaxTransform.swift
[61/77] Compiling SwiftSyntax SyntaxVisitor.swift
[62/77] Compiling SwiftSyntax TokenKind.swift
[63/77] Compiling SwiftSyntax AbsolutePosition.swift
[64/77] Compiling SwiftSyntax Assert.swift
[65/77] Compiling SwiftSyntax BumpPtrAllocator.swift
[66/77] Compiling SwiftSyntax CommonAncestor.swift
[67/77] Compiling SwiftSyntax Convenience.swift
[68/77] Compiling SwiftSyntax SyntaxExprNodes.swift
[69/77] Compiling SwiftSyntax SyntaxNodes.swift
[70/77] Compiling SwiftSyntax SyntaxPatternNodes.swift
[71/77] Compiling SwiftSyntax SyntaxStmtNodes.swift
[72/77] Compiling SwiftSyntax SyntaxTypeNodes.swift
[73/129] Compiling SwiftDiagnostics Note.swift
[74/129] Compiling SwiftDiagnostics Message.swift
[75/129] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[76/129] Compiling SwiftBasicFormat Syntax+Extensions.swift
[77/129] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[78/129] Compiling SwiftDiagnostics FixIt.swift
[79/129] Emitting module SwiftDiagnostics
[80/129] Compiling SwiftDiagnostics Diagnostic.swift
[81/129] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[82/129] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[83/129] Compiling SwiftDiagnostics Convenience.swift
[84/129] Compiling SwiftParser SyntaxUtils.swift
[85/129] Compiling SwiftParser TokenConsumer.swift
[86/129] Compiling SwiftParser TokenPrecedence.swift
[87/129] Compiling SwiftParser TokenSpec.swift
[88/133] Emitting module SwiftBasicFormat
[89/133] Compiling SwiftBasicFormat BasicFormat.swift
[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 TokenSpecSet.swift
[99/133] Compiling SwiftParser TopLevel.swift
[100/133] Compiling SwiftParser TriviaParser.swift
[101/133] Compiling SwiftParser Types.swift
[102/133] Compiling SwiftParser UnicodeScalarExtensions.swift
[103/133] Compiling SwiftParser Lookahead.swift
[104/133] Compiling SwiftParser LoopProgressCondition.swift
[105/133] Compiling SwiftParser Modifiers.swift
[106/133] Compiling SwiftParser Attributes.swift
[107/133] Compiling SwiftParser Availability.swift
[108/133] Compiling SwiftParser CharacterInfo.swift
[109/133] Compiling SwiftParser CollectionNodes+Parsable.swift
[110/133] Compiling SwiftParser Declarations.swift
[111/133] Compiling SwiftParser IsLexerClassified.swift
[112/133] Compiling SwiftParser LayoutNodes+Parsable.swift
[113/133] Compiling SwiftParser Parser+TokenSpecSet.swift
[114/133] Compiling SwiftParser TokenSpecStaticMembers.swift
[115/133] Emitting module SwiftParser
[116/133] Compiling SwiftParser Parser.swift
[117/133] Compiling SwiftParser Patterns.swift
[118/133] Compiling SwiftParser Recovery.swift
[119/133] Compiling SwiftParser Specifiers.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 SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[130/157] Compiling SwiftParserDiagnostics Utils.swift
[131/157] Compiling SwiftOperators PrecedenceGroup.swift
[132/158] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[133/158] Compiling SwiftOperators PrecedenceGraph.swift
[134/158] Compiling SwiftOperators OperatorTable.swift
[135/158] Compiling SwiftOperators SyntaxSynthesis.swift
[136/158] Compiling SwiftOperators OperatorTable+Semantics.swift
[137/158] Compiling SwiftOperators OperatorTable+Defaults.swift
[138/158] Compiling SwiftOperators OperatorError.swift
[139/158] Compiling SwiftOperators OperatorError+Diagnostics.swift
[140/158] Compiling SwiftOperators Operator.swift
[141/158] Emitting module SwiftOperators
[142/158] Compiling SwiftOperators OperatorTable+Folding.swift
[143/158] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[144/158] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[145/158] Compiling SwiftParserDiagnostics PresenceUtils.swift
[146/158] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[147/158] Compiling SwiftParserDiagnostics MissingNodesError.swift
[148/158] Compiling SwiftParserDiagnostics MissingTokenError.swift
[149/158] Emitting module SwiftParserDiagnostics
[150/158] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[151/158] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[152/158] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[153/158] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[154/172] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[155/172] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[156/173] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[157/173] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[158/173] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[159/173] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[160/173] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[161/173] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[162/173] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[163/173] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[164/173] Emitting module SwiftSyntaxBuilder
[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 CodeItemMacro.swift
[170/187] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[171/188] Compiling SwiftSyntaxMacros Macro+Format.swift
[172/188] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[173/188] Compiling SwiftSyntaxMacros MemberMacro.swift
[174/188] Compiling SwiftSyntaxMacros Macro.swift
[175/188] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[176/188] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[177/188] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[178/188] Compiling SwiftSyntaxMacros AccessorMacro.swift
[179/188] Compiling SwiftSyntaxMacros AttachedMacro.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 MacroReplacement.swift
[185/196] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[186/196] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[187/196] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[188/196] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[189/196] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[190/196] Emitting module SwiftSyntaxMacroExpansion
[191/196] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[192/203] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[193/203] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[194/203] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[195/203] Emitting module SwiftCompilerPluginMessageHandling
[196/203] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[197/203] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[198/203] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[199/205] Emitting module SwiftCompilerPlugin
[200/205] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[201/218] Compiling UserDefaultMacro UserDefaultPropertyMacro.swift
[202/218] Compiling UserDefaultMacro UserDefaultsType.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 AccessLevel.swift
[207/219] Compiling UserDefaultMacro UserDefaultPlugin.swift
[208/219] Compiling UserDefaultMacro LabelExprElementListSyntax+Extensions.swift
[209/219] Compiling UserDefaultMacro String+Extensions.swift
[210/219] Compiling UserDefaultMacro AccessorMacro+Extensions.swift
[211/219] Compiling UserDefaultMacro AttributeListSyntax+Extensions.swift
[212/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,
[213/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 |
[214/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 |
[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