Build Information
Failed to build ObservableDefaults, reference 0.6.1 (d5b7a9
), with Swift 6.0 for Linux on 2 Nov 2024 02:38:26 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/fatbobman/ObservableDefaults.git
Reference: 0.6.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/fatbobman/ObservableDefaults
* tag 0.6.1 -> FETCH_HEAD
HEAD is now at d5b7a9c fix not works in preview mode issue
Cloned https://github.com/fatbobman/ObservableDefaults.git
Revision (git rev-parse @):
d5b7a9caf40b3d2eabd92d864b6ffc73cd3afebd
SUCCESS checkout https://github.com/fatbobman/ObservableDefaults.git at 0.6.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/fatbobman/ObservableDefaults.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-syntax.git
[1/66395] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.17s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (2.25s)
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
Building for debugging...
[0/40] Write sources
[17/40] Compiling _SwiftSyntaxCShims dummy.c
[17/40] Write swift-version-24593BA9C3E375BF.txt
[20/46] Compiling SwiftSyntax509 Empty.swift
[21/46] Emitting module SwiftSyntax509
[22/47] Emitting module SwiftSyntax510
[23/47] Compiling SwiftSyntax510 Empty.swift
[24/48] Compiling SwiftSyntax600 Empty.swift
[25/48] Emitting module SwiftSyntax600
[28/49] Wrapping AST for SwiftSyntax509 for debugging
[29/49] Wrapping AST for SwiftSyntax510 for debugging
[30/49] Wrapping AST for SwiftSyntax600 for debugging
[32/113] Compiling SwiftSyntax AbsolutePosition.swift
[33/113] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[34/113] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[35/113] Compiling SwiftSyntax Assert.swift
[36/113] Compiling SwiftSyntax BumpPtrAllocator.swift
[37/113] Compiling SwiftSyntax CommonAncestor.swift
[38/113] Compiling SwiftSyntax Convenience.swift
[39/113] Compiling SwiftSyntax CustomTraits.swift
[40/113] Compiling SwiftSyntax Identifier.swift
[41/121] Compiling SwiftSyntax MemoryLayout.swift
[42/121] Compiling SwiftSyntax MissingNodeInitializers.swift
[43/121] Compiling SwiftSyntax RawSyntax.swift
[44/121] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[45/121] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[46/121] Compiling SwiftSyntax RawSyntaxTokenView.swift
[47/121] Compiling SwiftSyntax SourceEdit.swift
[48/121] Compiling SwiftSyntax SourceLength.swift
[49/121] Compiling SwiftSyntax SourceLocation.swift
[50/121] Compiling SwiftSyntax SyntaxNodeFactory.swift
[51/121] Compiling SwiftSyntax SyntaxNodeStructure.swift
[52/121] Compiling SwiftSyntax SyntaxProtocol.swift
[53/121] Compiling SwiftSyntax SyntaxText.swift
[54/121] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[55/121] Compiling SwiftSyntax TokenDiagnostic.swift
[56/121] Compiling SwiftSyntax TokenSequence.swift
[57/121] Compiling SwiftSyntax TokenSyntax.swift
[58/121] Compiling SwiftSyntax Trivia.swift
[59/121] Emitting module SwiftSyntax
[60/121] Compiling SwiftSyntax RawSyntaxNodesD.swift
[61/121] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[62/121] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[63/121] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[64/121] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[65/121] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[66/121] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[67/121] Compiling SwiftSyntax RawSyntaxValidation.swift
[68/121] Compiling SwiftSyntax SyntaxNodesAB.swift
[69/121] Compiling SwiftSyntax SyntaxKind.swift
[70/121] Compiling SwiftSyntax SyntaxRewriter.swift
[71/121] Compiling SwiftSyntax SyntaxTraits.swift
[72/121] Compiling SwiftSyntax SyntaxVisitor.swift
[73/121] Compiling SwiftSyntax TokenKind.swift
[74/121] Compiling SwiftSyntax Tokens.swift
[75/121] Compiling SwiftSyntax TriviaPieces.swift
[76/121] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[77/121] Compiling SwiftSyntax RawSyntaxNodesC.swift
[78/121] Compiling SwiftSyntax SourcePresence.swift
[79/121] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[80/121] Compiling SwiftSyntax Syntax.swift
[81/121] Compiling SwiftSyntax SyntaxArena.swift
[82/121] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[83/121] Compiling SwiftSyntax SyntaxChildren.swift
[84/121] Compiling SwiftSyntax SyntaxCollection.swift
[85/121] Compiling SwiftSyntax SyntaxHashable.swift
[86/121] Compiling SwiftSyntax SyntaxIdentifier.swift
[87/121] Compiling SwiftSyntax Utils.swift
[88/121] Compiling SwiftSyntax ChildNameForKeyPath.swift
[89/121] Compiling SwiftSyntax Keyword.swift
[90/121] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[91/121] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[92/121] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[93/121] Compiling SwiftSyntax SyntaxBaseNodes.swift
[94/121] Compiling SwiftSyntax SyntaxCollections.swift
[95/121] Compiling SwiftSyntax SyntaxEnum.swift
[96/121] Compiling SwiftSyntax SyntaxNodesC.swift
[97/121] Compiling SwiftSyntax SyntaxNodesD.swift
[98/121] Compiling SwiftSyntax SyntaxNodesEF.swift
[99/121] Compiling SwiftSyntax SyntaxNodesGHI.swift
[100/121] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[101/121] Compiling SwiftSyntax SyntaxNodesOP.swift
[102/121] Compiling SwiftSyntax SyntaxNodesQRS.swift
[103/121] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[104/122] Wrapping AST for SwiftSyntax for debugging
[106/179] Compiling SwiftBasicFormat Syntax+Extensions.swift
[107/179] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[108/179] Compiling SwiftDiagnostics FixIt.swift
[109/180] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[110/180] Compiling SwiftDiagnostics Message.swift
[111/180] Compiling SwiftDiagnostics Note.swift
[112/180] Compiling SwiftParser Attributes.swift
[113/180] Compiling SwiftParser Availability.swift
[114/180] Compiling SwiftParser CharacterInfo.swift
[115/180] Compiling SwiftParser CollectionNodes+Parsable.swift
[116/180] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[117/180] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[118/180] Emitting module SwiftDiagnostics
[119/180] Compiling SwiftBasicFormat InferIndentation.swift
[120/180] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[121/181] Wrapping AST for SwiftDiagnostics for debugging
[123/181] Compiling SwiftBasicFormat BasicFormat.swift
[124/181] Emitting module SwiftBasicFormat
[125/182] Wrapping AST for SwiftBasicFormat for debugging
[127/182] Compiling SwiftParser SwiftParserCompatibility.swift
[128/182] Compiling SwiftParser SwiftVersion.swift
[129/182] Compiling SwiftParser SyntaxUtils.swift
[130/182] Compiling SwiftParser TokenConsumer.swift
[131/182] Compiling SwiftParser TokenPrecedence.swift
[132/182] Compiling SwiftParser TokenSpec.swift
[133/182] Compiling SwiftParser TokenSpecSet.swift
[134/182] Compiling SwiftParser TopLevel.swift
[135/182] Compiling SwiftParser TriviaParser.swift
[136/182] Compiling SwiftParser Types.swift
[137/187] Compiling SwiftParser LexemeSequence.swift
[138/187] Compiling SwiftParser Lexer.swift
[139/187] Compiling SwiftParser RegexLiteralLexer.swift
[140/187] Compiling SwiftParser UnicodeScalarExtensions.swift
[141/187] Compiling SwiftParser Lookahead.swift
[142/187] Compiling SwiftParser LoopProgressCondition.swift
[143/187] Compiling SwiftParser Patterns.swift
[144/187] Compiling SwiftParser Recovery.swift
[145/187] Compiling SwiftParser Specifiers.swift
[146/187] Compiling SwiftParser Statements.swift
[147/187] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[148/187] Compiling SwiftParser StringLiterals.swift
[149/187] Compiling SwiftParser Modifiers.swift
[150/187] Compiling SwiftParser Names.swift
[151/187] Compiling SwiftParser Nominals.swift
[152/187] Compiling SwiftParser Parameters.swift
[153/187] Compiling SwiftParser ParseSourceFile.swift
[154/187] Compiling SwiftParser Parser.swift
[159/187] Compiling SwiftParser Declarations.swift
[160/187] Compiling SwiftParser Directives.swift
[161/187] Emitting module SwiftParser
[162/187] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[163/187] Compiling SwiftParser Expressions.swift
[164/187] Compiling SwiftParser IncrementalParseTransition.swift
[165/187] Compiling SwiftParser IsValidIdentifier.swift
[166/187] Compiling SwiftParser Cursor.swift
[167/187] Compiling SwiftParser Lexeme.swift
[168/187] Compiling SwiftParser ExperimentalFeatures.swift
[169/187] Compiling SwiftParser IsLexerClassified.swift
[170/187] Compiling SwiftParser LayoutNodes+Parsable.swift
[171/187] Compiling SwiftParser Parser+TokenSpecSet.swift
[172/187] Compiling SwiftParser TokenSpecStaticMembers.swift
[173/188] Wrapping AST for SwiftParser for debugging
[175/211] Compiling SwiftOperators OperatorTable.swift
[176/212] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[177/213] Compiling SwiftOperators PrecedenceGroup.swift
[178/213] Compiling SwiftOperators PrecedenceGraph.swift
[179/213] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[180/213] Compiling SwiftOperators SyntaxSynthesis.swift
[181/213] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[182/213] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[183/213] Compiling SwiftOperators OperatorTable+Folding.swift
[184/213] Compiling SwiftOperators OperatorTable+Semantics.swift
[185/213] Emitting module SwiftOperators
[186/213] Compiling SwiftParserDiagnostics MissingNodesError.swift
[187/213] Compiling SwiftParserDiagnostics MissingTokenError.swift
[188/214] Wrapping AST for SwiftOperators for debugging
[189/214] Emitting module SwiftParserDiagnostics
[191/214] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[192/214] Compiling SwiftParserDiagnostics Utils.swift
[193/214] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[194/214] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[195/214] Compiling SwiftParserDiagnostics PresenceUtils.swift
[200/214] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[201/214] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[202/215] Wrapping AST for SwiftParserDiagnostics for debugging
[204/230] Compiling SwiftSyntaxBuilder Indenter.swift
[205/230] Compiling SwiftSyntaxBuilder ListBuilder.swift
[206/231] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[207/231] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[208/231] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[209/231] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[210/231] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[211/231] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[212/231] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[213/231] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[214/231] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[215/231] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[216/231] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[217/231] Emitting module SwiftSyntaxBuilder
[218/231] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[219/231] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[220/232] Wrapping AST for SwiftSyntaxBuilder for debugging
[222/249] Compiling SwiftSyntaxMacros AccessorMacro.swift
[223/249] Compiling SwiftSyntaxMacros AttachedMacro.swift
[224/249] Compiling SwiftSyntaxMacros BodyMacro.swift
[225/249] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[226/249] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[227/249] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[228/249] Compiling SwiftSyntaxMacros Macro+Format.swift
[229/249] Compiling SwiftSyntaxMacros Macro.swift
[230/249] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[231/249] Compiling SwiftSyntaxMacros MemberMacro.swift
[232/249] Compiling SwiftSyntaxMacros PeerMacro.swift
[233/249] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[234/249] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[235/251] Emitting module SwiftSyntaxMacros
[236/251] Compiling SwiftSyntaxMacros PreambleMacro.swift
[237/251] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[238/251] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[239/251] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[240/251] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[241/252] Wrapping AST for SwiftSyntaxMacros for debugging
[243/261] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[244/262] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[245/262] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[246/262] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[247/262] Emitting module SwiftSyntaxMacroExpansion
[248/262] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[249/262] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[250/262] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[251/262] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[252/262] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[253/263] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[255/275] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[256/275] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[257/276] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[258/276] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[259/276] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[260/276] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[261/276] Emitting module SwiftCompilerPluginMessageHandling
[262/276] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[263/276] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[264/276] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[265/276] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[266/276] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[267/276] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[268/277] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[270/279] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[271/279] Emitting module SwiftCompilerPlugin
[272/280] Wrapping AST for SwiftCompilerPlugin for debugging
[274/288] Compiling ObservableDefaultsMacros DefaultsKeyMacro.swift
[275/289] Compiling ObservableDefaultsMacros ObservableOnlyMacro.swift
[276/289] Compiling ObservableDefaultsMacros ObservableDefaultsMacro.swift
[277/289] Compiling ObservableDefaultsMacros IgnoreMacro.swift
[278/289] Emitting module ObservableDefaultsMacros
[279/289] Compiling ObservableDefaultsMacros Syntax.swift
[280/289] Compiling ObservableDefaultsMacros Diagnostic.swift
[281/289] Compiling ObservableDefaultsMacros DefaultsBackedMacro.swift
[282/289] Compiling ObservableDefaultsMacros Plugins.swift
[283/290] Wrapping AST for ObservableDefaultsMacros for debugging
[284/290] Write Objects.LinkFileList
[285/290] Linking ObservableDefaultsMacros-tool
[287/295] Compiling ObservableDefaults module.swift
[288/295] Compiling ObservableDefaults UserDefaultsWrapper.swift
[289/295] Compiling ObservableDefaults UserDefaultsPropertyListValue.swift
[290/295] Emitting module ObservableDefaults
[291/295] Compiling ObservableDefaults Macros.swift
[292/296] Wrapping AST for ObservableDefaults for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[294/298] Emitting module ObservableDefaultsClient
macro expansion @ObservableDefaults:53:87: error: cannot find type 'NSKeyValueChangeKey' in scope
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|51 | }
|52 |
|53 | override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
| | `- error: cannot find type 'NSKeyValueChangeKey' in scope
|54 | switch keyPath {
|55 | case prefix + "firstName":
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:53:19: error: method does not override any method from its superclass
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|51 | }
|52 |
|53 | override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
| | `- error: method does not override any method from its superclass
|54 | switch keyPath {
|55 | case prefix + "firstName":
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:54:87: error: cannot find type 'NSKeyValueChangeKey' in scope
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 52 | }
| 53 |
| 54 | override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
| | `- error: cannot find type 'NSKeyValueChangeKey' in scope
| 55 | switch keyPath {
| 56 | case prefix + "name":
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:54:19: error: method does not override any method from its superclass
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 52 | }
| 53 |
| 54 | override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
| | `- error: method does not override any method from its superclass
| 55 | switch keyPath {
| 56 | case prefix + "name":
+--------------------------------------------------------------------
49 |
50 |
[295/298] Compiling ObservableDefaultsClient main.swift
macro expansion @ObservableDefaults:53:87: error: cannot find type 'NSKeyValueChangeKey' in scope
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|51 | }
|52 |
|53 | override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
| | `- error: cannot find type 'NSKeyValueChangeKey' in scope
|54 | switch keyPath {
|55 | case prefix + "firstName":
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:53:19: error: method does not override any method from its superclass
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|51 | }
|52 |
|53 | override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
| | `- error: method does not override any method from its superclass
|54 | switch keyPath {
|55 | case prefix + "firstName":
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:54:87: error: cannot find type 'NSKeyValueChangeKey' in scope
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 52 | }
| 53 |
| 54 | override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
| | `- error: cannot find type 'NSKeyValueChangeKey' in scope
| 55 | switch keyPath {
| 56 | case prefix + "name":
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:54:19: error: method does not override any method from its superclass
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 52 | }
| 53 |
| 54 | override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?) {
| | `- error: method does not override any method from its superclass
| 55 | switch keyPath {
| 56 | case prefix + "name":
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:49:82: error: value of type 'UserDefaults' has no member 'addObserver'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|47 | self.observableKeysBlacklist = observableKeysBlacklist
|48 | super.init()
|49 | if !observableKeysBlacklist.contains(prefix + "firstName"){ userDefaults.addObserver(self, forKeyPath: prefix + "firstName", options: .new, context: nil) }
| | `- error: value of type 'UserDefaults' has no member 'addObserver'
|50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
|51 | }
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:49:144: error: cannot infer contextual base in reference to member 'new'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|47 | self.observableKeysBlacklist = observableKeysBlacklist
|48 | super.init()
|49 | if !observableKeysBlacklist.contains(prefix + "firstName"){ userDefaults.addObserver(self, forKeyPath: prefix + "firstName", options: .new, context: nil) }
| | `- error: cannot infer contextual base in reference to member 'new'
|50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
|51 | }
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:49:158: error: 'nil' requires a contextual type
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|47 | self.observableKeysBlacklist = observableKeysBlacklist
|48 | super.init()
|49 | if !observableKeysBlacklist.contains(prefix + "firstName"){ userDefaults.addObserver(self, forKeyPath: prefix + "firstName", options: .new, context: nil) }
| | `- error: 'nil' requires a contextual type
|50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
|51 | }
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:50:76: error: value of type 'UserDefaults' has no member 'addObserver'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|48 | super.init()
|49 | if !observableKeysBlacklist.contains(prefix + "firstName"){ userDefaults.addObserver(self, forKeyPath: prefix + "firstName", options: .new, context: nil) }
|50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
| | `- error: value of type 'UserDefaults' has no member 'addObserver'
|51 | }
|52 |
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:50:132: error: cannot infer contextual base in reference to member 'new'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|48 | super.init()
|49 | if !observableKeysBlacklist.contains(prefix + "firstName"){ userDefaults.addObserver(self, forKeyPath: prefix + "firstName", options: .new, context: nil) }
|50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
| | `- error: cannot infer contextual base in reference to member 'new'
|51 | }
|52 |
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:50:146: error: 'nil' requires a contextual type
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|48 | super.init()
|49 | if !observableKeysBlacklist.contains(prefix + "firstName"){ userDefaults.addObserver(self, forKeyPath: prefix + "firstName", options: .new, context: nil) }
|50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
| | `- error: 'nil' requires a contextual type
|51 | }
|52 |
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:60:19: error: value of type 'NSObject' has no member 'observeValue'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|58 | host._$observationRegistrar.withMutation(of: host, keyPath: \.age) {}
|59 | default:
|60 | super.observeValue(forKeyPath: keyPath, of: object, change: change, context: context)
| | `- error: value of type 'NSObject' has no member 'observeValue'
|61 | }
|62 | }
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:65:82: error: value of type 'UserDefaults' has no member 'removeObserver'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|63 |
|64 | deinit {
|65 | if !observableKeysBlacklist.contains(prefix + "firstName"){ userDefaults.removeObserver(self, forKeyPath: prefix + "firstName") }
| | `- error: value of type 'UserDefaults' has no member 'removeObserver'
|66 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.removeObserver(self, forKeyPath: prefix + "age") }
|67 | }
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:66:76: error: value of type 'UserDefaults' has no member 'removeObserver'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:31:1: note: expanded code originates here
29 | @Ignore
30 | public var weight = 10
31 | }
+--- macro expansion @ObservableDefaults ----------------------------
|64 | deinit {
|65 | if !observableKeysBlacklist.contains(prefix + "firstName"){ userDefaults.removeObserver(self, forKeyPath: prefix + "firstName") }
|66 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.removeObserver(self, forKeyPath: prefix + "age") }
| | `- error: value of type 'UserDefaults' has no member 'removeObserver'
|67 | }
|68 | }
+--------------------------------------------------------------------
32 |
33 | @ObservableDefaults(observeFirst: true) // Observe First Mode
macro expansion @ObservableDefaults:49:77: error: value of type 'UserDefaults' has no member 'addObserver'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 47 | self.observableKeysBlacklist = observableKeysBlacklist
| 48 | super.init()
| 49 | if !observableKeysBlacklist.contains(prefix + "name"){ userDefaults.addObserver(self, forKeyPath: prefix + "name", options: .new, context: nil) }
| | `- error: value of type 'UserDefaults' has no member 'addObserver'
| 50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
| 51 | if !observableKeysBlacklist.contains(prefix + "myHeight"){ userDefaults.addObserver(self, forKeyPath: prefix + "myHeight", options: .new, context: nil) }
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:49:134: error: cannot infer contextual base in reference to member 'new'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 47 | self.observableKeysBlacklist = observableKeysBlacklist
| 48 | super.init()
| 49 | if !observableKeysBlacklist.contains(prefix + "name"){ userDefaults.addObserver(self, forKeyPath: prefix + "name", options: .new, context: nil) }
| | `- error: cannot infer contextual base in reference to member 'new'
| 50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
| 51 | if !observableKeysBlacklist.contains(prefix + "myHeight"){ userDefaults.addObserver(self, forKeyPath: prefix + "myHeight", options: .new, context: nil) }
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:49:148: error: 'nil' requires a contextual type
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 47 | self.observableKeysBlacklist = observableKeysBlacklist
| 48 | super.init()
| 49 | if !observableKeysBlacklist.contains(prefix + "name"){ userDefaults.addObserver(self, forKeyPath: prefix + "name", options: .new, context: nil) }
| | `- error: 'nil' requires a contextual type
| 50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
| 51 | if !observableKeysBlacklist.contains(prefix + "myHeight"){ userDefaults.addObserver(self, forKeyPath: prefix + "myHeight", options: .new, context: nil) }
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:50:76: error: value of type 'UserDefaults' has no member 'addObserver'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 48 | super.init()
| 49 | if !observableKeysBlacklist.contains(prefix + "name"){ userDefaults.addObserver(self, forKeyPath: prefix + "name", options: .new, context: nil) }
| 50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
| | `- error: value of type 'UserDefaults' has no member 'addObserver'
| 51 | if !observableKeysBlacklist.contains(prefix + "myHeight"){ userDefaults.addObserver(self, forKeyPath: prefix + "myHeight", options: .new, context: nil) }
| 52 | }
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:50:132: error: cannot infer contextual base in reference to member 'new'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 48 | super.init()
| 49 | if !observableKeysBlacklist.contains(prefix + "name"){ userDefaults.addObserver(self, forKeyPath: prefix + "name", options: .new, context: nil) }
| 50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
| | `- error: cannot infer contextual base in reference to member 'new'
| 51 | if !observableKeysBlacklist.contains(prefix + "myHeight"){ userDefaults.addObserver(self, forKeyPath: prefix + "myHeight", options: .new, context: nil) }
| 52 | }
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:50:146: error: 'nil' requires a contextual type
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 48 | super.init()
| 49 | if !observableKeysBlacklist.contains(prefix + "name"){ userDefaults.addObserver(self, forKeyPath: prefix + "name", options: .new, context: nil) }
| 50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
| | `- error: 'nil' requires a contextual type
| 51 | if !observableKeysBlacklist.contains(prefix + "myHeight"){ userDefaults.addObserver(self, forKeyPath: prefix + "myHeight", options: .new, context: nil) }
| 52 | }
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:51:81: error: value of type 'UserDefaults' has no member 'addObserver'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 49 | if !observableKeysBlacklist.contains(prefix + "name"){ userDefaults.addObserver(self, forKeyPath: prefix + "name", options: .new, context: nil) }
| 50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
| 51 | if !observableKeysBlacklist.contains(prefix + "myHeight"){ userDefaults.addObserver(self, forKeyPath: prefix + "myHeight", options: .new, context: nil) }
| | `- error: value of type 'UserDefaults' has no member 'addObserver'
| 52 | }
| 53 |
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:51:142: error: cannot infer contextual base in reference to member 'new'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 49 | if !observableKeysBlacklist.contains(prefix + "name"){ userDefaults.addObserver(self, forKeyPath: prefix + "name", options: .new, context: nil) }
| 50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
| 51 | if !observableKeysBlacklist.contains(prefix + "myHeight"){ userDefaults.addObserver(self, forKeyPath: prefix + "myHeight", options: .new, context: nil) }
| | `- error: cannot infer contextual base in reference to member 'new'
| 52 | }
| 53 |
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:51:156: error: 'nil' requires a contextual type
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 49 | if !observableKeysBlacklist.contains(prefix + "name"){ userDefaults.addObserver(self, forKeyPath: prefix + "name", options: .new, context: nil) }
| 50 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.addObserver(self, forKeyPath: prefix + "age", options: .new, context: nil) }
| 51 | if !observableKeysBlacklist.contains(prefix + "myHeight"){ userDefaults.addObserver(self, forKeyPath: prefix + "myHeight", options: .new, context: nil) }
| | `- error: 'nil' requires a contextual type
| 52 | }
| 53 |
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:63:19: error: value of type 'NSObject' has no member 'observeValue'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 61 | host._$observationRegistrar.withMutation(of: host, keyPath: \.height) {}
| 62 | default:
| 63 | super.observeValue(forKeyPath: keyPath, of: object, change: change, context: context)
| | `- error: value of type 'NSObject' has no member 'observeValue'
| 64 | }
| 65 | }
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:68:77: error: value of type 'UserDefaults' has no member 'removeObserver'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 66 |
| 67 | deinit {
| 68 | if !observableKeysBlacklist.contains(prefix + "name"){ userDefaults.removeObserver(self, forKeyPath: prefix + "name") }
| | `- error: value of type 'UserDefaults' has no member 'removeObserver'
| 69 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.removeObserver(self, forKeyPath: prefix + "age") }
| 70 | if !observableKeysBlacklist.contains(prefix + "myHeight"){ userDefaults.removeObserver(self, forKeyPath: prefix + "myHeight") }
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:69:76: error: value of type 'UserDefaults' has no member 'removeObserver'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 67 | deinit {
| 68 | if !observableKeysBlacklist.contains(prefix + "name"){ userDefaults.removeObserver(self, forKeyPath: prefix + "name") }
| 69 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.removeObserver(self, forKeyPath: prefix + "age") }
| | `- error: value of type 'UserDefaults' has no member 'removeObserver'
| 70 | if !observableKeysBlacklist.contains(prefix + "myHeight"){ userDefaults.removeObserver(self, forKeyPath: prefix + "myHeight") }
| 71 | }
+--------------------------------------------------------------------
49 |
50 |
macro expansion @ObservableDefaults:70:81: error: value of type 'UserDefaults' has no member 'removeObserver'
`- /host/spi-builder-workspace/Sources/ObservableDefaultsClient/main.swift:48:1: note: expanded code originates here
46 | @Ignore
47 | public var weight = 10
48 | }
+--- macro expansion @ObservableDefaults ----------------------------
| 68 | if !observableKeysBlacklist.contains(prefix + "name"){ userDefaults.removeObserver(self, forKeyPath: prefix + "name") }
| 69 | if !observableKeysBlacklist.contains(prefix + "age"){ userDefaults.removeObserver(self, forKeyPath: prefix + "age") }
| 70 | if !observableKeysBlacklist.contains(prefix + "myHeight"){ userDefaults.removeObserver(self, forKeyPath: prefix + "myHeight") }
| | `- error: value of type 'UserDefaults' has no member 'removeObserver'
| 71 | }
| 72 | }
+--------------------------------------------------------------------
49 |
50 |
BUILD FAILURE 6.0 linux