Build Information
Failed to build Agents.swift, reference main (90aa23), with Swift 6.3 for Linux on 17 Apr 2026 05:28:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/victorhenrion/Agents.swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/victorhenrion/Agents.swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-4606859-0":/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
[1885/25218] Fetching swift-memberwise-init-macro, swift-collections
[3300/26680] Fetching swift-memberwise-init-macro, swift-collections, karrotcodablekit
Fetched https://github.com/daangn/KarrotCodableKit.git from cache (0.63s)
[5185/25218] Fetching swift-memberwise-init-macro, swift-collections
Fetched https://github.com/gohanlon/swift-memberwise-init-macro.git from cache (1.61s)
Fetched https://github.com/apple/swift-collections.git from cache (1.65s)
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 (7.79s)
Fetching https://github.com/swiftlang/swift-syntax
[1/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (9.02s)
Computing version for https://github.com/daangn/KarrotCodableKit.git
Computed https://github.com/daangn/KarrotCodableKit.git at 1.7.0 (9.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.76s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.91s)
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/daangn/KarrotCodableKit.git
Working copy of https://github.com/daangn/KarrotCodableKit.git resolved at 1.7.0
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/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
[24/47] Compiling _SwiftSyntaxCShims dummy.c
[25/47] Write swift-version-24593BA9C3E375BF.txt
[27/55] Emitting module SwiftSyntax509
[28/75] Emitting module InternalCollectionsUtilities
[29/77] Emitting module SwiftSyntax510
[30/77] Compiling SwiftSyntax510 Empty.swift
[32/78] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[33/78] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[33/78] Wrapping AST for SwiftSyntax510 for debugging
[35/78] Emitting module SwiftSyntax601
[36/78] Compiling SwiftSyntax601 Empty.swift
[38/79] Compiling SwiftSyntax600 Empty.swift
[39/79] Emitting module SwiftSyntax600
[40/80] Wrapping AST for SwiftSyntax601 for debugging
[42/80] Compiling InternalCollectionsUtilities _SortedCollection.swift
[43/80] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[44/80] Compiling InternalCollectionsUtilities Debugging.swift
[45/80] Compiling InternalCollectionsUtilities Descriptions.swift
[46/80] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[47/80] Compiling InternalCollectionsUtilities String+Padding.swift
[48/80] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[49/80] Compiling InternalCollectionsUtilities Integer rank.swift
[50/80] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[51/80] Compiling InternalCollectionsUtilities UInt+reversed.swift
[52/80] Compiling SwiftSyntax509 Empty.swift
[53/81] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[54/81] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[55/81] Compiling InternalCollectionsUtilities Span+Extras.swift
[56/81] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[57/81] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[58/81] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[59/81] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[61/82] Wrapping AST for SwiftSyntax600 for debugging
[62/82] Wrapping AST for SwiftSyntax509 for debugging
[64/201] Compiling ISO8601JSON ISO8601JSON.swift
[65/201] Emitting module ISO8601JSON
[67/202] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[68/202] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[69/202] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[70/202] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[71/202] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[72/202] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[73/202] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[74/202] Compiling OrderedCollections OrderedDictionary.swift
[75/202] Compiling OrderedCollections OrderedSet+Codable.swift
[76/202] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[77/202] Compiling OrderedCollections OrderedSet+Descriptions.swift
[78/202] Compiling OrderedCollections OrderedSet+Diffing.swift
[79/202] Compiling OrderedCollections OrderedSet+Equatable.swift
[80/202] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[81/202] Compiling OrderedCollections OrderedSet+Hashable.swift
[82/209] Compiling OrderedCollections OrderedDictionary+Codable.swift
[83/209] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[84/209] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[85/209] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[86/209] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[87/209] Compiling OrderedCollections OrderedDictionary+Elements.swift
[88/209] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[89/209] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[90/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[91/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[92/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[93/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[94/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[95/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[96/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[97/209] Compiling OrderedCollections OrderedSet+Initializers.swift
[98/209] Compiling OrderedCollections OrderedSet+Insertions.swift
[99/209] Compiling OrderedCollections OrderedSet+Invariants.swift
[100/209] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[101/209] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[102/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[103/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[104/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[105/209] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[106/209] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[107/209] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[108/209] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[109/209] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[110/209] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[111/209] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[112/209] Compiling OrderedCollections OrderedDictionary+Values.swift
[113/209] Compiling OrderedCollections _HashTable+Bucket.swift
[114/209] Compiling OrderedCollections _HashTable+BucketIterator.swift
[115/209] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[116/209] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[117/209] Compiling OrderedCollections _HashTable+Testing.swift
[118/209] Compiling SwiftSyntax CommonAncestor.swift
[119/209] Compiling SwiftSyntax Convenience.swift
[120/209] Compiling OrderedCollections _Hashtable+Header.swift
[122/218] Emitting module OrderedCollections
[131/218] Compiling OrderedCollections OrderedSet+Sendable.swift
[132/218] Compiling OrderedCollections OrderedSet+SubSequence.swift
[133/218] Compiling OrderedCollections OrderedSet+Testing.swift
[134/218] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[135/218] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[136/218] Compiling OrderedCollections OrderedSet.swift
[137/218] Compiling OrderedCollections _UnsafeBitset.swift
[157/219] Emitting module SwiftSyntax
[174/219] Compiling SwiftSyntax TokenSequence.swift
[175/219] Compiling SwiftSyntax TokenSyntax.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 SwiftBasicFormat Syntax+Extensions.swift
[206/278] Compiling SwiftDiagnostics Message.swift
[207/279] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[208/279] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[209/279] Compiling SwiftParser CharacterInfo.swift
[210/279] Compiling SwiftParser CollectionNodes+Parsable.swift
[211/279] Emitting module SwiftDiagnostics
[212/279] Compiling SwiftParser Attributes.swift
[213/279] Compiling SwiftParser Availability.swift
[214/279] Compiling SwiftDiagnostics Note.swift
[215/279] Compiling SwiftBasicFormat Indenter.swift
[216/279] Compiling SwiftBasicFormat InferIndentation.swift
[217/279] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[218/279] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[219/279] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[220/279] Compiling SwiftDiagnostics FixIt.swift
[222/280] Compiling SwiftParser SwiftParserCompatibility.swift
[223/280] Compiling SwiftParser SwiftVersion.swift
[224/280] Compiling SwiftParser SyntaxUtils.swift
[225/280] Compiling SwiftParser TokenConsumer.swift
[226/280] Compiling SwiftParser TokenPrecedence.swift
[227/280] Emitting module SwiftBasicFormat
[228/280] Compiling SwiftBasicFormat BasicFormat.swift
[229/286] Wrapping AST for SwiftDiagnostics for debugging
[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] Emitting module SwiftParser
[239/286] Compiling SwiftParser TokenSpec.swift
[240/286] Compiling SwiftParser TokenSpecSet.swift
[241/286] Compiling SwiftParser TopLevel.swift
[242/286] Compiling SwiftParser TriviaParser.swift
[243/286] Compiling SwiftParser Types.swift
[244/286] Compiling SwiftParser Modifiers.swift
[245/286] Compiling SwiftParser Names.swift
[246/286] Compiling SwiftParser Nominals.swift
[247/286] Compiling SwiftParser Parameters.swift
[248/286] Compiling SwiftParser ParseSourceFile.swift
[249/286] Compiling SwiftParser Parser.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
[256/286] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[257/286] Compiling SwiftParser Expressions.swift
[258/286] Compiling SwiftParser IncrementalParseTransition.swift
[259/286] Compiling SwiftParser IsValidIdentifier.swift
[260/286] Compiling SwiftParser Cursor.swift
[261/286] Compiling SwiftParser Lexeme.swift
[266/286] Compiling SwiftParser Declarations.swift
[267/286] Compiling SwiftParser Directives.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 SwiftOperators PrecedenceGroup.swift
[277/311] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[278/311] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[279/312] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[280/312] Compiling SwiftOperators OperatorTable.swift
[281/312] Compiling SwiftOperators PrecedenceGraph.swift
[282/312] Emitting module SwiftOperators
[283/312] Compiling SwiftParserDiagnostics MissingNodesError.swift
[284/312] Compiling SwiftParserDiagnostics MissingTokenError.swift
[285/312] Compiling SwiftOperators OperatorTable+Folding.swift
[286/312] Compiling SwiftOperators OperatorTable+Semantics.swift
[287/312] Compiling SwiftOperators SyntaxSynthesis.swift
[289/313] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[290/313] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[291/313] Compiling SwiftParserDiagnostics Utils.swift
[291/313] Wrapping AST for SwiftOperators for debugging
[295/313] Emitting module SwiftParserDiagnostics
[298/313] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[299/313] Compiling SwiftParserDiagnostics PresenceUtils.swift
[300/313] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[301/313] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[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 SyntaxExpressibleByStringInterpolationConformances.swift
[307/330] Compiling SwiftSyntaxBuilder Indenter.swift
[308/330] Compiling SwiftSyntaxBuilder ListBuilder.swift
[309/330] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[310/330] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[311/330] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[312/330] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[313/330] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[314/330] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[315/330] Emitting module SwiftSyntaxBuilder
[316/330] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[317/330] Compiling SwiftSyntaxBuilder BuildableNodes.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 CodeItemMacro.swift
[323/348] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[324/350] Compiling SwiftSyntaxMacros Macro.swift
[325/350] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[326/350] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[327/350] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[328/350] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[329/350] Compiling SwiftSyntaxMacros Macro+Format.swift
[330/350] Compiling SwiftSyntaxMacros AccessorMacro.swift
[331/350] Compiling SwiftSyntaxMacros AttachedMacro.swift
[332/350] Compiling SwiftSyntaxMacros BodyMacro.swift
[333/350] Compiling SwiftSyntaxMacros MemberMacro.swift
[334/350] Compiling SwiftSyntaxMacros PeerMacro.swift
[335/350] Emitting module SwiftSyntaxMacros
[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 MacroExpansionDiagnosticMessages.swift
[344/361] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[345/361] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[346/361] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[347/361] Emitting module SwiftSyntaxMacroExpansion
[348/361] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[349/361] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[350/361] Compiling SwiftSyntaxMacroExpansion IndentationUtils.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 CodingUtilities.swift
[356/374] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[357/375] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[358/375] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[359/375] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[360/375] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[361/375] Emitting module SwiftCompilerPluginMessageHandling
[362/375] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[363/375] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[364/375] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[365/375] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[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/379] Wrapping AST for SwiftCompilerPlugin for debugging
[374/420] Emitting module KarrotCodableKitMacros
[375/423] Compiling MemberwiseInitMacros String.swift
[376/423] Compiling MemberwiseInitMacros SyntaxHelpers.swift
[377/424] Compiling KarrotCodableKitMacros CodableKeyMacro.swift
[378/424] Compiling KarrotCodableKitMacros CustomCodableMacro.swift
[381/424] Compiling KarrotCodableKitMacros CustomDecodableMacro.swift
[382/424] Compiling KarrotCodableKitMacros CustomEncodableMacro.swift
[383/424] Compiling KarrotCodableKitMacros PolymorphicCodableStrategyMacro.swift
[384/424] Compiling KarrotCodableKitMacros PolymorphicDecodableMacro.swift
[385/424] Compiling KarrotCodableKitMacros PolymorphicEncodableMacro.swift
[386/424] Compiling KarrotCodableKitMacros PolymorphicEnumCodableMacro.swift
[387/424] Emitting module MemberwiseInitMacros
[388/424] Compiling KarrotCodableKitMacros BaseUnnestedPolymorphicMacro.swift
[389/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicCodableMacro.swift
[390/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicDecodableMacro.swift
[391/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicMethodGenerator.swift
[392/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicStructGenerator.swift
[393/424] Compiling KarrotCodableKitMacros PolymorphicMacroArgumentValidator.swift
[394/424] Compiling KarrotCodableKitMacros PropertyAnalyzer.swift
[395/424] Compiling MemberwiseInitMacros UncheckedMemberwiseInitMacro.swift
[396/424] Compiling KarrotCodableKitMacros PolymorphicEnumDecodableMacro.swift
[397/424] Compiling KarrotCodableKitMacros PolymorphicEnumEncodableMacro.swift
[398/424] Compiling KarrotCodableKitMacros AccessLevelModifier.swift
[399/424] Compiling KarrotCodableKitMacros Diagnostics.swift
[402/424] Compiling KarrotCodableKitMacros PropertyDiagnosticHelper.swift
[403/424] Compiling KarrotCodableKitMacros SyntaxHelper.swift
[404/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicValidation.swift
[405/424] Compiling KarrotCodableKitMacros String+SnakeCase.swift
[406/424] Compiling KarrotCodableKitMacros String+Trimming.swift
[407/424] Compiling KarrotCodableKitMacros KarrotCodableKitPlugin.swift
[408/424] Compiling KarrotCodableKitMacros PolymorphicCodableMacro.swift
[409/424] Compiling KarrotCodableKitMacros CodingKeysSyntaxFactory.swift
[410/424] Compiling KarrotCodableKitMacros PolymorphicEnumCodableFactory.swift
[411/424] Compiling KarrotCodableKitMacros PolymorphicExtensionFactory.swift
[412/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicCodeGenerator.swift
[419/426] Wrapping AST for KarrotCodableKitMacros for debugging
[421/426] Write Objects.LinkFileList
[422/426] Wrapping AST for MemberwiseInitMacros for debugging
[423/426] Write Objects.LinkFileList
[424/426] Linking KarrotCodableKitMacros-tool
[425/426] Linking MemberwiseInitMacros-tool
[427/428] Emitting module MemberwiseInit
[428/428] Compiling MemberwiseInit MemberwiseInit.swift
[430/492] Emitting module KarrotCodableKit
[431/500] Compiling KarrotCodableKit KeyedDecodingContainer+OptionalPolymorphicValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[432/500] Compiling KarrotCodableKit KeyedDecodingContainer+PolymorphicLossyArrayValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[433/500] Compiling KarrotCodableKit PolymorphicCodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[434/500] Compiling KarrotCodableKit PolymorphicCodableStrategyProviding.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[435/500] Compiling KarrotCodableKit PolymorphicDecodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[436/500] Compiling KarrotCodableKit PolymorphicEncodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[437/500] Compiling KarrotCodableKit PolymorphicEnumCodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[438/500] Compiling KarrotCodableKit PolymorphicEnumDecodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[439/500] Compiling KarrotCodableKit PolymorphicEnumEncodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[440/500] Compiling KarrotCodableKit RFC3339NanoStrategy.swift
[441/500] Compiling KarrotCodableKit RFC3339Strategy.swift
[442/500] Compiling KarrotCodableKit TimestampStrategy.swift
[443/500] Compiling KarrotCodableKit DefaultCodable.swift
[444/500] Compiling KarrotCodableKit DefaultEmptyArray.swift
[445/500] Compiling KarrotCodableKit DefaultEmptyDictionary.swift
[446/500] Compiling KarrotCodableKit DefaultEmptyString.swift
[447/500] Compiling KarrotCodableKit DefaultFalse.swift
[448/500] Compiling KarrotCodableKit DefaultTrue.swift
[449/500] Compiling KarrotCodableKit UnnestedPolymorphicCodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[450/500] Compiling KarrotCodableKit UnnestedPolymorphicDecodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[451/500] Compiling KarrotCodableKit LossyOptionalPolymorphicValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[452/500] Compiling KarrotCodableKit OptionalPolymorphicArrayValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[453/500] Compiling KarrotCodableKit OptionalPolymorphicLossyArrayValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[454/500] Compiling KarrotCodableKit OptionalPolymorphicValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[455/500] Compiling KarrotCodableKit PolymorphicArrayValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[456/500] Compiling KarrotCodableKit PolymorphicCodableStrategy.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[457/500] Compiling KarrotCodableKit AnyCodable.swift
[458/500] Compiling KarrotCodableKit AnyDecodable.swift
[459/500] Compiling KarrotCodableKit AnyEncodable.swift
[460/500] Compiling KarrotCodableKit Base64Strategy.swift
[461/500] Compiling KarrotCodableKit DataValue.swift
[462/500] Compiling KarrotCodableKit DateValue.swift
[463/500] Compiling KarrotCodableKit OptionalDateValue.swift
[464/500] Compiling KarrotCodableKit ISO8601Strategy.swift
[465/500] Compiling KarrotCodableKit ISO8601WithFractionalSecondsStrategy.swift
[466/500] Compiling KarrotCodableKit Encodable+ToDictionary.swift
[467/500] Compiling KarrotCodableKit DefaultEmptyPolymorphicArrayValue.swift
[468/500] Compiling KarrotCodableKit PolymorphicCodableError.swift
[469/500] Compiling KarrotCodableKit Decoder+Polymorphic.swift
[470/500] Compiling KarrotCodableKit Encoder+Polymorphic.swift
[471/500] Compiling KarrotCodableKit KeyedDecodingContainer+DefaultEmptyPolymorphicArrayValue.swift
[472/500] Compiling KarrotCodableKit KeyedDecodingContainer+LossyOptionalPolymorphicValue.swift
[473/500] Compiling KarrotCodableKit KeyedDecodingContainer+OptionalPolymorphicArrayValue.swift
[474/500] Compiling KarrotCodableKit KeyedDecodingContainer+OptionalPolymorphicLossyArrayValue.swift
[475/500] Compiling KarrotCodableKit LossyArray.swift
[476/500] Compiling KarrotCodableKit LossyDictionary.swift
[477/500] Compiling KarrotCodableKit LossyOptional.swift
[478/500] Compiling KarrotCodableKit ResilientProjectedValue.swift
[479/500] Compiling KarrotCodableKit CodingKeyStyle.swift
[480/500] Compiling KarrotCodableKit CodableKey.swift
[481/500] Compiling KarrotCodableKit CustomCodable.swift
[482/500] Compiling KarrotCodableKit CustomDecodable.swift
[483/500] Compiling KarrotCodableKit CustomEncodable.swift
[484/500] Compiling KarrotCodableKit DefaultZeroDouble.swift
[485/500] Compiling KarrotCodableKit DefaultZeroFloat.swift
[486/500] Compiling KarrotCodableKit DefaultZeroInt.swift
[487/500] Compiling KarrotCodableKit KeyedDecodingContainer+DefaultCodable.swift
[488/500] Compiling KarrotCodableKit Result+Extension.swift
[489/500] Compiling KarrotCodableKit LosslessArray.swift
[490/500] Compiling KarrotCodableKit LosslessBoolValue.swift
[491/500] Compiling KarrotCodableKit LosslessValue.swift
[492/500] Compiling KarrotCodableKit OptionalLosslessValue.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
[503/505] Compiling AI ChatMessage.swift
[504/505] Emitting module AI
[505/505] Compiling AI ChatMessageChunk.swift
[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