Build Information
Failed to build UserDefaultMacro, reference 1.0.0 (aae47f
), with Swift 6.0 for Linux on 3 Nov 2024 19:17:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 1.0.0
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
* 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
========================================
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-4609320-0":/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.34s)
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.60s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.91s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.44s)
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.32s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.46s)
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
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
[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 AbsolutePosition.swift
[24/85] Compiling SwiftSyntax Assert.swift
[25/85] Compiling SwiftSyntax BumpPtrAllocator.swift
[26/85] Compiling SwiftSyntax CommonAncestor.swift
[27/85] Compiling SwiftSyntax Convenience.swift
[28/85] Compiling SwiftSyntax MemoryLayout.swift
[29/85] Compiling SwiftSyntax MissingNodeInitializers.swift
[30/91] Compiling SwiftSyntax RawSyntax.swift
[31/91] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[32/91] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[33/91] Compiling SwiftSyntax RawSyntaxTokenView.swift
[34/91] Compiling SwiftSyntax SourceLength.swift
[35/91] Compiling SwiftSyntax SourceLocation.swift
[36/91] Compiling SwiftSyntax SourcePresence.swift
[37/91] Emitting module SwiftSyntax
[38/91] Compiling SwiftSyntax SyntaxCollections.swift
[39/91] Compiling SwiftSyntax SyntaxEnum.swift
[40/91] Compiling SwiftSyntax SyntaxKind.swift
[41/91] Compiling SwiftSyntax SyntaxRewriter.swift
[42/91] Compiling SwiftSyntax SyntaxTraits.swift
[43/91] Compiling SwiftSyntax SyntaxTransform.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 SyntaxText.swift
[57/91] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[58/91] Compiling SwiftSyntax TokenDiagnostic.swift
[59/91] Compiling SwiftSyntax TokenSyntax.swift
[60/91] Compiling SwiftSyntax Trivia.swift
[61/91] Compiling SwiftSyntax Utils.swift
[62/91] Compiling SwiftSyntax SyntaxVisitor.swift
[63/91] Compiling SwiftSyntax TokenKind.swift
[64/91] Compiling SwiftSyntax Tokens.swift
[65/91] Compiling SwiftSyntax TriviaPieces.swift
[66/91] Compiling SwiftSyntax RawSyntaxNodes.swift
[67/91] Compiling SwiftSyntax RawSyntaxValidation.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 Syntax+Extensions.swift
[77/143] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[78/143] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[79/143] Compiling SwiftDiagnostics Message.swift
[80/143] Compiling SwiftDiagnostics Note.swift
[81/143] Compiling SwiftDiagnostics FixIt.swift
[82/143] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[83/143] Compiling SwiftDiagnostics Diagnostic.swift
[84/143] Compiling SwiftDiagnostics Convenience.swift
[85/143] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[86/143] Emitting module SwiftDiagnostics
[87/144] Emitting module SwiftBasicFormat
[88/144] Compiling SwiftBasicFormat BasicFormat.swift
[90/145] Wrapping AST for SwiftBasicFormat for debugging
[91/145] Wrapping AST for SwiftDiagnostics for debugging
[93/145] Compiling SwiftParser TokenPrecedence.swift
[94/145] Compiling SwiftParser TokenSpec.swift
[95/145] Compiling SwiftParser TokenSpecSet.swift
[96/145] Compiling SwiftParser TopLevel.swift
[97/145] Compiling SwiftParser TriviaParser.swift
[98/145] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[99/145] Compiling SwiftParser StringLiterals.swift
[100/145] Compiling SwiftParser SwiftParserCompatibility.swift
[101/145] Compiling SwiftParser SyntaxUtils.swift
[102/145] Compiling SwiftParser TokenConsumer.swift
[103/150] Emitting module SwiftParser
[104/150] Compiling SwiftParser Modifiers.swift
[105/150] Compiling SwiftParser Names.swift
[106/150] Compiling SwiftParser Nominals.swift
[107/150] Compiling SwiftParser Parameters.swift
[108/150] Compiling SwiftParser ParseSourceFile.swift
[109/150] Compiling SwiftParser Lexer.swift
[110/150] Compiling SwiftParser RegexLiteralLexer.swift
[111/150] Compiling SwiftParser UnicodeScalarExtensions.swift
[112/150] Compiling SwiftParser Lookahead.swift
[113/150] Compiling SwiftParser LoopProgressCondition.swift
[114/150] Compiling SwiftParser Parser.swift
[115/150] Compiling SwiftParser Patterns.swift
[116/150] Compiling SwiftParser Recovery.swift
[117/150] Compiling SwiftParser Specifiers.swift
[118/150] Compiling SwiftParser Statements.swift
[119/150] Compiling SwiftParser ExperimentalFeatures.swift
[120/150] Compiling SwiftParser Expressions.swift
[121/150] Compiling SwiftParser IncrementalParseTransition.swift
[122/150] Compiling SwiftParser Cursor.swift
[123/150] Compiling SwiftParser Lexeme.swift
[124/150] Compiling SwiftParser LexemeSequence.swift
[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 PrecedenceGroup.swift
[139/175] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[140/175] Compiling SwiftOperators PrecedenceGraph.swift
[141/176] Compiling SwiftOperators SyntaxSynthesis.swift
[142/176] Compiling SwiftOperators OperatorTable.swift
[143/176] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[144/176] Compiling SwiftParserDiagnostics MissingNodesError.swift
[145/176] Compiling SwiftParserDiagnostics MissingTokenError.swift
[146/176] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[147/176] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[148/176] Compiling SwiftOperators OperatorTable+Folding.swift
[149/176] Compiling SwiftOperators OperatorTable+Semantics.swift
[150/176] Emitting module SwiftOperators
[152/177] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[153/177] Compiling SwiftParserDiagnostics Utils.swift
[154/177] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[154/177] Wrapping AST for SwiftOperators for debugging
[156/177] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[157/177] Compiling SwiftParserDiagnostics PresenceUtils.swift
[158/177] Emitting module SwiftParserDiagnostics
[159/177] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[160/177] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[165/178] Wrapping AST for SwiftParserDiagnostics for debugging
[167/192] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[168/192] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[169/193] Compiling SwiftSyntaxBuilder Indenter.swift
[170/193] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[171/193] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[172/193] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[173/193] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[174/193] Emitting module SwiftSyntaxBuilder
[175/193] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[176/193] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[177/193] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[178/193] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[179/193] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[180/193] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[181/193] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[182/194] Wrapping AST for SwiftSyntaxBuilder for debugging
[184/208] Compiling SwiftSyntaxMacros AccessorMacro.swift
[185/208] Compiling SwiftSyntaxMacros AttachedMacro.swift
[186/208] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[187/208] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[188/209] Compiling SwiftSyntaxMacros Macro.swift
[189/209] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[190/209] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[191/209] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[192/209] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[193/209] Compiling SwiftSyntaxMacros Macro+Format.swift
[194/209] Compiling SwiftSyntaxMacros MemberMacro.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 IndentationUtils.swift
[202/218] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[203/218] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[204/218] Emitting module SwiftSyntaxMacroExpansion
[205/218] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[206/218] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[207/218] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[208/218] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[209/219] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[211/226] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[212/226] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[213/226] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[214/226] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[215/226] Emitting module SwiftCompilerPluginMessageHandling
[216/226] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[217/226] Compiling SwiftCompilerPluginMessageHandling PluginMessages.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/244] Compiling UserDefaultMacro UserDefaultPropertyMacro.swift
[226/244] 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] 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,
[232/244] Compiling UserDefaultMacro String+Extensions.swift
[233/244] Compiling UserDefaultMacro TupleExprElementListSyntax+Extensions.swift
[234/244] Compiling UserDefaultMacro AccessorMacro+Extensions.swift
[235/244] Compiling UserDefaultMacro AttributeListSyntax+Extensions.swift
[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