Build Information
Failed to build UserDefaultMacro, reference main (fc8b1c
), with Swift 6.0 for Linux on 3 Nov 2024 19:18:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /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/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/maniramezan/UserDefaultMacro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-syntax.git
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.83s)
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (8.08s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.26s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.00s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.08s)
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/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.4.3
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/37] Write sources
[17/37] Write swift-version-24593BA9C3E375BF.txt
[19/39] Emitting module SwiftSyntax509
[20/39] Compiling SwiftSyntax509 Empty.swift
[21/40] Wrapping AST for SwiftSyntax509 for debugging
[23/85] Compiling SwiftSyntax RawSyntax.swift
[24/85] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[25/85] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[26/85] Compiling SwiftSyntax RawSyntaxTokenView.swift
[27/85] Compiling SwiftSyntax SourceLength.swift
[28/85] Compiling SwiftSyntax SourceLocation.swift
[29/85] Compiling SwiftSyntax SourcePresence.swift
[30/85] Compiling SwiftSyntax AbsolutePosition.swift
[31/85] Compiling SwiftSyntax Assert.swift
[32/85] Compiling SwiftSyntax BumpPtrAllocator.swift
[33/85] Compiling SwiftSyntax CommonAncestor.swift
[34/85] Compiling SwiftSyntax Convenience.swift
[35/85] Compiling SwiftSyntax MemoryLayout.swift
[36/85] Compiling SwiftSyntax MissingNodeInitializers.swift
[37/91] Emitting module SwiftSyntax
[38/91] Compiling SwiftSyntax SyntaxText.swift
[39/91] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[40/91] Compiling SwiftSyntax TokenDiagnostic.swift
[41/91] Compiling SwiftSyntax TokenSyntax.swift
[42/91] Compiling SwiftSyntax Trivia.swift
[43/91] Compiling SwiftSyntax Utils.swift
[44/91] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[45/91] Compiling SwiftSyntax Syntax.swift
[46/91] Compiling SwiftSyntax SyntaxArena.swift
[47/91] Compiling SwiftSyntax SyntaxChildren.swift
[48/91] Compiling SwiftSyntax SyntaxCollection.swift
[49/91] Compiling SwiftSyntax SyntaxData.swift
[50/91] Compiling SwiftSyntax SyntaxDeclNodes.swift
[51/91] Compiling SwiftSyntax SyntaxExprNodes.swift
[52/91] Compiling SwiftSyntax SyntaxNodes.swift
[53/91] Compiling SwiftSyntax SyntaxPatternNodes.swift
[54/91] Compiling SwiftSyntax SyntaxStmtNodes.swift
[55/91] Compiling SwiftSyntax SyntaxTypeNodes.swift
[56/91] Compiling SwiftSyntax SyntaxVisitor.swift
[57/91] Compiling SwiftSyntax TokenKind.swift
[58/91] Compiling SwiftSyntax Tokens.swift
[59/91] Compiling SwiftSyntax TriviaPieces.swift
[60/91] Compiling SwiftSyntax RawSyntaxNodes.swift
[61/91] Compiling SwiftSyntax RawSyntaxValidation.swift
[62/91] Compiling SwiftSyntax SyntaxCollections.swift
[63/91] Compiling SwiftSyntax SyntaxEnum.swift
[64/91] Compiling SwiftSyntax SyntaxKind.swift
[65/91] Compiling SwiftSyntax SyntaxRewriter.swift
[66/91] Compiling SwiftSyntax SyntaxTraits.swift
[67/91] Compiling SwiftSyntax SyntaxTransform.swift
[68/91] Compiling SwiftSyntax ChildNameForKeyPath.swift
[69/91] Compiling SwiftSyntax Keyword.swift
[70/91] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[71/91] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[72/91] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[73/91] Compiling SwiftSyntax SyntaxBaseNodes.swift
[74/92] Wrapping AST for SwiftSyntax for debugging
[76/143] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[77/143] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[78/143] Compiling SwiftDiagnostics Message.swift
[79/143] Compiling SwiftDiagnostics Note.swift
[80/143] Compiling SwiftBasicFormat Syntax+Extensions.swift
[81/143] Emitting module SwiftDiagnostics
[82/143] Compiling SwiftDiagnostics FixIt.swift
[83/143] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[84/143] Compiling SwiftDiagnostics Diagnostic.swift
[85/143] Compiling SwiftDiagnostics Convenience.swift
[86/143] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[87/144] Wrapping AST for SwiftDiagnostics for debugging
[89/144] Emitting module SwiftBasicFormat
[90/144] Compiling SwiftBasicFormat BasicFormat.swift
[91/145] Wrapping AST for SwiftBasicFormat for debugging
[93/145] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[94/145] Compiling SwiftParser StringLiterals.swift
[95/145] Compiling SwiftParser SwiftParserCompatibility.swift
[96/145] Compiling SwiftParser SyntaxUtils.swift
[97/145] Compiling SwiftParser TokenConsumer.swift
[98/150] Compiling SwiftParser Lexer.swift
[99/150] Compiling SwiftParser RegexLiteralLexer.swift
[100/150] Compiling SwiftParser UnicodeScalarExtensions.swift
[101/150] Compiling SwiftParser Lookahead.swift
[102/150] Compiling SwiftParser LoopProgressCondition.swift
[103/150] Compiling SwiftParser TokenPrecedence.swift
[104/150] Compiling SwiftParser TokenSpec.swift
[105/150] Compiling SwiftParser TokenSpecSet.swift
[106/150] Compiling SwiftParser TopLevel.swift
[107/150] Compiling SwiftParser TriviaParser.swift
[108/150] Compiling SwiftParser Modifiers.swift
[109/150] Compiling SwiftParser Names.swift
[110/150] Compiling SwiftParser Nominals.swift
[111/150] Compiling SwiftParser Parameters.swift
[112/150] Compiling SwiftParser ParseSourceFile.swift
[113/150] Compiling SwiftParser Parser.swift
[114/150] Compiling SwiftParser Patterns.swift
[115/150] Compiling SwiftParser Recovery.swift
[116/150] Compiling SwiftParser Specifiers.swift
[117/150] Compiling SwiftParser Statements.swift
[118/150] Compiling SwiftParser ExperimentalFeatures.swift
[119/150] Compiling SwiftParser Expressions.swift
[120/150] Compiling SwiftParser IncrementalParseTransition.swift
[121/150] Compiling SwiftParser Cursor.swift
[122/150] Compiling SwiftParser Lexeme.swift
[123/150] Compiling SwiftParser LexemeSequence.swift
[124/150] Emitting module SwiftParser
[125/150] Compiling SwiftParser Attributes.swift
[126/150] Compiling SwiftParser Availability.swift
[127/150] Compiling SwiftParser CharacterInfo.swift
[128/150] Compiling SwiftParser CollectionNodes+Parsable.swift
[129/150] Compiling SwiftParser Declarations.swift
[130/150] Compiling SwiftParser Directives.swift
[131/150] Compiling SwiftParser Types.swift
[132/150] Compiling SwiftParser IsLexerClassified.swift
[133/150] Compiling SwiftParser LayoutNodes+Parsable.swift
[134/150] Compiling SwiftParser Parser+TokenSpecSet.swift
[135/150] Compiling SwiftParser TokenSpecStaticMembers.swift
[136/151] Wrapping AST for SwiftParser for debugging
[138/174] Compiling SwiftOperators OperatorTable.swift
[139/175] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[140/176] Compiling SwiftOperators PrecedenceGraph.swift
[141/176] Compiling SwiftOperators PrecedenceGroup.swift
[142/176] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[143/176] Compiling SwiftOperators SyntaxSynthesis.swift
[144/176] Compiling SwiftOperators OperatorTable+Semantics.swift
[145/176] Compiling SwiftParserDiagnostics MissingNodesError.swift
[146/176] Compiling SwiftParserDiagnostics MissingTokenError.swift
[147/176] Compiling SwiftOperators OperatorTable+Folding.swift
[148/176] Emitting module SwiftOperators
[149/176] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[150/176] Compiling SwiftParserDiagnostics PresenceUtils.swift
[152/177] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[153/177] Compiling SwiftParserDiagnostics Utils.swift
[154/177] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[155/177] Emitting module SwiftParserDiagnostics
[155/177] Wrapping AST for SwiftOperators for debugging
[159/177] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[160/177] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[163/177] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[164/177] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[165/178] Wrapping AST for SwiftParserDiagnostics for debugging
[167/192] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[168/192] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[169/192] Emitting module SwiftSyntaxBuilder
[170/193] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[171/193] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[172/193] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[173/193] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[174/193] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[175/193] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[176/193] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[177/193] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[178/193] Compiling SwiftSyntaxBuilder Indenter.swift
[179/193] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[180/193] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[181/193] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[182/194] Wrapping AST for SwiftSyntaxBuilder for debugging
[184/208] Compiling SwiftSyntaxMacros MemberMacro.swift
[185/208] Compiling SwiftSyntaxMacros Macro.swift
[186/208] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[187/209] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[188/209] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[189/209] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[190/209] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[191/209] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[192/209] Compiling SwiftSyntaxMacros Macro+Format.swift
[193/209] Compiling SwiftSyntaxMacros AccessorMacro.swift
[194/209] Compiling SwiftSyntaxMacros AttachedMacro.swift
[195/209] Compiling SwiftSyntaxMacros PeerMacro.swift
[196/209] Emitting module SwiftSyntaxMacros
[197/209] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[198/209] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[199/210] Wrapping AST for SwiftSyntaxMacros for debugging
[201/218] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[202/218] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[203/218] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[204/218] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[205/218] Emitting module SwiftSyntaxMacroExpansion
[206/218] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[207/218] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[208/218] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[209/219] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[211/226] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[212/226] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[213/226] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[214/226] Emitting module SwiftCompilerPluginMessageHandling
[215/226] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[216/226] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[217/226] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[218/227] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[220/229] Emitting module SwiftCompilerPlugin
[221/229] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[222/230] Wrapping AST for SwiftCompilerPlugin for debugging
[224/243] Compiling UserDefaultMacro UserDefaultsType.swift
[225/243] Compiling UserDefaultMacro UserDefaultPropertyMacro.swift
[226/243] Compiling UserDefaultMacro UserDefaultRecordMacro.swift
[227/244] Compiling UserDefaultMacro AccessLevel.swift
[228/244] Compiling UserDefaultMacro UserDefaultMacroError.swift
[229/244] Compiling UserDefaultMacro VariableType.swift
/host/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,
[230/244] Compiling UserDefaultMacro UserDefaultPlugin.swift
[231/244] Compiling UserDefaultMacro LabelExprElementListSyntax+Extensions.swift
[232/244] Compiling UserDefaultMacro String+Extensions.swift
[233/244] Compiling UserDefaultMacro AccessorMacro+Extensions.swift
[234/244] Compiling UserDefaultMacro AttributeListSyntax+Extensions.swift
[235/244] Emitting module UserDefaultMacro
/host/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 |
/host/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,
[236/244] Compiling UserDefaultMacro UserDefaults+Extensions.swift
/host/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 |
[237/244] Compiling UserDefaultMacro UserDefaultDataStoreMacro.swift
/host/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 |
[238/245] Wrapping AST for UserDefaultMacro for debugging
[239/245] Write Objects.LinkFileList
[240/245] Linking UserDefaultMacro-tool
error: emit-module command failed with exit code 1 (use -v to see invocation)
[242/247] Emitting module UserDefault
/host/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``
[243/247] Compiling UserDefault UserDefault.swift
/host/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 linux