Build Information
Failed to build SwiftStorage, reference main (95c424
), with Swift 6.0 for Linux on 5 Nov 2024 16:46:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/KC-2001MS/SwiftStorage.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/KC-2001MS/SwiftStorage
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 95c424f Delete .vscode directory
Cloned https://github.com/KC-2001MS/SwiftStorage.git
Revision (git rev-parse @):
95c424f1304cc9e9a9da1c6a25cc355aaa0ec7b1
SUCCESS checkout https://github.com/KC-2001MS/SwiftStorage.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/KC-2001MS/SwiftStorage.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-testing.git
Fetching https://github.com/apple/swift-syntax.git
[1/2038] Fetching swift-docc-plugin
[450/17269] Fetching swift-docc-plugin, swift-testing
Fetched https://github.com/apple/swift-docc-plugin from cache (0.35s)
[8682/15231] Fetching swift-testing
[15232/81639] Fetching swift-testing, swift-syntax
Fetched https://github.com/apple/swift-testing.git from cache (4.06s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.10s)
Computing version for https://github.com/apple/swift-testing.git
Computed https://github.com/apple/swift-testing.git at 0.11.0 (0.58s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.02s)
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.34s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.51s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.64s)
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
Creating working copy for https://github.com/apple/swift-testing.git
Working copy of https://github.com/apple/swift-testing.git resolved at 0.11.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
warning: 'swift-testing': 'swift-testing' dependency on 'https://github.com/swiftlang/swift-syntax.git' conflicts with dependency on 'https://github.com/apple/swift-syntax.git' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/42] Write sources
[19/42] Compiling _SwiftSyntaxCShims dummy.c
[20/42] Write swift-version-24593BA9C3E375BF.txt
[22/48] Compiling SwiftSyntax600 Empty.swift
[23/48] Emitting module SwiftSyntax600
[25/49] Emitting module SwiftSyntax509
[26/49] Compiling SwiftSyntax509 Empty.swift
[27/50] Wrapping AST for SwiftSyntax600 for debugging
[28/50] Wrapping AST for SwiftSyntax509 for debugging
[30/50] Emitting module SwiftSyntax510
[31/50] Compiling SwiftSyntax510 Empty.swift
[32/51] Wrapping AST for SwiftSyntax510 for debugging
[34/115] Compiling SwiftSyntax AbsolutePosition.swift
[35/115] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[36/115] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[37/115] Compiling SwiftSyntax Assert.swift
[38/115] Compiling SwiftSyntax BumpPtrAllocator.swift
[39/115] Compiling SwiftSyntax CommonAncestor.swift
[40/115] Compiling SwiftSyntax Convenience.swift
[41/115] Compiling SwiftSyntax CustomTraits.swift
[42/115] Compiling SwiftSyntax Identifier.swift
[43/123] Compiling SwiftSyntax MemoryLayout.swift
[44/123] Compiling SwiftSyntax MissingNodeInitializers.swift
[45/123] Compiling SwiftSyntax RawSyntax.swift
[46/123] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[47/123] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[48/123] Compiling SwiftSyntax RawSyntaxTokenView.swift
[49/123] Compiling SwiftSyntax SourceEdit.swift
[50/123] Compiling SwiftSyntax SourceLength.swift
[51/123] Compiling SwiftSyntax SourceLocation.swift
[52/123] Emitting module SwiftSyntax
[53/123] Compiling SwiftSyntax SourcePresence.swift
[54/123] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[55/123] Compiling SwiftSyntax Syntax.swift
[56/123] Compiling SwiftSyntax SyntaxArena.swift
[57/123] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[58/123] Compiling SwiftSyntax SyntaxChildren.swift
[59/123] Compiling SwiftSyntax SyntaxCollection.swift
[60/123] Compiling SwiftSyntax SyntaxHashable.swift
[61/123] Compiling SwiftSyntax SyntaxIdentifier.swift
[62/123] Compiling SwiftSyntax RawSyntaxNodesD.swift
[63/123] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[64/123] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[65/123] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[66/123] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[67/123] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[68/123] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[69/123] Compiling SwiftSyntax RawSyntaxValidation.swift
[70/123] Compiling SwiftSyntax SyntaxNodesAB.swift
[71/123] Compiling SwiftSyntax SyntaxKind.swift
[72/123] Compiling SwiftSyntax SyntaxRewriter.swift
[73/123] Compiling SwiftSyntax SyntaxTraits.swift
[74/123] Compiling SwiftSyntax SyntaxVisitor.swift
[75/123] Compiling SwiftSyntax TokenKind.swift
[76/123] Compiling SwiftSyntax Tokens.swift
[77/123] Compiling SwiftSyntax TriviaPieces.swift
[78/123] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[79/123] Compiling SwiftSyntax RawSyntaxNodesC.swift
[80/123] Compiling SwiftSyntax SyntaxNodeFactory.swift
[81/123] Compiling SwiftSyntax SyntaxNodeStructure.swift
[82/123] Compiling SwiftSyntax SyntaxProtocol.swift
[83/123] Compiling SwiftSyntax SyntaxText.swift
[84/123] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[85/123] Compiling SwiftSyntax TokenDiagnostic.swift
[86/123] Compiling SwiftSyntax TokenSequence.swift
[87/123] Compiling SwiftSyntax TokenSyntax.swift
[88/123] Compiling SwiftSyntax Trivia.swift
[89/123] Compiling SwiftSyntax Utils.swift
[90/123] Compiling SwiftSyntax ChildNameForKeyPath.swift
[91/123] Compiling SwiftSyntax Keyword.swift
[92/123] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[93/123] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[94/123] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[95/123] Compiling SwiftSyntax SyntaxBaseNodes.swift
[96/123] Compiling SwiftSyntax SyntaxCollections.swift
[97/123] Compiling SwiftSyntax SyntaxEnum.swift
[98/123] Compiling SwiftSyntax SyntaxNodesC.swift
[99/123] Compiling SwiftSyntax SyntaxNodesD.swift
[100/123] Compiling SwiftSyntax SyntaxNodesEF.swift
[101/123] Compiling SwiftSyntax SyntaxNodesGHI.swift
[102/123] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[103/123] Compiling SwiftSyntax SyntaxNodesOP.swift
[104/123] Compiling SwiftSyntax SyntaxNodesQRS.swift
[105/123] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[106/133] Wrapping AST for SwiftSyntax for debugging
[108/181] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[109/181] Compiling SwiftParser IncrementalParseTransition.swift
[110/181] Compiling SwiftParser IsValidIdentifier.swift
[111/182] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[112/182] Compiling SwiftBasicFormat Syntax+Extensions.swift
[113/182] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[114/182] Compiling SwiftParser Expressions.swift
[115/182] Emitting module SwiftDiagnostics
[116/182] Compiling SwiftDiagnostics Message.swift
[117/182] Compiling SwiftDiagnostics Note.swift
[118/182] Compiling SwiftBasicFormat InferIndentation.swift
[119/182] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[120/182] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[121/182] Compiling SwiftDiagnostics FixIt.swift
[122/182] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[123/183] Wrapping AST for SwiftDiagnostics for debugging
[125/183] Emitting module SwiftBasicFormat
[126/183] Compiling SwiftBasicFormat BasicFormat.swift
[127/184] Wrapping AST for SwiftBasicFormat for debugging
[129/184] Compiling SwiftParser LexemeSequence.swift
[130/184] Compiling SwiftParser Lexer.swift
[131/184] Compiling SwiftParser RegexLiteralLexer.swift
[132/184] Compiling SwiftParser UnicodeScalarExtensions.swift
[133/184] Compiling SwiftParser Lookahead.swift
[134/184] Compiling SwiftParser LoopProgressCondition.swift
[135/189] Compiling SwiftParser SwiftParserCompatibility.swift
[136/189] Compiling SwiftParser SwiftVersion.swift
[137/189] Compiling SwiftParser SyntaxUtils.swift
[138/189] Compiling SwiftParser TokenConsumer.swift
[139/189] Compiling SwiftParser TokenPrecedence.swift
[140/189] Compiling SwiftParser TokenSpec.swift
[141/189] Compiling SwiftParser TokenSpecSet.swift
[142/189] Compiling SwiftParser TopLevel.swift
[143/189] Compiling SwiftParser TriviaParser.swift
[144/189] Compiling SwiftParser Types.swift
[145/189] Compiling SwiftParser Modifiers.swift
[146/189] Compiling SwiftParser Names.swift
[147/189] Compiling SwiftParser Nominals.swift
[148/189] Compiling SwiftParser Parameters.swift
[149/189] Compiling SwiftParser ParseSourceFile.swift
[150/189] Compiling SwiftParser Parser.swift
[151/189] Compiling SwiftParser Patterns.swift
[152/189] Compiling SwiftParser Recovery.swift
[153/189] Compiling SwiftParser Specifiers.swift
[154/189] Compiling SwiftParser Statements.swift
[155/189] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[156/189] Compiling SwiftParser StringLiterals.swift
[157/189] Emitting module SwiftParser
[158/189] Compiling SwiftParser Attributes.swift
[159/189] Compiling SwiftParser Availability.swift
[160/189] Compiling SwiftParser CharacterInfo.swift
[161/189] Compiling SwiftParser CollectionNodes+Parsable.swift
[162/189] Compiling SwiftParser Declarations.swift
[163/189] Compiling SwiftParser Directives.swift
[168/189] Compiling SwiftParser Cursor.swift
[169/189] Compiling SwiftParser Lexeme.swift
[170/189] Compiling SwiftParser ExperimentalFeatures.swift
[171/189] Compiling SwiftParser IsLexerClassified.swift
[172/189] Compiling SwiftParser LayoutNodes+Parsable.swift
[173/189] Compiling SwiftParser Parser+TokenSpecSet.swift
[174/189] Compiling SwiftParser TokenSpecStaticMembers.swift
[175/190] Wrapping AST for SwiftParser for debugging
[177/213] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[178/214] Compiling SwiftOperators PrecedenceGroup.swift
[179/215] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[180/215] Compiling SwiftOperators PrecedenceGraph.swift
[181/215] Compiling SwiftOperators SyntaxSynthesis.swift
[182/215] Compiling SwiftOperators Operator.swift
[183/215] Compiling SwiftOperators OperatorError+Diagnostics.swift
[184/215] Compiling SwiftOperators OperatorError.swift
[185/215] Compiling SwiftOperators OperatorTable+Defaults.swift
[186/215] Compiling SwiftOperators OperatorTable+Semantics.swift
[187/215] Emitting module SwiftOperators
[188/215] Compiling SwiftOperators OperatorTable.swift
[189/215] Compiling SwiftOperators OperatorTable+Folding.swift
[191/216] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[192/216] Compiling SwiftParserDiagnostics Utils.swift
[193/216] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[193/216] Wrapping AST for SwiftOperators for debugging
[195/216] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[196/216] Compiling SwiftParserDiagnostics PresenceUtils.swift
[197/216] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[198/216] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[199/216] Emitting module SwiftParserDiagnostics
[204/217] Wrapping AST for SwiftParserDiagnostics for debugging
[206/232] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[207/232] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[208/233] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[209/233] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[210/233] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[211/233] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[212/233] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[213/233] Compiling SwiftSyntaxBuilder Indenter.swift
[214/233] Compiling SwiftSyntaxBuilder ListBuilder.swift
[215/233] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[216/233] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[217/233] Emitting module SwiftSyntaxBuilder
[218/233] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[219/233] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[220/233] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[221/233] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[222/234] Wrapping AST for SwiftSyntaxBuilder for debugging
[224/251] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[225/251] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[226/251] Compiling SwiftSyntaxMacros Macro.swift
[227/251] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[228/251] Compiling SwiftSyntaxMacros MemberMacro.swift
[229/251] Compiling SwiftSyntaxMacros PeerMacro.swift
[230/251] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[231/251] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[232/253] Emitting module SwiftSyntaxMacros
[233/253] Compiling SwiftSyntaxMacros PreambleMacro.swift
[234/253] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[235/253] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[236/253] Compiling SwiftSyntaxMacros Macro+Format.swift
[237/253] Compiling SwiftSyntaxMacros AccessorMacro.swift
[238/253] Compiling SwiftSyntaxMacros AttachedMacro.swift
[239/253] Compiling SwiftSyntaxMacros BodyMacro.swift
[240/253] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[241/253] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[242/253] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[243/254] Wrapping AST for SwiftSyntaxMacros for debugging
[245/263] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[246/264] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[247/264] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[248/264] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[249/264] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[250/264] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[251/264] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[252/264] Emitting module SwiftSyntaxMacroExpansion
[253/264] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[254/264] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[255/265] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[257/277] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[258/278] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[259/278] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[260/278] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[261/278] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[262/278] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[263/278] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[264/278] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[265/278] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[266/278] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[267/278] Emitting module SwiftCompilerPluginMessageHandling
[268/278] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[269/278] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[270/279] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[272/281] Emitting module SwiftCompilerPlugin
[273/281] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[274/282] Wrapping AST for SwiftCompilerPlugin for debugging
[276/290] Compiling SwiftStorageMacros TransientMacro.swift
[277/290] Compiling SwiftStorageMacros SwiftStoragePlugin.swift
[278/290] Compiling SwiftStorageMacros AttributeMacro.swift
[279/290] Compiling SwiftStorageMacros Availability.swift
/host/spi-builder-workspace/Sources/SwiftStorageMacros/Extensions/Availability.swift:89:9: warning: default will never be executed
87 | return .ifConfigDecl(availability)
88 | }
89 | default:
| `- warning: default will never be executed
90 | break
91 | }
[280/290] Emitting module SwiftStorageMacros
[281/290] Compiling SwiftStorageMacros Extensions.swift
[282/290] Compiling SwiftStorageMacros LocalStoragePropertyMacro.swift
[283/290] Compiling SwiftStorageMacros StorageMacro.swift
[284/291] Wrapping AST for SwiftStorageMacros for debugging
[285/291] Write Objects.LinkFileList
[286/291] Linking SwiftStorageMacros-tool
[288/293] Emitting module SwiftStorage
[289/293] Compiling SwiftStorage SwiftStorage.swift
[290/294] Wrapping AST for SwiftStorage for debugging
[292/296] Emitting module SwiftStorageClient
[293/296] Compiling SwiftStorageClient main.swift
macro expansion @LocalStorageProperty:8:34: error: value of type 'UserDefaults' has no member 'value'
`- /host/spi-builder-workspace/Sources/SwiftStorageClient/main.swift:14:21: note: expanded code originates here
12 | @Storage
13 | final class Client {
14 | var bool: Bool {
+--- macro expansion @LocalStorageProperty --------------------------
| 6 | get {
| 7 | access(keyPath: \.bool)
| 8 | return UserDefaults.standard.value(forKey: "\(className).bool") as? Bool ?? _bool
| | `- error: value of type 'UserDefaults' has no member 'value'
| 9 | }
|10 |
+--------------------------------------------------------------------
15 | didSet {
16 | int += 1
macro expansion @LocalStorageProperty:8:38: error: value of type 'UserDefaults' has no member 'value'
`- /host/spi-builder-workspace/Sources/SwiftStorageClient/main.swift:35:17: note: expanded code originates here
33 | }
34 |
35 | var int: Int
+--- macro expansion @LocalStorageProperty --------------------------
| 6 | get {
| 7 | access(keyPath: \.int)
| 8 | return UserDefaults.standard.value(forKey: "\(className).int") as? Int ?? _int
| | `- error: value of type 'UserDefaults' has no member 'value'
| 9 | }
|10 | set {
+--------------------------------------------------------------------
36 |
37 | var double: Double
macro expansion @LocalStorageProperty:8:38: error: value of type 'UserDefaults' has no member 'value'
`- /host/spi-builder-workspace/Sources/SwiftStorageClient/main.swift:37:23: note: expanded code originates here
35 | var int: Int
36 |
37 | var double: Double
+--- macro expansion @LocalStorageProperty --------------------------
| 6 | get {
| 7 | access(keyPath: \.double)
| 8 | return UserDefaults.standard.value(forKey: "\(className).double") as? Double ?? _double
| | `- error: value of type 'UserDefaults' has no member 'value'
| 9 | }
|10 | set {
+--------------------------------------------------------------------
38 |
39 | var float: Float
macro expansion @LocalStorageProperty:8:38: error: value of type 'UserDefaults' has no member 'value'
`- /host/spi-builder-workspace/Sources/SwiftStorageClient/main.swift:39:21: note: expanded code originates here
37 | var double: Double
38 |
39 | var float: Float
+--- macro expansion @LocalStorageProperty --------------------------
| 6 | get {
| 7 | access(keyPath: \.float)
| 8 | return UserDefaults.standard.value(forKey: "\(className).float") as? Float ?? _float
| | `- error: value of type 'UserDefaults' has no member 'value'
| 9 | }
|10 | set {
+--------------------------------------------------------------------
40 |
41 | var string: String
macro expansion @LocalStorageProperty:8:38: error: value of type 'UserDefaults' has no member 'value'
`- /host/spi-builder-workspace/Sources/SwiftStorageClient/main.swift:41:23: note: expanded code originates here
39 | var float: Float
40 |
41 | var string: String
+--- macro expansion @LocalStorageProperty --------------------------
| 6 | get {
| 7 | access(keyPath: \.string)
| 8 | return UserDefaults.standard.value(forKey: "\(className).string") as? String ?? _string
| | `- error: value of type 'UserDefaults' has no member 'value'
| 9 | }
|10 | set {
+--------------------------------------------------------------------
42 |
43 | var date: Date
macro expansion @LocalStorageProperty:8:38: error: value of type 'UserDefaults' has no member 'value'
`- /host/spi-builder-workspace/Sources/SwiftStorageClient/main.swift:43:19: note: expanded code originates here
41 | var string: String
42 |
43 | var date: Date
+--- macro expansion @LocalStorageProperty --------------------------
| 6 | get {
| 7 | access(keyPath: \.date)
| 8 | return UserDefaults.standard.value(forKey: "\(className).date") as? Date ?? _date
| | `- error: value of type 'UserDefaults' has no member 'value'
| 9 | }
|10 | set {
+--------------------------------------------------------------------
44 | @Attribute(key: "Attribute")
45 | var attribute: Bool
macro expansion @LocalStorageProperty:8:38: error: value of type 'UserDefaults' has no member 'value'
`- /host/spi-builder-workspace/Sources/SwiftStorageClient/main.swift:45:24: note: expanded code originates here
43 | var date: Date
44 | @Attribute(key: "Attribute")
45 | var attribute: Bool
+--- macro expansion @LocalStorageProperty --------------------------
| 6 | get {
| 7 | access(keyPath: \.attribute)
| 8 | return UserDefaults.standard.value(forKey: "Attribute") as? Bool ?? _attribute
| | `- error: value of type 'UserDefaults' has no member 'value'
| 9 | }
|10 | set {
+--------------------------------------------------------------------
46 | @Transient
47 | var transient: Bool
BUILD FAILURE 6.0 linux