Build Information
Failed to build Agents.swift, reference 0.10.3 (90aa23), with Swift 6.3 for Android on 17 Apr 2026 05:28:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build 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: android
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-1":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/gohanlon/swift-memberwise-init-macro.git
Fetching https://github.com/daangn/KarrotCodableKit.git
Fetching https://github.com/apple/swift-collections.git
[1/1649] Fetching swift-memberwise-init-macro
[1650/25218] Fetching swift-memberwise-init-macro, swift-collections
Fetched https://github.com/gohanlon/swift-memberwise-init-macro.git from cache (0.38s)
[1651/25031] Fetching swift-collections, karrotcodablekit
Fetched https://github.com/daangn/KarrotCodableKit.git from cache (0.63s)
[5893/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.60s)
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.35s)
Fetching https://github.com/swiftlang/swift-syntax
[1/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.71s)
Computing version for https://github.com/daangn/KarrotCodableKit.git
Computed https://github.com/daangn/KarrotCodableKit.git at 1.7.0 (9.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.68s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.68s)
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Building for debugging...
[0/47] Write sources
[24/47] Compiling _SwiftSyntaxCShims dummy.c
[25/47] Write swift-version--4F562202D5529B1.txt
[27/75] Emitting module SwiftSyntax510
[28/75] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[29/75] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[30/77] Emitting module SwiftSyntax601
[31/77] Compiling SwiftSyntax601 Empty.swift
[32/78] Compiling InternalCollectionsUtilities _SortedCollection.swift
[33/78] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[34/78] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[35/78] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[36/78] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[37/78] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[38/78] Compiling InternalCollectionsUtilities Integer rank.swift
[39/78] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[40/78] Compiling InternalCollectionsUtilities UInt+reversed.swift
[41/78] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[42/78] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[43/78] Compiling InternalCollectionsUtilities Span+Extras.swift
[44/78] Emitting module SwiftSyntax509
[45/78] Compiling SwiftSyntax509 Empty.swift
[47/79] Compiling InternalCollectionsUtilities String+Padding.swift
[48/79] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[49/79] Emitting module InternalCollectionsUtilities
[50/79] Compiling InternalCollectionsUtilities Debugging.swift
[51/79] Compiling InternalCollectionsUtilities Descriptions.swift
[52/79] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[54/80] Compiling SwiftSyntax510 Empty.swift
[55/80] Compiling SwiftSyntax600 Empty.swift
[56/80] Emitting module SwiftSyntax600
[57/82] Wrapping AST for SwiftSyntax601 for debugging
[60/82] Wrapping AST for SwiftSyntax509 for debugging
[61/82] Wrapping AST for SwiftSyntax510 for debugging
[62/82] Wrapping AST for SwiftSyntax600 for debugging
[64/201] Compiling SwiftSyntax TriviaPieces.swift
[65/201] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[66/201] Compiling SwiftSyntax AbsolutePosition.swift
[67/201] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[68/201] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[69/201] Compiling SwiftSyntax Assert.swift
[70/201] Compiling SwiftSyntax BumpPtrAllocator.swift
[71/208] Compiling SwiftSyntax CommonAncestor.swift
[72/208] Compiling SwiftSyntax Convenience.swift
[73/208] Compiling SwiftSyntax CustomTraits.swift
[74/208] Compiling SwiftSyntax EditorPlaceholder.swift
[75/208] Compiling SwiftSyntax Trivia.swift
[76/208] Compiling SwiftSyntax Utils.swift
[77/208] Compiling SwiftSyntax ChildNameForKeyPath.swift
[78/208] Compiling SwiftSyntax Keyword.swift
[79/208] Compiling SwiftSyntax SyntaxNodeStructure.swift
[80/208] Compiling SwiftSyntax SyntaxProtocol.swift
[81/208] Compiling SwiftSyntax SyntaxText.swift
[82/208] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[83/208] Compiling SwiftSyntax TokenDiagnostic.swift
[84/208] Compiling SwiftSyntax TokenSequence.swift
[85/208] Compiling SwiftSyntax TokenSyntax.swift
[86/208] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[87/208] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[88/208] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[89/208] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[90/208] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[91/208] Compiling SwiftSyntax RawSyntaxValidation.swift
[92/208] Compiling SwiftSyntax SyntaxIdentifier.swift
[93/208] Compiling SwiftSyntax SyntaxNodeFactory.swift
[94/208] Compiling SwiftSyntax SyntaxHashable.swift
[95/208] Compiling SwiftSyntax SyntaxEnum.swift
[96/208] Compiling SwiftSyntax SyntaxKind.swift
[97/208] Compiling SwiftSyntax SyntaxRewriter.swift
[98/208] Compiling SwiftSyntax SyntaxTraits.swift
[99/208] Compiling SwiftSyntax SyntaxVisitor.swift
[100/208] Compiling SwiftSyntax TokenKind.swift
[101/208] Compiling SwiftSyntax Tokens.swift
[102/208] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[103/208] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[104/208] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[105/208] Compiling SwiftSyntax SyntaxBaseNodes.swift
[106/208] Compiling SwiftSyntax SyntaxCollections.swift
[107/208] Compiling SwiftSyntax RawSyntaxNodesC.swift
[108/208] Compiling SwiftSyntax RawSyntaxNodesD.swift
[109/208] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[110/208] Compiling SwiftSyntax SourceLocation.swift
[111/208] Compiling SwiftSyntax SourcePresence.swift
[112/208] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[113/208] Compiling SwiftSyntax Syntax.swift
[114/208] Compiling SwiftSyntax SyntaxArena.swift
[115/208] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[116/208] Compiling SwiftSyntax SyntaxChildren.swift
[117/208] Compiling SwiftSyntax SyntaxCollection.swift
[118/208] Compiling OrderedCollections OrderedSet+Sendable.swift
[119/208] Compiling OrderedCollections OrderedSet+SubSequence.swift
[120/208] Compiling OrderedCollections OrderedSet+Testing.swift
[121/208] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[122/208] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[123/208] Compiling OrderedCollections OrderedSet.swift
[124/208] Compiling OrderedCollections _UnsafeBitset.swift
[125/208] Emitting module OrderedCollections
[134/209] Compiling SwiftSyntax SourceEdit.swift
[135/209] Compiling SwiftSyntax SourceLength.swift
[136/218] Emitting module ISO8601JSON
[137/218] Compiling ISO8601JSON ISO8601JSON.swift
[157/219] Emitting module SwiftSyntax
[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/236] 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] Compiling SwiftParser Attributes.swift
[212/279] Compiling SwiftParser Availability.swift
[213/279] Emitting module SwiftDiagnostics
[214/279] Compiling SwiftDiagnostics Note.swift
[215/279] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[216/279] Compiling SwiftDiagnostics FixIt.swift
[217/279] Compiling SwiftBasicFormat Indenter.swift
[218/279] Compiling SwiftBasicFormat InferIndentation.swift
[219/279] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[220/279] Compiling SwiftDiagnostics DiagnosticsFormatter.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
[226/280] Wrapping AST for SwiftDiagnostics for debugging
[228/285] Compiling SwiftBasicFormat BasicFormat.swift
[229/285] Emitting module SwiftBasicFormat
[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 TokenSpec.swift
[239/286] Compiling SwiftParser TokenSpecSet.swift
[240/286] Compiling SwiftParser TopLevel.swift
[241/286] Compiling SwiftParser TriviaParser.swift
[242/286] Compiling SwiftParser Types.swift
[243/286] Compiling SwiftParser Patterns.swift
[244/286] Compiling SwiftParser Recovery.swift
[245/286] Compiling SwiftParser Specifiers.swift
[246/286] Compiling SwiftParser Statements.swift
[247/286] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[248/286] Compiling SwiftParser StringLiterals.swift
[249/286] Compiling SwiftParser Modifiers.swift
[250/286] Compiling SwiftParser Names.swift
[251/286] Compiling SwiftParser Nominals.swift
[252/286] Compiling SwiftParser Parameters.swift
[253/286] Compiling SwiftParser ParseSourceFile.swift
[254/286] Compiling SwiftParser Parser.swift
[255/286] Emitting module SwiftParser
[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/300] Wrapping AST for SwiftParser for debugging
[275/310] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[276/311] Compiling SwiftOperators PrecedenceGraph.swift
[277/312] Compiling SwiftOperators PrecedenceGroup.swift
[278/312] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[279/312] Compiling SwiftOperators OperatorTable.swift
[280/312] Compiling SwiftOperators SyntaxSynthesis.swift
[281/312] Compiling SwiftOperators OperatorTable+Semantics.swift
[282/312] Compiling SwiftParserDiagnostics MissingNodesError.swift
[283/312] Compiling SwiftParserDiagnostics MissingTokenError.swift
[284/312] Compiling SwiftOperators Operator.swift
[285/312] Compiling SwiftOperators OperatorError+Diagnostics.swift
[286/312] Compiling SwiftOperators OperatorTable+Folding.swift
[287/312] Emitting module SwiftOperators
[288/313] Wrapping AST for SwiftOperators for debugging
[290/313] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[291/313] Compiling SwiftParserDiagnostics Utils.swift
[292/313] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[293/313] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[294/313] Compiling SwiftParserDiagnostics PresenceUtils.swift
[299/313] Emitting module SwiftParserDiagnostics
[300/313] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[301/313] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[302/314] Wrapping AST for SwiftParserDiagnostics for debugging
[304/329] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[305/329] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[306/330] Emitting module SwiftSyntaxBuilder
[307/330] Compiling SwiftSyntaxBuilder Indenter.swift
[308/330] Compiling SwiftSyntaxBuilder ListBuilder.swift
[309/330] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[310/330] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[311/330] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[312/330] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[313/330] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[314/330] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[315/330] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[316/330] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[317/330] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[318/330] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[319/330] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[320/331] Wrapping AST for SwiftSyntaxBuilder for debugging
[322/348] Emitting module SwiftSyntaxMacros
[323/350] Compiling SwiftSyntaxMacros Macro.swift
[324/350] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[325/350] Compiling SwiftSyntaxMacros MemberMacro.swift
[326/350] Compiling SwiftSyntaxMacros PeerMacro.swift
[327/350] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[328/350] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[329/350] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[330/350] Compiling SwiftSyntaxMacros Macro+Format.swift
[331/350] Compiling SwiftSyntaxMacros AccessorMacro.swift
[332/350] Compiling SwiftSyntaxMacros AttachedMacro.swift
[333/350] Compiling SwiftSyntaxMacros BodyMacro.swift
[334/350] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[335/350] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[336/350] Compiling SwiftSyntaxMacros PreambleMacro.swift
[337/350] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[338/350] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[339/350] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[340/350] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.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 BasicMacroExpansionContext.swift
[346/361] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[347/361] Emitting module SwiftSyntaxMacroExpansion
[348/361] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[349/361] Compiling SwiftSyntaxMacroExpansion MacroExpansion.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 PluginMessageCompatibility.swift
[356/375] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[357/375] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[358/375] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[359/375] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[360/375] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[361/375] Emitting module SwiftCompilerPluginMessageHandling
[362/375] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[363/375] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[364/375] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[365/375] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[366/375] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[367/375] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[368/378] 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] Compiling KarrotCodableKitMacros CodableKeyMacro.swift
[375/420] Compiling KarrotCodableKitMacros CustomCodableMacro.swift
[376/420] Compiling KarrotCodableKitMacros CustomDecodableMacro.swift
[377/420] Compiling KarrotCodableKitMacros CustomEncodableMacro.swift
[378/420] Emitting module KarrotCodableKitMacros
[379/423] Compiling MemberwiseInitMacros SyntaxHelpers.swift
[380/424] Compiling KarrotCodableKitMacros PropertyDiagnosticHelper.swift
[381/424] Compiling KarrotCodableKitMacros SyntaxHelper.swift
[382/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicValidation.swift
[383/424] Compiling MemberwiseInitMacros UncheckedMemberwiseInitMacro.swift
[384/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicMethodGenerator.swift
[385/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicStructGenerator.swift
[386/424] Compiling KarrotCodableKitMacros PolymorphicMacroArgumentValidator.swift
[387/424] Compiling KarrotCodableKitMacros PropertyAnalyzer.swift
[388/424] Compiling KarrotCodableKitMacros PolymorphicCodableStrategyMacro.swift
[389/424] Compiling KarrotCodableKitMacros PolymorphicDecodableMacro.swift
[390/424] Compiling KarrotCodableKitMacros PolymorphicEncodableMacro.swift
[391/424] Compiling KarrotCodableKitMacros PolymorphicEnumCodableMacro.swift
[392/424] Compiling KarrotCodableKitMacros BaseUnnestedPolymorphicMacro.swift
[393/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicCodableMacro.swift
[394/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicDecodableMacro.swift
[395/424] Emitting module MemberwiseInitMacros
[400/424] Compiling KarrotCodableKitMacros CodingKeysSyntaxFactory.swift
[401/424] Compiling KarrotCodableKitMacros PolymorphicEnumCodableFactory.swift
[402/424] Compiling KarrotCodableKitMacros PolymorphicExtensionFactory.swift
[403/424] Compiling KarrotCodableKitMacros UnnestedPolymorphicCodeGenerator.swift
[406/424] Compiling MemberwiseInitMacros String.swift
[407/424] Compiling KarrotCodableKitMacros String+SnakeCase.swift
[408/424] Compiling KarrotCodableKitMacros String+Trimming.swift
[409/424] Compiling KarrotCodableKitMacros KarrotCodableKitPlugin.swift
[410/424] Compiling KarrotCodableKitMacros PolymorphicCodableMacro.swift
[415/425] Compiling KarrotCodableKitMacros PolymorphicEnumDecodableMacro.swift
[416/425] Compiling KarrotCodableKitMacros PolymorphicEnumEncodableMacro.swift
[417/425] Compiling KarrotCodableKitMacros AccessLevelModifier.swift
[418/425] Compiling KarrotCodableKitMacros Diagnostics.swift
[420/426] Wrapping AST for MemberwiseInitMacros for debugging
[421/426] Write Objects.LinkFileList
[422/426] Wrapping AST for KarrotCodableKitMacros for debugging
[423/426] Write Objects.LinkFileList
[424/426] Linking MemberwiseInitMacros-tool
[425/426] Linking KarrotCodableKitMacros-tool
[427/429] Emitting module MemberwiseInit
[428/429] Compiling MemberwiseInit MemberwiseInit.swift
[430/430] Emitting module KarrotCodableKit
[431/500] Compiling KarrotCodableKit Encodable+ToDictionary.swift
[432/500] Compiling KarrotCodableKit DefaultEmptyPolymorphicArrayValue.swift
[433/500] Compiling KarrotCodableKit PolymorphicCodableError.swift
[434/500] Compiling KarrotCodableKit Decoder+Polymorphic.swift
[435/500] Compiling KarrotCodableKit Encoder+Polymorphic.swift
[436/500] Compiling KarrotCodableKit KeyedDecodingContainer+DefaultEmptyPolymorphicArrayValue.swift
[437/500] Compiling KarrotCodableKit KeyedDecodingContainer+LossyOptionalPolymorphicValue.swift
[438/500] Compiling KarrotCodableKit KeyedDecodingContainer+OptionalPolymorphicArrayValue.swift
[439/500] Compiling KarrotCodableKit KeyedDecodingContainer+OptionalPolymorphicLossyArrayValue.swift
[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 KeyedDecodingContainer+OptionalPolymorphicValue.swift
[450/500] Compiling KarrotCodableKit KeyedDecodingContainer+PolymorphicLossyArrayValue.swift
[451/500] Compiling KarrotCodableKit PolymorphicCodable.swift
[452/500] Compiling KarrotCodableKit PolymorphicCodableStrategyProviding.swift
[453/500] Compiling KarrotCodableKit PolymorphicDecodable.swift
[454/500] Compiling KarrotCodableKit PolymorphicEncodable.swift
[455/500] Compiling KarrotCodableKit PolymorphicEnumCodable.swift
[456/500] Compiling KarrotCodableKit PolymorphicEnumDecodable.swift
[457/500] Compiling KarrotCodableKit PolymorphicEnumEncodable.swift
[458/500] Compiling KarrotCodableKit LossyArray.swift
[459/500] Compiling KarrotCodableKit LossyDictionary.swift
[460/500] Compiling KarrotCodableKit LossyOptional.swift
[461/500] Compiling KarrotCodableKit ResilientProjectedValue.swift
[462/500] Compiling KarrotCodableKit CodingKeyStyle.swift
[463/500] Compiling KarrotCodableKit CodableKey.swift
[464/500] Compiling KarrotCodableKit CustomCodable.swift
[465/500] Compiling KarrotCodableKit CustomDecodable.swift
[466/500] Compiling KarrotCodableKit CustomEncodable.swift
[467/500] Compiling KarrotCodableKit UnnestedPolymorphicCodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[468/500] Compiling KarrotCodableKit UnnestedPolymorphicDecodable.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[469/500] Compiling KarrotCodableKit LossyOptionalPolymorphicValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[470/500] Compiling KarrotCodableKit OptionalPolymorphicArrayValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[471/500] Compiling KarrotCodableKit OptionalPolymorphicLossyArrayValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[472/500] Compiling KarrotCodableKit OptionalPolymorphicValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[473/500] Compiling KarrotCodableKit PolymorphicArrayValue.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[474/500] Compiling KarrotCodableKit PolymorphicCodableStrategy.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[475/500] Compiling KarrotCodableKit AnyCodable.swift
[476/500] Compiling KarrotCodableKit AnyDecodable.swift
[477/500] Compiling KarrotCodableKit AnyEncodable.swift
[478/500] Compiling KarrotCodableKit Base64Strategy.swift
[479/500] Compiling KarrotCodableKit DataValue.swift
[480/500] Compiling KarrotCodableKit DateValue.swift
[481/500] Compiling KarrotCodableKit OptionalDateValue.swift
[482/500] Compiling KarrotCodableKit ISO8601Strategy.swift
[483/500] Compiling KarrotCodableKit ISO8601WithFractionalSecondsStrategy.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
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
[504/505] Compiling AI ChatMessageChunk.swift
[505/505] Compiling AI ChatMessage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[507/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
[508/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
[509/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 |
[510/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 | }
BUILD FAILURE 6.3 android