The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftStorage, reference 1.0.1 (fc87c3), with Swift 6.2 (beta) for Linux on 22 Jun 2025 16:17:12 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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KC-2001MS/SwiftStorage.git
Reference: 1.0.1
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
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at fc87c3c minor revision
Cloned https://github.com/KC-2001MS/SwiftStorage.git
Revision (git rev-parse @):
fc87c3cc6e2655591cb40726fd742cf77ec61d0f
SUCCESS checkout https://github.com/KC-2001MS/SwiftStorage.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/KC-2001MS/SwiftStorage.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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-testing.git
[21/2082] Fetching swift-docc-plugin
[231/25458] Fetching swift-docc-plugin, swift-testing
[17278/96383] Fetching swift-docc-plugin, swift-testing, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (1.78s)
[36143/94301] Fetching swift-testing, swift-syntax
Fetched https://github.com/apple/swift-testing.git from cache (1.79s)
[13476/70925] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (8.79s)
Computing version for https://github.com/apple/swift-testing.git
Computed https://github.com/apple/swift-testing.git at 0.12.0 (9.90s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (4.53s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3415] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.72s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.73s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (1.26s)
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
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.12.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.4
warning: 'swift-testing': Conflicting identity for swift-syntax: dependency 'github.com/swiftlang/swift-syntax' and dependency 'github.com/apple/swift-syntax' both point to the same package identity 'swift-syntax'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/apple/swift-testing->github.com/swiftlang/swift-syntax (B) /host/spi-builder-workspace->github.com/apple/swift-syntax. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
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 SwiftSyntax510
[26/49] Compiling SwiftSyntax510 Empty.swift
[27/50] Wrapping AST for SwiftSyntax600 for debugging
[29/50] Compiling SwiftSyntax509 Empty.swift
[30/50] Emitting module SwiftSyntax509
[30/51] Wrapping AST for SwiftSyntax510 for debugging
[32/51] Wrapping AST for SwiftSyntax509 for debugging
[34/115] Emitting module SwiftSyntax
[35/115] Compiling SwiftSyntax AbsolutePosition.swift
[36/115] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[37/115] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[38/115] Compiling SwiftSyntax Assert.swift
[39/115] Compiling SwiftSyntax BumpPtrAllocator.swift
[40/115] Compiling SwiftSyntax CommonAncestor.swift
[41/115] Compiling SwiftSyntax Convenience.swift
[42/115] Compiling SwiftSyntax CustomTraits.swift
[43/115] Compiling SwiftSyntax Identifier.swift
[44/123] Compiling SwiftSyntax RawSyntaxNodesD.swift
[45/123] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[46/123] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[47/123] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[48/123] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[49/123] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[50/123] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[51/123] Compiling SwiftSyntax RawSyntaxValidation.swift
[52/123] Compiling SwiftSyntax SyntaxNodesAB.swift
[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 MemoryLayout.swift
[63/123] Compiling SwiftSyntax MissingNodeInitializers.swift
[64/123] Compiling SwiftSyntax RawSyntax.swift
[65/123] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[66/123] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[67/123] Compiling SwiftSyntax RawSyntaxTokenView.swift
[68/123] Compiling SwiftSyntax SourceEdit.swift
[69/123] Compiling SwiftSyntax SourceLength.swift
[70/123] Compiling SwiftSyntax SourceLocation.swift
[71/123] Compiling SwiftSyntax SyntaxNodeFactory.swift
[72/123] Compiling SwiftSyntax SyntaxNodeStructure.swift
[73/123] Compiling SwiftSyntax SyntaxProtocol.swift
[74/123] Compiling SwiftSyntax SyntaxText.swift
[75/123] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[76/123] Compiling SwiftSyntax TokenDiagnostic.swift
[77/123] Compiling SwiftSyntax TokenSequence.swift
[78/123] Compiling SwiftSyntax TokenSyntax.swift
[79/123] Compiling SwiftSyntax Trivia.swift
[80/123] Compiling SwiftSyntax Utils.swift
[81/123] Compiling SwiftSyntax ChildNameForKeyPath.swift
[82/123] Compiling SwiftSyntax Keyword.swift
[83/123] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[84/123] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[85/123] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[86/123] Compiling SwiftSyntax SyntaxBaseNodes.swift
[87/123] Compiling SwiftSyntax SyntaxCollections.swift
[88/123] Compiling SwiftSyntax SyntaxEnum.swift
[89/123] Compiling SwiftSyntax SyntaxKind.swift
[90/123] Compiling SwiftSyntax SyntaxRewriter.swift
[91/123] Compiling SwiftSyntax SyntaxTraits.swift
[92/123] Compiling SwiftSyntax SyntaxVisitor.swift
[93/123] Compiling SwiftSyntax TokenKind.swift
[94/123] Compiling SwiftSyntax Tokens.swift
[95/123] Compiling SwiftSyntax TriviaPieces.swift
[96/123] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[97/123] Compiling SwiftSyntax RawSyntaxNodesC.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/124] Wrapping AST for SwiftSyntax for debugging
[108/181] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[109/182] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[110/182] Compiling SwiftDiagnostics Message.swift
[111/182] Compiling SwiftBasicFormat Syntax+Extensions.swift
[112/182] Compiling SwiftDiagnostics Note.swift
[113/182] Emitting module SwiftDiagnostics
[114/182] Compiling SwiftParser Attributes.swift
[115/182] Compiling SwiftParser Availability.swift
[116/182] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[117/182] Compiling SwiftParser CharacterInfo.swift
[118/182] Compiling SwiftParser CollectionNodes+Parsable.swift
[119/182] Compiling SwiftDiagnostics FixIt.swift
[120/182] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[121/182] Compiling SwiftBasicFormat InferIndentation.swift
[122/182] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[123/183] Wrapping AST for SwiftDiagnostics for debugging
[125/183] Compiling SwiftBasicFormat BasicFormat.swift
[126/183] Emitting module SwiftBasicFormat
[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 Modifiers.swift
[141/189] Compiling SwiftParser Names.swift
[142/189] Compiling SwiftParser Nominals.swift
[143/189] Compiling SwiftParser Parameters.swift
[144/189] Compiling SwiftParser ParseSourceFile.swift
[145/189] Compiling SwiftParser Parser.swift
[146/189] Compiling SwiftParser TokenSpec.swift
[147/189] Compiling SwiftParser TokenSpecSet.swift
[148/189] Compiling SwiftParser TopLevel.swift
[149/189] Compiling SwiftParser TriviaParser.swift
[150/189] Compiling SwiftParser Types.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
[161/189] Compiling SwiftParser Declarations.swift
[162/189] Compiling SwiftParser Directives.swift
[163/189] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[164/189] Compiling SwiftParser Expressions.swift
[165/189] Compiling SwiftParser IncrementalParseTransition.swift
[166/189] Compiling SwiftParser IsValidIdentifier.swift
[167/189] Compiling SwiftParser Cursor.swift
[168/189] Compiling SwiftParser Lexeme.swift
[169/189] Emitting module SwiftParser
[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 SwiftOperators OperatorTable.swift
[180/215] Compiling SwiftOperators PrecedenceGraph.swift
[181/215] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[182/215] Compiling SwiftOperators SyntaxSynthesis.swift
[183/215] Emitting module SwiftOperators
[184/215] Compiling SwiftOperators OperatorTable+Semantics.swift
[185/215] Emitting module SwiftParserDiagnostics
[186/215] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[187/215] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[188/215] Compiling SwiftOperators OperatorTable+Folding.swift
[189/215] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[190/215] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[191/216] Wrapping AST for SwiftOperators for debugging
[193/216] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[194/216] Compiling SwiftParserDiagnostics Utils.swift
[195/216] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[196/216] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[197/216] Compiling SwiftParserDiagnostics PresenceUtils.swift
[202/216] Compiling SwiftParserDiagnostics MissingNodesError.swift
[203/216] Compiling SwiftParserDiagnostics MissingTokenError.swift
[204/217] Wrapping AST for SwiftParserDiagnostics for debugging
[206/232] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[207/232] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[208/233] Emitting module SwiftSyntaxBuilder
[209/233] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[210/233] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[211/233] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[212/233] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[213/233] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[214/233] Compiling SwiftSyntaxBuilder Indenter.swift
[215/233] Compiling SwiftSyntaxBuilder ListBuilder.swift
[216/233] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[217/233] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[218/233] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[219/233] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[220/233] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[221/233] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[222/234] Wrapping AST for SwiftSyntaxBuilder for debugging
[224/251] Compiling SwiftSyntaxMacros AccessorMacro.swift
[225/251] Compiling SwiftSyntaxMacros AttachedMacro.swift
[226/251] Compiling SwiftSyntaxMacros BodyMacro.swift
[227/251] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[228/251] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[229/253] Compiling SwiftSyntaxMacros Macro.swift
[230/253] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[231/253] Compiling SwiftSyntaxMacros MemberMacro.swift
[232/253] Compiling SwiftSyntaxMacros PeerMacro.swift
[233/253] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[234/253] Compiling SwiftSyntaxMacros Macro+Format.swift
[235/253] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[236/253] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[237/253] Compiling SwiftSyntaxMacros PreambleMacro.swift
[238/253] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[239/253] Emitting module SwiftSyntaxMacros
[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 MacroSpec.swift
[246/264] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[247/264] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[248/264] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[249/264] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[250/264] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[251/264] Emitting module SwiftSyntaxMacroExpansion
[252/264] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[253/264] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[254/264] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[255/266] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[257/277] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[258/278] Emitting module SwiftCompilerPluginMessageHandling
[259/278] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[260/278] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[261/278] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[262/278] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[263/278] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[264/278] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[265/278] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[266/278] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[267/278] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[268/278] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[269/278] Compiling SwiftCompilerPluginMessageHandling Diagnostics.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 LocalStoragePropertyMacro.swift
[279/290] Compiling SwiftStorageMacros StorageMacro.swift
[280/290] Compiling SwiftStorageMacros Extensions.swift
[281/290] Emitting module SwiftStorageMacros
[282/290] Compiling SwiftStorageMacros AttributeMacro.swift
[283/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 |         }
[284/291] Wrapping AST for SwiftStorageMacros for debugging
[285/291] Write Objects.LinkFileList
[286/291] Linking SwiftStorageMacros-tool
[288/293] Compiling SwiftStorage SwiftStorage.swift
[289/293] Emitting module SwiftStorage
[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:12:21: note: expanded code originates here
10 | @Storage
11 | final class Client {
12 |     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 |
   +--------------------------------------------------------------------
13 |         didSet {
14 |             int += 1
macro expansion @LocalStorageProperty:8:38: error: value of type 'UserDefaults' has no member 'value'
`- /host/spi-builder-workspace/Sources/SwiftStorageClient/main.swift:33:17: note: expanded code originates here
31 |     }
32 |
33 |     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 {
   +--------------------------------------------------------------------
34 |
35 |     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:35:23: note: expanded code originates here
33 |     var int: Int
34 |
35 |     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 {
   +--------------------------------------------------------------------
36 |
37 |     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:37:21: note: expanded code originates here
35 |     var double: Double
36 |
37 |     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 {
   +--------------------------------------------------------------------
38 |
39 |     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:39:23: note: expanded code originates here
37 |     var float: Float
38 |
39 |     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 {
   +--------------------------------------------------------------------
40 |
41 |     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:41:19: note: expanded code originates here
39 |     var string: String
40 |
41 |     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 {
   +--------------------------------------------------------------------
42 |     @Attribute(key: "Attribute")
43 |     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:43:24: note: expanded code originates here
41 |     var date: Date
42 |     @Attribute(key: "Attribute")
43 |     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 {
   +--------------------------------------------------------------------
44 |     @Transient
45 |     var transient: Bool
BUILD FAILURE 6.2 linux