Build Information
Failed to build openai-kit, reference 1.6.24 (d51b13), with Swift 6.1 for Android on 31 Dec 2025 02:03:02 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/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[902/917] Compiling NIOHTTP2 DOSHeuristics.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[903/917] Compiling NIOHTTP2 Error+Any.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[904/917] Compiling NIOHTTP2 ConcurrentStreamBuffer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[905/917] Compiling NIOHTTP2 ControlFrameBuffer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[906/917] Compiling NIOHTTP2 OutboundFlowControlBuffer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[907/917] Compiling NIOHTTP2 OutboundFrameBuffer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[908/917] Compiling NIOHTTP2 GlitchesMonitor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[909/917] Compiling NIOHTTP2 HPACKHeaders+Validation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[910/917] Compiling NIOHTTP2 HTTP2ChannelHandler+InboundStreamMultiplexer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[911/917] Compiling NIOHTTP2 HTTP2ChannelHandler+InlineStreamMultiplexer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[912/917] Compiling NIOHTTP2 HTTP2ChannelHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[913/917] Compiling NIOHTTP2 HTTP2CommonInboundStreamMultiplexer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[914/917] Compiling NIOHTTP2 HTTP2ConnectionStateChange.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[915/917] Compiling NIOHTTP2 HTTP2Error.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[916/917] Compiling NIOHTTP2 HTTP2ErrorCode.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[917/917] Compiling NIOHTTP2 HTTP2FlowControlWindow.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[919/981] Emitting module AsyncHTTPClient
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[920/989] Compiling AsyncHTTPClient RequestValidation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[921/989] Compiling AsyncHTTPClient SSLContextCache.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[922/989] Compiling AsyncHTTPClient Scheme.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[923/989] Compiling AsyncHTTPClient Singleton.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[924/989] Compiling AsyncHTTPClient StringConvertibleInstances.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[925/989] Compiling AsyncHTTPClient StructuredConcurrencyHelpers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[926/989] Compiling AsyncHTTPClient TracingSupport.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[927/989] Compiling AsyncHTTPClient Utils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[928/989] Compiling AsyncHTTPClient HTTPConnectionEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[929/989] Compiling AsyncHTTPClient HTTPConnectionPool+Factory.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[930/989] Compiling AsyncHTTPClient HTTPConnectionPool+Manager.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[931/989] Compiling AsyncHTTPClient HTTPConnectionPool.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[932/989] Compiling AsyncHTTPClient HTTPExecutableRequest.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[933/989] Compiling AsyncHTTPClient HTTPRequestStateMachine+Demand.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[934/989] Compiling AsyncHTTPClient HTTPRequestStateMachine.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[935/989] Compiling AsyncHTTPClient RequestBodyLength.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[936/989] Compiling AsyncHTTPClient RequestFramingMetadata.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[937/989] Compiling AsyncHTTPClient RequestOptions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[938/989] Compiling AsyncHTTPClient HTTPConnectionPool+Backoff.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[939/989] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1Connections.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[940/989] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1StateMachine.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[941/989] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2Connections.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[942/989] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2StateMachine.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[943/989] Compiling AsyncHTTPClient HTTPConnectionPool+RequestQueue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[944/989] Compiling AsyncHTTPClient HTTPConnectionPool+StateMachine.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[945/989] Compiling AsyncHTTPClient ConnectionTarget.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[946/989] Compiling AsyncHTTPClient NIOLoopBound+Execute.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[947/989] Compiling AsyncHTTPClient NWErrorHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[948/989] Compiling AsyncHTTPClient NWWaitingHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[949/989] Compiling AsyncHTTPClient TLSConfiguration.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[950/989] Compiling AsyncHTTPClient RedirectState.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[951/989] Compiling AsyncHTTPClient RequestBag+StateMachine.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[952/989] Compiling AsyncHTTPClient RequestBag+Tracing.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[953/989] Compiling AsyncHTTPClient RequestBag.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[954/989] Compiling AsyncHTTPClient HTTP1ProxyConnectHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[955/989] Compiling AsyncHTTPClient SOCKSEventsHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[956/989] Compiling AsyncHTTPClient TLSEventsHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[957/989] Compiling AsyncHTTPClient HTTP1ClientChannelHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[958/989] Compiling AsyncHTTPClient HTTP1Connection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[959/989] Compiling AsyncHTTPClient HTTP1ConnectionStateMachine.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[960/989] Compiling AsyncHTTPClient HTTP2ClientRequestHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[961/989] Compiling AsyncHTTPClient HTTP2Connection.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[962/989] Compiling AsyncHTTPClient HTTP2IdleHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[963/989] Compiling AsyncHTTPClient HTTPClientResponse.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[964/989] Compiling AsyncHTTPClient SingleIteratorPrecondition.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[965/989] Compiling AsyncHTTPClient Transaction+StateMachine.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[966/989] Compiling AsyncHTTPClient Transaction.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[967/989] Compiling AsyncHTTPClient Base64.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[968/989] Compiling AsyncHTTPClient BasicAuth.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[969/989] Compiling AsyncHTTPClient BestEffortHashableTLSConfiguration.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[970/989] Compiling AsyncHTTPClient Configuration+BrowserLike.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[971/989] Compiling AsyncHTTPClient ConnectionPool.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[972/989] Compiling AsyncHTTPClient AnyAsyncSequence.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[973/989] Compiling AsyncHTTPClient AnyAsyncSequenceProucerDelete.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[974/989] Compiling AsyncHTTPClient AsyncLazySequence.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[975/989] Compiling AsyncHTTPClient HTTPClient+execute.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[976/989] Compiling AsyncHTTPClient HTTPClient+shutdown.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[977/989] Compiling AsyncHTTPClient HTTPClient+tracing.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[978/989] Compiling AsyncHTTPClient HTTPClientRequest+Prepared.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[979/989] Compiling AsyncHTTPClient HTTPClientRequest+auth.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[980/989] Compiling AsyncHTTPClient HTTPClientRequest.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[981/989] Compiling AsyncHTTPClient DeconstructedURL.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[982/989] Compiling AsyncHTTPClient FileDownloadDelegate.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[983/989] Compiling AsyncHTTPClient FoundationExtensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[984/989] Compiling AsyncHTTPClient HTTPClient+HTTPCookie.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[985/989] Compiling AsyncHTTPClient HTTPClient+Proxy.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[986/989] Compiling AsyncHTTPClient HTTPClient+StructuredConcurrency.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[987/989] Compiling AsyncHTTPClient HTTPClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[988/989] Compiling AsyncHTTPClient HTTPHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[989/989] Compiling AsyncHTTPClient LRUCache.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[991/1075] Compiling OpenAIKit CreateTranscriptionRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[992/1075] Compiling OpenAIKit CreateTranslationRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[993/1075] Compiling OpenAIKit Transcription.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[994/1075] Compiling OpenAIKit Translation.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[995/1075] Compiling OpenAIKit Chat.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[996/1075] Compiling OpenAIKit ChatProvider.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[997/1075] Compiling OpenAIKit ChatStream.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[998/1075] Compiling OpenAIKit CreateChatRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[999/1075] Compiling OpenAIKit FinishReason.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[1000/1075] Compiling OpenAIKit Client.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[1001/1075] Compiling OpenAIKit Completion.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[1002/1075] Compiling OpenAIKit CompletionProvider.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[1003/1086] Compiling OpenAIKit CreateCompletionRequest.swift
[1004/1086] Compiling OpenAIKit Configuration.swift
[1005/1086] Compiling OpenAIKit CreateEditRequest.swift
[1006/1086] Compiling OpenAIKit Edit.swift
[1007/1086] Compiling OpenAIKit EditProvider.swift
[1008/1086] Compiling OpenAIKit CreateEmbeddingRequest.swift
[1009/1086] Compiling OpenAIKit CreateEmbeddingResponse.swift
[1010/1086] Compiling OpenAIKit Embedding.swift
[1011/1086] Compiling OpenAIKit EmbeddingProvider.swift
[1012/1086] Compiling OpenAIKit APIError.swift
[1013/1086] Compiling OpenAIKit RequestHandler+Error.swift
[1014/1086] Compiling OpenAIKit File.swift
[1015/1086] Compiling OpenAIKit FileProvider.swift
[1016/1086] Compiling OpenAIKit DeleteFileRequest.swift
[1017/1086] Compiling OpenAIKit ListFilesRequest.swift
[1018/1086] Compiling OpenAIKit RetrieveFileContentRequest.swift
[1019/1086] Compiling OpenAIKit RetrieveFileRequest.swift
[1020/1086] Compiling OpenAIKit UploadFileRequest.swift
[1021/1086] Compiling OpenAIKit DeleteFileResponse.swift
[1022/1086] Compiling OpenAIKit ListFilesResponse.swift
[1023/1086] Compiling OpenAIKit ResponseFormat.swift
[1024/1086] Compiling OpenAIKit ResponseSchema.swift
[1025/1086] Compiling OpenAIKit Schema+Object.swift
[1026/1086] Compiling OpenAIKit Schema+Parameter.swift
[1027/1086] Compiling OpenAIKit ListModelsRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[1028/1086] Compiling OpenAIKit RetrieveModelRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[1029/1086] Compiling OpenAIKit ListModelsResponse.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[1030/1086] Compiling OpenAIKit CreateModerationRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[1031/1086] Compiling OpenAIKit Moderation.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[1032/1086] Compiling OpenAIKit ModerationProvider.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[1033/1086] Compiling OpenAIKit MultipartFormDataBuilder.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[1034/1086] Compiling OpenAIKit NIORequestHandler.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[1035/1086] Compiling OpenAIKit Request.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[1036/1086] Compiling OpenAIKit RequestHandler.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[1037/1086] Compiling OpenAIKit URLSessionRequestHandler.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[1038/1086] Compiling OpenAIKit CreateResponseRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[1039/1086] Compiling OpenAIKit Schema.swift
[1040/1086] Compiling OpenAIKit Image.swift
[1041/1086] Compiling OpenAIKit ImageProvider.swift
[1042/1086] Compiling OpenAIKit ImageResponse.swift
[1043/1086] Compiling OpenAIKit CreateImageEditRequest.swift
[1044/1086] Compiling OpenAIKit CreateImageRequest.swift
[1045/1086] Compiling OpenAIKit CreateImageVariationRequest.swift
[1046/1086] Compiling OpenAIKit Language.swift
[1047/1086] Compiling OpenAIKit LogHelper.swift
[1048/1086] Compiling OpenAIKit MIMEType.swift
[1049/1086] Compiling OpenAIKit Model.swift
[1050/1086] Compiling OpenAIKit ModelProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1051/1086] Emitting module OpenAIKit
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
[1052/1086] Compiling OpenAIKit API.swift
[1053/1086] Compiling OpenAIKit Assistant.swift
[1054/1086] Compiling OpenAIKit AssistantProvider.swift
[1055/1086] Compiling OpenAIKit CancelRunRequest.swift
[1056/1086] Compiling OpenAIKit CreateAssistantRequest.swift
[1057/1086] Compiling OpenAIKit CreateMessageRequest.swift
[1058/1086] Compiling OpenAIKit CreateRunRequest.swift
[1059/1086] Compiling OpenAIKit CreateThreadRequest.swift
[1060/1086] Compiling OpenAIKit DeleteAssistantRequest.swift
[1061/1086] Compiling OpenAIKit DeleteThreadRequest.swift
[1062/1086] Compiling OpenAIKit DeletedResponse.swift
[1063/1086] Compiling OpenAIKit List.swift
[1064/1086] Compiling OpenAIKit ListMessagesRequest.swift
[1065/1086] Compiling OpenAIKit ListRunsRequest.swift
[1066/1086] Compiling OpenAIKit Message.swift
[1067/1086] Compiling OpenAIKit ModifyAssistantRequest.swift
[1068/1086] Compiling OpenAIKit RetrieveAssistantRequest.swift
[1069/1086] Compiling OpenAIKit RetrieveRunRequest.swift
[1070/1086] Compiling OpenAIKit Run.swift
[1071/1086] Compiling OpenAIKit SubmitToolOutputsToRunRequest.swift
[1072/1086] Compiling OpenAIKit Thread.swift
[1073/1086] Compiling OpenAIKit ThreadStreamEvent.swift
[1074/1086] Compiling OpenAIKit ToolOutput.swift
[1075/1086] Compiling OpenAIKit AudioProvider.swift
[1076/1086] Compiling OpenAIKit GetModelResponseRequest.swift
[1077/1086] Compiling OpenAIKit ListInputItemsRequest.swift
[1078/1086] Compiling OpenAIKit Response+Function.swift
[1079/1086] Compiling OpenAIKit Response+InputItem.swift
[1080/1086] Compiling OpenAIKit Response+OutputItem.swift
[1081/1086] Compiling OpenAIKit Response.swift
[1082/1086] Compiling OpenAIKit ResponseStreamEvent.swift
[1083/1086] Compiling OpenAIKit ResponsesProvider.swift
[1084/1086] Compiling OpenAIKit Text.swift
[1085/1086] Compiling OpenAIKit ToolChoice.swift
[1086/1086] Compiling OpenAIKit Usage.swift
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/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/66] Compiling InternalCollectionsUtilities _SortedCollection.swift
[3/66] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[4/68] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[5/68] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[6/70] Compiling Logging LogHandler.swift
[7/70] Compiling RealModule Float16+Real.swift
[8/71] Compiling RealModule RealFunctions.swift
[9/71] Compiling RealModule Float80+Real.swift
[10/71] Compiling RealModule Real.swift
[11/71] Compiling RealModule ElementaryFunctions.swift
[12/71] Compiling RealModule Float+Real.swift
[13/71] Compiling InternalCollectionsUtilities Debugging.swift
[14/71] Compiling InternalCollectionsUtilities Descriptions.swift
[15/71] Compiling RealModule RelaxedArithmetic.swift
[16/71] Compiling ServiceContextModule ServiceContextKey.swift
[17/71] Compiling Logging Locks.swift
[18/71] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[19/71] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[20/71] Compiling NIOConcurrencyHelpers NIOLock.swift
[23/71] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[24/71] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[25/71] Compiling ServiceContextModule ServiceContext.swift
[26/71] Emitting module ServiceContextModule
[29/72] Emitting module RealModule
[30/72] Emitting module _NIOBase64
[31/72] Compiling Logging MetadataProvider.swift
[32/72] Compiling RealModule AlgebraicField.swift
[33/72] Compiling RealModule ApproximateEquality.swift
[34/72] Compiling RealModule AugmentedArithmetic.swift
[35/72] Compiling RealModule Double+Real.swift
[37/73] Compiling NIOConcurrencyHelpers lock.swift
[43/73] Compiling _NIODataStructures _TinyArray.swift
[44/73] Compiling _NIODataStructures PriorityQueue.swift
[45/79] Compiling _NIODataStructures Heap.swift
[46/79] Compiling _NIOBase64 Base64.swift
[47/80] Emitting module Logging
[48/80] Emitting module NIOConcurrencyHelpers
[49/80] Compiling Atomics IntegerOperations.swift
[50/80] Compiling Atomics Unmanaged extensions.swift
[51/80] Emitting module _NIODataStructures
[52/81] Emitting module Instrumentation
[55/81] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[58/81] Compiling Instrumentation NoOpInstrument.swift
[59/81] Compiling Instrumentation MultiplexInstrument.swift
[60/81] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[61/81] Compiling NIOConcurrencyHelpers atomics.swift
[62/81] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[63/81] Compiling Instrumentation Instrument.swift
[64/82] Emitting module InternalCollectionsUtilities
[73/83] Compiling Instrumentation InstrumentationSystem.swift
[74/83] Compiling Instrumentation Locks.swift
[77/109] Compiling Logging Logging.swift
[79/133] Compiling DequeModule Deque+CustomReflectable.swift
[80/133] Compiling DequeModule Deque+Descriptions.swift
[81/135] Compiling DequeModule _DequeBuffer.swift
[82/135] Compiling DequeModule _DequeBufferHeader.swift
[83/135] Compiling Tracing TracerProtocol.swift
[84/135] Compiling Tracing TracingTime.swift
[85/135] Compiling DequeModule Deque+Equatable.swift
[86/135] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[87/135] Compiling DequeModule Deque+Extras.swift
[88/135] Compiling DequeModule Deque+Hashable.swift
[89/135] Compiling Tracing Tracer.swift
[90/135] Compiling Tracing TracerProtocol+Legacy.swift
[91/135] Emitting module Tracing
[92/135] Emitting module Atomics
[93/135] Compiling DequeModule Deque+Codable.swift
[94/135] Compiling DequeModule Deque+Collection.swift
[99/136] Compiling DequeModule _UnsafeWrappedBuffer.swift
[100/136] Compiling Algorithms Reductions.swift
[101/136] Compiling Algorithms Rotate.swift
[102/139] Compiling DequeModule _DequeSlot.swift
[105/139] Compiling DequeModule Deque._UnsafeHandle.swift
[106/139] Compiling DequeModule Deque.swift
[107/139] Compiling DequeModule Deque+Testing.swift
[108/139] Compiling DequeModule Deque._Storage.swift
[111/139] Compiling Tracing InstrumentationSystem+Tracing.swift
[112/139] Compiling Tracing NoOpTracer.swift
[113/139] Compiling Tracing SpanProtocol.swift
[114/140] Emitting module DequeModule
[116/141] Compiling Algorithms Trim.swift
[117/141] Compiling Algorithms Unique.swift
[118/141] Compiling Algorithms Windows.swift
[119/141] Compiling Algorithms Partition.swift
[120/141] Compiling Algorithms Permutations.swift
[121/141] Compiling Algorithms Product.swift
[122/141] Compiling Algorithms Split.swift
[123/141] Compiling Algorithms Stride.swift
[124/141] Compiling Algorithms Suffix.swift
[137/204] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[138/204] Compiling NIOCore BSDSocketAPI.swift
[139/204] Compiling NIOCore ByteBuffer-aux.swift
[140/204] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[141/204] Emitting module Algorithms
[143/205] Compiling NIOCore NIOCoreSendableMetatype.swift
[144/205] Compiling NIOCore NIODecodedAsyncSequence.swift
[145/205] Compiling NIOCore NIOLoopBound.swift
[146/205] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[147/205] Compiling NIOCore NIOScheduledCallback.swift
[148/205] Compiling NIOCore NIOSendable.swift
[149/205] Compiling NIOCore NIOSplitLinesMessageDecoder.swift
[150/205] Compiling NIOCore RecvByteBufferAllocator.swift
[151/213] Compiling NIOCore IPProtocol.swift
[152/213] Compiling NIOCore IntegerBitPacking.swift
[153/213] Compiling NIOCore IntegerTypes.swift
[154/213] Compiling NIOCore Interfaces.swift
[155/213] Compiling NIOCore Linux.swift
[156/213] Compiling NIOCore MarkedCircularBuffer.swift
[157/213] Compiling NIOCore MulticastChannel.swift
[158/213] Compiling NIOCore NIOAny.swift
[159/213] Compiling NIOCore NIOCloseOnErrorHandler.swift
[160/213] Compiling NIOCore EventLoopFuture+Deprecated.swift
[161/213] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[162/213] Compiling NIOCore EventLoopFuture.swift
[163/213] Compiling NIOCore FileDescriptor.swift
[164/213] Compiling NIOCore FileHandle.swift
[165/213] Compiling NIOCore FileRegion.swift
[166/213] Compiling NIOCore GlobalSingletons.swift
[167/213] Compiling NIOCore IO.swift
[168/213] Compiling NIOCore IOData.swift
[169/213] Compiling NIOCore CircularBuffer.swift
[170/213] Compiling NIOCore Codec.swift
[171/213] Compiling NIOCore ConvenienceOptionSupport.swift
[172/213] Compiling NIOCore DeadChannel.swift
[173/213] Compiling NIOCore DispatchQueue+WithFuture.swift
[174/213] Compiling NIOCore EventLoop+Deprecated.swift
[175/213] Compiling NIOCore EventLoop+SerialExecutor.swift
[176/213] Compiling NIOCore EventLoop.swift
[177/213] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[182/213] Compiling NIOCore ByteBuffer-conversions.swift
[183/213] Compiling NIOCore ByteBuffer-core.swift
[184/213] Compiling NIOCore ByteBuffer-hex.swift
[185/213] Compiling NIOCore ByteBuffer-int.swift
[186/213] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[187/213] Compiling NIOCore AddressedEnvelope.swift
[188/213] Compiling NIOCore AsyncAwaitSupport.swift
[189/213] Compiling NIOCore AsyncChannel.swift
[190/213] Compiling NIOCore AsyncChannelHandler.swift
[191/213] Compiling NIOCore AsyncChannelInboundStream.swift
[192/213] Compiling NIOCore AsyncChannelOutboundWriter.swift
[193/213] Compiling NIOCore NIOAsyncSequenceProducer.swift
[194/213] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[195/213] Compiling NIOCore NIOAsyncWriter.swift
[196/213] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[197/213] Compiling NIOCore SocketAddresses.swift
[198/213] Compiling NIOCore SocketOptionProvider.swift
[199/213] Compiling NIOCore SystemCallHelpers.swift
[200/213] Compiling NIOCore TimeAmount+Duration.swift
[201/213] Compiling NIOCore TypeAssistedChannelHandler.swift
[202/213] Compiling NIOCore UniversalBootstrapSupport.swift
[203/213] Compiling NIOCore Utilities.swift
[204/213] Compiling NIOCore ByteBuffer-multi-int.swift
[205/213] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[206/213] Compiling NIOCore ByteBuffer-views.swift
[207/213] Compiling NIOCore Channel.swift
[208/213] Compiling NIOCore ChannelHandler.swift
[209/213] Compiling NIOCore ChannelHandlers.swift
[210/213] Compiling NIOCore ChannelInvoker.swift
[211/213] Compiling NIOCore ChannelOption.swift
[212/213] Compiling NIOCore ChannelPipeline.swift
[213/213] Emitting module NIOCore
[215/268] Compiling NIOEmbedded AsyncTestingChannel.swift
[216/268] Emitting module NIOEmbedded
[217/268] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[218/268] Compiling NIOEmbedded Embedded.swift
[220/269] Compiling NIOPosix IO.swift
[221/269] Compiling NIOPosix IntegerBitPacking.swift
[222/269] Compiling NIOPosix IntegerTypes.swift
[223/269] Compiling NIOPosix Linux.swift
[224/269] Compiling NIOPosix LinuxCPUSet.swift
[225/269] Compiling NIOPosix LinuxUring.swift
[226/269] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[227/275] Compiling NIOPosix ThreadWindows.swift
[228/275] Compiling NIOPosix UnsafeTransfer.swift
[229/275] Compiling NIOPosix Utilities.swift
[230/275] Compiling NIOPosix VsockAddress.swift
[231/275] Compiling NIOPosix VsockChannelEvents.swift
[232/275] Compiling NIOPosix Windows.swift
[233/275] Compiling NIOPosix Pool.swift
[234/275] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[235/275] Compiling NIOPosix PosixSingletons.swift
[236/275] Compiling NIOPosix RawSocketBootstrap.swift
[237/275] Compiling NIOPosix Resolver.swift
[238/275] Compiling NIOPosix Selectable.swift
[239/275] Compiling NIOPosix SelectableChannel.swift
[240/275] Compiling NIOPosix Socket.swift
[241/275] Compiling NIOPosix SocketChannel.swift
[242/275] Compiling NIOPosix SocketProtocols.swift
[243/275] Compiling NIOPosix StructuredConcurrencyHelpers.swift
[244/275] Compiling NIOPosix System.swift
[245/275] Compiling NIOPosix Thread.swift
[246/275] Compiling NIOPosix ThreadPosix.swift
[247/275] Compiling NIOPosix SelectableEventLoop.swift
[248/275] Compiling NIOPosix SelectorEpoll.swift
[249/275] Compiling NIOPosix SelectorGeneric.swift
[250/275] Compiling NIOPosix SelectorKqueue.swift
[251/275] Compiling NIOPosix SelectorUring.swift
[252/275] Compiling NIOPosix SelectorWSAPoll.swift
[253/275] Compiling NIOPosix ServerSocket.swift
[254/275] Compiling NIOPosix NIOPosixSendableMetatype.swift
[255/275] Compiling NIOPosix NIOThreadPool.swift
[256/275] Compiling NIOPosix NonBlockingFileIO.swift
[257/275] Compiling NIOPosix PendingDatagramWritesManager.swift
[258/275] Compiling NIOPosix PendingWritesManager.swift
[259/275] Compiling NIOPosix PipeChannel.swift
[260/275] Compiling NIOPosix PipePair.swift
[261/275] Compiling NIOPosix Bootstrap.swift
[262/275] Compiling NIOPosix ControlMessage.swift
[263/275] Compiling NIOPosix DatagramVectorReadManager.swift
[264/275] Compiling NIOPosix Errors+Any.swift
[265/275] Compiling NIOPosix FileDescriptor.swift
[266/275] Compiling NIOPosix GetaddrinfoResolver.swift
[267/275] Compiling NIOPosix HappyEyeballs.swift
[268/275] Compiling NIOPosix BSDSocketAPICommon.swift
[269/275] Compiling NIOPosix BSDSocketAPIPosix.swift
[270/275] Compiling NIOPosix BSDSocketAPIWindows.swift
[271/275] Compiling NIOPosix BaseSocket.swift
[272/275] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[273/275] Compiling NIOPosix BaseSocketChannel.swift
[274/275] Compiling NIOPosix BaseStreamSocketChannel.swift
[275/275] Emitting module NIOPosix
[277/278] Emitting module NIO
[278/278] Compiling NIO Exports.swift
[280/318] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[281/318] Compiling NIOTLS TLSEvents.swift
[282/318] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[283/318] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[284/318] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[285/318] Emitting module NIOTLS
[286/320] Compiling NIOSOCKS SOCKSResponse.swift
[287/321] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[288/321] Compiling NIOSOCKS SelectedAuthenticationMethod.swift
[289/321] Compiling NIOSOCKS ClientStateMachine.swift
[290/321] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[291/321] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[292/321] Compiling NIOHTTP1 HTTPEncoder.swift
[293/321] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[294/321] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[295/321] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[296/321] Emitting module NIOSOCKS
[297/321] Compiling NIOHTTP1 ByteCollectionUtils.swift
[298/321] Compiling NIOHTTP1 HTTPDecoder.swift
[299/321] Compiling NIOSOCKS ServerStateMachine.swift
[300/321] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[301/321] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[302/321] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[303/321] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[304/322] Emitting module NIOFoundationCompat
[305/322] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[306/322] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[307/322] Compiling NIOTLS SNIHandler.swift
[309/324] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[310/324] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[317/345] Compiling NIOSSL IdentityVerification.swift
[318/345] Compiling NIOSSL SSLContext.swift
[319/345] Compiling NIOSSL SSLErrors.swift
[320/345] Compiling NIOSSL SSLInit.swift
[321/375] Compiling NIOTransportServices AcceptHandler.swift
[322/375] Compiling NIOTransportServices NIOTSDatagramConnectionBootstrap.swift
[323/375] Compiling NIOTransportServices NIOTSDatagramConnectionChannel.swift
[324/377] Emitting module NIOHTTP1
[329/378] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[330/378] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[331/378] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[332/378] Compiling NIOTransportServices NIOTSErrors.swift
[333/378] Compiling NIOTransportServices NIOTSEventLoop.swift
[334/378] Compiling NIOTransportServices NIOTSBootstraps.swift
[335/378] Compiling NIOTransportServices NIOTSChannelOptions.swift
[336/378] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[337/378] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[338/378] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[339/378] Compiling NIOTransportServices NIOTSListenerChannel.swift
[340/378] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[341/378] Compiling NIOTransportServices NIOTSSingletons.swift
[342/378] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[343/378] Compiling NIOTransportServices StateManagedChannel.swift
[344/378] Compiling NIOTransportServices StateManagedListenerChannel.swift
[345/378] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[346/378] Emitting module NIOTransportServices
[347/378] Compiling NIOTransportServices NIOTSDatagramListenerBootstrap.swift
[348/378] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[349/378] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[354/379] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[355/401] Emitting module NIOSSL
[356/401] Compiling NIOHPACK IntegerCoding.swift
[357/402] Compiling NIOHPACK DynamicHeaderTable.swift
[358/402] Compiling NIOHPACK HPACKDecoder.swift
[359/402] Compiling NIOHPACK HPACKHeader.swift
[360/402] Compiling NIOHPACK HeaderTables.swift
[361/402] Compiling NIOHPACK IndexedHeaderTable.swift
[362/402] Compiling NIOHTTPCompression HTTPResponseCompressor.swift
[363/402] Compiling NIOHTTPCompression HTTPResponseDecompressor.swift
[364/402] Compiling NIOHTTPCompression HTTPRequestCompressor.swift
[365/402] Compiling NIOHTTPCompression HTTPRequestDecompressor.swift
[366/402] Compiling NIOHPACK HuffmanTables.swift
[367/402] Compiling NIOHPACK StaticHeaderTable.swift
[372/402] Compiling NIOSSL SSLCertificate.swift
[373/402] Compiling NIOSSL SSLCertificateExtensions.swift
[374/402] Compiling NIOSSL SSLCertificateName.swift
[375/402] Compiling NIOSSL SSLConnection.swift
[380/402] Compiling NIOHPACK HPACKEncoder.swift
[381/402] Compiling NIOHPACK HPACKErrors.swift
[390/402] Compiling NIOSSL Zeroization.swift
[391/402] Compiling NIOSSL TLSConfiguration.swift
[392/402] Compiling NIOSSL UniversalBootstrapSupport.swift
[393/402] Compiling NIOSSL UnsafeKeyAndChainTarget.swift
[394/403] Emitting module NIOHTTPCompression
[395/403] Compiling NIOHTTPCompression HTTPCompression.swift
[396/403] Compiling NIOHTTPCompression HTTPDecompression.swift
[398/404] Compiling NIOHPACK HuffmanCoding.swift
[404/404] Emitting module NIOHPACK
[406/465] Compiling NIOHTTP2 HasFlowControlWindows.swift
[407/465] Compiling NIOHTTP2 HasLocalSettings.swift
[408/465] Compiling NIOHTTP2 HasRemoteSettings.swift
[409/465] Compiling NIOHTTP2 LocallyQuiescingState.swift
[410/465] Compiling NIOHTTP2 QuiescingState.swift
[411/465] Compiling NIOHTTP2 RemotelyQuiescingState.swift
[412/465] Compiling NIOHTTP2 SendAndReceiveGoawayState.swift
[413/465] Compiling NIOHTTP2 StateMachineResult.swift
[414/465] Compiling NIOHTTP2 ContentLengthVerifier.swift
[415/473] Compiling NIOHTTP2 MultiplexerAbstractChannel.swift
[416/473] Compiling NIOHTTP2 NIOHTTP2FrameDelegate.swift
[417/473] Compiling NIOHTTP2 StreamChannelFlowController.swift
[418/473] Compiling NIOHTTP2 StreamChannelList.swift
[419/473] Compiling NIOHTTP2 StreamMap.swift
[420/473] Compiling NIOHTTP2 StreamStateMachine.swift
[421/473] Compiling NIOHTTP2 UnsafeTransfer.swift
[422/473] Compiling NIOHTTP2 WatermarkedFlowController.swift
[423/473] Emitting module NIOHTTP2
[424/473] Compiling NIOHTTP2 ConnectionStateMachine.swift
[425/473] Compiling NIOHTTP2 ConnectionStreamsState.swift
[426/473] Compiling NIOHTTP2 MayReceiveFrames.swift
[427/473] Compiling NIOHTTP2 ReceivingDataState.swift
[428/473] Compiling NIOHTTP2 ReceivingGoAwayState.swift
[429/473] Compiling NIOHTTP2 ReceivingHeadersState.swift
[430/473] Compiling NIOHTTP2 ReceivingPushPromiseState.swift
[431/473] Compiling NIOHTTP2 ReceivingRstStreamState.swift
[432/473] Compiling NIOHTTP2 ReceivingWindowUpdateState.swift
[433/473] Compiling NIOHTTP2 MaySendFrames.swift
[434/473] Compiling NIOHTTP2 SendingDataState.swift
[435/473] Compiling NIOHTTP2 SendingGoawayState.swift
[436/473] Compiling NIOHTTP2 SendingHeadersState.swift
[437/473] Compiling NIOHTTP2 SendingPushPromiseState.swift
[438/473] Compiling NIOHTTP2 SendingRstStreamState.swift
[439/473] Compiling NIOHTTP2 SendingWindowUpdateState.swift
[440/473] Compiling NIOHTTP2 HTTP2SettingsState.swift
[441/473] Compiling NIOHTTP2 HasExtendedConnectSettings.swift
[442/473] Compiling NIOHTTP2 HTTP2Frame.swift
[443/473] Compiling NIOHTTP2 HTTP2FrameEncoder.swift
[444/473] Compiling NIOHTTP2 HTTP2FrameParser.swift
[445/473] Compiling NIOHTTP2 HTTP2PingData.swift
[446/473] Compiling NIOHTTP2 HTTP2PipelineHelpers.swift
[447/473] Compiling NIOHTTP2 HTTP2Settings.swift
[448/473] Compiling NIOHTTP2 HTTP2Stream.swift
[449/473] Compiling NIOHTTP2 HTTP2StreamChannel+OutboundStreamMultiplexer.swift
[450/473] Compiling NIOHTTP2 DOSHeuristics.swift
[451/473] Compiling NIOHTTP2 Error+Any.swift
[452/473] Compiling NIOHTTP2 ConcurrentStreamBuffer.swift
[453/473] Compiling NIOHTTP2 ControlFrameBuffer.swift
[454/473] Compiling NIOHTTP2 OutboundFlowControlBuffer.swift
[455/473] Compiling NIOHTTP2 OutboundFrameBuffer.swift
[456/473] Compiling NIOHTTP2 GlitchesMonitor.swift
[457/473] Compiling NIOHTTP2 HPACKHeaders+Validation.swift
[458/473] Compiling NIOHTTP2 HTTP2StreamChannel.swift
[459/473] Compiling NIOHTTP2 HTTP2StreamDelegate.swift
[460/473] Compiling NIOHTTP2 HTTP2StreamID.swift
[461/473] Compiling NIOHTTP2 HTTP2StreamMultiplexer.swift
[462/473] Compiling NIOHTTP2 HTTP2ToHTTP1Codec.swift
[463/473] Compiling NIOHTTP2 HTTP2UserEvents.swift
[464/473] Compiling NIOHTTP2 InboundEventBuffer.swift
[465/473] Compiling NIOHTTP2 InboundWindowManager.swift
[466/473] Compiling NIOHTTP2 HTTP2ChannelHandler+InboundStreamMultiplexer.swift
[467/473] Compiling NIOHTTP2 HTTP2ChannelHandler+InlineStreamMultiplexer.swift
[468/473] Compiling NIOHTTP2 HTTP2ChannelHandler.swift
[469/473] Compiling NIOHTTP2 HTTP2CommonInboundStreamMultiplexer.swift
[470/473] Compiling NIOHTTP2 HTTP2ConnectionStateChange.swift
[471/473] Compiling NIOHTTP2 HTTP2Error.swift
[472/473] Compiling NIOHTTP2 HTTP2ErrorCode.swift
[473/473] Compiling NIOHTTP2 HTTP2FlowControlWindow.swift
[475/537] Compiling AsyncHTTPClient AnyAsyncSequence.swift
[476/537] Compiling AsyncHTTPClient AnyAsyncSequenceProucerDelete.swift
[477/537] Compiling AsyncHTTPClient AsyncLazySequence.swift
[478/537] Compiling AsyncHTTPClient HTTPClient+execute.swift
[479/537] Compiling AsyncHTTPClient HTTPClient+shutdown.swift
[480/537] Compiling AsyncHTTPClient HTTPClient+tracing.swift
[481/537] Compiling AsyncHTTPClient HTTPClientRequest+Prepared.swift
[482/537] Compiling AsyncHTTPClient HTTPClientRequest+auth.swift
[483/537] Compiling AsyncHTTPClient HTTPClientRequest.swift
[484/545] Compiling AsyncHTTPClient NIOLoopBound+Execute.swift
[485/545] Compiling AsyncHTTPClient NWErrorHandler.swift
[486/545] Compiling AsyncHTTPClient NWWaitingHandler.swift
[487/545] Compiling AsyncHTTPClient TLSConfiguration.swift
[488/545] Compiling AsyncHTTPClient RedirectState.swift
[489/545] Compiling AsyncHTTPClient RequestBag+StateMachine.swift
[490/545] Compiling AsyncHTTPClient RequestBag+Tracing.swift
[491/545] Compiling AsyncHTTPClient RequestBag.swift
[492/545] Emitting module AsyncHTTPClient
[493/545] Compiling AsyncHTTPClient HTTP1ProxyConnectHandler.swift
[494/545] Compiling AsyncHTTPClient SOCKSEventsHandler.swift
[495/545] Compiling AsyncHTTPClient TLSEventsHandler.swift
[496/545] Compiling AsyncHTTPClient HTTP1ClientChannelHandler.swift
[497/545] Compiling AsyncHTTPClient HTTP1Connection.swift
[498/545] Compiling AsyncHTTPClient HTTP1ConnectionStateMachine.swift
[499/545] Compiling AsyncHTTPClient HTTP2ClientRequestHandler.swift
[500/545] Compiling AsyncHTTPClient HTTP2Connection.swift
[501/545] Compiling AsyncHTTPClient HTTP2IdleHandler.swift
[502/545] Compiling AsyncHTTPClient RequestValidation.swift
[503/545] Compiling AsyncHTTPClient SSLContextCache.swift
[504/545] Compiling AsyncHTTPClient Scheme.swift
[505/545] Compiling AsyncHTTPClient Singleton.swift
[506/545] Compiling AsyncHTTPClient StringConvertibleInstances.swift
[507/545] Compiling AsyncHTTPClient StructuredConcurrencyHelpers.swift
[508/545] Compiling AsyncHTTPClient TracingSupport.swift
[509/545] Compiling AsyncHTTPClient Utils.swift
[510/545] Compiling AsyncHTTPClient RequestOptions.swift
[511/545] Compiling AsyncHTTPClient HTTPConnectionPool+Backoff.swift
[512/545] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1Connections.swift
[513/545] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1StateMachine.swift
[514/545] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2Connections.swift
[515/545] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2StateMachine.swift
[516/545] Compiling AsyncHTTPClient HTTPConnectionPool+RequestQueue.swift
[517/545] Compiling AsyncHTTPClient HTTPConnectionPool+StateMachine.swift
[518/545] Compiling AsyncHTTPClient ConnectionTarget.swift
[519/545] Compiling AsyncHTTPClient HTTPConnectionEvent.swift
[520/545] Compiling AsyncHTTPClient HTTPConnectionPool+Factory.swift
[521/545] Compiling AsyncHTTPClient HTTPConnectionPool+Manager.swift
[522/545] Compiling AsyncHTTPClient HTTPConnectionPool.swift
[523/545] Compiling AsyncHTTPClient HTTPExecutableRequest.swift
[524/545] Compiling AsyncHTTPClient HTTPRequestStateMachine+Demand.swift
[525/545] Compiling AsyncHTTPClient HTTPRequestStateMachine.swift
[526/545] Compiling AsyncHTTPClient RequestBodyLength.swift
[527/545] Compiling AsyncHTTPClient RequestFramingMetadata.swift
[528/545] Compiling AsyncHTTPClient DeconstructedURL.swift
[529/545] Compiling AsyncHTTPClient FileDownloadDelegate.swift
[530/545] Compiling AsyncHTTPClient FoundationExtensions.swift
[531/545] Compiling AsyncHTTPClient HTTPClient+HTTPCookie.swift
[532/545] Compiling AsyncHTTPClient HTTPClient+Proxy.swift
[533/545] Compiling AsyncHTTPClient HTTPClient+StructuredConcurrency.swift
[534/545] Compiling AsyncHTTPClient HTTPClient.swift
[535/545] Compiling AsyncHTTPClient HTTPHandler.swift
[536/545] Compiling AsyncHTTPClient LRUCache.swift
[537/545] Compiling AsyncHTTPClient HTTPClientResponse.swift
[538/545] Compiling AsyncHTTPClient SingleIteratorPrecondition.swift
[539/545] Compiling AsyncHTTPClient Transaction+StateMachine.swift
[540/545] Compiling AsyncHTTPClient Transaction.swift
[541/545] Compiling AsyncHTTPClient Base64.swift
[542/545] Compiling AsyncHTTPClient BasicAuth.swift
[543/545] Compiling AsyncHTTPClient BestEffortHashableTLSConfiguration.swift
[544/545] Compiling AsyncHTTPClient Configuration+BrowserLike.swift
[545/545] Compiling AsyncHTTPClient ConnectionPool.swift
[547/631] Compiling OpenAIKit CreateTranscriptionRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[548/631] Compiling OpenAIKit CreateTranslationRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[549/631] Compiling OpenAIKit Transcription.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[550/631] Compiling OpenAIKit Translation.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[551/631] Compiling OpenAIKit Chat.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[552/631] Compiling OpenAIKit ChatProvider.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[553/631] Compiling OpenAIKit ChatStream.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[554/631] Compiling OpenAIKit CreateChatRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[555/631] Compiling OpenAIKit FinishReason.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[556/631] Compiling OpenAIKit Client.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[557/631] Compiling OpenAIKit Completion.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[558/631] Compiling OpenAIKit CompletionProvider.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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
[559/642] Compiling OpenAIKit ListModelsRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[560/642] Compiling OpenAIKit RetrieveModelRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[561/642] Compiling OpenAIKit ListModelsResponse.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[562/642] Compiling OpenAIKit CreateModerationRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[563/642] Compiling OpenAIKit Moderation.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[564/642] Compiling OpenAIKit ModerationProvider.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[565/642] Compiling OpenAIKit MultipartFormDataBuilder.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[566/642] Compiling OpenAIKit NIORequestHandler.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[567/642] Compiling OpenAIKit Request.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[568/642] Compiling OpenAIKit RequestHandler.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[569/642] Compiling OpenAIKit URLSessionRequestHandler.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[570/642] Compiling OpenAIKit CreateResponseRequest.swift
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:21:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
19 | func perform<T>(request: Request) async throws -> T where T: Decodable {
20 | let urlRequest = try makeUrlRequest(request: request)
21 | let (data, _) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
22 | decoder.keyDecodingStrategy = request.keyDecodingStrategy
23 | decoder.dateDecodingStrategy = request.dateDecodingStrategy
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:94:30: error: cannot find 'URLRequest' in scope
92 | throw RequestHandlerError.invalidURLGenerated
93 | }
94 | var urlRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
95 | for (key, value) in configuration.headers {
96 | urlRequest.addValue(value, forHTTPHeaderField: key)
[571/642] Compiling OpenAIKit Schema.swift
[572/642] Compiling OpenAIKit Image.swift
[573/642] Compiling OpenAIKit ImageProvider.swift
[574/642] Compiling OpenAIKit ImageResponse.swift
[575/642] Compiling OpenAIKit CreateImageEditRequest.swift
[576/642] Compiling OpenAIKit CreateImageRequest.swift
[577/642] Compiling OpenAIKit CreateImageVariationRequest.swift
[578/642] Compiling OpenAIKit Language.swift
[579/642] Compiling OpenAIKit LogHelper.swift
[580/642] Compiling OpenAIKit MIMEType.swift
[581/642] Compiling OpenAIKit Model.swift
[582/642] Compiling OpenAIKit ModelProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[583/642] Emitting module OpenAIKit
/host/spi-builder-workspace/Sources/OpenAIKit/Client/Client.swift:47:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | #if !os(Linux)
46 | public init(
47 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | configuration: Configuration
49 | ) {
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:10:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 |
9 | init(
10 | session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | configuration: Configuration,
12 | decoder: JSONDecoder = JSONDecoder()
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/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:89:65: error: cannot find type 'URLRequest' in scope
87 | }
88 |
89 | private func makeUrlRequest(request: Request) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | let urlString = try generateURL(for: request)
91 | guard let url = URL(string: urlString) else {
/host/spi-builder-workspace/Sources/OpenAIKit/RequestHandler/URLSessionRequestHandler.swift:5:13: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
3 | #if !os(Linux)
4 | struct URLSessionRequestHandler: RequestHandler {
5 | let session: URLSession
| `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionRequestHandler' has non-sendable type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
6 | let configuration: Configuration
7 | let decoder: JSONDecoder
[584/642] Compiling OpenAIKit ListMessagesRequest.swift
[585/642] Compiling OpenAIKit ListRunsRequest.swift
[586/642] Compiling OpenAIKit Message.swift
[587/642] Compiling OpenAIKit ModifyAssistantRequest.swift
[588/642] Compiling OpenAIKit RetrieveAssistantRequest.swift
[589/642] Compiling OpenAIKit RetrieveRunRequest.swift
[590/642] Compiling OpenAIKit Run.swift
[591/642] Compiling OpenAIKit SubmitToolOutputsToRunRequest.swift
[592/642] Compiling OpenAIKit Thread.swift
[593/642] Compiling OpenAIKit ThreadStreamEvent.swift
[594/642] Compiling OpenAIKit ToolOutput.swift
[595/642] Compiling OpenAIKit AudioProvider.swift
[596/642] Compiling OpenAIKit CreateCompletionRequest.swift
[597/642] Compiling OpenAIKit Configuration.swift
[598/642] Compiling OpenAIKit CreateEditRequest.swift
[599/642] Compiling OpenAIKit Edit.swift
[600/642] Compiling OpenAIKit EditProvider.swift
[601/642] Compiling OpenAIKit CreateEmbeddingRequest.swift
[602/642] Compiling OpenAIKit CreateEmbeddingResponse.swift
[603/642] Compiling OpenAIKit Embedding.swift
[604/642] Compiling OpenAIKit EmbeddingProvider.swift
[605/642] Compiling OpenAIKit APIError.swift
[606/642] Compiling OpenAIKit RequestHandler+Error.swift
[607/642] Compiling OpenAIKit File.swift
[608/642] Compiling OpenAIKit FileProvider.swift
[609/642] Compiling OpenAIKit DeleteFileRequest.swift
[610/642] Compiling OpenAIKit ListFilesRequest.swift
[611/642] Compiling OpenAIKit RetrieveFileContentRequest.swift
[612/642] Compiling OpenAIKit RetrieveFileRequest.swift
[613/642] Compiling OpenAIKit UploadFileRequest.swift
[614/642] Compiling OpenAIKit DeleteFileResponse.swift
[615/642] Compiling OpenAIKit ListFilesResponse.swift
[616/642] Compiling OpenAIKit ResponseFormat.swift
[617/642] Compiling OpenAIKit ResponseSchema.swift
[618/642] Compiling OpenAIKit Schema+Object.swift
[619/642] Compiling OpenAIKit Schema+Parameter.swift
[620/642] Compiling OpenAIKit API.swift
[621/642] Compiling OpenAIKit Assistant.swift
[622/642] Compiling OpenAIKit AssistantProvider.swift
[623/642] Compiling OpenAIKit CancelRunRequest.swift
[624/642] Compiling OpenAIKit CreateAssistantRequest.swift
[625/642] Compiling OpenAIKit CreateMessageRequest.swift
[626/642] Compiling OpenAIKit CreateRunRequest.swift
[627/642] Compiling OpenAIKit CreateThreadRequest.swift
[628/642] Compiling OpenAIKit DeleteAssistantRequest.swift
[629/642] Compiling OpenAIKit DeleteThreadRequest.swift
[630/642] Compiling OpenAIKit DeletedResponse.swift
[631/642] Compiling OpenAIKit List.swift
[632/642] Compiling OpenAIKit GetModelResponseRequest.swift
[633/642] Compiling OpenAIKit ListInputItemsRequest.swift
[634/642] Compiling OpenAIKit Response+Function.swift
[635/642] Compiling OpenAIKit Response+InputItem.swift
[636/642] Compiling OpenAIKit Response+OutputItem.swift
[637/642] Compiling OpenAIKit Response.swift
[638/642] Compiling OpenAIKit ResponseStreamEvent.swift
[639/642] Compiling OpenAIKit ResponsesProvider.swift
[640/642] Compiling OpenAIKit Text.swift
[641/642] Compiling OpenAIKit ToolChoice.swift
[642/642] Compiling OpenAIKit Usage.swift
BUILD FAILURE 6.1 android