Build Information
Successful build of Meridian, reference main (f1ac99), with Swift 6.1 for Linux on 18 Apr 2026 22:29:56 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
<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
[769/800] Compiling NIOPosix PosixSingletons.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
[770/800] Compiling NIOPosix RawSocketBootstrap.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
[771/800] Compiling NIOPosix Resolver.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
[772/800] Compiling NIOPosix Selectable.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
[773/800] Compiling NIOPosix SelectableChannel.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
[774/800] Compiling NIOPosix SelectableEventLoop.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
[775/800] Compiling NIOPosix SelectorEpoll.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
[776/800] Compiling NIOPosix SelectorGeneric.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
[777/800] Compiling NIOPosix SelectorKqueue.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
[778/800] Compiling NIOPosix SelectorUring.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
[779/800] Compiling NIOPosix SelectorWSAPoll.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
[780/800] Compiling NIOPosix MultiThreadedEventLoopGroup.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
[781/800] Compiling NIOPosix NIOPosixSendableMetatype.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
[782/800] Compiling NIOPosix NIOThreadPool.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
[783/800] Compiling NIOPosix NonBlockingFileIO.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
[784/800] Compiling NIOPosix PendingDatagramWritesManager.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
[785/800] Compiling NIOPosix PendingWritesManager.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
[786/800] Compiling NIOPosix PipeChannel.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
[787/801] Wrapping AST for NIOPosix for debugging
[789/803] Compiling NIO Exports.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
[790/803] Emitting module NIO
<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
[791/804] Wrapping AST for NIO for debugging
[793/831] Compiling NIOTLS TLSEvents.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
[794/831] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.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
[795/831] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.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
[796/831] Compiling NIOTLS ApplicationProtocolNegotiationHandler.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
[797/831] Emitting module NIOTLS
<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
[798/831] Compiling NIOTLS SNIHandler.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
[799/832] Emitting module NIOHTTP1
<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
[800/832] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.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
[801/832] Compiling NIOHTTP1 NIOHTTPObjectAggregator.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
[802/832] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.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
[803/832] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.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
[804/834] Wrapping AST for NIOTLS for debugging
[806/863] Compiling NIOSSL AndroidCABundle.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
[807/863] Compiling NIOSSL ByteBufferBIO.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
[808/863] Compiling NIOSSL NIOSSLServerHandler.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
[809/863] Compiling NIOSSL ObjectIdentifier.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
[810/863] Compiling NIOSSL NIOSSLClientHandler.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
[811/863] Compiling NIOSSL NIOSSLHandler+Configuration.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
[812/863] Compiling NIOSSL PosixPort.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
[813/863] Compiling NIOSSL SSLCallbacks.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
[814/863] Compiling NIOFoundationCompat WaitSpinningRunLoop.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
[815/863] Compiling NIOSSL CustomPrivateKey.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
[816/863] Compiling NIOSSL IdentityVerification.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
[817/863] Compiling NIOSSL LinuxCABundle.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
[818/863] Compiling NIOSSL SSLConnection.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
[819/863] Compiling NIOSSL SSLContext.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
[820/864] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.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
[821/864] Compiling NIOFoundationCompat Codable+ByteBuffer.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
[823/864] Emitting module NIOFoundationCompat
<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
[824/864] Compiling NIOFoundationCompat ByteBuffer-foundation.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
[825/865] Wrapping AST for NIOHTTP1 for debugging
[826/887] Wrapping AST for NIOFoundationCompat for debugging
[828/915] Compiling NIOTransportServices StateManagedChannel.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
[829/915] Compiling NIOTransportServices StateManagedListenerChannel.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
[830/915] Compiling NIOTransportServices StateManagedNWConnectionChannel.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
[831/917] Compiling NIOTransportServices TCPOptions+SocketChannelOption.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
[832/917] Compiling NIOTransportServices UDPOptions+SocketChannelOption.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
[833/917] Compiling NIOTransportServices NIOTSNetworkEvents.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
[834/917] Compiling NIOTransportServices NIOTSSingletons.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
[835/917] Compiling NIOTransportServices SocketAddress+NWEndpoint.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
[836/917] Compiling NIOWebSocket WebSocketOpcode.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
[837/918] Compiling NIOTransportServices NIOTSEventLoopGroup.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
[838/918] Compiling NIOTransportServices NIOTSListenerBootstrap.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
[839/918] Compiling NIOTransportServices NIOTSListenerChannel.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
[840/918] Compiling NIOTransportServices NIOTSBootstraps.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
[841/918] Compiling NIOTransportServices NIOTSChannelOptions.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
[842/918] Compiling NIOTransportServices NIOTSConnectionBootstrap.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
[843/918] Compiling NIOTransportServices NIOTSConnectionChannel.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
[844/918] Compiling NIOTransportServices NIOTSErrors.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
[845/918] Compiling NIOTransportServices NIOTSEventLoop.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
[846/918] Compiling NIOWebSocket WebSocketFrameEncoder.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
<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
<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
<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
<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
[851/920] Compiling NIOTransportServices AcceptHandler.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
[852/920] Compiling NIOTransportServices NIOTSDatagramConnectionBootstrap.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
[853/920] Compiling NIOTransportServices NIOTSDatagramConnectionChannel.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
[854/920] Compiling NIOTransportServices NIOTSDatagramListenerBootstrap.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
<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
<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
<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
<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
[859/924] Compiling NIOWebSocket WebSocketFrameDecoder.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
[860/924] Compiling NIOTransportServices NIOTSDatagramListenerChannel.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
[861/924] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.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
<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
<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
<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
<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
<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
[867/924] Emitting module NIOTransportServices
<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
<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
<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
<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
[871/925] Compiling NIOWebSocket WebSocketProtocolErrorHandler.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
<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
<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
[874/925] Emitting module NIOWebSocket
<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
<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
<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
[877/925] Compiling NIOWebSocket WebSocketErrorCodes.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
<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
<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
<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
<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
[882/925] Compiling NIOWebSocket WebSocketFrame.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
[884/926] Emitting module NIOSSL
<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
[886/926] Compiling NIOSSL SubjectAlternativeName.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
[887/926] Compiling NIOSSL NIOSSLSecureBytes.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
[888/926] Compiling NIOSSL RNG.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
[889/926] Compiling NIOSSL SafeCompare.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
<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
<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
<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
[893/926] Compiling NIOSSL String+unsafeUninitializedCapacity.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
[893/926] Wrapping AST for NIOTransportServices for debugging
[894/926] Wrapping AST for NIOWebSocket for debugging
<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
<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
<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
<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
<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
<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
<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
<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
<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/926] Emitting module NIOExtras
<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
<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/926] Compiling NIOExtras RequestResponseWithIDHandler.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/926] Compiling NIOExtras WritePCAPHandler.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
<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
<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
<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
<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
<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
<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
<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/927] Compiling NIOSSL Zeroization.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
[918/927] Compiling NIOSSL 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
[919/927] Compiling NIOSSL UniversalBootstrapSupport.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
[920/927] Compiling NIOSSL UnsafeKeyAndChainTarget.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/928] Wrapping AST for NIOSSL for debugging
[922/928] Wrapping AST for NIOExtras for debugging
[924/936] Compiling WebSocketKit Exports.swift
[925/936] Compiling WebSocketKit WebSocketHandler.swift
[926/936] Emitting module WebSocketKit
[927/936] Compiling WebSocketKit WebSocket+Concurrency.swift
[928/936] Compiling WebSocketKit HTTPUpgradeRequestHandler.swift
[929/936] Compiling WebSocketKit WebSocket+Connect.swift
[930/936] Compiling WebSocketKit WebSocket.swift
[931/936] Compiling WebSocketKit WebSocketClient.swift
[932/937] Wrapping AST for WebSocketKit for debugging
[934/981] Compiling Meridian Redirect.swift
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:73:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
71 | public var textMessages: AsyncStream<String> {
72 | AsyncStream(String.self, { continuation in
73 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
74 | for try await message in messages {
| `- note: closure captures 'self' which is accessible to code in the current task
75 | if case let .text(text) = message {
76 | continuation.yield(text)
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:85:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 | public var dataMessages: AsyncStream<Data> {
84 | AsyncStream(Data.self, { continuation in
85 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
86 | for try await message in messages {
| `- note: closure captures 'self' which is accessible to code in the current task
87 | if case let .data(data) = message {
88 | continuation.yield(data)
[935/981] Compiling Meridian Response.swift
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:73:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
71 | public var textMessages: AsyncStream<String> {
72 | AsyncStream(String.self, { continuation in
73 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
74 | for try await message in messages {
| `- note: closure captures 'self' which is accessible to code in the current task
75 | if case let .text(text) = message {
76 | continuation.yield(text)
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:85:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 | public var dataMessages: AsyncStream<Data> {
84 | AsyncStream(Data.self, { continuation in
85 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
86 | for try await message in messages {
| `- note: closure captures 'self' which is accessible to code in the current task
87 | if case let .data(data) = message {
88 | continuation.yield(data)
[936/981] Compiling Meridian ResponseWithDetails.swift
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:73:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
71 | public var textMessages: AsyncStream<String> {
72 | AsyncStream(String.self, { continuation in
73 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
74 | for try await message in messages {
| `- note: closure captures 'self' which is accessible to code in the current task
75 | if case let .text(text) = message {
76 | continuation.yield(text)
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:85:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 | public var dataMessages: AsyncStream<Data> {
84 | AsyncStream(Data.self, { continuation in
85 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
86 | for try await message in messages {
| `- note: closure captures 'self' which is accessible to code in the current task
87 | if case let .data(data) = message {
88 | continuation.yield(data)
[937/981] Compiling Meridian StatusCodeResponse.swift
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:73:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
71 | public var textMessages: AsyncStream<String> {
72 | AsyncStream(String.self, { continuation in
73 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
74 | for try await message in messages {
| `- note: closure captures 'self' which is accessible to code in the current task
75 | if case let .text(text) = message {
76 | continuation.yield(text)
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:85:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 | public var dataMessages: AsyncStream<Data> {
84 | AsyncStream(Data.self, { continuation in
85 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
86 | for try await message in messages {
| `- note: closure captures 'self' which is accessible to code in the current task
87 | if case let .data(data) = message {
88 | continuation.yield(data)
[938/981] Compiling Meridian StringResponse.swift
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:73:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
71 | public var textMessages: AsyncStream<String> {
72 | AsyncStream(String.self, { continuation in
73 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
74 | for try await message in messages {
| `- note: closure captures 'self' which is accessible to code in the current task
75 | if case let .text(text) = message {
76 | continuation.yield(text)
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:85:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 | public var dataMessages: AsyncStream<Data> {
84 | AsyncStream(Data.self, { continuation in
85 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
86 | for try await message in messages {
| `- note: closure captures 'self' which is accessible to code in the current task
87 | if case let .data(data) = message {
88 | continuation.yield(data)
[939/981] Compiling Meridian WebSocket.swift
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:73:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
71 | public var textMessages: AsyncStream<String> {
72 | AsyncStream(String.self, { continuation in
73 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
74 | for try await message in messages {
| `- note: closure captures 'self' which is accessible to code in the current task
75 | if case let .text(text) = message {
76 | continuation.yield(text)
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:85:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 | public var dataMessages: AsyncStream<Data> {
84 | AsyncStream(Data.self, { continuation in
85 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
86 | for try await message in messages {
| `- note: closure captures 'self' which is accessible to code in the current task
87 | if case let .data(data) = message {
88 | continuation.yield(data)
[940/987] Compiling Meridian Responder.swift
[941/987] Compiling Meridian AdditionalHeaderResponse.swift
[942/987] Compiling Meridian CORS.swift
[943/987] Compiling Meridian EmptyResponse.swift
[944/987] Compiling Meridian File.swift
[945/987] Compiling Meridian JSONResponse.swift
[946/987] Emitting module Meridian
/host/spi-builder-workspace/Meridian/Environment/EnvironmentValues.swift:21:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public final class EnvironmentValues {
20 |
21 | static var shared = EnvironmentValues()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | var storage: [ObjectIdentifier: Any] = [:]
/host/spi-builder-workspace/Meridian/Environment/RouterEnvironment.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct RouterEnvironmentKey: EnvironmentKey {
11 | static let defaultValue = Router(defaultErrorRenderer: BasicErrorRenderer(), middlewareProducers: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
[947/987] Compiling Meridian CustomParameter.swift
[948/987] Compiling Meridian Environment.swift
[949/987] Compiling Meridian Header.swift
[950/987] Compiling Meridian JSONBody.swift
[951/987] Compiling Meridian JSONValue.swift
[952/987] Compiling Meridian Method.swift
[953/987] Compiling Meridian Path.swift
[954/987] Compiling Meridian QueryParameter.swift
[955/987] Compiling Meridian ThreadEnvironment.swift
[956/987] Compiling Meridian URI.swift
[957/987] Compiling Meridian URLBodyParameter.swift
[958/987] Compiling Meridian URLParameter.swift
[959/987] Compiling Meridian HTTPRequestParsingHandler.swift
[960/987] Compiling Meridian HeadMiddleware.swift
[961/987] Compiling Meridian Middleware.swift
[962/987] Compiling Meridian ResponseHydrationMiddleware.swift
[963/987] Compiling Meridian OptionsMiddleware.swift
[964/987] Compiling Meridian Body.swift
[965/987] Compiling Meridian BundledFiles.swift
/host/spi-builder-workspace/Meridian/Environment/EnvironmentValues.swift:21:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public final class EnvironmentValues {
20 |
21 | static var shared = EnvironmentValues()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | var storage: [ObjectIdentifier: Any] = [:]
/host/spi-builder-workspace/Meridian/Environment/RouterEnvironment.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct RouterEnvironmentKey: EnvironmentKey {
11 | static let defaultValue = Router(defaultErrorRenderer: BasicErrorRenderer(), middlewareProducers: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
[966/987] Compiling Meridian EnvironmentValues.swift
/host/spi-builder-workspace/Meridian/Environment/EnvironmentValues.swift:21:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public final class EnvironmentValues {
20 |
21 | static var shared = EnvironmentValues()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | var storage: [ObjectIdentifier: Any] = [:]
/host/spi-builder-workspace/Meridian/Environment/RouterEnvironment.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct RouterEnvironmentKey: EnvironmentKey {
11 | static let defaultValue = Router(defaultErrorRenderer: BasicErrorRenderer(), middlewareProducers: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
[967/987] Compiling Meridian JSONEnvironment.swift
/host/spi-builder-workspace/Meridian/Environment/EnvironmentValues.swift:21:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public final class EnvironmentValues {
20 |
21 | static var shared = EnvironmentValues()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | var storage: [ObjectIdentifier: Any] = [:]
/host/spi-builder-workspace/Meridian/Environment/RouterEnvironment.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct RouterEnvironmentKey: EnvironmentKey {
11 | static let defaultValue = Router(defaultErrorRenderer: BasicErrorRenderer(), middlewareProducers: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
[968/987] Compiling Meridian LoopGroupEnvironment.swift
/host/spi-builder-workspace/Meridian/Environment/EnvironmentValues.swift:21:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public final class EnvironmentValues {
20 |
21 | static var shared = EnvironmentValues()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | var storage: [ObjectIdentifier: Any] = [:]
/host/spi-builder-workspace/Meridian/Environment/RouterEnvironment.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct RouterEnvironmentKey: EnvironmentKey {
11 | static let defaultValue = Router(defaultErrorRenderer: BasicErrorRenderer(), middlewareProducers: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
[969/987] Compiling Meridian RouterEnvironment.swift
/host/spi-builder-workspace/Meridian/Environment/EnvironmentValues.swift:21:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public final class EnvironmentValues {
20 |
21 | static var shared = EnvironmentValues()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | var storage: [ObjectIdentifier: Any] = [:]
/host/spi-builder-workspace/Meridian/Environment/RouterEnvironment.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct RouterEnvironmentKey: EnvironmentKey {
11 | static let defaultValue = Router(defaultErrorRenderer: BasicErrorRenderer(), middlewareProducers: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
[970/987] Compiling Meridian ServerNameEnvironment.swift
/host/spi-builder-workspace/Meridian/Environment/EnvironmentValues.swift:21:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public final class EnvironmentValues {
20 |
21 | static var shared = EnvironmentValues()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | var storage: [ObjectIdentifier: Any] = [:]
/host/spi-builder-workspace/Meridian/Environment/RouterEnvironment.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct RouterEnvironmentKey: EnvironmentKey {
11 | static let defaultValue = Router(defaultErrorRenderer: BasicErrorRenderer(), middlewareProducers: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
[971/987] Compiling Meridian ErrorRenderer.swift
/host/spi-builder-workspace/Meridian/Environment/EnvironmentValues.swift:21:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public final class EnvironmentValues {
20 |
21 | static var shared = EnvironmentValues()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | var storage: [ObjectIdentifier: Any] = [:]
/host/spi-builder-workspace/Meridian/Environment/RouterEnvironment.swift:11:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct RouterEnvironmentKey: EnvironmentKey {
11 | static let defaultValue = Router(defaultErrorRenderer: BasicErrorRenderer(), middlewareProducers: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
[972/987] Compiling Meridian Errors.swift
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:54:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | let body = parsedRequest.data
53 |
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | do {
56 | let request = try RequestContext(
:
59 | postBody: body
60 | )
61 | let response = try await self.router.handle(request: request)
| `- note: closure captures 'self' which is accessible to code in the current task
62 |
63 | let statusCode = response.statusCode
[973/987] Compiling Meridian HTTPMethod.swift
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:54:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | let body = parsedRequest.data
53 |
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | do {
56 | let request = try RequestContext(
:
59 | postBody: body
60 | )
61 | let response = try await self.router.handle(request: request)
| `- note: closure captures 'self' which is accessible to code in the current task
62 |
63 | let statusCode = response.statusCode
[974/987] Compiling Meridian Headers.swift
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:54:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | let body = parsedRequest.data
53 |
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | do {
56 | let request = try RequestContext(
:
59 | postBody: body
60 | )
61 | let response = try await self.router.handle(request: request)
| `- note: closure captures 'self' which is accessible to code in the current task
62 |
63 | let statusCode = response.statusCode
[975/987] Compiling Meridian RequestHeader.swift
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:54:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | let body = parsedRequest.data
53 |
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | do {
56 | let request = try RequestContext(
:
59 | postBody: body
60 | )
61 | let response = try await self.router.handle(request: request)
| `- note: closure captures 'self' which is accessible to code in the current task
62 |
63 | let statusCode = response.statusCode
[976/987] Compiling Meridian StatusCode.swift
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:54:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | let body = parsedRequest.data
53 |
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | do {
56 | let request = try RequestContext(
:
59 | postBody: body
60 | )
61 | let response = try await self.router.handle(request: request)
| `- note: closure captures 'self' which is accessible to code in the current task
62 |
63 | let statusCode = response.statusCode
[977/987] Compiling Meridian HTTPHandler.swift
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:54:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
52 | let body = parsedRequest.data
53 |
54 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
55 | do {
56 | let request = try RequestContext(
:
59 | postBody: body
60 | )
61 | let response = try await self.router.handle(request: request)
| `- note: closure captures 'self' which is accessible to code in the current task
62 |
63 | let statusCode = response.statusCode
[978/987] Compiling Meridian RouteBuilder.swift
/host/spi-builder-workspace/Meridian/Server.swift:14:26: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | func enableLineBufferedLogging() {
14 | let result = setvbuf(stdout, nil, _IOLBF, 16 * 1024)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
15 | precondition(result == 0)
16 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Meridian/Server.swift:76:82: warning: type 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
74 |
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
| `- warning: type 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:14:13: note: class 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
12 | import WebSocketKit
13 |
14 | final class WebSocketUpgrader: HTTPServerProtocolUpgrader {
| `- note: class 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
15 |
16 | let innerUpgrader: NIOWebSocketServerUpgrader
/host/spi-builder-workspace/Meridian/Server.swift:77:60: warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
| `- warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
78 | .and(context.pipeline.removeHandler(http))
79 | }))
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:78:65: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
| `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:81:55: warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:81:64: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:73:48: warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
21 | }
22 |
23 | public final class Server {
| `- note: class 'Server' does not conform to the 'Sendable' protocol
24 |
25 | let options = ServeOptions.parseOrExit()
:
71 | let parsing = HTTPRequestParsingHandler()
72 |
73 | let http = HTTPHandler(router: self.router)
| `- warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
74 |
75 | return channel.pipeline
/host/spi-builder-workspace/Meridian/Server.swift:77:60: warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
| `- warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
78 | .and(context.pipeline.removeHandler(http))
79 | }))
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:78:65: warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
| `- warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:81:55: warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:81:64: warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:26:42: warning: capture of 'router' with non-sendable type 'Router' in a '@Sendable' local function; this is an error in the Swift 6 language mode
24 | }
25 |
26 | let (match, middleware, _) = router.route(for: header)
| `- warning: capture of 'router' with non-sendable type 'Router' in a '@Sendable' local function; this is an error in the Swift 6 language mode
27 |
28 | guard let match else {
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:44:21: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
42 | shouldUpgrade: { channel, head in
43 | if let (responder, _, matchedRoute) = responder(for: head) {
44 | storedResponder = responder
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:44:21: warning: mutation of captured var 'storedResponder' in concurrently-executing code
42 | shouldUpgrade: { channel, head in
43 | if let (responder, _, matchedRoute) = responder(for: head) {
44 | storedResponder = responder
| `- warning: mutation of captured var 'storedResponder' in concurrently-executing code
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:47:53: warning: capture of 'responder' with non-sendable type 'any WebSocketResponder' in a '@Sendable' closure
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
47 | try await hydration.hydrate(responder)
| `- warning: capture of 'responder' with non-sendable type 'any WebSocketResponder' in a '@Sendable' closure
48 | let shouldConnect = try await responder.shouldConnect()
49 | if shouldConnect {
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
62 | fatalError("should never get to here, should already be validated")
63 | }
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
62 | fatalError("should never get to here, should already be validated")
63 | }
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: reference to captured var 'storedResponder' in concurrently-executing code
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: reference to captured var 'storedResponder' in concurrently-executing code
62 | fatalError("should never get to here, should already be validated")
63 | }
[979/987] Compiling Meridian RouteMatcher.swift
/host/spi-builder-workspace/Meridian/Server.swift:14:26: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | func enableLineBufferedLogging() {
14 | let result = setvbuf(stdout, nil, _IOLBF, 16 * 1024)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
15 | precondition(result == 0)
16 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Meridian/Server.swift:76:82: warning: type 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
74 |
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
| `- warning: type 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:14:13: note: class 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
12 | import WebSocketKit
13 |
14 | final class WebSocketUpgrader: HTTPServerProtocolUpgrader {
| `- note: class 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
15 |
16 | let innerUpgrader: NIOWebSocketServerUpgrader
/host/spi-builder-workspace/Meridian/Server.swift:77:60: warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
| `- warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
78 | .and(context.pipeline.removeHandler(http))
79 | }))
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:78:65: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
| `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:81:55: warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:81:64: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:73:48: warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
21 | }
22 |
23 | public final class Server {
| `- note: class 'Server' does not conform to the 'Sendable' protocol
24 |
25 | let options = ServeOptions.parseOrExit()
:
71 | let parsing = HTTPRequestParsingHandler()
72 |
73 | let http = HTTPHandler(router: self.router)
| `- warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
74 |
75 | return channel.pipeline
/host/spi-builder-workspace/Meridian/Server.swift:77:60: warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
| `- warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
78 | .and(context.pipeline.removeHandler(http))
79 | }))
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:78:65: warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
| `- warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:81:55: warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:81:64: warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:26:42: warning: capture of 'router' with non-sendable type 'Router' in a '@Sendable' local function; this is an error in the Swift 6 language mode
24 | }
25 |
26 | let (match, middleware, _) = router.route(for: header)
| `- warning: capture of 'router' with non-sendable type 'Router' in a '@Sendable' local function; this is an error in the Swift 6 language mode
27 |
28 | guard let match else {
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:44:21: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
42 | shouldUpgrade: { channel, head in
43 | if let (responder, _, matchedRoute) = responder(for: head) {
44 | storedResponder = responder
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:44:21: warning: mutation of captured var 'storedResponder' in concurrently-executing code
42 | shouldUpgrade: { channel, head in
43 | if let (responder, _, matchedRoute) = responder(for: head) {
44 | storedResponder = responder
| `- warning: mutation of captured var 'storedResponder' in concurrently-executing code
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:47:53: warning: capture of 'responder' with non-sendable type 'any WebSocketResponder' in a '@Sendable' closure
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
47 | try await hydration.hydrate(responder)
| `- warning: capture of 'responder' with non-sendable type 'any WebSocketResponder' in a '@Sendable' closure
48 | let shouldConnect = try await responder.shouldConnect()
49 | if shouldConnect {
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
62 | fatalError("should never get to here, should already be validated")
63 | }
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
62 | fatalError("should never get to here, should already be validated")
63 | }
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: reference to captured var 'storedResponder' in concurrently-executing code
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: reference to captured var 'storedResponder' in concurrently-executing code
62 | fatalError("should never get to here, should already be validated")
63 | }
[980/987] Compiling Meridian Router.swift
/host/spi-builder-workspace/Meridian/Server.swift:14:26: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | func enableLineBufferedLogging() {
14 | let result = setvbuf(stdout, nil, _IOLBF, 16 * 1024)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
15 | precondition(result == 0)
16 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Meridian/Server.swift:76:82: warning: type 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
74 |
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
| `- warning: type 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:14:13: note: class 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
12 | import WebSocketKit
13 |
14 | final class WebSocketUpgrader: HTTPServerProtocolUpgrader {
| `- note: class 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
15 |
16 | let innerUpgrader: NIOWebSocketServerUpgrader
/host/spi-builder-workspace/Meridian/Server.swift:77:60: warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
| `- warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
78 | .and(context.pipeline.removeHandler(http))
79 | }))
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:78:65: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
| `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:81:55: warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:81:64: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:73:48: warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
21 | }
22 |
23 | public final class Server {
| `- note: class 'Server' does not conform to the 'Sendable' protocol
24 |
25 | let options = ServeOptions.parseOrExit()
:
71 | let parsing = HTTPRequestParsingHandler()
72 |
73 | let http = HTTPHandler(router: self.router)
| `- warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
74 |
75 | return channel.pipeline
/host/spi-builder-workspace/Meridian/Server.swift:77:60: warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
| `- warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
78 | .and(context.pipeline.removeHandler(http))
79 | }))
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:78:65: warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
| `- warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:81:55: warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:81:64: warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:26:42: warning: capture of 'router' with non-sendable type 'Router' in a '@Sendable' local function; this is an error in the Swift 6 language mode
24 | }
25 |
26 | let (match, middleware, _) = router.route(for: header)
| `- warning: capture of 'router' with non-sendable type 'Router' in a '@Sendable' local function; this is an error in the Swift 6 language mode
27 |
28 | guard let match else {
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:44:21: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
42 | shouldUpgrade: { channel, head in
43 | if let (responder, _, matchedRoute) = responder(for: head) {
44 | storedResponder = responder
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:44:21: warning: mutation of captured var 'storedResponder' in concurrently-executing code
42 | shouldUpgrade: { channel, head in
43 | if let (responder, _, matchedRoute) = responder(for: head) {
44 | storedResponder = responder
| `- warning: mutation of captured var 'storedResponder' in concurrently-executing code
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:47:53: warning: capture of 'responder' with non-sendable type 'any WebSocketResponder' in a '@Sendable' closure
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
47 | try await hydration.hydrate(responder)
| `- warning: capture of 'responder' with non-sendable type 'any WebSocketResponder' in a '@Sendable' closure
48 | let shouldConnect = try await responder.shouldConnect()
49 | if shouldConnect {
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
62 | fatalError("should never get to here, should already be validated")
63 | }
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
62 | fatalError("should never get to here, should already be validated")
63 | }
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: reference to captured var 'storedResponder' in concurrently-executing code
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: reference to captured var 'storedResponder' in concurrently-executing code
62 | fatalError("should never get to here, should already be validated")
63 | }
[981/987] Compiling Meridian Server.swift
/host/spi-builder-workspace/Meridian/Server.swift:14:26: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | func enableLineBufferedLogging() {
14 | let result = setvbuf(stdout, nil, _IOLBF, 16 * 1024)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
15 | precondition(result == 0)
16 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Meridian/Server.swift:76:82: warning: type 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
74 |
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
| `- warning: type 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:14:13: note: class 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
12 | import WebSocketKit
13 |
14 | final class WebSocketUpgrader: HTTPServerProtocolUpgrader {
| `- note: class 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
15 |
16 | let innerUpgrader: NIOWebSocketServerUpgrader
/host/spi-builder-workspace/Meridian/Server.swift:77:60: warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
| `- warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
78 | .and(context.pipeline.removeHandler(http))
79 | }))
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:78:65: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
| `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:81:55: warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:81:64: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:73:48: warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
21 | }
22 |
23 | public final class Server {
| `- note: class 'Server' does not conform to the 'Sendable' protocol
24 |
25 | let options = ServeOptions.parseOrExit()
:
71 | let parsing = HTTPRequestParsingHandler()
72 |
73 | let http = HTTPHandler(router: self.router)
| `- warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
74 |
75 | return channel.pipeline
/host/spi-builder-workspace/Meridian/Server.swift:77:60: warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
| `- warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
78 | .and(context.pipeline.removeHandler(http))
79 | }))
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:78:65: warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
| `- warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:81:55: warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:81:64: warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:26:42: warning: capture of 'router' with non-sendable type 'Router' in a '@Sendable' local function; this is an error in the Swift 6 language mode
24 | }
25 |
26 | let (match, middleware, _) = router.route(for: header)
| `- warning: capture of 'router' with non-sendable type 'Router' in a '@Sendable' local function; this is an error in the Swift 6 language mode
27 |
28 | guard let match else {
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:44:21: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
42 | shouldUpgrade: { channel, head in
43 | if let (responder, _, matchedRoute) = responder(for: head) {
44 | storedResponder = responder
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:44:21: warning: mutation of captured var 'storedResponder' in concurrently-executing code
42 | shouldUpgrade: { channel, head in
43 | if let (responder, _, matchedRoute) = responder(for: head) {
44 | storedResponder = responder
| `- warning: mutation of captured var 'storedResponder' in concurrently-executing code
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:47:53: warning: capture of 'responder' with non-sendable type 'any WebSocketResponder' in a '@Sendable' closure
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
47 | try await hydration.hydrate(responder)
| `- warning: capture of 'responder' with non-sendable type 'any WebSocketResponder' in a '@Sendable' closure
48 | let shouldConnect = try await responder.shouldConnect()
49 | if shouldConnect {
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
62 | fatalError("should never get to here, should already be validated")
63 | }
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
62 | fatalError("should never get to here, should already be validated")
63 | }
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: reference to captured var 'storedResponder' in concurrently-executing code
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: reference to captured var 'storedResponder' in concurrently-executing code
62 | fatalError("should never get to here, should already be validated")
63 | }
[982/987] Compiling Meridian URLParameterKey.swift
/host/spi-builder-workspace/Meridian/Server.swift:14:26: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | func enableLineBufferedLogging() {
14 | let result = setvbuf(stdout, nil, _IOLBF, 16 * 1024)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
15 | precondition(result == 0)
16 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Meridian/Server.swift:76:82: warning: type 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
74 |
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
| `- warning: type 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:14:13: note: class 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
12 | import WebSocketKit
13 |
14 | final class WebSocketUpgrader: HTTPServerProtocolUpgrader {
| `- note: class 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
15 |
16 | let innerUpgrader: NIOWebSocketServerUpgrader
/host/spi-builder-workspace/Meridian/Server.swift:77:60: warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
| `- warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
78 | .and(context.pipeline.removeHandler(http))
79 | }))
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:78:65: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
| `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:81:55: warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:81:64: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:73:48: warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
21 | }
22 |
23 | public final class Server {
| `- note: class 'Server' does not conform to the 'Sendable' protocol
24 |
25 | let options = ServeOptions.parseOrExit()
:
71 | let parsing = HTTPRequestParsingHandler()
72 |
73 | let http = HTTPHandler(router: self.router)
| `- warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
74 |
75 | return channel.pipeline
/host/spi-builder-workspace/Meridian/Server.swift:77:60: warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
| `- warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
78 | .and(context.pipeline.removeHandler(http))
79 | }))
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:78:65: warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
| `- warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:81:55: warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:81:64: warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:26:42: warning: capture of 'router' with non-sendable type 'Router' in a '@Sendable' local function; this is an error in the Swift 6 language mode
24 | }
25 |
26 | let (match, middleware, _) = router.route(for: header)
| `- warning: capture of 'router' with non-sendable type 'Router' in a '@Sendable' local function; this is an error in the Swift 6 language mode
27 |
28 | guard let match else {
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:44:21: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
42 | shouldUpgrade: { channel, head in
43 | if let (responder, _, matchedRoute) = responder(for: head) {
44 | storedResponder = responder
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:44:21: warning: mutation of captured var 'storedResponder' in concurrently-executing code
42 | shouldUpgrade: { channel, head in
43 | if let (responder, _, matchedRoute) = responder(for: head) {
44 | storedResponder = responder
| `- warning: mutation of captured var 'storedResponder' in concurrently-executing code
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:47:53: warning: capture of 'responder' with non-sendable type 'any WebSocketResponder' in a '@Sendable' closure
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
47 | try await hydration.hydrate(responder)
| `- warning: capture of 'responder' with non-sendable type 'any WebSocketResponder' in a '@Sendable' closure
48 | let shouldConnect = try await responder.shouldConnect()
49 | if shouldConnect {
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
62 | fatalError("should never get to here, should already be validated")
63 | }
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
62 | fatalError("should never get to here, should already be validated")
63 | }
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: reference to captured var 'storedResponder' in concurrently-executing code
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: reference to captured var 'storedResponder' in concurrently-executing code
62 | fatalError("should never get to here, should already be validated")
63 | }
[983/987] Compiling Meridian WebSocketUpgrader.swift
/host/spi-builder-workspace/Meridian/Server.swift:14:26: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | func enableLineBufferedLogging() {
14 | let result = setvbuf(stdout, nil, _IOLBF, 16 * 1024)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
15 | precondition(result == 0)
16 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Meridian/Server.swift:76:82: warning: type 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
74 |
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
| `- warning: type 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:14:13: note: class 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
12 | import WebSocketKit
13 |
14 | final class WebSocketUpgrader: HTTPServerProtocolUpgrader {
| `- note: class 'WebSocketUpgrader' does not conform to the 'Sendable' protocol
15 |
16 | let innerUpgrader: NIOWebSocketServerUpgrader
/host/spi-builder-workspace/Meridian/Server.swift:77:60: warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
| `- warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
78 | .and(context.pipeline.removeHandler(http))
79 | }))
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:78:65: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
| `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:81:55: warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: type 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:81:64: warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: type 'HTTPHandler' does not conform to the 'Sendable' protocol
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:73:48: warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
21 | }
22 |
23 | public final class Server {
| `- note: class 'Server' does not conform to the 'Sendable' protocol
24 |
25 | let options = ServeOptions.parseOrExit()
:
71 | let parsing = HTTPRequestParsingHandler()
72 |
73 | let http = HTTPHandler(router: self.router)
| `- warning: capture of 'self' with non-sendable type 'Server' in a '@Sendable' closure
74 |
75 | return channel.pipeline
/host/spi-builder-workspace/Meridian/Server.swift:77:60: warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
75 | return channel.pipeline
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
| `- warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
78 | .and(context.pipeline.removeHandler(http))
79 | }))
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:78:65: warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
76 | .configureHTTPServerPipeline(withServerUpgrade: (upgraders: [WebSocketUpgrader(router: self.router)], completionHandler: { context in
77 | _ = context.pipeline.removeHandler(parsing)
78 | .and(context.pipeline.removeHandler(http))
| `- warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/Server.swift:81:55: warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: capture of 'parsing' with non-sendable type 'HTTPRequestParsingHandler' in a '@Sendable' closure
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPRequestParsingHandler.swift:28:13: note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | final class HTTPRequestParsingHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestParsingHandler' does not conform to the 'Sendable' protocol
29 | typealias InboundIn = HTTPServerRequestPart
30 | typealias InboundOut = ParsedHTTPRequest
/host/spi-builder-workspace/Meridian/Server.swift:81:64: warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
79 | }))
80 | .flatMap({
81 | channel.pipeline.addHandlers([parsing, http])
| `- warning: capture of 'http' with non-sendable type 'HTTPHandler' in a '@Sendable' closure
82 | })
83 | })
/host/spi-builder-workspace/Meridian/HTTPHandler.swift:30:13: note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
28 | }
29 |
30 | final class HTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPHandler' does not conform to the 'Sendable' protocol
31 | typealias InboundIn = ParsedHTTPRequest
32 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:26:42: warning: capture of 'router' with non-sendable type 'Router' in a '@Sendable' local function; this is an error in the Swift 6 language mode
24 | }
25 |
26 | let (match, middleware, _) = router.route(for: header)
| `- warning: capture of 'router' with non-sendable type 'Router' in a '@Sendable' local function; this is an error in the Swift 6 language mode
27 |
28 | guard let match else {
/host/spi-builder-workspace/Meridian/Router.swift:123:8: note: consider making struct 'Router' conform to the 'Sendable' protocol
121 | }
122 |
123 | struct Router {
| `- note: consider making struct 'Router' conform to the 'Sendable' protocol
124 |
125 | var registeredRoutes: [() -> [_BuildableRoute]] = []
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:44:21: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
42 | shouldUpgrade: { channel, head in
43 | if let (responder, _, matchedRoute) = responder(for: head) {
44 | storedResponder = responder
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:44:21: warning: mutation of captured var 'storedResponder' in concurrently-executing code
42 | shouldUpgrade: { channel, head in
43 | if let (responder, _, matchedRoute) = responder(for: head) {
44 | storedResponder = responder
| `- warning: mutation of captured var 'storedResponder' in concurrently-executing code
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:47:53: warning: capture of 'responder' with non-sendable type 'any WebSocketResponder' in a '@Sendable' closure
45 | return channel.eventLoop.makeFutureWithTask({ () -> HTTPHeaders? in
46 | let hydration = try Hydration(context: .init(header: .init(nioHead: head), matchedRoute: matchedRoute))
47 | try await hydration.hydrate(responder)
| `- warning: capture of 'responder' with non-sendable type 'any WebSocketResponder' in a '@Sendable' closure
48 | let shouldConnect = try await responder.shouldConnect()
49 | if shouldConnect {
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
62 | fatalError("should never get to here, should already be validated")
63 | }
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: capture of 'storedResponder' with non-sendable type '(any WebSocketResponder)?' in a '@Sendable' closure
62 | fatalError("should never get to here, should already be validated")
63 | }
/host/spi-builder-workspace/Meridian/Response/WebSocket.swift:12:17: note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
10 | import NIOWebSocket
11 |
12 | public protocol WebSocketResponder: Responder {
| `- note: protocol 'WebSocketResponder' does not conform to the 'Sendable' protocol
13 | func shouldConnect() async throws -> Bool
14 |
/host/spi-builder-workspace/Meridian/WebSocketUpgrader.swift:61:39: warning: reference to captured var 'storedResponder' in concurrently-executing code
59 | upgradePipelineHandler: { channel, head in
60 | return WebSocketKit.WebSocket.server(on: channel, onUpgrade: { ws in
61 | guard let route = storedResponder else {
| `- warning: reference to captured var 'storedResponder' in concurrently-executing code
62 | fatalError("should never get to here, should already be validated")
63 | }
[984/988] Wrapping AST for Meridian for debugging
[986/992] Compiling Demo Database.swift
[987/992] Emitting module Demo
/host/spi-builder-workspace/Demo/main.swift:12:11: warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
10 | import Meridian
11 |
12 | Backtrace.install()
| `- warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
13 |
14 | Server(errorRenderer: BasicErrorRenderer())
[988/992] Compiling Demo main.swift
/host/spi-builder-workspace/Demo/main.swift:12:11: warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
10 | import Meridian
11 |
12 | Backtrace.install()
| `- warning: 'install()' is deprecated: This is no longer needed in Swift 5.9
13 |
14 | Server(errorRenderer: BasicErrorRenderer())
[989/992] Compiling Demo Todos.swift
[990/993] Wrapping AST for Demo for debugging
[991/993] Write Objects.LinkFileList
[992/993] Linking Demo
Build complete! (401.51s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.64.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
},
{
"identity" : "websocket-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/websocket-kit.git"
},
{
"identity" : "swift-backtrace",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-backtrace.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "Meridian",
"name" : "Meridian",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Demo",
"targets" : [
"Demo"
],
"type" : {
"executable" : null
}
},
{
"name" : "Meridian",
"targets" : [
"Meridian"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MeridianTests",
"module_type" : "SwiftTarget",
"name" : "MeridianTests",
"path" : "MeridianTests",
"sources" : [
"CustomResponseHeaderTests.swift",
"CustomStatusCodeTests.swift",
"EmptyResponseTests.swift",
"EnvironmentTests.swift",
"HTTPMethodRouteTests.swift",
"HeaderRouteTests.swift",
"JSONBodyRouteTests.swift",
"JSONResponseTests.swift",
"JSONValueRouteTests.swift",
"OptionsTests.swift",
"QueryParameterRouteTests.swift",
"RedirectResponseTests.swift",
"RouteMatcherTests.swift",
"RouterTests.swift",
"TestHelpers.swift",
"URLBodyParameterRouteTests.swift",
"URLParameterRouteTests.swift",
"WebSocketTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Meridian"
],
"type" : "test"
},
{
"c99name" : "Meridian",
"module_type" : "SwiftTarget",
"name" : "Meridian",
"path" : "Meridian",
"product_dependencies" : [
"NIO",
"NIOHTTP1",
"NIOWebSocket",
"WebSocketKit",
"ArgumentParser"
],
"product_memberships" : [
"Demo",
"Meridian"
],
"sources" : [
"BundledFiles.swift",
"Environment/EnvironmentValues.swift",
"Environment/JSONEnvironment.swift",
"Environment/LoopGroupEnvironment.swift",
"Environment/RouterEnvironment.swift",
"Environment/ServerNameEnvironment.swift",
"Errors/ErrorRenderer.swift",
"Errors/Errors.swift",
"HTTP/HTTPMethod.swift",
"HTTP/Headers.swift",
"HTTP/RequestHeader.swift",
"HTTP/StatusCode.swift",
"HTTPHandler.swift",
"HTTPRequestParsingHandler.swift",
"HeadMiddleware.swift",
"Middleware/Middleware.swift",
"Middleware/ResponseHydrationMiddleware.swift",
"OptionsMiddleware.swift",
"Property Wrappers/Body.swift",
"Property Wrappers/CustomParameter.swift",
"Property Wrappers/Environment.swift",
"Property Wrappers/Header.swift",
"Property Wrappers/JSONBody.swift",
"Property Wrappers/JSONValue.swift",
"Property Wrappers/Method.swift",
"Property Wrappers/Path.swift",
"Property Wrappers/QueryParameter.swift",
"Property Wrappers/ThreadEnvironment.swift",
"Property Wrappers/URI.swift",
"Property Wrappers/URLBodyParameter.swift",
"Property Wrappers/URLParameter.swift",
"Responder.swift",
"Response/AdditionalHeaderResponse.swift",
"Response/CORS.swift",
"Response/EmptyResponse.swift",
"Response/File.swift",
"Response/JSONResponse.swift",
"Response/Redirect.swift",
"Response/Response.swift",
"Response/ResponseWithDetails.swift",
"Response/StatusCodeResponse.swift",
"Response/StringResponse.swift",
"Response/WebSocket.swift",
"RouteBuilder.swift",
"RouteMatcher.swift",
"Router.swift",
"Server.swift",
"URLParameterKey.swift",
"WebSocketUpgrader.swift"
],
"type" : "library"
},
{
"c99name" : "Demo",
"module_type" : "SwiftTarget",
"name" : "Demo",
"path" : "Demo",
"product_dependencies" : [
"Backtrace"
],
"product_memberships" : [
"Demo"
],
"sources" : [
"Database.swift",
"Todos.swift",
"main.swift"
],
"target_dependencies" : [
"Meridian"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Done.