The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Agents.swift, reference 0.10.3 (90aa23), with Swift 6.3 for Linux on 17 Apr 2026 05:28:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/victorhenrion/Agents.swift.git
Reference: 0.10.3
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/victorhenrion/Agents.swift
 * tag               0.10.3     -> FETCH_HEAD
HEAD is now at 90aa23d feat: make ToolInputAvailable properties public
Cloned https://github.com/victorhenrion/Agents.swift.git
Revision (git rev-parse @):
90aa23d7d6b78075088e590973ba633d3b1a9949
SUCCESS checkout https://github.com/victorhenrion/Agents.swift.git at 0.10.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/victorhenrion/Agents.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/gohanlon/swift-memberwise-init-macro.git
Fetching https://github.com/daangn/KarrotCodableKit.git
[1/1649] Fetching swift-memberwise-init-macro
[1650/25218] Fetching swift-memberwise-init-macro, swift-collections
[3300/26680] Fetching swift-memberwise-init-macro, swift-collections, karrotcodablekit
Fetched https://github.com/gohanlon/swift-memberwise-init-macro.git from cache (1.01s)
Fetched https://github.com/daangn/KarrotCodableKit.git from cache (1.38s)
Fetched https://github.com/apple/swift-collections.git from cache (1.42s)
Computing version for https://github.com/gohanlon/swift-memberwise-init-macro.git
Computed https://github.com/gohanlon/swift-memberwise-init-macro.git at 0.6.0 (4.67s)
Fetching https://github.com/swiftlang/swift-syntax
[1/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (6.29s)
Computing version for https://github.com/daangn/KarrotCodableKit.git
Computed https://github.com/daangn/KarrotCodableKit.git at 1.7.0 (7.13s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.67s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.67s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/daangn/KarrotCodableKit.git
Working copy of https://github.com/daangn/KarrotCodableKit.git resolved at 1.7.0
Creating working copy for https://github.com/gohanlon/swift-memberwise-init-macro.git
Working copy of https://github.com/gohanlon/swift-memberwise-init-macro.git resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Building for debugging...
[0/47] Write sources
[15/47] Compiling _SwiftSyntaxCShims dummy.c
[16/47] Write sources
[25/47] Write swift-version-24593BA9C3E375BF.txt
[27/67] Emitting module SwiftSyntax510
[28/69] Emitting module SwiftSyntax600
[29/75] Emitting module SwiftSyntax601
[30/75] Emitting module InternalCollectionsUtilities
[31/77] Emitting module ISO8601JSON
[32/77] Compiling InternalCollectionsUtilities Integer rank.swift
[33/77] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[34/77] Compiling InternalCollectionsUtilities UInt+reversed.swift
[35/77] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[36/77] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[37/77] Compiling InternalCollectionsUtilities Debugging.swift
[38/77] Compiling InternalCollectionsUtilities Descriptions.swift
[39/77] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[40/77] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[41/77] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[42/77] Compiling InternalCollectionsUtilities Span+Extras.swift
[43/77] Compiling SwiftSyntax601 Empty.swift
[44/78] Compiling InternalCollectionsUtilities _SortedCollection.swift
[45/78] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[47/78] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[48/78] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[49/78] Compiling SwiftSyntax510 Empty.swift
[50/78] Compiling SwiftSyntax600 Empty.swift
[51/80] Emitting module SwiftSyntax509
[52/80] Compiling SwiftSyntax509 Empty.swift
[54/81] Wrapping AST for SwiftSyntax601 for debugging
[56/81] Wrapping AST for SwiftSyntax600 for debugging
[57/81] Wrapping AST for SwiftSyntax510 for debugging
[58/81] Wrapping AST for SwiftSyntax509 for debugging
[60/81] Compiling InternalCollectionsUtilities String+Padding.swift
[61/81] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[62/81] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[63/81] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[65/201] Compiling OrderedCollections OrderedDictionary.swift
[66/201] Compiling OrderedCollections OrderedSet+Codable.swift
[67/201] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[68/201] Compiling OrderedCollections OrderedSet+Descriptions.swift
[69/201] Compiling OrderedCollections OrderedSet+Diffing.swift
[70/201] Compiling OrderedCollections OrderedSet+Equatable.swift
[71/201] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[72/201] Compiling OrderedCollections OrderedSet+Hashable.swift
[73/208] Compiling OrderedCollections OrderedSet+Initializers.swift
[74/208] Compiling OrderedCollections OrderedSet+Insertions.swift
[75/208] Compiling OrderedCollections OrderedSet+Invariants.swift
[76/208] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[77/208] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[78/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[79/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[80/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[81/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[82/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[83/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[84/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[85/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[86/208] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[87/208] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[88/208] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[89/208] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[90/208] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[91/208] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[92/208] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[93/208] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[94/208] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[95/208] Compiling OrderedCollections OrderedDictionary+Values.swift
[96/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[97/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[98/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[99/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[100/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[101/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[102/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[103/208] Compiling OrderedCollections OrderedDictionary+Codable.swift
[104/208] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[105/208] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[106/208] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[107/208] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[108/208] Compiling OrderedCollections OrderedDictionary+Elements.swift
[109/208] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[110/208] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[111/208] Compiling OrderedCollections _HashTable+Bucket.swift
[112/208] Compiling OrderedCollections _HashTable+BucketIterator.swift
[113/208] Compiling OrderedCollections _HashTable+Constants.swift
[114/208] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[115/208] Compiling OrderedCollections _HashTable+Testing.swift
[116/208] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[117/208] Compiling OrderedCollections _HashTable.swift
[118/208] Compiling OrderedCollections _Hashtable+Header.swift
[119/208] Compiling ISO8601JSON ISO8601JSON.swift
[130/218] Compiling OrderedCollections OrderedSet+Sendable.swift
[131/218] Compiling OrderedCollections OrderedSet+SubSequence.swift
[132/218] Compiling OrderedCollections OrderedSet+Testing.swift
[133/218] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[134/218] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[135/218] Compiling OrderedCollections OrderedSet.swift
[136/218] Compiling OrderedCollections _UnsafeBitset.swift
[137/218] Emitting module OrderedCollections
[166/219] Emitting module SwiftSyntax
[183/219] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[184/219] Compiling SwiftSyntax RawSyntaxValidation.swift
[194/219] Compiling SwiftSyntax SyntaxNodesAB.swift
[195/219] Compiling SwiftSyntax SyntaxNodesC.swift
[196/219] Compiling SwiftSyntax SyntaxNodesD.swift
[197/219] Compiling SwiftSyntax SyntaxNodesEF.swift
[198/219] Compiling SwiftSyntax SyntaxNodesGHI.swift
[199/219] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[200/219] Compiling SwiftSyntax SyntaxNodesOP.swift
[201/219] Compiling SwiftSyntax SyntaxNodesQRS.swift
[202/219] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[203/237] Wrapping AST for SwiftSyntax for debugging
[205/278] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[206/279] Compiling SwiftDiagnostics Message.swift
[207/279] Compiling SwiftDiagnostics Note.swift
[208/279] Compiling SwiftParser CharacterInfo.swift
[209/279] Compiling SwiftParser CollectionNodes+Parsable.swift
[210/279] Emitting module SwiftBasicFormat
[211/279] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[212/279] Compiling SwiftBasicFormat Syntax+Extensions.swift
[213/279] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[214/279] Emitting module SwiftDiagnostics
[215/279] Compiling SwiftParser Attributes.swift
[216/279] Compiling SwiftParser Availability.swift
[217/279] Compiling SwiftDiagnostics FixIt.swift
[218/279] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[219/279] Compiling SwiftBasicFormat InferIndentation.swift
[220/279] Compiling SwiftBasicFormat Indenter.swift
[221/279] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[223/280] Compiling SwiftParser SwiftParserCompatibility.swift
[224/280] Compiling SwiftParser SwiftVersion.swift
[225/280] Compiling SwiftParser SyntaxUtils.swift
[226/280] Compiling SwiftParser TokenConsumer.swift
[227/280] Compiling SwiftParser TokenPrecedence.swift
[227/285] Wrapping AST for SwiftDiagnostics for debugging
[229/285] Compiling SwiftBasicFormat BasicFormat.swift
[230/286] Wrapping AST for SwiftBasicFormat for debugging
[232/286] Compiling SwiftParser LexemeSequence.swift
[233/286] Compiling SwiftParser Lexer.swift
[234/286] Compiling SwiftParser RegexLiteralLexer.swift
[235/286] Compiling SwiftParser UnicodeScalarExtensions.swift
[236/286] Compiling SwiftParser Lookahead.swift
[237/286] Compiling SwiftParser LoopProgressCondition.swift
[238/286] Compiling SwiftParser Modifiers.swift
[239/286] Compiling SwiftParser Names.swift
[240/286] Compiling SwiftParser Nominals.swift
[241/286] Compiling SwiftParser Parameters.swift
[242/286] Compiling SwiftParser ParseSourceFile.swift
[243/286] Compiling SwiftParser Parser.swift
[244/286] Emitting module SwiftParser
[245/286] Compiling SwiftParser TokenSpec.swift
[246/286] Compiling SwiftParser TokenSpecSet.swift
[247/286] Compiling SwiftParser TopLevel.swift
[248/286] Compiling SwiftParser TriviaParser.swift
[249/286] Compiling SwiftParser Types.swift
[250/286] Compiling SwiftParser Patterns.swift
[251/286] Compiling SwiftParser Recovery.swift
[252/286] Compiling SwiftParser Specifiers.swift
[253/286] Compiling SwiftParser Statements.swift
[254/286] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[255/286] Compiling SwiftParser StringLiterals.swift
[260/286] Compiling SwiftParser Declarations.swift
[261/286] Compiling SwiftParser Directives.swift
[262/286] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[263/286] Compiling SwiftParser Expressions.swift
[264/286] Compiling SwiftParser IncrementalParseTransition.swift
[265/286] Compiling SwiftParser IsValidIdentifier.swift
[266/286] Compiling SwiftParser Cursor.swift
[267/286] Compiling SwiftParser Lexeme.swift
[268/286] Compiling SwiftParser ExperimentalFeatures.swift
[269/286] Compiling SwiftParser IsLexerClassified.swift
[270/286] Compiling SwiftParser LayoutNodes+Parsable.swift
[271/286] Compiling SwiftParser Parser+TokenSpecSet.swift
[272/286] Compiling SwiftParser TokenSpecStaticMembers.swift
[273/287] Wrapping AST for SwiftParser for debugging
[275/310] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[276/311] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[277/311] Compiling SwiftOperators OperatorTable.swift
[278/311] Compiling SwiftOperators PrecedenceGraph.swift
[279/312] Compiling SwiftOperators PrecedenceGroup.swift
[280/312] Compiling SwiftOperators SyntaxSynthesis.swift
[281/312] Compiling SwiftOperators OperatorTable+Semantics.swift
[282/312] Emitting module SwiftOperators
[283/312] Compiling SwiftOperators Operator.swift
[284/312] Compiling SwiftOperators OperatorError+Diagnostics.swift
[285/312] Compiling SwiftOperators OperatorTable+Folding.swift
[286/312] Compiling SwiftOperators OperatorError.swift
[287/312] Compiling SwiftOperators OperatorTable+Defaults.swift
[289/313] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[290/313] Compiling SwiftParserDiagnostics Utils.swift
[291/313] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[291/313] Wrapping AST for SwiftOperators for debugging
[293/313] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[294/313] Compiling SwiftParserDiagnostics PresenceUtils.swift
[297/313] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[298/313] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[299/313] Emitting module SwiftParserDiagnostics
[302/314] Wrapping AST for SwiftParserDiagnostics for debugging
[304/329] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[305/329] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[306/330] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[307/330] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[308/330] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[309/330] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[310/330] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[311/330] Emitting module SwiftSyntaxBuilder
[312/330] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[313/330] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[314/330] Compiling SwiftSyntaxBuilder Indenter.swift
[315/330] Compiling SwiftSyntaxBuilder ListBuilder.swift
[316/330] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[317/330] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[318/330] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[319/330] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[320/331] Wrapping AST for SwiftSyntaxBuilder for debugging
[322/348] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[323/348] Compiling SwiftSyntaxMacros Macro+Format.swift
[324/348] Compiling SwiftSyntaxMacros MemberMacro.swift
[325/348] Compiling SwiftSyntaxMacros PeerMacro.swift
[326/348] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[327/348] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[328/348] Compiling SwiftSyntaxMacros AccessorMacro.swift
[329/348] Compiling SwiftSyntaxMacros AttachedMacro.swift
[330/348] Compiling SwiftSyntaxMacros BodyMacro.swift
[331/348] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[332/348] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[333/350] Emitting module SwiftSyntaxMacros
[334/350] Compiling SwiftSyntaxMacros Macro.swift
[335/350] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[336/350] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[337/350] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[338/350] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[339/350] Compiling SwiftSyntaxMacros PreambleMacro.swift
[340/350] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[341/351] Wrapping AST for SwiftSyntaxMacros for debugging
[343/360] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[344/361] Emitting module SwiftSyntaxMacroExpansion
[345/361] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[346/361] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[347/361] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[348/361] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[349/361] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[350/361] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[351/361] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[352/361] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[353/362] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[355/374] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[356/375] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[357/375] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[358/375] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[359/375] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[360/375] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[361/375] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[362/375] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[363/375] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[364/375] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[365/375] Emitting module SwiftCompilerPluginMessageHandling
[366/375] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[367/375] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[368/376] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[370/378] Emitting module SwiftCompilerPlugin
[371/378] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[372/391] Wrapping AST for SwiftCompilerPlugin for debugging
[374/420] Compiling MemberwiseInitMacros String.swift
[375/421] Emitting module KarrotCodableKitMacros
[376/424] Compiling KarrotCodableKitMacros PropertyDiagnosticHelper.swift
[377/424] Compiling KarrotCodableKitMacros SyntaxHelper.swift
[378/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicValidation.swift
[379/424] Compiling KarrotCodableKitMacros CodableKeyMacro.swift
[380/424] Compiling KarrotCodableKitMacros CustomCodableMacro.swift
[381/424] Compiling KarrotCodableKitMacros CustomDecodableMacro.swift
[382/424] Compiling KarrotCodableKitMacros CustomEncodableMacro.swift
[383/424] Compiling MemberwiseInitMacros SyntaxHelpers.swift
[384/424] Compiling KarrotCodableKitMacros String+SnakeCase.swift
[385/424] Compiling KarrotCodableKitMacros String+Trimming.swift
[386/424] Compiling KarrotCodableKitMacros KarrotCodableKitPlugin.swift
[387/424] Compiling KarrotCodableKitMacros PolymorphicCodableMacro.swift
[390/424] Emitting module MemberwiseInitMacros
[391/424] Compiling MemberwiseInitMacros UncheckedMemberwiseInitMacro.swift
[392/424] Compiling KarrotCodableKitMacros PolymorphicEnumDecodableMacro.swift
[393/424] Compiling KarrotCodableKitMacros PolymorphicEnumEncodableMacro.swift
[394/424] Compiling KarrotCodableKitMacros AccessLevelModifier.swift
[395/424] Compiling KarrotCodableKitMacros Diagnostics.swift
[396/424] Compiling KarrotCodableKitMacros PolymorphicCodableStrategyMacro.swift
[397/424] Compiling KarrotCodableKitMacros PolymorphicDecodableMacro.swift
[398/424] Compiling KarrotCodableKitMacros PolymorphicEncodableMacro.swift
[399/424] Compiling KarrotCodableKitMacros PolymorphicEnumCodableMacro.swift
[400/424] Compiling KarrotCodableKitMacros BaseUnnestedPolymorphicMacro.swift
[401/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicCodableMacro.swift
[402/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicDecodableMacro.swift
[403/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicMethodGenerator.swift
[404/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicStructGenerator.swift
[405/424] Compiling KarrotCodableKitMacros PolymorphicMacroArgumentValidator.swift
[406/424] Compiling KarrotCodableKitMacros PropertyAnalyzer.swift
[407/424] Compiling KarrotCodableKitMacros CodingKeysSyntaxFactory.swift
[408/424] Compiling KarrotCodableKitMacros PolymorphicEnumCodableFactory.swift
[409/424] Compiling KarrotCodableKitMacros PolymorphicExtensionFactory.swift
[410/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicCodeGenerator.swift
[415/425] Wrapping AST for KarrotCodableKitMacros for debugging
[416/425] Write Objects.LinkFileList
[422/426] Wrapping AST for MemberwiseInitMacros for debugging
[423/426] Write Objects.LinkFileList
[424/426] Linking KarrotCodableKitMacros-tool
[425/489] Linking MemberwiseInitMacros-tool
[427/491] Compiling KarrotCodableKit KeyedDecodingContainer+OptionalPolymorphicValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[428/491] Compiling KarrotCodableKit KeyedDecodingContainer+PolymorphicLossyArrayValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[429/491] Compiling KarrotCodableKit PolymorphicCodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[430/491] Compiling KarrotCodableKit PolymorphicCodableStrategyProviding.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[431/491] Compiling KarrotCodableKit PolymorphicDecodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[432/491] Compiling KarrotCodableKit PolymorphicEncodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[433/491] Compiling KarrotCodableKit PolymorphicEnumCodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[434/491] Compiling KarrotCodableKit PolymorphicEnumDecodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[435/491] Compiling KarrotCodableKit PolymorphicEnumEncodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[436/491] Compiling KarrotCodableKit Encodable+ToDictionary.swift
[437/491] Compiling KarrotCodableKit DefaultEmptyPolymorphicArrayValue.swift
[438/491] Compiling KarrotCodableKit PolymorphicCodableError.swift
[439/491] Compiling KarrotCodableKit Decoder+Polymorphic.swift
[440/491] Compiling KarrotCodableKit Encoder+Polymorphic.swift
[441/491] Compiling KarrotCodableKit KeyedDecodingContainer+DefaultEmptyPolymorphicArrayValue.swift
[442/491] Compiling KarrotCodableKit KeyedDecodingContainer+LossyOptionalPolymorphicValue.swift
[443/491] Compiling KarrotCodableKit KeyedDecodingContainer+OptionalPolymorphicArrayValue.swift
[444/491] Compiling KarrotCodableKit KeyedDecodingContainer+OptionalPolymorphicLossyArrayValue.swift
[445/491] Emitting module KarrotCodableKit
[446/499] Compiling KarrotCodableKit RFC3339NanoStrategy.swift
[447/499] Compiling KarrotCodableKit RFC3339Strategy.swift
[448/499] Compiling KarrotCodableKit TimestampStrategy.swift
[449/499] Compiling KarrotCodableKit DefaultCodable.swift
[450/499] Compiling KarrotCodableKit DefaultEmptyArray.swift
[451/499] Compiling KarrotCodableKit DefaultEmptyDictionary.swift
[452/499] Compiling KarrotCodableKit DefaultEmptyString.swift
[453/499] Compiling KarrotCodableKit DefaultFalse.swift
[454/499] Compiling KarrotCodableKit DefaultTrue.swift
[455/499] Emitting module MemberwiseInit
[456/499] Compiling MemberwiseInit MemberwiseInit.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[458/500] Compiling KarrotCodableKit UnnestedPolymorphicCodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[459/500] Compiling KarrotCodableKit UnnestedPolymorphicDecodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[460/500] Compiling KarrotCodableKit LossyOptionalPolymorphicValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[461/500] Compiling KarrotCodableKit OptionalPolymorphicArrayValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[462/500] Compiling KarrotCodableKit OptionalPolymorphicLossyArrayValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[463/500] Compiling KarrotCodableKit OptionalPolymorphicValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[464/500] Compiling KarrotCodableKit PolymorphicArrayValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[465/500] Compiling KarrotCodableKit PolymorphicCodableStrategy.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[466/500] Compiling KarrotCodableKit LossyArray.swift
[467/500] Compiling KarrotCodableKit LossyDictionary.swift
[468/500] Compiling KarrotCodableKit LossyOptional.swift
[469/500] Compiling KarrotCodableKit ResilientProjectedValue.swift
[470/500] Compiling KarrotCodableKit CodingKeyStyle.swift
[471/500] Compiling KarrotCodableKit CodableKey.swift
[472/500] Compiling KarrotCodableKit CustomCodable.swift
[473/500] Compiling KarrotCodableKit CustomDecodable.swift
[474/500] Compiling KarrotCodableKit CustomEncodable.swift
[475/500] Compiling KarrotCodableKit DefaultZeroDouble.swift
[476/500] Compiling KarrotCodableKit DefaultZeroFloat.swift
[477/500] Compiling KarrotCodableKit DefaultZeroInt.swift
[478/500] Compiling KarrotCodableKit KeyedDecodingContainer+DefaultCodable.swift
[479/500] Compiling KarrotCodableKit Result+Extension.swift
[480/500] Compiling KarrotCodableKit LosslessArray.swift
[481/500] Compiling KarrotCodableKit LosslessBoolValue.swift
[482/500] Compiling KarrotCodableKit LosslessValue.swift
[483/500] Compiling KarrotCodableKit OptionalLosslessValue.swift
[484/500] Compiling KarrotCodableKit AnyCodable.swift
[485/500] Compiling KarrotCodableKit AnyDecodable.swift
[486/500] Compiling KarrotCodableKit AnyEncodable.swift
[487/500] Compiling KarrotCodableKit Base64Strategy.swift
[488/500] Compiling KarrotCodableKit DataValue.swift
[489/500] Compiling KarrotCodableKit DateValue.swift
[490/500] Compiling KarrotCodableKit OptionalDateValue.swift
[491/500] Compiling KarrotCodableKit ISO8601Strategy.swift
[492/500] Compiling KarrotCodableKit ISO8601WithFractionalSecondsStrategy.swift
[493/500] Compiling KarrotCodableKit PolymorphicIdentifiable.swift
[494/500] Compiling KarrotCodableKit PolymorphicLossyArrayValue.swift
[495/500] Compiling KarrotCodableKit PolymorphicProjectedValue.swift
[496/500] Compiling KarrotCodableKit PolymorphicValue.swift
[497/500] Compiling KarrotCodableKit ArrayDecodingError.swift
[498/500] Compiling KarrotCodableKit DictionaryDecodingError.swift
[499/500] Compiling KarrotCodableKit ErrorReporting.swift
[500/500] Compiling KarrotCodableKit ResilientDecodingOutcome.swift
[502/505] Compiling AI ChatMessageBuilder.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[503/505] Emitting module AI
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[504/505] Compiling AI ChatMessage.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[505/505] Compiling AI ChatMessageChunk.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[507/510] Compiling Agents WebSocketTaskConnection.swift
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:3:34: error: cannot find type 'URLSessionWebSocketDelegate' in scope
  1 | import Foundation
  2 |
  3 | class WebSocketClient: NSObject, URLSessionWebSocketDelegate {
    |                                  `- error: cannot find type 'URLSessionWebSocketDelegate' in scope
  4 |     // config
  5 |     private weak var delegate: Delegate?
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:11:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     // state
 10 |     private let urlSessionQueue = OperationQueue()
 11 |     private(set) var urlSession: URLSession!
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     private(set) var webSocketTask: URLSessionWebSocketTask!
 13 |     private(set) var reconnectTask: Task<Bool, Never>?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:12:37: error: cannot find type 'URLSessionWebSocketTask' in scope
 10 |     private let urlSessionQueue = OperationQueue()
 11 |     private(set) var urlSession: URLSession!
 12 |     private(set) var webSocketTask: URLSessionWebSocketTask!
    |                                     `- error: cannot find type 'URLSessionWebSocketTask' in scope
 13 |     private(set) var reconnectTask: Task<Bool, Never>?
 14 |     private(set) var isOpen: Bool = false
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:38:24: error: cannot find type 'URLSessionWebSocketTask' in scope
 36 |     func urlSession(
 37 |         _ session: URLSession,
 38 |         webSocketTask: URLSessionWebSocketTask,
    |                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
 39 |         didOpenWithProtocol `protocol`: String?
 40 |     ) {
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:37:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     func urlSession(
 37 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 38 |         webSocketTask: URLSessionWebSocketTask,
 39 |         didOpenWithProtocol `protocol`: String?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:49:24: error: cannot find type 'URLSessionWebSocketTask' in scope
 47 |     func urlSession(
 48 |         _ session: URLSession,
 49 |         webSocketTask: URLSessionWebSocketTask,
    |                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
 50 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
 51 |         reason: Data?
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:50:33: error: cannot find type 'URLSessionWebSocketTask' in scope
 48 |         _ session: URLSession,
 49 |         webSocketTask: URLSessionWebSocketTask,
 50 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
    |                                 `- error: cannot find type 'URLSessionWebSocketTask' in scope
 51 |         reason: Data?
 52 |     ) {
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:48:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |
 47 |     func urlSession(
 48 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 |         webSocketTask: URLSessionWebSocketTask,
 50 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:60:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |
 59 |     func urlSession(
 60 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |         task: URLSessionTask,
 62 |         didCompleteWithError error: Error?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:61:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 59 |     func urlSession(
 60 |         _ session: URLSession,
 61 |         task: URLSessionTask,
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |         didCompleteWithError error: Error?
 63 |     ) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:28:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 26 |         self.currentURL = url
 27 |         super.init()
 28 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 29 |         configuration.httpAdditionalHeaders = headers
 30 |         self.urlSession = URLSession(
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:30:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 28 |         let configuration = URLSessionConfiguration.default
 29 |         configuration.httpAdditionalHeaders = headers
 30 |         self.urlSession = URLSession(
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 31 |             configuration: configuration, delegate: self, delegateQueue: self.urlSessionQueue)
 32 |         self.webSocketTask = self.urlSession.webSocketTask(
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:32:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 30 |         self.urlSession = URLSession(
 31 |             configuration: configuration, delegate: self, delegateQueue: self.urlSessionQueue)
 32 |         self.webSocketTask = self.urlSession.webSocketTask(
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'webSocketTask'
 33 |             with: url.replacingInScheme("http", with: "ws"))
 34 |     }
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:89:50: error: cannot infer contextual base in reference to member 'goingAway'
 87 |                 if self.isOpen || Task.isCancelled { break }
 88 |                 // reconnect
 89 |                 self.webSocketTask.cancel(with: .goingAway, reason: nil)
    |                                                  `- error: cannot infer contextual base in reference to member 'goingAway'
 90 |                 self.urlSession.configuration.httpAdditionalHeaders = await getHeaders?()
 91 |                 self.webSocketTask = self.urlSession.webSocketTask(
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:89:69: error: 'nil' requires a contextual type
 87 |                 if self.isOpen || Task.isCancelled { break }
 88 |                 // reconnect
 89 |                 self.webSocketTask.cancel(with: .goingAway, reason: nil)
    |                                                                     `- error: 'nil' requires a contextual type
 90 |                 self.urlSession.configuration.httpAdditionalHeaders = await getHeaders?()
 91 |                 self.webSocketTask = self.urlSession.webSocketTask(
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:113:37: error: cannot infer contextual base in reference to member 'goingAway'
111 |         reconnectTask?.cancel()
112 |         reconnectTask = nil
113 |         webSocketTask.cancel(with: .goingAway, reason: nil)
    |                                     `- error: cannot infer contextual base in reference to member 'goingAway'
114 |         urlSession?.invalidateAndCancel()
115 |         isOpen = false
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:113:56: error: 'nil' requires a contextual type
111 |         reconnectTask?.cancel()
112 |         reconnectTask = nil
113 |         webSocketTask.cancel(with: .goingAway, reason: nil)
    |                                                        `- error: 'nil' requires a contextual type
114 |         urlSession?.invalidateAndCancel()
115 |         isOpen = false
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:114:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
112 |         reconnectTask = nil
113 |         webSocketTask.cancel(with: .goingAway, reason: nil)
114 |         urlSession?.invalidateAndCancel()
    |                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
115 |         isOpen = false
116 |     }
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:119:45: error: cannot infer type of closure parameter 'result' without a type annotation
117 |
118 |     private func listen() {
119 |         webSocketTask.receive { [weak self] result in
    |                                             `- error: cannot infer type of closure parameter 'result' without a type annotation
120 |             guard let self = self else { return }
121 |             guard let delegate = self.delegate else { return }
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:169:42: error: cannot infer contextual base in reference to member 'string'
167 |             switch self.messageFormat {
168 |             case .preserve, .text:
169 |                 self.webSocketTask.send(.string(text)) { error in
    |                                          `- error: cannot infer contextual base in reference to member 'string'
170 |                     if let error = error { cont.resume(throwing: error) } else { cont.resume() }
171 |                 }
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:188:42: error: cannot infer contextual base in reference to member 'data'
186 |             switch self.messageFormat {
187 |             case .preserve, .binary:
188 |                 self.webSocketTask.send(.data(data)) { error in
    |                                          `- error: cannot infer contextual base in reference to member 'data'
189 |                     if let error = error { cont.resume(throwing: error) } else { cont.resume() }
190 |                 }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[508/510] Compiling Agents CFAgentMessage.swift
/host/spi-builder-workspace/Sources/Agents/CFAgentMessage.swift:68:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 66 | @PolymorphicDecodable(identifier: "cf_agent_chat_messages")
 67 | struct CFAgentChatMessages {
 68 |     let type = "cf_agent_chat_messages"
    |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |         |- note: set the initial value via the initializer or remove the 'type' case from the CodingKeys enum to silence this warning
    |         `- note: make the property mutable instead
 69 |     let messages: [ChatMessage]
 70 | }
/host/spi-builder-workspace/Sources/Agents/CFAgentMessage.swift:74:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 72 | @PolymorphicDecodable(identifier: "cf_agent_use_chat_response")
 73 | struct CFAgentUseChatResponse {
 74 |     let type = "cf_agent_use_chat_response"
    |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |         |- note: set the initial value via the initializer or remove the 'type' case from the CodingKeys enum to silence this warning
    |         `- note: make the property mutable instead
 75 |     let id: String
 76 |     let body: String
/host/spi-builder-workspace/Sources/Agents/CFAgentMessage.swift:83:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 81 | @PolymorphicDecodable(identifier: "rpc")
 82 | struct RPCResponse<Result: Codable> {
 83 |     let type = "rpc"
    |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |         |- note: set the initial value via the initializer or remove the 'type' case from the CodingKeys enum to silence this warning
    |         `- note: make the property mutable instead
 84 |     let id: String
 85 |     let success: Bool
[509/510] Emitting module Agents
/host/spi-builder-workspace/Sources/Agents/AgentClient.swift:10:2: error: unknown attribute 'Observable'
  8 | // todo: handle task timeout
  9 | // todo: implement cancel message (?)
 10 | @Observable
    |  `- error: unknown attribute 'Observable'
 11 | open class AgentClient: WebSocketClient.Delegate {
 12 |     // config
/host/spi-builder-workspace/Sources/Agents/AgentClient.swift:14:6: error: unknown attribute 'ObservationIgnored'
 12 |     // config
 13 |     weak public var delegate: Delegate?
 14 |     @ObservationIgnored private var ws: WebSocketClient!
    |      `- error: unknown attribute 'ObservationIgnored'
 15 |     // state
 16 |     public private(set) var connected: Bool = false
/host/spi-builder-workspace/Sources/Agents/AgentClient.swift:20:6: error: unknown attribute 'ObservationIgnored'
 18 |     public private(set) var messages: [ChatMessage] = []
 19 |     public var failedMessages: [ChatMessage] = []
 20 |     @ObservationIgnored private var chatTasks: [String: ChatTask] = [:]
    |      `- error: unknown attribute 'ObservationIgnored'
 21 |     @ObservationIgnored private var rpcTasks: [String: AnyRPCTask] = [:]
 22 |
/host/spi-builder-workspace/Sources/Agents/AgentClient.swift:21:6: error: unknown attribute 'ObservationIgnored'
 19 |     public var failedMessages: [ChatMessage] = []
 20 |     @ObservationIgnored private var chatTasks: [String: ChatTask] = [:]
 21 |     @ObservationIgnored private var rpcTasks: [String: AnyRPCTask] = [:]
    |      `- error: unknown attribute 'ObservationIgnored'
 22 |
 23 |     public init(
/host/spi-builder-workspace/Sources/Agents/AgentClient.swift:388:10: warning: associated value 'responseTypeMismatch(type:)' of 'Sendable'-conforming enum 'RPCError' contains non-Sendable type 'any Decodable.Type'
386 |     case requestError(Error)
387 |     case responseError(id: String, message: String?)
388 |     case responseTypeMismatch(type: Decodable.Type)
    |          `- warning: associated value 'responseTypeMismatch(type:)' of 'Sendable'-conforming enum 'RPCError' contains non-Sendable type 'any Decodable.Type'
389 | }
390 |
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:3:34: error: cannot find type 'URLSessionWebSocketDelegate' in scope
  1 | import Foundation
  2 |
  3 | class WebSocketClient: NSObject, URLSessionWebSocketDelegate {
    |                                  `- error: cannot find type 'URLSessionWebSocketDelegate' in scope
  4 |     // config
  5 |     private weak var delegate: Delegate?
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:11:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     // state
 10 |     private let urlSessionQueue = OperationQueue()
 11 |     private(set) var urlSession: URLSession!
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     private(set) var webSocketTask: URLSessionWebSocketTask!
 13 |     private(set) var reconnectTask: Task<Bool, Never>?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:12:37: error: cannot find type 'URLSessionWebSocketTask' in scope
 10 |     private let urlSessionQueue = OperationQueue()
 11 |     private(set) var urlSession: URLSession!
 12 |     private(set) var webSocketTask: URLSessionWebSocketTask!
    |                                     `- error: cannot find type 'URLSessionWebSocketTask' in scope
 13 |     private(set) var reconnectTask: Task<Bool, Never>?
 14 |     private(set) var isOpen: Bool = false
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:38:24: error: cannot find type 'URLSessionWebSocketTask' in scope
 36 |     func urlSession(
 37 |         _ session: URLSession,
 38 |         webSocketTask: URLSessionWebSocketTask,
    |                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
 39 |         didOpenWithProtocol `protocol`: String?
 40 |     ) {
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:37:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |     func urlSession(
 37 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 38 |         webSocketTask: URLSessionWebSocketTask,
 39 |         didOpenWithProtocol `protocol`: String?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:49:24: error: cannot find type 'URLSessionWebSocketTask' in scope
 47 |     func urlSession(
 48 |         _ session: URLSession,
 49 |         webSocketTask: URLSessionWebSocketTask,
    |                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
 50 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
 51 |         reason: Data?
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:50:33: error: cannot find type 'URLSessionWebSocketTask' in scope
 48 |         _ session: URLSession,
 49 |         webSocketTask: URLSessionWebSocketTask,
 50 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
    |                                 `- error: cannot find type 'URLSessionWebSocketTask' in scope
 51 |         reason: Data?
 52 |     ) {
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:48:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |
 47 |     func urlSession(
 48 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 |         webSocketTask: URLSessionWebSocketTask,
 50 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:60:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |
 59 |     func urlSession(
 60 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |         task: URLSessionTask,
 62 |         didCompleteWithError error: Error?
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Agents/WebSocketTaskConnection.swift:61:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 59 |     func urlSession(
 60 |         _ session: URLSession,
 61 |         task: URLSessionTask,
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |         didCompleteWithError error: Error?
 63 |     ) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
[510/510] Compiling Agents AgentClient.swift
/host/spi-builder-workspace/Sources/Agents/AgentClient.swift:10:2: error: unknown attribute 'Observable'
  8 | // todo: handle task timeout
  9 | // todo: implement cancel message (?)
 10 | @Observable
    |  `- error: unknown attribute 'Observable'
 11 | open class AgentClient: WebSocketClient.Delegate {
 12 |     // config
/host/spi-builder-workspace/Sources/Agents/AgentClient.swift:14:6: error: unknown attribute 'ObservationIgnored'
 12 |     // config
 13 |     weak public var delegate: Delegate?
 14 |     @ObservationIgnored private var ws: WebSocketClient!
    |      `- error: unknown attribute 'ObservationIgnored'
 15 |     // state
 16 |     public private(set) var connected: Bool = false
/host/spi-builder-workspace/Sources/Agents/AgentClient.swift:20:6: error: unknown attribute 'ObservationIgnored'
 18 |     public private(set) var messages: [ChatMessage] = []
 19 |     public var failedMessages: [ChatMessage] = []
 20 |     @ObservationIgnored private var chatTasks: [String: ChatTask] = [:]
    |      `- error: unknown attribute 'ObservationIgnored'
 21 |     @ObservationIgnored private var rpcTasks: [String: AnyRPCTask] = [:]
 22 |
/host/spi-builder-workspace/Sources/Agents/AgentClient.swift:21:6: error: unknown attribute 'ObservationIgnored'
 19 |     public var failedMessages: [ChatMessage] = []
 20 |     @ObservationIgnored private var chatTasks: [String: ChatTask] = [:]
 21 |     @ObservationIgnored private var rpcTasks: [String: AnyRPCTask] = [:]
    |      `- error: unknown attribute 'ObservationIgnored'
 22 |
 23 |     public init(
/host/spi-builder-workspace/Sources/Agents/AgentClient.swift:388:10: warning: associated value 'responseTypeMismatch(type:)' of 'Sendable'-conforming enum 'RPCError' contains non-Sendable type 'any Decodable.Type'
386 |     case requestError(Error)
387 |     case responseError(id: String, message: String?)
388 |     case responseTypeMismatch(type: Decodable.Type)
    |          `- warning: associated value 'responseTypeMismatch(type:)' of 'Sendable'-conforming enum 'RPCError' contains non-Sendable type 'any Decodable.Type'
389 | }
390 |
BUILD FAILURE 6.3 linux