The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of AwesomeWS, reference master (d48b34), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 01:29:14 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

[1253/1339] Compiling NIOSSL IdentityVerification.swift
[1254/1339] Compiling NIOSSL LinuxCABundle.swift
[1255/1339] Compiling NIOSSL SSLCallbacks.swift
[1256/1340] Compiling NIOSSL SSLCertificate.swift
[1257/1340] Compiling NIOSSL SSLCertificateExtensions.swift
[1258/1340] Compiling NIOSSL AndroidCABundle.swift
[1259/1340] Emitting module _NIOFileSystem
[1260/1361] Compiling _NIOFileSystem OpenOptions.swift
[1261/1361] Compiling _NIOFileSystem String+FileSystem.swift
[1262/1361] Compiling _NIOFileSystem resource_bundle_accessor.swift
[1263/1361] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[1264/1361] Compiling NIOTransportServices StateManagedListenerChannel.swift
[1265/1361] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[1266/1361] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[1267/1361] Compiling NIOTransportServices NIOTSErrors.swift
[1270/1361] Compiling NIOSSL SSLPublicKey.swift
[1271/1361] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[1272/1361] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[1273/1361] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[1274/1361] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[1275/1361] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[1276/1361] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[1277/1361] Compiling NIOTransportServices AcceptHandler.swift
[1278/1361] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[1279/1361] Emitting module NIOHTTP1
[1280/1361] Compiling NIOTransportServices NIOTSSingletons.swift
[1281/1361] Compiling NIOTransportServices NIOTSBootstraps.swift
[1282/1361] Compiling NIOTransportServices NIOTSListenerChannel.swift
[1283/1361] Compiling NIOTransportServices NIOTSEventLoop.swift
[1284/1361] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[1285/1361] Compiling NIOTransportServices StateManagedChannel.swift
[1286/1427] Compiling _NIOFileSystem Syscall.swift
[1287/1427] Compiling _NIOFileSystem Syscalls.swift
[1288/1427] Compiling _NIOFileSystem SystemFileHandle.swift
[1289/1427] Compiling _NIOFileSystem Utilities.swift
[1290/1427] Compiling NIOSSL RNG.swift
[1291/1427] Compiling _NIOFileSystem Errno.swift
[1292/1427] Compiling _NIOFileSystem FileDescriptor+Syscalls.swift
[1293/1427] Compiling _NIOFileSystem Mocking.swift
[1294/1427] Emitting module NIOTransportServices
[1295/1429] Compiling MultipartKit FormDataDecoder.UnkeyedContainer.swift
[1296/1429] Compiling MultipartKit FormDataDecoder.swift
[1297/1429] Compiling MultipartKit Exports.swift
[1298/1429] Compiling MultipartKit BasicCodingKey.swift
[1299/1429] Compiling MultipartKit MultipartError.swift
[1300/1429] Compiling MultipartKit MultipartFormData.swift
[1301/1429] Compiling MultipartKit MultipartParser.swift
[1302/1430] Compiling NIOHPACK IndexedHeaderTable.swift
[1308/1431] Emitting module AsyncKit
[1309/1431] Compiling NIOHTTPCompression HTTPResponseDecompressor.swift
[1310/1431] Compiling NIOHTTPCompression HTTPRequestDecompressor.swift
[1311/1431] Compiling MultipartKit FormDataEncoder.Encoder.swift
[1312/1431] Compiling MultipartKit FormDataEncoder.KeyedContainer.swift
[1313/1431] Compiling MultipartKit FormDataEncoder.SingleValueContainer.swift
[1314/1431] Compiling MultipartKit FormDataEncoder.UnkeyedContainer.swift
[1315/1431] Compiling MultipartKit FormDataDecoder.KeyedContainer.swift
[1316/1431] Compiling MultipartKit FormDataDecoder.SingleValueContainer.swift
[1317/1431] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[1318/1431] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[1319/1431] Compiling NIOHPACK StaticHeaderTable.swift
[1320/1431] Emitting module NIOSSL
[1321/1434] Compiling NIOHTTPCompression HTTPRequestCompressor.swift
[1322/1434] Compiling NIOHTTPCompression HTTPCompression.swift
[1323/1434] Compiling NIOHTTPCompression HTTPDecompression.swift
[1324/1434] Emitting module NIOHTTPCompression
[1325/1434] Compiling NIOHTTPCompression HTTPResponseCompressor.swift
[1327/1434] Compiling MultipartKit FormDataDecoder.Decoder.swift
[1328/1434] Compiling MultipartKit FormDataEncoder.swift
[1329/1434] Compiling MultipartKit Storage.swift
[1334/1434] Compiling MultipartKit MultipartPart.swift
[1335/1434] Compiling MultipartKit MultipartPartConvertible.swift
[1336/1434] Emitting module NIOExtras
[1337/1434] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[1338/1434] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[1339/1434] Compiling NIOWebSocket WebSocketOpcode.swift
[1340/1434] Compiling NIOWebSocket WebSocketErrorCodes.swift
[1341/1434] Compiling NIOWebSocket SHA1.swift
[1342/1434] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[1343/1434] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[1344/1434] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[1345/1434] Compiling NIOWebSocket WebSocketFrame.swift
[1346/1434] Emitting module NIOWebSocket
[1363/1435] Compiling NIOHPACK IntegerCoding.swift
[1364/1435] Compiling NIOHPACK HeaderTables.swift
[1365/1435] Compiling NIOHPACK HPACKErrors.swift
[1366/1435] Compiling NIOHPACK HuffmanTables.swift
[1367/1435] Compiling NIOHPACK HPACKEncoder.swift
[1370/1435] Compiling NIOHPACK HPACKHeader.swift
[1371/1435] Compiling NIOHPACK HuffmanCoding.swift
[1372/1435] Emitting module NIOHPACK
[1391/1435] Emitting module MultipartKit
[1398/1437] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[1418/1437] Compiling NIOSSL UniversalBootstrapSupport.swift
[1419/1437] Compiling NIOSSL UnsafeKeyAndChainTarget.swift
[1420/1437] Compiling NIOSSL resource_bundle_accessor.swift
[1421/1502] Compiling NIOHTTP2 DOSHeuristics.swift
[1422/1502] Compiling NIOHTTP2 HTTP2FlowControlWindow.swift
[1423/1502] Compiling NIOHTTP2 HTTP2Frame.swift
[1424/1502] Compiling NIOHTTP2 LocallyQuiescingState.swift
[1425/1502] Compiling NIOHTTP2 QuiescingState.swift
[1426/1502] Compiling NIOHTTP2 RemotelyQuiescingState.swift
[1427/1502] Compiling NIOHTTP2 SendAndReceiveGoawayState.swift
[1428/1502] Compiling NIOHTTP2 StateMachineResult.swift
[1429/1502] Compiling NIOHTTP2 ContentLengthVerifier.swift
[1430/1502] Compiling NIOHTTP2 SendingGoawayState.swift
[1431/1502] Compiling NIOHTTP2 SendingHeadersState.swift
[1432/1502] Compiling NIOHTTP2 SendingPushPromiseState.swift
[1433/1502] Compiling NIOFileSystem Exports.swift
[1434/1502] Emitting module NIOFileSystem
[1437/1502] Compiling _NIOFileSystemFoundationCompat Date+FileInfo.swift
[1438/1502] Emitting module _NIOFileSystemFoundationCompat
[1439/1502] Compiling _NIOFileSystemFoundationCompat Data+FileSystem.swift
[1440/1502] Compiling NIOExtras WritePCAPHandler.swift
[1441/1510] Emitting module NIOHTTP2
[1442/1510] Compiling NIOHTTP2 ReceivingRstStreamState.swift
[1443/1510] Compiling NIOHTTP2 ReceivingWindowUpdateState.swift
[1444/1510] Compiling NIOHTTP2 MaySendFrames.swift
[1445/1510] Compiling NIOHTTP2 SendingDataState.swift
[1449/1516] Compiling NIOHTTP2 Error+Any.swift
[1450/1516] Compiling NIOHTTP2 ConcurrentStreamBuffer.swift
[1451/1516] Compiling NIOHTTP2 ControlFrameBuffer.swift
[1452/1516] Compiling NIOHTTP2 OutboundFlowControlBuffer.swift
[1453/1516] Compiling NIOHTTP2 OutboundFrameBuffer.swift
[1454/1516] Compiling NIOHTTP2 HPACKHeaders+Validation.swift
[1455/1516] Compiling NIOHTTP2 HTTP2ChannelHandler+InboundStreamMultiplexer.swift
[1456/1516] Compiling WebSocketKit Exports.swift
[1457/1516] Compiling WebSocketKit WebSocketHandler.swift
[1458/1516] Compiling WebSocketKit WebSocket+Concurrency.swift
[1459/1516] Compiling WebSocketKit WebSocket.swift
[1460/1516] Compiling WebSocketKit WebSocket+Connect.swift
[1461/1516] Emitting module WebSocketKit
[1462/1516] Compiling WebSocketKit WebSocketClient.swift
[1463/1516] Compiling WebSocketKit HTTPUpgradeRequestHandler.swift
[1464/1516] Compiling NIOHTTP2 StreamChannelFlowController.swift
[1465/1516] Compiling NIOHTTP2 StreamChannelList.swift
[1466/1516] Compiling NIOHTTP2 StreamMap.swift
[1467/1516] Compiling NIOHTTP2 StreamStateMachine.swift
[1468/1516] Compiling NIOHTTP2 UnsafeTransfer.swift
[1469/1516] Compiling NIOHTTP2 WatermarkedFlowController.swift
[1477/1516] Compiling NIOHTTP2 ConnectionStateMachine.swift
[1478/1516] Compiling NIOHTTP2 ConnectionStreamsState.swift
[1479/1516] Compiling NIOHTTP2 MayReceiveFrames.swift
[1480/1516] Compiling NIOHTTP2 ReceivingDataState.swift
[1481/1516] Compiling NIOHTTP2 ReceivingGoAwayState.swift
[1482/1516] Compiling NIOHTTP2 ReceivingHeadersState.swift
[1483/1516] Compiling NIOHTTP2 ReceivingPushPromiseState.swift
[1484/1516] Compiling NIOHTTP2 HTTP2StreamMultiplexer.swift
[1485/1516] Compiling NIOHTTP2 HTTP2ToHTTP1Codec.swift
[1486/1516] Compiling NIOHTTP2 HTTP2UserEvents.swift
[1487/1516] Compiling NIOHTTP2 InboundEventBuffer.swift
[1488/1516] Compiling NIOHTTP2 InboundWindowManager.swift
[1489/1516] Compiling NIOHTTP2 MultiplexerAbstractChannel.swift
[1490/1516] Compiling NIOHTTP2 HTTP2ChannelHandler+InlineStreamMultiplexer.swift
[1491/1516] Compiling NIOHTTP2 HTTP2ChannelHandler.swift
[1492/1516] Compiling NIOHTTP2 HTTP2CommonInboundStreamMultiplexer.swift
[1493/1516] Compiling NIOHTTP2 HTTP2ConnectionStateChange.swift
[1494/1516] Compiling NIOHTTP2 HTTP2Error.swift
[1495/1516] Compiling NIOHTTP2 HTTP2ErrorCode.swift
[1496/1516] Compiling NIOHTTP2 SendingRstStreamState.swift
[1497/1516] Compiling NIOHTTP2 SendingWindowUpdateState.swift
[1498/1516] Compiling NIOHTTP2 HTTP2SettingsState.swift
[1499/1516] Compiling NIOHTTP2 HasExtendedConnectSettings.swift
[1500/1516] Compiling NIOHTTP2 HasFlowControlWindows.swift
[1501/1516] Compiling NIOHTTP2 HasLocalSettings.swift
[1502/1516] Compiling NIOHTTP2 HasRemoteSettings.swift
[1503/1516] Compiling NIOHTTP2 HTTP2Settings.swift
[1504/1516] Compiling NIOHTTP2 HTTP2Stream.swift
[1505/1516] Compiling NIOHTTP2 HTTP2StreamChannel+OutboundStreamMultiplexer.swift
[1506/1516] Compiling NIOHTTP2 HTTP2StreamChannel.swift
[1507/1516] Compiling NIOHTTP2 HTTP2StreamDelegate.swift
[1508/1516] Compiling NIOHTTP2 HTTP2StreamID.swift
[1511/1516] Compiling NIOHTTP2 HTTP2FrameEncoder.swift
[1512/1516] Compiling NIOHTTP2 HTTP2FrameParser.swift
[1513/1516] Compiling NIOHTTP2 HTTP2PingData.swift
[1514/1516] Compiling NIOHTTP2 HTTP2PipelineHelpers.swift
[1515/1569] Compiling AsyncHTTPClient RequestValidation.swift
[1516/1569] Compiling AsyncHTTPClient BestEffortHashableTLSConfiguration.swift
[1517/1577] Compiling AsyncHTTPClient NWWaitingHandler.swift
[1518/1577] Compiling AsyncHTTPClient TLSConfiguration.swift
[1519/1577] Compiling AsyncHTTPClient RedirectState.swift
[1520/1577] Compiling AsyncHTTPClient RequestBag+StateMachine.swift
[1521/1577] Compiling AsyncHTTPClient RequestBag.swift
[1523/1583] Compiling AsyncHTTPClient AnyAsyncSequence.swift
[1524/1583] Compiling AsyncHTTPClient AnyAsyncSequenceProucerDelete.swift
[1525/1583] Compiling AsyncHTTPClient AsyncLazySequence.swift
[1526/1583] Compiling AsyncHTTPClient HTTPClient+execute.swift
[1527/1583] Compiling AsyncHTTPClient HTTPClient+shutdown.swift
[1528/1583] Compiling AsyncHTTPClient HTTPClientRequest+Prepared.swift
[1529/1583] Compiling AsyncHTTPClient HTTPClientRequest+auth.swift
[1530/1583] Compiling AsyncHTTPClient HTTPConnectionPool+Manager.swift
[1531/1583] Compiling AsyncHTTPClient HTTPConnectionPool.swift
[1532/1583] Compiling AsyncHTTPClient HTTPExecutableRequest.swift
[1533/1583] Compiling AsyncHTTPClient HTTPRequestStateMachine+Demand.swift
[1534/1583] Compiling AsyncHTTPClient HTTPRequestStateMachine.swift
[1535/1583] Compiling AsyncHTTPClient RequestBodyLength.swift
[1536/1583] Compiling AsyncHTTPClient RequestFramingMetadata.swift
[1537/1583] Emitting module AsyncHTTPClient
[1538/1583] Compiling AsyncHTTPClient HTTPConnectionPool+StateMachine.swift
[1539/1583] Compiling AsyncHTTPClient ConnectionTarget.swift
[1540/1583] Compiling AsyncHTTPClient DeconstructedURL.swift
[1541/1583] Compiling AsyncHTTPClient FileDownloadDelegate.swift
[1542/1583] Compiling AsyncHTTPClient FoundationExtensions.swift
[1543/1583] Compiling AsyncHTTPClient HTTPClient+HTTPCookie.swift
[1544/1583] Compiling AsyncHTTPClient HTTP1Connection.swift
[1545/1583] Compiling AsyncHTTPClient HTTP1ConnectionStateMachine.swift
[1546/1583] Compiling AsyncHTTPClient HTTP2ClientRequestHandler.swift
[1547/1583] Compiling AsyncHTTPClient HTTP2Connection.swift
[1548/1583] Compiling AsyncHTTPClient HTTP2IdleHandler.swift
[1549/1583] Compiling AsyncHTTPClient HTTPConnectionEvent.swift
[1550/1583] Compiling AsyncHTTPClient HTTPConnectionPool+Factory.swift
[1551/1583] Compiling AsyncHTTPClient HTTPClient+Proxy.swift
[1552/1583] Compiling AsyncHTTPClient HTTPClient+StructuredConcurrency.swift
[1553/1583] Compiling AsyncHTTPClient HTTPClient.swift
[1554/1583] Compiling AsyncHTTPClient HTTPHandler.swift
[1555/1583] Compiling AsyncHTTPClient LRUCache.swift
[1556/1583] Compiling AsyncHTTPClient NWErrorHandler.swift
[1557/1583] Compiling AsyncHTTPClient HTTPClientRequest.swift
[1558/1583] Compiling AsyncHTTPClient HTTPClientResponse.swift
[1559/1583] Compiling AsyncHTTPClient SingleIteratorPrecondition.swift
[1560/1583] Compiling AsyncHTTPClient Transaction+StateMachine.swift
[1561/1583] Compiling AsyncHTTPClient Transaction.swift
[1562/1583] Compiling AsyncHTTPClient Base64.swift
[1563/1583] Compiling AsyncHTTPClient BasicAuth.swift
[1564/1583] Compiling AsyncHTTPClient RequestOptions.swift
[1565/1583] Compiling AsyncHTTPClient HTTPConnectionPool+Backoff.swift
[1566/1583] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1Connections.swift
[1567/1583] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1StateMachine.swift
[1568/1583] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2Connections.swift
[1569/1583] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2StateMachine.swift
[1570/1583] Compiling AsyncHTTPClient HTTPConnectionPool+RequestQueue.swift
[1572/1583] Compiling AsyncHTTPClient Configuration+BrowserLike.swift
[1573/1583] Compiling AsyncHTTPClient ConnectionPool.swift
[1574/1583] Compiling AsyncHTTPClient HTTP1ProxyConnectHandler.swift
[1575/1583] Compiling AsyncHTTPClient SOCKSEventsHandler.swift
[1576/1583] Compiling AsyncHTTPClient TLSEventsHandler.swift
[1577/1583] Compiling AsyncHTTPClient HTTP1ClientChannelHandler.swift
[1578/1583] Compiling AsyncHTTPClient SSLContextCache.swift
[1579/1583] Compiling AsyncHTTPClient Scheme.swift
[1580/1583] Compiling AsyncHTTPClient Singleton.swift
[1581/1583] Compiling AsyncHTTPClient StringConvertibleInstances.swift
[1582/1583] Compiling AsyncHTTPClient StructuredConcurrencyHelpers.swift
[1583/1583] Compiling AsyncHTTPClient Utils.swift
[1584/1779] Compiling Vapor FormDataDecoder+Content.swift
[1585/1779] Compiling Vapor FormDataEncoder+Content.swift
[1586/1779] Compiling Vapor Application+Password.swift
[1587/1779] Compiling Vapor Application+Passwords.swift
[1588/1779] Compiling Vapor AsyncPasswordHasher.swift
[1589/1779] Compiling Vapor BcryptHasher.swift
[1590/1779] Compiling Vapor PasswordHasher.swift
[1591/1779] Compiling Vapor PlaintextHasher.swift
[1592/1779] Compiling Vapor Request+Password.swift
[1593/1779] Compiling Vapor Redirect.swift
[1594/1779] Compiling Vapor Request+Body.swift
[1595/1779] Compiling Vapor Request+BodyStream.swift
[1596/1779] Compiling Vapor Request.swift
[1597/1779] Compiling Vapor Application+Responder.swift
[1598/1779] Compiling Vapor DefaultResponder.swift
[1599/1779] Compiling Vapor Response+Body.swift
[1600/1779] Compiling Vapor Response.swift
[1601/1779] Compiling Vapor ResponseCodable.swift
[1602/1779] Compiling Vapor Application+Routes.swift
[1603/1779] Compiling Vapor Parameters+Require.swift
[1604/1779] Compiling Vapor Request+WebSocket.swift
[1605/1779] Compiling Vapor Route.swift
[1606/1800] Compiling Vapor Application.swift
[1607/1800] Compiling Vapor AuthenticationCache.swift
[1608/1800] Compiling Vapor Authenticator.swift
[1609/1800] Compiling Vapor BasicAuthorization.swift
[1610/1800] Compiling Vapor BearerAuthorization.swift
[1611/1800] Compiling Vapor GuardMiddleware.swift
[1612/1800] Compiling Vapor RedirectMiddleware.swift
[1613/1800] Compiling Vapor SessionAuthenticatable.swift
[1614/1800] Compiling Vapor Bcrypt.swift
[1615/1800] Compiling Vapor Application+Cache.swift
[1616/1800] Compiling Vapor Cache.swift
[1617/1800] Compiling Vapor CacheExpirationTime.swift
[1618/1800] Compiling Vapor MemoryCache.swift
[1619/1800] Compiling Vapor Request+Cache.swift
[1620/1800] Compiling Vapor Application+Clients.swift
[1621/1800] Compiling Vapor Client.swift
[1622/1800] Compiling Vapor ClientRequest.swift
[1623/1800] Compiling Vapor ClientResponse.swift
[1624/1800] Compiling Vapor Request+Client.swift
[1625/1800] Compiling Vapor BootCommand.swift
[1626/1800] Compiling Vapor CommandContext+Application.swift
[1627/1800] Compiling Vapor RoutesCommand.swift
[1628/1800] Compiling Vapor DotEnv.swift
[1629/1800] Compiling Vapor Extendable.swift
[1630/1800] Compiling Vapor File.swift
[1631/1800] Compiling Vapor FileIO.swift
[1632/1800] Compiling Vapor LifecycleHandler.swift
[1633/1800] Compiling Vapor OptionalType.swift
[1634/1800] Compiling Vapor RFC1123.swift
[1635/1800] Compiling Vapor SocketAddress+Hostname.swift
[1636/1800] Compiling Vapor Storage.swift
[1637/1800] Compiling Vapor String+IsIPAddress.swift
[1638/1800] Compiling Vapor Thread.swift
[1639/1800] Compiling Vapor URI.swift
[1640/1800] Compiling Vapor RangeResult.swift
[1641/1800] Compiling Vapor Validatable.swift
[1642/1800] Compiling Vapor Validation.swift
[1643/1800] Compiling Vapor ValidationKey.swift
[1644/1800] Compiling Vapor Validations.swift
[1645/1800] Compiling Vapor ValidationsError.swift
[1646/1800] Compiling Vapor Validator.swift
[1647/1800] Compiling Vapor ValidatorResult.swift
[1648/1800] Compiling Vapor And.swift
[1649/1800] Compiling Vapor HTTPMediaTypePreference.swift
[1650/1800] Compiling Vapor Responder.swift
[1651/1800] Compiling Vapor Application+HTTP+Server.swift
[1652/1800] Compiling Vapor HTTPServer.swift
[1653/1800] Compiling Vapor HTTPServerConfiguration+RequestDecompressionConfiguration.swift
[1654/1800] Compiling Vapor HTTPServerConfiguration+ResponseCompressionConfiguration.swift
[1655/1800] Compiling Vapor HTTPServerHandler.swift
[1656/1800] Compiling Vapor HTTPServerRequestDecoder.swift
[1657/1800] Compiling Vapor HTTPServerResponseEncoder.swift
[1658/1800] Compiling Vapor HTTPServerUpgradeHandler.swift
[1659/1800] Compiling Vapor Logger+Report.swift
[1660/1800] Compiling Vapor LoggingSystem+Environment.swift
[1661/1800] Compiling Vapor Application+Middleware.swift
[1662/1800] Compiling Vapor CORSMiddleware.swift
[1663/1800] Compiling Vapor ErrorMiddleware.swift
[1664/1800] Compiling Vapor FileMiddleware.swift
[1665/1800] Compiling Vapor Middleware.swift
[1666/1800] Compiling Vapor MiddlewareConfiguration.swift
[1667/1800] Compiling Vapor ResponseCompressionMiddleware.swift
[1668/1800] Compiling Vapor RouteLoggingMiddleware.swift
[1669/1800] Compiling Vapor TracingMiddleware.swift
[1670/1800] Compiling Vapor File+Multipart.swift
[1671/1800] Compiling Vapor Case.swift
[1672/1800] Compiling Vapor CharacterSet.swift
[1673/1800] Compiling Vapor Count.swift
[1674/1800] Compiling Vapor Custom.swift
[1675/1800] Compiling Vapor Email.swift
[1676/1800] Compiling Vapor Empty.swift
[1677/1800] Compiling Vapor In.swift
[1678/1800] Compiling Vapor Nil.swift
[1679/1800] Compiling Vapor NilIgnoring.swift
[1680/1800] Compiling Vapor Not.swift
[1681/1800] Compiling Vapor Or.swift
[1682/1800] Compiling Vapor Pattern.swift
[1683/1800] Compiling Vapor Range.swift
[1684/1800] Compiling Vapor URL.swift
[1685/1800] Compiling Vapor Valid.swift
[1686/1800] Compiling Vapor Application+Views.swift
[1687/1800] Compiling Vapor PlaintextRenderer.swift
[1688/1800] Compiling Vapor Request+View.swift
[1689/1800] Compiling Vapor View.swift
[1690/1800] Compiling Vapor ViewRenderer.swift
[1691/1800] Compiling Vapor _Deprecations.swift
[1692/1800] Emitting module Vapor
[1693/1800] Compiling Vapor SessionsMiddleware.swift
[1694/1800] Compiling Vapor URLEncodedFormData.swift
[1695/1800] Compiling Vapor URLEncodedFormDecoder.swift
[1696/1800] Compiling Vapor URLEncodedFormEncoder.swift
[1697/1800] Compiling Vapor URLEncodedFormError.swift
[1698/1800] Compiling Vapor URLEncodedFormParser.swift
[1699/1800] Compiling Vapor URLEncodedFormSerializer.swift
[1700/1800] Compiling Vapor URLQueryFragmentConvertible.swift
[1701/1800] Compiling Vapor AnyResponse.swift
[1702/1800] Compiling Vapor Array+Random.swift
[1703/1800] Compiling Vapor Base32.swift
[1704/1800] Compiling Vapor Base64.swift
[1705/1800] Compiling Vapor BaseN.swift
[1706/1800] Compiling Vapor BasicCodingKey.swift
[1707/1800] Compiling Vapor ByteCount.swift
[1708/1800] Compiling Vapor Bytes+Hex.swift
[1709/1800] Compiling Vapor Bytes+SecureCompare.swift
[1710/1800] Compiling Vapor Collection+Safe.swift
[1711/1800] Compiling Vapor DataProtocol+Copy.swift
[1712/1800] Compiling Vapor DecoderUnwrapper.swift
[1713/1800] Compiling Vapor DirectoryConfiguration.swift
[1714/1800] Compiling Vapor ServeCommand.swift
[1715/1800] Compiling Vapor AnyResponse+Concurrency.swift
[1716/1800] Compiling Vapor AsyncBasicResponder.swift
[1717/1800] Compiling Vapor AsyncMiddleware.swift
[1718/1800] Compiling Vapor AsyncPasswordHasher+Concurrency.swift
[1719/1800] Compiling Vapor AsyncSessionDriver.swift
[1720/1800] Compiling Vapor Authentication+Concurrency.swift
[1721/1800] Compiling Vapor Cache+Concurrency.swift
[1722/1800] Compiling Vapor Client+Concurrency.swift
[1723/1800] Compiling Vapor RequestBody+Concurrency.swift
[1724/1800] Compiling Vapor Responder+Concurrency.swift
[1725/1800] Compiling Vapor ResponseCodable+Concurrency.swift
[1726/1800] Compiling Vapor RoutesBuilder+Concurrency.swift
[1727/1800] Compiling Vapor ViewRenderer+Concurrency.swift
[1728/1800] Compiling Vapor WebSocket+Concurrency.swift
[1729/1800] Compiling Vapor ContainerGetPathExecutor.swift
[1730/1800] Compiling Vapor Content.swift
[1731/1800] Compiling Vapor ContentCoders.swift
[1732/1800] Compiling Vapor ContentConfiguration.swift
[1733/1800] Compiling Vapor ContentContainer.swift
[1734/1800] Compiling Vapor JSONCoder+Custom.swift
[1735/1800] Compiling Vapor JSONCoders+Content.swift
[1736/1800] Compiling Vapor PlaintextDecoder.swift
[1737/1800] Compiling Vapor PlaintextEncoder.swift
[1738/1800] Compiling Vapor URLQueryCoders.swift
[1739/1800] Compiling Vapor URLQueryContainer.swift
[1740/1800] Compiling Vapor Core.swift
[1741/1800] Compiling Vapor Running.swift
[1742/1800] Compiling Vapor CORSMiddleware+AllowOriginSetting.swift
[1743/1800] Compiling Vapor CORSMiddleware+Configuration+exposedHeaders.swift
[1744/1800] Compiling Vapor DotEnvFile+load.swift
[1745/1800] Compiling Vapor Routes+caseInsenstive.swift
[1746/1800] Compiling Vapor Validatable+validate.swift
[1747/1800] Compiling Vapor Environment+Process.swift
[1748/1800] Compiling Vapor Environment+Secret.swift
[1749/1800] Compiling Vapor Environment.swift
[1750/1800] Compiling Vapor Abort.swift
[1751/1800] Compiling Vapor AbortError.swift
[1752/1800] Compiling Vapor DebuggableError.swift
[1753/1800] Compiling Vapor Demangler.swift
[1754/1800] Compiling Vapor ErrorSource.swift
[1755/1800] Compiling Vapor StackTrace.swift
[1756/1800] Compiling Vapor Exports.swift
[1757/1800] Compiling Vapor Application+HTTP.swift
[1758/1800] Compiling Vapor RouteCollection.swift
[1759/1800] Compiling Vapor Routes.swift
[1760/1800] Compiling Vapor RoutesBuilder+Group.swift
[1761/1800] Compiling Vapor RoutesBuilder+Method.swift
[1762/1800] Compiling Vapor RoutesBuilder+Middleware.swift
[1763/1800] Compiling Vapor RoutesBuilder+WebSocket.swift
[1764/1800] Compiling Vapor RoutesBuilder.swift
[1765/1800] Compiling Vapor OTP.swift
[1766/1800] Compiling Vapor Application+Servers.swift
[1767/1800] Compiling Vapor Server.swift
[1768/1800] Compiling Vapor App+Service.swift
[1769/1800] Compiling Vapor Req+Service.swift
[1770/1800] Compiling Vapor Service.swift
[1771/1800] Compiling Vapor Application+Sessions.swift
[1772/1800] Compiling Vapor MemorySessions.swift
[1773/1800] Compiling Vapor Request+Session.swift
[1774/1800] Compiling Vapor Session.swift
[1775/1800] Compiling Vapor SessionCache.swift
[1776/1800] Compiling Vapor SessionData.swift
[1777/1800] Compiling Vapor SessionDriver.swift
[1778/1800] Compiling Vapor SessionsConfiguration.swift
[1779/1800] Compiling Vapor BasicResponder.swift
[1780/1800] Compiling Vapor BodyStream.swift
[1781/1800] Compiling Vapor Application+HTTP+Client.swift
[1782/1800] Compiling Vapor EventLoopHTTPClient.swift
[1783/1800] Compiling Vapor EndpointCache.swift
[1784/1800] Compiling Vapor HTTPMethod+String.swift
[1785/1800] Compiling Vapor HTTPStatus.swift
[1786/1800] Compiling Vapor HTTPCookies.swift
[1787/1800] Compiling Vapor HTTPHeaderCacheControl.swift
[1788/1800] Compiling Vapor HTTPHeaderExpires.swift
[1789/1800] Compiling Vapor HTTPHeaderLastModified.swift
[1790/1800] Compiling Vapor HTTPHeaders+Cache.swift
[1791/1800] Compiling Vapor HTTPHeaders+Connection.swift
[1792/1800] Compiling Vapor HTTPHeaders+ContentDisposition.swift
[1793/1800] Compiling Vapor HTTPHeaders+ContentRange.swift
[1794/1800] Compiling Vapor HTTPHeaders+Directive.swift
[1795/1800] Compiling Vapor HTTPHeaders+Forwarded.swift
[1796/1800] Compiling Vapor HTTPHeaders+Link.swift
[1797/1800] Compiling Vapor HTTPHeaders+Name.swift
[1798/1800] Compiling Vapor HTTPHeaders+ResponseCompression.swift
[1799/1800] Compiling Vapor HTTPHeaders.swift
[1800/1800] Compiling Vapor HTTPMediaType.swift
[1801/1829] Compiling WS Nothing.swift
[1802/1829] Compiling WS OriginalRequest.swift
[1803/1829] Compiling WS WSID.swift
[1804/1832] Compiling WS Disconnectable.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Disconnectable.swift:27:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
25 |     func _disconnect() -> EventLoopFuture<Void> {
26 |         eventLoop.future().flatMap {
27 |             self._disconnect(code: .goingAway)
   |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
28 |         }
29 |     }
WS._Disconnectable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Disconnectable {
2 | Self : WS._Disconnectable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
[1805/1832] Compiling WS Encoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Disconnectable.swift:27:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
25 |     func _disconnect() -> EventLoopFuture<Void> {
26 |         eventLoop.future().flatMap {
27 |             self._disconnect(code: .goingAway)
   |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
28 |         }
29 |     }
WS._Disconnectable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Disconnectable {
2 | Self : WS._Disconnectable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
[1806/1832] Compiling WS Loggable.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Disconnectable.swift:27:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
25 |     func _disconnect() -> EventLoopFuture<Void> {
26 |         eventLoop.future().flatMap {
27 |             self._disconnect(code: .goingAway)
   |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
28 |         }
29 |     }
WS._Disconnectable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Disconnectable {
2 | Self : WS._Disconnectable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
[1807/1832] Compiling WS ExchangeMode.swift
[1808/1832] Compiling WS Application+Configurator.swift
[1809/1832] Compiling WS HTTPServerConfiguration+Address.swift
[1810/1832] Compiling WS Request+Observer.swift
[1811/1832] Emitting module WS
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/Configurator.swift:54:12: warning: type 'any Configurator.DefaultWSIDKey.Value' (aka 'any AnyWSID') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 52 |     }
 53 |
 54 |     struct DefaultWSIDKey: StorageKey {
    |            `- warning: type 'any Configurator.DefaultWSIDKey.Value' (aka 'any AnyWSID') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 55 |         typealias Value = AnyWSID
 56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/WSID.swift:3:17: note: protocol 'AnyWSID' does not conform to the 'Sendable' protocol
 1 | import Vapor
 2 |
 3 | public protocol AnyWSID {
   |                 `- note: protocol 'AnyWSID' does not conform to the 'Sendable' protocol
 4 |     var key: String { get }
 5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/Configurator.swift:69:12: warning: type 'any Configurator.DefaultEncoderKey.Value' (aka 'any Encoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 67 |     // MARK: - Default Encoder
 68 |
 69 |     struct DefaultEncoderKey: StorageKey {
    |            `- warning: type 'any Configurator.DefaultEncoderKey.Value' (aka 'any Encoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 70 |         typealias Value = Encoder
 71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Encoder.swift:3:17: note: protocol 'Encoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Encoder {
  |                 `- note: protocol 'Encoder' does not conform to the 'Sendable' protocol
4 |     func encode<T>(_ value: T) throws -> Data where T : Encodable
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/Configurator.swift:85:12: warning: type 'any Configurator.DefaultDecoderKey.Value' (aka 'any Decoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 83 |     // MARK: - Default Decoder
 84 |
 85 |     struct DefaultDecoderKey: StorageKey {
    |            `- warning: type 'any Configurator.DefaultDecoderKey.Value' (aka 'any Decoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |         typealias Value = Decoder
 87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Decoder.swift:3:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
4 |     func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:3:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  1 | import Vapor
  2 |
  3 | public protocol AnyObserver: class, Broadcastable, CustomStringConvertible, Disconnectable, Sendable, Loggable {
    |                              `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  4 |     var key: String { get }
  5 |     var path: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:25:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
23 | }
24 |
25 | internal protocol _Subscribable: class, Subscribable {
   |                                  `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |     var eventLoop: EventLoop { get }
27 |     var clients: [_AnyClient] { get }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/DefaultDateFormatter.swift:3:7: warning: class 'DefaultDateFormatter' must restate inherited '@unchecked Sendable' conformance
 1 | import Foundation
 2 |
 3 | class DefaultDateFormatter: DateFormatter {
   |       `- warning: class 'DefaultDateFormatter' must restate inherited '@unchecked Sendable' conformance
 4 |     func setup() {
 5 |         self.calendar = Calendar(identifier: .iso8601)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Storage.swift:7:12: warning: type '_Storage.Key.Value' (aka '_Storage') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 2 | import Vapor
 3 |
 4 | class _Storage {
   |       `- note: class '_Storage' does not conform to the 'Sendable' protocol
 5 |     var items: [String: AnyObserver] = [:]
 6 |
 7 |     struct Key: StorageKey {
   |            `- warning: type '_Storage.Key.Value' (aka '_Storage') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 |         typealias Value = _Storage
 9 |     }
[1812/1832] Compiling WS Configurator.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/Configurator.swift:54:12: warning: type 'any Configurator.DefaultWSIDKey.Value' (aka 'any AnyWSID') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 52 |     }
 53 |
 54 |     struct DefaultWSIDKey: StorageKey {
    |            `- warning: type 'any Configurator.DefaultWSIDKey.Value' (aka 'any AnyWSID') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 55 |         typealias Value = AnyWSID
 56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/WSID.swift:3:17: note: protocol 'AnyWSID' does not conform to the 'Sendable' protocol
 1 | import Vapor
 2 |
 3 | public protocol AnyWSID {
   |                 `- note: protocol 'AnyWSID' does not conform to the 'Sendable' protocol
 4 |     var key: String { get }
 5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/Configurator.swift:69:12: warning: type 'any Configurator.DefaultEncoderKey.Value' (aka 'any Encoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 67 |     // MARK: - Default Encoder
 68 |
 69 |     struct DefaultEncoderKey: StorageKey {
    |            `- warning: type 'any Configurator.DefaultEncoderKey.Value' (aka 'any Encoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 70 |         typealias Value = Encoder
 71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Encoder.swift:3:17: note: protocol 'Encoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Encoder {
  |                 `- note: protocol 'Encoder' does not conform to the 'Sendable' protocol
4 |     func encode<T>(_ value: T) throws -> Data where T : Encodable
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/Configurator.swift:85:12: warning: type 'any Configurator.DefaultDecoderKey.Value' (aka 'any Decoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 83 |     // MARK: - Default Decoder
 84 |
 85 |     struct DefaultDecoderKey: StorageKey {
    |            `- warning: type 'any Configurator.DefaultDecoderKey.Value' (aka 'any Decoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |         typealias Value = Decoder
 87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Decoder.swift:3:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
4 |     func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable
5 | }
[1813/1832] Compiling WS EID.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/Configurator.swift:54:12: warning: type 'any Configurator.DefaultWSIDKey.Value' (aka 'any AnyWSID') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 52 |     }
 53 |
 54 |     struct DefaultWSIDKey: StorageKey {
    |            `- warning: type 'any Configurator.DefaultWSIDKey.Value' (aka 'any AnyWSID') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 55 |         typealias Value = AnyWSID
 56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/WSID.swift:3:17: note: protocol 'AnyWSID' does not conform to the 'Sendable' protocol
 1 | import Vapor
 2 |
 3 | public protocol AnyWSID {
   |                 `- note: protocol 'AnyWSID' does not conform to the 'Sendable' protocol
 4 |     var key: String { get }
 5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/Configurator.swift:69:12: warning: type 'any Configurator.DefaultEncoderKey.Value' (aka 'any Encoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 67 |     // MARK: - Default Encoder
 68 |
 69 |     struct DefaultEncoderKey: StorageKey {
    |            `- warning: type 'any Configurator.DefaultEncoderKey.Value' (aka 'any Encoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 70 |         typealias Value = Encoder
 71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Encoder.swift:3:17: note: protocol 'Encoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Encoder {
  |                 `- note: protocol 'Encoder' does not conform to the 'Sendable' protocol
4 |     func encode<T>(_ value: T) throws -> Data where T : Encodable
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/Configurator.swift:85:12: warning: type 'any Configurator.DefaultDecoderKey.Value' (aka 'any Decoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 83 |     // MARK: - Default Decoder
 84 |
 85 |     struct DefaultDecoderKey: StorageKey {
    |            `- warning: type 'any Configurator.DefaultDecoderKey.Value' (aka 'any Decoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |         typealias Value = Decoder
 87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Decoder.swift:3:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
4 |     func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable
5 | }
[1814/1832] Compiling WS Event.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/Configurator.swift:54:12: warning: type 'any Configurator.DefaultWSIDKey.Value' (aka 'any AnyWSID') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 52 |     }
 53 |
 54 |     struct DefaultWSIDKey: StorageKey {
    |            `- warning: type 'any Configurator.DefaultWSIDKey.Value' (aka 'any AnyWSID') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 55 |         typealias Value = AnyWSID
 56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/WSID.swift:3:17: note: protocol 'AnyWSID' does not conform to the 'Sendable' protocol
 1 | import Vapor
 2 |
 3 | public protocol AnyWSID {
   |                 `- note: protocol 'AnyWSID' does not conform to the 'Sendable' protocol
 4 |     var key: String { get }
 5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/Configurator.swift:69:12: warning: type 'any Configurator.DefaultEncoderKey.Value' (aka 'any Encoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 67 |     // MARK: - Default Encoder
 68 |
 69 |     struct DefaultEncoderKey: StorageKey {
    |            `- warning: type 'any Configurator.DefaultEncoderKey.Value' (aka 'any Encoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 70 |         typealias Value = Encoder
 71 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Encoder.swift:3:17: note: protocol 'Encoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Encoder {
  |                 `- note: protocol 'Encoder' does not conform to the 'Sendable' protocol
4 |     func encode<T>(_ value: T) throws -> Data where T : Encodable
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/Configurator.swift:85:12: warning: type 'any Configurator.DefaultDecoderKey.Value' (aka 'any Decoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 83 |     // MARK: - Default Decoder
 84 |
 85 |     struct DefaultDecoderKey: StorageKey {
    |            `- warning: type 'any Configurator.DefaultDecoderKey.Value' (aka 'any Decoder') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |         typealias Value = Decoder
 87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Decoder.swift:3:17: note: protocol 'Decoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Decoder {
  |                 `- note: protocol 'Decoder' does not conform to the 'Sendable' protocol
4 |     func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable
5 | }
[1815/1832] Compiling WS Declarativable.swift
[1816/1832] Compiling WS Decoder.swift
[1817/1832] Compiling WS Delegate.swift
[1818/1832] Compiling WS Client.swift
[1819/1832] Compiling WS BaseObserver.swift
[1820/1832] Compiling WS BindableObserver.swift
[1821/1832] Compiling WS AnyObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:3:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  1 | import Vapor
  2 |
  3 | public protocol AnyObserver: class, Broadcastable, CustomStringConvertible, Disconnectable, Sendable, Loggable {
    |                              `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  4 |     var key: String { get }
  5 |     var path: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:130:12: warning: 'onPing' is deprecated: Please use `onPing { socket, data in /* … */ }` with the additional `data` parameter.
128 |         }
129 |
130 |         ws.onPing { [weak self] _ in
    |            `- warning: 'onPing' is deprecated: Please use `onPing { socket, data in /* … */ }` with the additional `data` parameter.
131 |             guard let client = client else { return }
132 |             self?.logger.debug("[⚡️] 🏓 ping \(client.id)")
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:137:12: warning: 'onPong' is deprecated: Please use `onPong { socket, data in /* … */ }` with the additional `data` parameter.
135 |         }
136 |
137 |         ws.onPong { [weak self] _ in
    |            `- warning: 'onPong' is deprecated: Please use `onPong { socket, data in /* … */ }` with the additional `data` parameter.
138 |             guard let client = client else { return }
139 |             self?.logger.debug("[⚡️] 🏓 pong \(client.id)")
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:103:30: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
101 |
102 |         self.application.ws.knownEventLoop.submit { [weak self] in
103 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
104 |             let c = Client(self, req, ws, logger: self.logger)
105 |             client = c
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:105:13: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
103 |             guard let self = self else { return }
104 |             let c = Client(self, req, ws, logger: self.logger)
105 |             client = c
    |             `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
106 |             self._clients.append(c)
107 |         }.whenComplete { [weak self] _ in
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:105:13: warning: mutation of captured var 'client' in concurrently-executing code
103 |             guard let self = self else { return }
104 |             let c = Client(self, req, ws, logger: self.logger)
105 |             client = c
    |             `- warning: mutation of captured var 'client' in concurrently-executing code
106 |             self._clients.append(c)
107 |         }.whenComplete { [weak self] _ in
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:109:30: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
107 |         }.whenComplete { [weak self] _ in
108 |             guard
109 |                 let client = client,
    |                              `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
110 |                 let self = self
111 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:110:28: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
108 |             guard
109 |                 let client = client,
110 |                 let self = self
    |                            `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
111 |             else { return }
112 |             self._on(open: client)
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:109:30: warning: reference to captured var 'client' in concurrently-executing code
107 |         }.whenComplete { [weak self] _ in
108 |             guard
109 |                 let client = client,
    |                              `- warning: reference to captured var 'client' in concurrently-executing code
110 |                 let self = self
111 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:118:30: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
116 |
117 |         ws.onClose.whenComplete { [weak self] _ in
118 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:58: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                                                          `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:17: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:58: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                                                          `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:58: warning: capture of 'client' with non-sendable type 'Client?' in an isolated closure; this is an error in the Swift 6 language mode
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                                                          `- warning: capture of 'client' with non-sendable type 'Client?' in an isolated closure; this is an error in the Swift 6 language mode
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:58: warning: reference to captured var 'client' in concurrently-executing code; this is an error in the Swift 6 language mode
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                                                          `- warning: reference to captured var 'client' in concurrently-executing code; this is an error in the Swift 6 language mode
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:122:31: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
120 |                 self?._clients.removeAll(where: { $0 === client })
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
    |                               `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
123 |                 self.logger.info("[⚡️] 🔴 connection closed \(c.id)")
124 |                 self._on(close: c)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:122:50: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
120 |                 self?._clients.removeAll(where: { $0 === client })
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
    |                                                  `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
123 |                 self.logger.info("[⚡️] 🔴 connection closed \(c.id)")
124 |                 self._on(close: c)
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:122:31: warning: reference to captured var 'client' in concurrently-executing code
120 |                 self?._clients.removeAll(where: { $0 === client })
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
    |                               `- warning: reference to captured var 'client' in concurrently-executing code
123 |                 self.logger.info("[⚡️] 🔴 connection closed \(c.id)")
124 |                 self._on(close: c)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:126:17: warning: mutation of captured var 'client' in concurrently-executing code
124 |                 self._on(close: c)
125 |                 self.on(close: c)
126 |                 client = nil
    |                 `- warning: mutation of captured var 'client' in concurrently-executing code
127 |             }
128 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:131:32: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
129 |
130 |         ws.onPing { [weak self] _ in
131 |             guard let client = client else { return }
    |                                `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
132 |             self?.logger.debug("[⚡️] 🏓 ping \(client.id)")
133 |             self?._on(ping: client)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:132:13: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
130 |         ws.onPing { [weak self] _ in
131 |             guard let client = client else { return }
132 |             self?.logger.debug("[⚡️] 🏓 ping \(client.id)")
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
133 |             self?._on(ping: client)
134 |             self?.on(ping: client)
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:131:32: warning: reference to captured var 'client' in concurrently-executing code
129 |
130 |         ws.onPing { [weak self] _ in
131 |             guard let client = client else { return }
    |                                `- warning: reference to captured var 'client' in concurrently-executing code
132 |             self?.logger.debug("[⚡️] 🏓 ping \(client.id)")
133 |             self?._on(ping: client)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:138:32: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
136 |
137 |         ws.onPong { [weak self] _ in
138 |             guard let client = client else { return }
    |                                `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
139 |             self?.logger.debug("[⚡️] 🏓 pong \(client.id)")
140 |             self?._on(pong: client)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:139:13: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
137 |         ws.onPong { [weak self] _ in
138 |             guard let client = client else { return }
139 |             self?.logger.debug("[⚡️] 🏓 pong \(client.id)")
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
140 |             self?._on(pong: client)
141 |             self?.on(pong: client)
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:138:32: warning: reference to captured var 'client' in concurrently-executing code
136 |
137 |         ws.onPong { [weak self] _ in
138 |             guard let client = client else { return }
    |                                `- warning: reference to captured var 'client' in concurrently-executing code
139 |             self?.logger.debug("[⚡️] 🏓 pong \(client.id)")
140 |             self?._on(pong: client)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:146:30: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
144 |         ws.onText { [weak self] _, text in
145 |             guard
146 |                 let client = client,
    |                              `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
147 |                 let self = self
148 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:147:28: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
145 |             guard
146 |                 let client = client,
147 |                 let self = self
    |                            `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
148 |             else { return }
149 |             guard self.exchangeMode != .binary else {
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:146:30: warning: reference to captured var 'client' in concurrently-executing code
144 |         ws.onText { [weak self] _, text in
145 |             guard
146 |                 let client = client,
    |                              `- warning: reference to captured var 'client' in concurrently-executing code
147 |                 let self = self
148 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:160:30: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
158 |         ws.onBinary { [weak self] _, byteBuffer in
159 |             guard
160 |                 let client = client,
    |                              `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
161 |                 let self = self
162 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:161:28: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
159 |             guard
160 |                 let client = client,
161 |                 let self = self
    |                            `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
162 |             else { return }
163 |             guard self.exchangeMode != .text else {
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:160:30: warning: reference to captured var 'client' in concurrently-executing code
158 |         ws.onBinary { [weak self] _, byteBuffer in
159 |             guard
160 |                 let client = client,
    |                              `- warning: reference to captured var 'client' in concurrently-executing code
161 |                 let self = self
162 |             else { return }
[1822/1832] Compiling WS Bindable.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:3:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  1 | import Vapor
  2 |
  3 | public protocol AnyObserver: class, Broadcastable, CustomStringConvertible, Disconnectable, Sendable, Loggable {
    |                              `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  4 |     var key: String { get }
  5 |     var path: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:130:12: warning: 'onPing' is deprecated: Please use `onPing { socket, data in /* … */ }` with the additional `data` parameter.
128 |         }
129 |
130 |         ws.onPing { [weak self] _ in
    |            `- warning: 'onPing' is deprecated: Please use `onPing { socket, data in /* … */ }` with the additional `data` parameter.
131 |             guard let client = client else { return }
132 |             self?.logger.debug("[⚡️] 🏓 ping \(client.id)")
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:137:12: warning: 'onPong' is deprecated: Please use `onPong { socket, data in /* … */ }` with the additional `data` parameter.
135 |         }
136 |
137 |         ws.onPong { [weak self] _ in
    |            `- warning: 'onPong' is deprecated: Please use `onPong { socket, data in /* … */ }` with the additional `data` parameter.
138 |             guard let client = client else { return }
139 |             self?.logger.debug("[⚡️] 🏓 pong \(client.id)")
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:103:30: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
101 |
102 |         self.application.ws.knownEventLoop.submit { [weak self] in
103 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
104 |             let c = Client(self, req, ws, logger: self.logger)
105 |             client = c
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:105:13: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
103 |             guard let self = self else { return }
104 |             let c = Client(self, req, ws, logger: self.logger)
105 |             client = c
    |             `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
106 |             self._clients.append(c)
107 |         }.whenComplete { [weak self] _ in
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:105:13: warning: mutation of captured var 'client' in concurrently-executing code
103 |             guard let self = self else { return }
104 |             let c = Client(self, req, ws, logger: self.logger)
105 |             client = c
    |             `- warning: mutation of captured var 'client' in concurrently-executing code
106 |             self._clients.append(c)
107 |         }.whenComplete { [weak self] _ in
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:109:30: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
107 |         }.whenComplete { [weak self] _ in
108 |             guard
109 |                 let client = client,
    |                              `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
110 |                 let self = self
111 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:110:28: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
108 |             guard
109 |                 let client = client,
110 |                 let self = self
    |                            `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
111 |             else { return }
112 |             self._on(open: client)
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:109:30: warning: reference to captured var 'client' in concurrently-executing code
107 |         }.whenComplete { [weak self] _ in
108 |             guard
109 |                 let client = client,
    |                              `- warning: reference to captured var 'client' in concurrently-executing code
110 |                 let self = self
111 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:118:30: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
116 |
117 |         ws.onClose.whenComplete { [weak self] _ in
118 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:58: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                                                          `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:17: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:58: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                                                          `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:58: warning: capture of 'client' with non-sendable type 'Client?' in an isolated closure; this is an error in the Swift 6 language mode
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                                                          `- warning: capture of 'client' with non-sendable type 'Client?' in an isolated closure; this is an error in the Swift 6 language mode
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:58: warning: reference to captured var 'client' in concurrently-executing code; this is an error in the Swift 6 language mode
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                                                          `- warning: reference to captured var 'client' in concurrently-executing code; this is an error in the Swift 6 language mode
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:122:31: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
120 |                 self?._clients.removeAll(where: { $0 === client })
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
    |                               `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
123 |                 self.logger.info("[⚡️] 🔴 connection closed \(c.id)")
124 |                 self._on(close: c)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:122:50: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
120 |                 self?._clients.removeAll(where: { $0 === client })
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
    |                                                  `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
123 |                 self.logger.info("[⚡️] 🔴 connection closed \(c.id)")
124 |                 self._on(close: c)
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:122:31: warning: reference to captured var 'client' in concurrently-executing code
120 |                 self?._clients.removeAll(where: { $0 === client })
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
    |                               `- warning: reference to captured var 'client' in concurrently-executing code
123 |                 self.logger.info("[⚡️] 🔴 connection closed \(c.id)")
124 |                 self._on(close: c)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:126:17: warning: mutation of captured var 'client' in concurrently-executing code
124 |                 self._on(close: c)
125 |                 self.on(close: c)
126 |                 client = nil
    |                 `- warning: mutation of captured var 'client' in concurrently-executing code
127 |             }
128 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:131:32: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
129 |
130 |         ws.onPing { [weak self] _ in
131 |             guard let client = client else { return }
    |                                `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
132 |             self?.logger.debug("[⚡️] 🏓 ping \(client.id)")
133 |             self?._on(ping: client)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:132:13: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
130 |         ws.onPing { [weak self] _ in
131 |             guard let client = client else { return }
132 |             self?.logger.debug("[⚡️] 🏓 ping \(client.id)")
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
133 |             self?._on(ping: client)
134 |             self?.on(ping: client)
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:131:32: warning: reference to captured var 'client' in concurrently-executing code
129 |
130 |         ws.onPing { [weak self] _ in
131 |             guard let client = client else { return }
    |                                `- warning: reference to captured var 'client' in concurrently-executing code
132 |             self?.logger.debug("[⚡️] 🏓 ping \(client.id)")
133 |             self?._on(ping: client)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:138:32: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
136 |
137 |         ws.onPong { [weak self] _ in
138 |             guard let client = client else { return }
    |                                `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
139 |             self?.logger.debug("[⚡️] 🏓 pong \(client.id)")
140 |             self?._on(pong: client)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:139:13: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
137 |         ws.onPong { [weak self] _ in
138 |             guard let client = client else { return }
139 |             self?.logger.debug("[⚡️] 🏓 pong \(client.id)")
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
140 |             self?._on(pong: client)
141 |             self?.on(pong: client)
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:138:32: warning: reference to captured var 'client' in concurrently-executing code
136 |
137 |         ws.onPong { [weak self] _ in
138 |             guard let client = client else { return }
    |                                `- warning: reference to captured var 'client' in concurrently-executing code
139 |             self?.logger.debug("[⚡️] 🏓 pong \(client.id)")
140 |             self?._on(pong: client)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:146:30: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
144 |         ws.onText { [weak self] _, text in
145 |             guard
146 |                 let client = client,
    |                              `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
147 |                 let self = self
148 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:147:28: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
145 |             guard
146 |                 let client = client,
147 |                 let self = self
    |                            `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
148 |             else { return }
149 |             guard self.exchangeMode != .binary else {
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:146:30: warning: reference to captured var 'client' in concurrently-executing code
144 |         ws.onText { [weak self] _, text in
145 |             guard
146 |                 let client = client,
    |                              `- warning: reference to captured var 'client' in concurrently-executing code
147 |                 let self = self
148 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:160:30: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
158 |         ws.onBinary { [weak self] _, byteBuffer in
159 |             guard
160 |                 let client = client,
    |                              `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
161 |                 let self = self
162 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:161:28: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
159 |             guard
160 |                 let client = client,
161 |                 let self = self
    |                            `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
162 |             else { return }
163 |             guard self.exchangeMode != .text else {
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:160:30: warning: reference to captured var 'client' in concurrently-executing code
158 |         ws.onBinary { [weak self] _, byteBuffer in
159 |             guard
160 |                 let client = client,
    |                              `- warning: reference to captured var 'client' in concurrently-executing code
161 |                 let self = self
162 |             else { return }
[1823/1832] Compiling WS Broadcastable.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:3:30: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  1 | import Vapor
  2 |
  3 | public protocol AnyObserver: class, Broadcastable, CustomStringConvertible, Disconnectable, Sendable, Loggable {
    |                              `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
  4 |     var key: String { get }
  5 |     var path: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:130:12: warning: 'onPing' is deprecated: Please use `onPing { socket, data in /* … */ }` with the additional `data` parameter.
128 |         }
129 |
130 |         ws.onPing { [weak self] _ in
    |            `- warning: 'onPing' is deprecated: Please use `onPing { socket, data in /* … */ }` with the additional `data` parameter.
131 |             guard let client = client else { return }
132 |             self?.logger.debug("[⚡️] 🏓 ping \(client.id)")
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:137:12: warning: 'onPong' is deprecated: Please use `onPong { socket, data in /* … */ }` with the additional `data` parameter.
135 |         }
136 |
137 |         ws.onPong { [weak self] _ in
    |            `- warning: 'onPong' is deprecated: Please use `onPong { socket, data in /* … */ }` with the additional `data` parameter.
138 |             guard let client = client else { return }
139 |             self?.logger.debug("[⚡️] 🏓 pong \(client.id)")
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:103:30: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
101 |
102 |         self.application.ws.knownEventLoop.submit { [weak self] in
103 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
104 |             let c = Client(self, req, ws, logger: self.logger)
105 |             client = c
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:105:13: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
103 |             guard let self = self else { return }
104 |             let c = Client(self, req, ws, logger: self.logger)
105 |             client = c
    |             `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
106 |             self._clients.append(c)
107 |         }.whenComplete { [weak self] _ in
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:105:13: warning: mutation of captured var 'client' in concurrently-executing code
103 |             guard let self = self else { return }
104 |             let c = Client(self, req, ws, logger: self.logger)
105 |             client = c
    |             `- warning: mutation of captured var 'client' in concurrently-executing code
106 |             self._clients.append(c)
107 |         }.whenComplete { [weak self] _ in
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:109:30: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
107 |         }.whenComplete { [weak self] _ in
108 |             guard
109 |                 let client = client,
    |                              `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
110 |                 let self = self
111 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:110:28: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
108 |             guard
109 |                 let client = client,
110 |                 let self = self
    |                            `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
111 |             else { return }
112 |             self._on(open: client)
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:109:30: warning: reference to captured var 'client' in concurrently-executing code
107 |         }.whenComplete { [weak self] _ in
108 |             guard
109 |                 let client = client,
    |                              `- warning: reference to captured var 'client' in concurrently-executing code
110 |                 let self = self
111 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:118:30: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
116 |
117 |         ws.onClose.whenComplete { [weak self] _ in
118 |             guard let self = self else { return }
    |                              `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:58: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                                                          `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:17: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                 `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:58: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                                                          `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:58: warning: capture of 'client' with non-sendable type 'Client?' in an isolated closure; this is an error in the Swift 6 language mode
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                                                          `- warning: capture of 'client' with non-sendable type 'Client?' in an isolated closure; this is an error in the Swift 6 language mode
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:120:58: warning: reference to captured var 'client' in concurrently-executing code; this is an error in the Swift 6 language mode
118 |             guard let self = self else { return }
119 |             self.application.ws.knownEventLoop.submit { [weak self] in
120 |                 self?._clients.removeAll(where: { $0 === client })
    |                                                          `- warning: reference to captured var 'client' in concurrently-executing code; this is an error in the Swift 6 language mode
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:122:31: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
120 |                 self?._clients.removeAll(where: { $0 === client })
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
    |                               `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
123 |                 self.logger.info("[⚡️] 🔴 connection closed \(c.id)")
124 |                 self._on(close: c)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:122:50: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
120 |                 self?._clients.removeAll(where: { $0 === client })
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
    |                                                  `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
123 |                 self.logger.info("[⚡️] 🔴 connection closed \(c.id)")
124 |                 self._on(close: c)
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:122:31: warning: reference to captured var 'client' in concurrently-executing code
120 |                 self?._clients.removeAll(where: { $0 === client })
121 |             }.whenComplete { [weak self] _ in
122 |                 guard let c = client, let self = self else { return }
    |                               `- warning: reference to captured var 'client' in concurrently-executing code
123 |                 self.logger.info("[⚡️] 🔴 connection closed \(c.id)")
124 |                 self._on(close: c)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:126:17: warning: mutation of captured var 'client' in concurrently-executing code
124 |                 self._on(close: c)
125 |                 self.on(close: c)
126 |                 client = nil
    |                 `- warning: mutation of captured var 'client' in concurrently-executing code
127 |             }
128 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:131:32: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
129 |
130 |         ws.onPing { [weak self] _ in
131 |             guard let client = client else { return }
    |                                `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
132 |             self?.logger.debug("[⚡️] 🏓 ping \(client.id)")
133 |             self?._on(ping: client)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:132:13: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
130 |         ws.onPing { [weak self] _ in
131 |             guard let client = client else { return }
132 |             self?.logger.debug("[⚡️] 🏓 ping \(client.id)")
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
133 |             self?._on(ping: client)
134 |             self?.on(ping: client)
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:131:32: warning: reference to captured var 'client' in concurrently-executing code
129 |
130 |         ws.onPing { [weak self] _ in
131 |             guard let client = client else { return }
    |                                `- warning: reference to captured var 'client' in concurrently-executing code
132 |             self?.logger.debug("[⚡️] 🏓 ping \(client.id)")
133 |             self?._on(ping: client)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:138:32: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
136 |
137 |         ws.onPong { [weak self] _ in
138 |             guard let client = client else { return }
    |                                `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
139 |             self?.logger.debug("[⚡️] 🏓 pong \(client.id)")
140 |             self?._on(pong: client)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:139:13: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
137 |         ws.onPong { [weak self] _ in
138 |             guard let client = client else { return }
139 |             self?.logger.debug("[⚡️] 🏓 pong \(client.id)")
    |             `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
140 |             self?._on(pong: client)
141 |             self?.on(pong: client)
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:138:32: warning: reference to captured var 'client' in concurrently-executing code
136 |
137 |         ws.onPong { [weak self] _ in
138 |             guard let client = client else { return }
    |                                `- warning: reference to captured var 'client' in concurrently-executing code
139 |             self?.logger.debug("[⚡️] 🏓 pong \(client.id)")
140 |             self?._on(pong: client)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:146:30: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
144 |         ws.onText { [weak self] _, text in
145 |             guard
146 |                 let client = client,
    |                              `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
147 |                 let self = self
148 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:147:28: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
145 |             guard
146 |                 let client = client,
147 |                 let self = self
    |                            `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
148 |             else { return }
149 |             guard self.exchangeMode != .binary else {
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:146:30: warning: reference to captured var 'client' in concurrently-executing code
144 |         ws.onText { [weak self] _, text in
145 |             guard
146 |                 let client = client,
    |                              `- warning: reference to captured var 'client' in concurrently-executing code
147 |                 let self = self
148 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:160:30: warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
158 |         ws.onBinary { [weak self] _, byteBuffer in
159 |             guard
160 |                 let client = client,
    |                              `- warning: capture of 'client' with non-sendable type 'Client?' in a '@Sendable' closure
161 |                 let self = self
162 |             else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Objects/Client.swift:5:7: note: class 'Client' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | class Client: _AnyClient {
   |       `- note: class 'Client' does not conform to the 'Sendable' protocol
 6 |     /// See `AnyClient`
 7 |     public let id: UUID = .init()
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:161:28: warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
159 |             guard
160 |                 let client = client,
161 |                 let self = self
    |                            `- warning: capture of 'self' with non-sendable type 'Self?' in a '@Sendable' closure
162 |             else { return }
163 |             guard self.exchangeMode != .text else {
WS._AnyObserver.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _AnyObserver {
2 | Self : WS._AnyObserver}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyObserver.swift:160:30: warning: reference to captured var 'client' in concurrently-executing code
158 |         ws.onBinary { [weak self] _, byteBuffer in
159 |             guard
160 |                 let client = client,
    |                              `- warning: reference to captured var 'client' in concurrently-executing code
161 |                 let self = self
162 |             else { return }
[1824/1832] Compiling WS ClassicObserver.swift
[1825/1832] Compiling WS DeclarativeObserver.swift
[1826/1832] Compiling WS AnyClient.swift
[1827/1832] Compiling WS Sendable.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:42:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 40 |         /// Send as `text`
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
 44 |                 $0.send(text)
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:43:58: warning: capture of 'text' with non-sendable type 'S' in a '@Sendable' closure
 32 |
 33 | extension _Sendable {
 34 |     func _send<S>(text: S) -> EventLoopFuture<Void> where S : Collection, S.Element == Character {
    |                `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 35 |         /// Send as `binary` instead
 36 |         if exchangeMode == .binary {
    :
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
    |                                                  `- warning: capture of 'text' with non-sendable type 'S' in a '@Sendable' closure
 44 |                 $0.send(text)
 45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:43:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
    |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 44 |                 $0.send(text)
 45 |             }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:43:58: warning: capture of 'text' with non-sendable type 'S' in an isolated closure; this is an error in the Swift 6 language mode
 32 |
 33 | extension _Sendable {
 34 |     func _send<S>(text: S) -> EventLoopFuture<Void> where S : Collection, S.Element == Character {
    |                `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 35 |         /// Send as `binary` instead
 36 |         if exchangeMode == .binary {
    :
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
    |                                                  `- warning: capture of 'text' with non-sendable type 'S' in an isolated closure; this is an error in the Swift 6 language mode
 44 |                 $0.send(text)
 45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:43:58: warning: implicit capture of 'text' requires that 'S' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 32 |
 33 | extension _Sendable {
 34 |     func _send<S>(text: S) -> EventLoopFuture<Void> where S : Collection, S.Element == Character {
    |                `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 35 |         /// Send as `binary` instead
 36 |         if exchangeMode == .binary {
    :
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
    |                                                  `- warning: implicit capture of 'text' requires that 'S' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 44 |                 $0.send(text)
 45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:61:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 59 |         /// Send as `binary`
 60 |         return eventLoop.future().map {
 61 |             self.sockets.forEach {
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 62 |                 self.logger.debug("[⚡️] 📤 bytes: \(bytes.count)")
 63 |                 $0.send(bytes)
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:62:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 60 |         return eventLoop.future().map {
 61 |             self.sockets.forEach {
 62 |                 self.logger.debug("[⚡️] 📤 bytes: \(bytes.count)")
    |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 63 |                 $0.send(bytes)
 64 |             }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:84:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 82 |         /// Send as `binary`
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
 86 |                 $0.send(raw: data, opcode: opcode)
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:85:58: warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
 70 |     }
 71 |
 72 |     func _send<Data>(data: Data, opcode: WebSocketOpcode) -> EventLoopFuture<Void> where Data: DataProtocol {
    |                `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
 73 |         /// Send as `text` instead
 74 |         if exchangeMode == .text {
    :
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
    |                                                  `- warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
 86 |                 $0.send(raw: data, opcode: opcode)
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:85:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
    |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 86 |                 $0.send(raw: data, opcode: opcode)
 87 |             }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:85:58: warning: capture of 'data' with non-sendable type 'Data' in an isolated closure; this is an error in the Swift 6 language mode
 70 |     }
 71 |
 72 |     func _send<Data>(data: Data, opcode: WebSocketOpcode) -> EventLoopFuture<Void> where Data: DataProtocol {
    |                `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
 73 |         /// Send as `text` instead
 74 |         if exchangeMode == .text {
    :
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
    |                                                  `- warning: capture of 'data' with non-sendable type 'Data' in an isolated closure; this is an error in the Swift 6 language mode
 86 |                 $0.send(raw: data, opcode: opcode)
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:85:58: warning: implicit capture of 'data' requires that 'Data' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 70 |     }
 71 |
 72 |     func _send<Data>(data: Data, opcode: WebSocketOpcode) -> EventLoopFuture<Void> where Data: DataProtocol {
    |                `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
 73 |         /// Send as `text` instead
 74 |         if exchangeMode == .text {
    :
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
    |                                                  `- warning: implicit capture of 'data' requires that 'Data' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 86 |                 $0.send(raw: data, opcode: opcode)
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:97:17: warning: capture of 'encoder' with non-sendable type 'any Encoder' in a '@Sendable' closure
 95 |     func _send<C>(model: C, encoder: Encoder) -> EventLoopFuture<Void> where C: Encodable {
 96 |         eventLoop.future().flatMapThrowing {
 97 |             try encoder.encode(model)
    |                 `- warning: capture of 'encoder' with non-sendable type 'any Encoder' in a '@Sendable' closure
 98 |         }.flatMap { data -> EventLoopFuture<Data> in
 99 |             if self.exchangeMode == .text {
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Encoder.swift:3:17: note: protocol 'Encoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Encoder {
  |                 `- note: protocol 'Encoder' does not conform to the 'Sendable' protocol
4 |     func encode<T>(_ value: T) throws -> Data where T : Encodable
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:97:32: warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
 93 |     }
 94 |
 95 |     func _send<C>(model: C, encoder: Encoder) -> EventLoopFuture<Void> where C: Encodable {
    |                `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 96 |         eventLoop.future().flatMapThrowing {
 97 |             try encoder.encode(model)
    |                                `- warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
 98 |         }.flatMap { data -> EventLoopFuture<Data> in
 99 |             if self.exchangeMode == .text {
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:99:16: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 97 |             try encoder.encode(model)
 98 |         }.flatMap { data -> EventLoopFuture<Data> in
 99 |             if self.exchangeMode == .text {
    |                `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
100 |                 return self.eventLoop.future(data)
101 |             }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:104:19: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
102 |             return self.send(data: data).transform(to: data)
103 |         }.flatMap {
104 |             guard self.exchangeMode != .binary,
    |                   `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
105 |                 let text = String(data: $0, encoding: .utf8) else {
106 |                 return self.eventLoop.future()
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:122:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
120 |     func _sendPing() -> EventLoopFuture<Void> {
121 |         eventLoop.future().map {
122 |             self.sockets.forEach { $0.sendPing() }
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
123 |         }
124 |     }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:131:33: warning: capture of 'text' with non-sendable type 'S' in a '@Sendable' closure
128 |
129 | extension EventLoopFuture: Sendable where Value: Sendable {
130 |     public func send<S>(text: S) -> EventLoopFuture<Void> where S : Collection, S.Element == Character {
    |                      `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
131 |         flatMap { $0.send(text: text) }
    |                                 `- warning: capture of 'text' with non-sendable type 'S' in a '@Sendable' closure
132 |     }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:139:33: warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
136 |     }
137 |
138 |     public func send<Data>(data: Data) -> EventLoopFuture<Void> where Data : DataProtocol {
    |                      `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
139 |         flatMap { $0.send(data: data) }
    |                                 `- warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
140 |     }
141 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:143:33: warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
140 |     }
141 |
142 |     public func send<Data>(data: Data, opcode: WebSocketOpcode) -> EventLoopFuture<Void> where Data : DataProtocol {
    |                      `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
143 |         flatMap { $0.send(data: data, opcode: opcode) }
    |                                 `- warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
144 |     }
145 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:147:34: warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
144 |     }
145 |
146 |     public func send<C>(model: C) -> EventLoopFuture<Void> where C : Encodable {
    |                      `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
147 |         flatMap { $0.send(model: model) }
    |                                  `- warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
148 |     }
149 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:151:34: warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
148 |     }
149 |
150 |     public func send<C>(model: C, encoder: Encoder) -> EventLoopFuture<Void> where C : Encodable {
    |                      `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
151 |         flatMap { $0.send(model: model, encoder: encoder) }
    |                                  `- warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:151:50: warning: capture of 'encoder' with non-sendable type 'any Encoder' in a '@Sendable' closure
149 |
150 |     public func send<C>(model: C, encoder: Encoder) -> EventLoopFuture<Void> where C : Encodable {
151 |         flatMap { $0.send(model: model, encoder: encoder) }
    |                                                  `- warning: capture of 'encoder' with non-sendable type 'any Encoder' in a '@Sendable' closure
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Encoder.swift:3:17: note: protocol 'Encoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Encoder {
  |                 `- note: protocol 'Encoder' does not conform to the 'Sendable' protocol
4 |     func encode<T>(_ value: T) throws -> Data where T : Encodable
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:155:34: warning: capture of 'event' with non-sendable type 'EID<T>' in a '@Sendable' closure
153 |
154 |     public func send<T>(event: EID<T>) -> EventLoopFuture<Void> where T : Decodable, T : Encodable {
155 |         flatMap { $0.send(event: event) }
    |                                  `- warning: capture of 'event' with non-sendable type 'EID<T>' in a '@Sendable' closure
156 |     }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/EID.swift:11:15: note: consider making generic struct 'EID' conform to the 'Sendable' protocol
 9 | /// }
10 | /// ```
11 | public struct EID<P: Codable>: Equatable, Hashable, CustomStringConvertible, ExpressibleByStringLiteral {
   |               `- note: consider making generic struct 'EID' conform to the 'Sendable' protocol
12 |     /// The unique id.
13 |     public let id: String
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:159:34: warning: capture of 'event' with non-sendable type 'EID<T>' in a '@Sendable' closure
157 |
158 |     public func send<T>(event: EID<T>, payload: T?) -> EventLoopFuture<Void> where T : Decodable, T : Encodable {
159 |         flatMap { $0.send(event: event, payload: payload) }
    |                                  `- warning: capture of 'event' with non-sendable type 'EID<T>' in a '@Sendable' closure
160 |     }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/EID.swift:11:15: note: consider making generic struct 'EID' conform to the 'Sendable' protocol
 9 | /// }
10 | /// ```
11 | public struct EID<P: Codable>: Equatable, Hashable, CustomStringConvertible, ExpressibleByStringLiteral {
   |               `- note: consider making generic struct 'EID' conform to the 'Sendable' protocol
12 |     /// The unique id.
13 |     public let id: String
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:159:50: warning: capture of 'payload' with non-sendable type 'T?' in a '@Sendable' closure
156 |     }
157 |
158 |     public func send<T>(event: EID<T>, payload: T?) -> EventLoopFuture<Void> where T : Decodable, T : Encodable {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
159 |         flatMap { $0.send(event: event, payload: payload) }
    |                                                  `- warning: capture of 'payload' with non-sendable type 'T?' in a '@Sendable' closure
160 |     }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:25:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
23 | }
24 |
25 | internal protocol _Subscribable: class, Subscribable {
   |                                  `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |     var eventLoop: EventLoop { get }
27 |     var clients: [_AnyClient] { get }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:38:17: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
36 |         self.eventLoop.submit {
37 |             channels.forEach { channel in
38 |                 self.clients.forEach {
   |                 `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
39 |                     $0.channels.insert(channel)
40 |                 }
WS._Subscribable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Subscribable {
2 | Self : WS._Subscribable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:38:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
36 |         self.eventLoop.submit {
37 |             channels.forEach { channel in
38 |                 self.clients.forEach {
   |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
39 |                     $0.channels.insert(channel)
40 |                 }
WS._Subscribable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Subscribable {
2 | Self : WS._Subscribable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:52:17: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
50 |         self.eventLoop.submit {
51 |             channels.forEach { channel in
52 |                 self.clients.forEach {
   |                 `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
53 |                     $0.channels.remove(channel)
54 |                 }
WS._Subscribable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Subscribable {
2 | Self : WS._Subscribable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:52:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
50 |         self.eventLoop.submit {
51 |             channels.forEach { channel in
52 |                 self.clients.forEach {
   |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
53 |                     $0.channels.remove(channel)
54 |                 }
WS._Subscribable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Subscribable {
2 | Self : WS._Subscribable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Broadcaster.swift:92:32: warning: capture of 'client' with non-sendable type 'any AnyClient' in a '@Sendable' closure
 90 |             filter(client).map { leave in
 91 |                 if !leave {
 92 |                     ids.insert(client.id)
    |                                `- warning: capture of 'client' with non-sendable type 'any AnyClient' in a '@Sendable' closure
 93 |                 }
 94 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyClient.swift:5:17: note: protocol 'AnyClient' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | public protocol AnyClient: Broadcastable, Disconnectable, Subscribable, Sendable {
   |                 `- note: protocol 'AnyClient' does not conform to the 'Sendable' protocol
 6 |     var id: UUID { get }
 7 |     var application: Application { get }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Broadcaster.swift:92:21: warning: mutation of captured var 'ids' in concurrently-executing code
 90 |             filter(client).map { leave in
 91 |                 if !leave {
 92 |                     ids.insert(client.id)
    |                     `- warning: mutation of captured var 'ids' in concurrently-executing code
 93 |                 }
 94 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Broadcaster.swift:96:13: warning: capture of 'self' with non-sendable type 'Broadcaster' in a '@Sendable' closure
  4 | import NIOWebSocket
  5 |
  6 | public class Broadcaster: Disconnectable, _Disconnectable, Sendable, _Sendable, Subscribable {
    |              `- note: class 'Broadcaster' does not conform to the 'Sendable' protocol
  7 |     let eventLoop: EventLoop
  8 |     var clients: [AnyClient]
    :
 94 |             }
 95 |         }.flatten(on: eventLoop).map {
 96 |             self.clients.removeAll { ids.contains($0.id) }
    |             `- warning: capture of 'self' with non-sendable type 'Broadcaster' in a '@Sendable' closure
 97 |         }.transform(to: self)
 98 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Broadcaster.swift:96:38: warning: reference to captured var 'ids' in concurrently-executing code; this is an error in the Swift 6 language mode
 94 |             }
 95 |         }.flatten(on: eventLoop).map {
 96 |             self.clients.removeAll { ids.contains($0.id) }
    |                                      `- warning: reference to captured var 'ids' in concurrently-executing code; this is an error in the Swift 6 language mode
 97 |         }.transform(to: self)
 98 |     }
[1828/1832] Compiling WS Subscribable.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:42:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 40 |         /// Send as `text`
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
 44 |                 $0.send(text)
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:43:58: warning: capture of 'text' with non-sendable type 'S' in a '@Sendable' closure
 32 |
 33 | extension _Sendable {
 34 |     func _send<S>(text: S) -> EventLoopFuture<Void> where S : Collection, S.Element == Character {
    |                `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 35 |         /// Send as `binary` instead
 36 |         if exchangeMode == .binary {
    :
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
    |                                                  `- warning: capture of 'text' with non-sendable type 'S' in a '@Sendable' closure
 44 |                 $0.send(text)
 45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:43:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
    |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 44 |                 $0.send(text)
 45 |             }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:43:58: warning: capture of 'text' with non-sendable type 'S' in an isolated closure; this is an error in the Swift 6 language mode
 32 |
 33 | extension _Sendable {
 34 |     func _send<S>(text: S) -> EventLoopFuture<Void> where S : Collection, S.Element == Character {
    |                `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 35 |         /// Send as `binary` instead
 36 |         if exchangeMode == .binary {
    :
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
    |                                                  `- warning: capture of 'text' with non-sendable type 'S' in an isolated closure; this is an error in the Swift 6 language mode
 44 |                 $0.send(text)
 45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:43:58: warning: implicit capture of 'text' requires that 'S' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 32 |
 33 | extension _Sendable {
 34 |     func _send<S>(text: S) -> EventLoopFuture<Void> where S : Collection, S.Element == Character {
    |                `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 35 |         /// Send as `binary` instead
 36 |         if exchangeMode == .binary {
    :
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
    |                                                  `- warning: implicit capture of 'text' requires that 'S' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 44 |                 $0.send(text)
 45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:61:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 59 |         /// Send as `binary`
 60 |         return eventLoop.future().map {
 61 |             self.sockets.forEach {
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 62 |                 self.logger.debug("[⚡️] 📤 bytes: \(bytes.count)")
 63 |                 $0.send(bytes)
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:62:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 60 |         return eventLoop.future().map {
 61 |             self.sockets.forEach {
 62 |                 self.logger.debug("[⚡️] 📤 bytes: \(bytes.count)")
    |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 63 |                 $0.send(bytes)
 64 |             }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:84:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 82 |         /// Send as `binary`
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
 86 |                 $0.send(raw: data, opcode: opcode)
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:85:58: warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
 70 |     }
 71 |
 72 |     func _send<Data>(data: Data, opcode: WebSocketOpcode) -> EventLoopFuture<Void> where Data: DataProtocol {
    |                `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
 73 |         /// Send as `text` instead
 74 |         if exchangeMode == .text {
    :
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
    |                                                  `- warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
 86 |                 $0.send(raw: data, opcode: opcode)
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:85:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
    |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 86 |                 $0.send(raw: data, opcode: opcode)
 87 |             }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:85:58: warning: capture of 'data' with non-sendable type 'Data' in an isolated closure; this is an error in the Swift 6 language mode
 70 |     }
 71 |
 72 |     func _send<Data>(data: Data, opcode: WebSocketOpcode) -> EventLoopFuture<Void> where Data: DataProtocol {
    |                `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
 73 |         /// Send as `text` instead
 74 |         if exchangeMode == .text {
    :
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
    |                                                  `- warning: capture of 'data' with non-sendable type 'Data' in an isolated closure; this is an error in the Swift 6 language mode
 86 |                 $0.send(raw: data, opcode: opcode)
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:85:58: warning: implicit capture of 'data' requires that 'Data' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 70 |     }
 71 |
 72 |     func _send<Data>(data: Data, opcode: WebSocketOpcode) -> EventLoopFuture<Void> where Data: DataProtocol {
    |                `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
 73 |         /// Send as `text` instead
 74 |         if exchangeMode == .text {
    :
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
    |                                                  `- warning: implicit capture of 'data' requires that 'Data' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 86 |                 $0.send(raw: data, opcode: opcode)
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:97:17: warning: capture of 'encoder' with non-sendable type 'any Encoder' in a '@Sendable' closure
 95 |     func _send<C>(model: C, encoder: Encoder) -> EventLoopFuture<Void> where C: Encodable {
 96 |         eventLoop.future().flatMapThrowing {
 97 |             try encoder.encode(model)
    |                 `- warning: capture of 'encoder' with non-sendable type 'any Encoder' in a '@Sendable' closure
 98 |         }.flatMap { data -> EventLoopFuture<Data> in
 99 |             if self.exchangeMode == .text {
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Encoder.swift:3:17: note: protocol 'Encoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Encoder {
  |                 `- note: protocol 'Encoder' does not conform to the 'Sendable' protocol
4 |     func encode<T>(_ value: T) throws -> Data where T : Encodable
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:97:32: warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
 93 |     }
 94 |
 95 |     func _send<C>(model: C, encoder: Encoder) -> EventLoopFuture<Void> where C: Encodable {
    |                `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 96 |         eventLoop.future().flatMapThrowing {
 97 |             try encoder.encode(model)
    |                                `- warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
 98 |         }.flatMap { data -> EventLoopFuture<Data> in
 99 |             if self.exchangeMode == .text {
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:99:16: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 97 |             try encoder.encode(model)
 98 |         }.flatMap { data -> EventLoopFuture<Data> in
 99 |             if self.exchangeMode == .text {
    |                `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
100 |                 return self.eventLoop.future(data)
101 |             }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:104:19: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
102 |             return self.send(data: data).transform(to: data)
103 |         }.flatMap {
104 |             guard self.exchangeMode != .binary,
    |                   `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
105 |                 let text = String(data: $0, encoding: .utf8) else {
106 |                 return self.eventLoop.future()
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:122:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
120 |     func _sendPing() -> EventLoopFuture<Void> {
121 |         eventLoop.future().map {
122 |             self.sockets.forEach { $0.sendPing() }
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
123 |         }
124 |     }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:131:33: warning: capture of 'text' with non-sendable type 'S' in a '@Sendable' closure
128 |
129 | extension EventLoopFuture: Sendable where Value: Sendable {
130 |     public func send<S>(text: S) -> EventLoopFuture<Void> where S : Collection, S.Element == Character {
    |                      `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
131 |         flatMap { $0.send(text: text) }
    |                                 `- warning: capture of 'text' with non-sendable type 'S' in a '@Sendable' closure
132 |     }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:139:33: warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
136 |     }
137 |
138 |     public func send<Data>(data: Data) -> EventLoopFuture<Void> where Data : DataProtocol {
    |                      `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
139 |         flatMap { $0.send(data: data) }
    |                                 `- warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
140 |     }
141 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:143:33: warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
140 |     }
141 |
142 |     public func send<Data>(data: Data, opcode: WebSocketOpcode) -> EventLoopFuture<Void> where Data : DataProtocol {
    |                      `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
143 |         flatMap { $0.send(data: data, opcode: opcode) }
    |                                 `- warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
144 |     }
145 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:147:34: warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
144 |     }
145 |
146 |     public func send<C>(model: C) -> EventLoopFuture<Void> where C : Encodable {
    |                      `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
147 |         flatMap { $0.send(model: model) }
    |                                  `- warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
148 |     }
149 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:151:34: warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
148 |     }
149 |
150 |     public func send<C>(model: C, encoder: Encoder) -> EventLoopFuture<Void> where C : Encodable {
    |                      `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
151 |         flatMap { $0.send(model: model, encoder: encoder) }
    |                                  `- warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:151:50: warning: capture of 'encoder' with non-sendable type 'any Encoder' in a '@Sendable' closure
149 |
150 |     public func send<C>(model: C, encoder: Encoder) -> EventLoopFuture<Void> where C : Encodable {
151 |         flatMap { $0.send(model: model, encoder: encoder) }
    |                                                  `- warning: capture of 'encoder' with non-sendable type 'any Encoder' in a '@Sendable' closure
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Encoder.swift:3:17: note: protocol 'Encoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Encoder {
  |                 `- note: protocol 'Encoder' does not conform to the 'Sendable' protocol
4 |     func encode<T>(_ value: T) throws -> Data where T : Encodable
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:155:34: warning: capture of 'event' with non-sendable type 'EID<T>' in a '@Sendable' closure
153 |
154 |     public func send<T>(event: EID<T>) -> EventLoopFuture<Void> where T : Decodable, T : Encodable {
155 |         flatMap { $0.send(event: event) }
    |                                  `- warning: capture of 'event' with non-sendable type 'EID<T>' in a '@Sendable' closure
156 |     }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/EID.swift:11:15: note: consider making generic struct 'EID' conform to the 'Sendable' protocol
 9 | /// }
10 | /// ```
11 | public struct EID<P: Codable>: Equatable, Hashable, CustomStringConvertible, ExpressibleByStringLiteral {
   |               `- note: consider making generic struct 'EID' conform to the 'Sendable' protocol
12 |     /// The unique id.
13 |     public let id: String
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:159:34: warning: capture of 'event' with non-sendable type 'EID<T>' in a '@Sendable' closure
157 |
158 |     public func send<T>(event: EID<T>, payload: T?) -> EventLoopFuture<Void> where T : Decodable, T : Encodable {
159 |         flatMap { $0.send(event: event, payload: payload) }
    |                                  `- warning: capture of 'event' with non-sendable type 'EID<T>' in a '@Sendable' closure
160 |     }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/EID.swift:11:15: note: consider making generic struct 'EID' conform to the 'Sendable' protocol
 9 | /// }
10 | /// ```
11 | public struct EID<P: Codable>: Equatable, Hashable, CustomStringConvertible, ExpressibleByStringLiteral {
   |               `- note: consider making generic struct 'EID' conform to the 'Sendable' protocol
12 |     /// The unique id.
13 |     public let id: String
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:159:50: warning: capture of 'payload' with non-sendable type 'T?' in a '@Sendable' closure
156 |     }
157 |
158 |     public func send<T>(event: EID<T>, payload: T?) -> EventLoopFuture<Void> where T : Decodable, T : Encodable {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
159 |         flatMap { $0.send(event: event, payload: payload) }
    |                                                  `- warning: capture of 'payload' with non-sendable type 'T?' in a '@Sendable' closure
160 |     }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:25:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
23 | }
24 |
25 | internal protocol _Subscribable: class, Subscribable {
   |                                  `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |     var eventLoop: EventLoop { get }
27 |     var clients: [_AnyClient] { get }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:38:17: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
36 |         self.eventLoop.submit {
37 |             channels.forEach { channel in
38 |                 self.clients.forEach {
   |                 `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
39 |                     $0.channels.insert(channel)
40 |                 }
WS._Subscribable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Subscribable {
2 | Self : WS._Subscribable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:38:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
36 |         self.eventLoop.submit {
37 |             channels.forEach { channel in
38 |                 self.clients.forEach {
   |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
39 |                     $0.channels.insert(channel)
40 |                 }
WS._Subscribable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Subscribable {
2 | Self : WS._Subscribable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:52:17: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
50 |         self.eventLoop.submit {
51 |             channels.forEach { channel in
52 |                 self.clients.forEach {
   |                 `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
53 |                     $0.channels.remove(channel)
54 |                 }
WS._Subscribable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Subscribable {
2 | Self : WS._Subscribable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:52:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
50 |         self.eventLoop.submit {
51 |             channels.forEach { channel in
52 |                 self.clients.forEach {
   |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
53 |                     $0.channels.remove(channel)
54 |                 }
WS._Subscribable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Subscribable {
2 | Self : WS._Subscribable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Broadcaster.swift:92:32: warning: capture of 'client' with non-sendable type 'any AnyClient' in a '@Sendable' closure
 90 |             filter(client).map { leave in
 91 |                 if !leave {
 92 |                     ids.insert(client.id)
    |                                `- warning: capture of 'client' with non-sendable type 'any AnyClient' in a '@Sendable' closure
 93 |                 }
 94 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyClient.swift:5:17: note: protocol 'AnyClient' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | public protocol AnyClient: Broadcastable, Disconnectable, Subscribable, Sendable {
   |                 `- note: protocol 'AnyClient' does not conform to the 'Sendable' protocol
 6 |     var id: UUID { get }
 7 |     var application: Application { get }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Broadcaster.swift:92:21: warning: mutation of captured var 'ids' in concurrently-executing code
 90 |             filter(client).map { leave in
 91 |                 if !leave {
 92 |                     ids.insert(client.id)
    |                     `- warning: mutation of captured var 'ids' in concurrently-executing code
 93 |                 }
 94 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Broadcaster.swift:96:13: warning: capture of 'self' with non-sendable type 'Broadcaster' in a '@Sendable' closure
  4 | import NIOWebSocket
  5 |
  6 | public class Broadcaster: Disconnectable, _Disconnectable, Sendable, _Sendable, Subscribable {
    |              `- note: class 'Broadcaster' does not conform to the 'Sendable' protocol
  7 |     let eventLoop: EventLoop
  8 |     var clients: [AnyClient]
    :
 94 |             }
 95 |         }.flatten(on: eventLoop).map {
 96 |             self.clients.removeAll { ids.contains($0.id) }
    |             `- warning: capture of 'self' with non-sendable type 'Broadcaster' in a '@Sendable' closure
 97 |         }.transform(to: self)
 98 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Broadcaster.swift:96:38: warning: reference to captured var 'ids' in concurrently-executing code; this is an error in the Swift 6 language mode
 94 |             }
 95 |         }.flatten(on: eventLoop).map {
 96 |             self.clients.removeAll { ids.contains($0.id) }
    |                                      `- warning: reference to captured var 'ids' in concurrently-executing code; this is an error in the Swift 6 language mode
 97 |         }.transform(to: self)
 98 |     }
[1829/1832] Compiling WS Broadcaster.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:42:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 40 |         /// Send as `text`
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
 44 |                 $0.send(text)
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:43:58: warning: capture of 'text' with non-sendable type 'S' in a '@Sendable' closure
 32 |
 33 | extension _Sendable {
 34 |     func _send<S>(text: S) -> EventLoopFuture<Void> where S : Collection, S.Element == Character {
    |                `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 35 |         /// Send as `binary` instead
 36 |         if exchangeMode == .binary {
    :
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
    |                                                  `- warning: capture of 'text' with non-sendable type 'S' in a '@Sendable' closure
 44 |                 $0.send(text)
 45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:43:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
    |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 44 |                 $0.send(text)
 45 |             }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:43:58: warning: capture of 'text' with non-sendable type 'S' in an isolated closure; this is an error in the Swift 6 language mode
 32 |
 33 | extension _Sendable {
 34 |     func _send<S>(text: S) -> EventLoopFuture<Void> where S : Collection, S.Element == Character {
    |                `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 35 |         /// Send as `binary` instead
 36 |         if exchangeMode == .binary {
    :
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
    |                                                  `- warning: capture of 'text' with non-sendable type 'S' in an isolated closure; this is an error in the Swift 6 language mode
 44 |                 $0.send(text)
 45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:43:58: warning: implicit capture of 'text' requires that 'S' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 32 |
 33 | extension _Sendable {
 34 |     func _send<S>(text: S) -> EventLoopFuture<Void> where S : Collection, S.Element == Character {
    |                `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 35 |         /// Send as `binary` instead
 36 |         if exchangeMode == .binary {
    :
 41 |         return eventLoop.future().map {
 42 |             self.sockets.forEach {
 43 |                 self.logger.debug("[⚡️] 📤 text: \(text)")
    |                                                  `- warning: implicit capture of 'text' requires that 'S' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 44 |                 $0.send(text)
 45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:61:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 59 |         /// Send as `binary`
 60 |         return eventLoop.future().map {
 61 |             self.sockets.forEach {
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 62 |                 self.logger.debug("[⚡️] 📤 bytes: \(bytes.count)")
 63 |                 $0.send(bytes)
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:62:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 60 |         return eventLoop.future().map {
 61 |             self.sockets.forEach {
 62 |                 self.logger.debug("[⚡️] 📤 bytes: \(bytes.count)")
    |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 63 |                 $0.send(bytes)
 64 |             }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:84:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 82 |         /// Send as `binary`
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
 86 |                 $0.send(raw: data, opcode: opcode)
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:85:58: warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
 70 |     }
 71 |
 72 |     func _send<Data>(data: Data, opcode: WebSocketOpcode) -> EventLoopFuture<Void> where Data: DataProtocol {
    |                `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
 73 |         /// Send as `text` instead
 74 |         if exchangeMode == .text {
    :
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
    |                                                  `- warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
 86 |                 $0.send(raw: data, opcode: opcode)
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:85:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
    |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
 86 |                 $0.send(raw: data, opcode: opcode)
 87 |             }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:85:58: warning: capture of 'data' with non-sendable type 'Data' in an isolated closure; this is an error in the Swift 6 language mode
 70 |     }
 71 |
 72 |     func _send<Data>(data: Data, opcode: WebSocketOpcode) -> EventLoopFuture<Void> where Data: DataProtocol {
    |                `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
 73 |         /// Send as `text` instead
 74 |         if exchangeMode == .text {
    :
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
    |                                                  `- warning: capture of 'data' with non-sendable type 'Data' in an isolated closure; this is an error in the Swift 6 language mode
 86 |                 $0.send(raw: data, opcode: opcode)
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:85:58: warning: implicit capture of 'data' requires that 'Data' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 70 |     }
 71 |
 72 |     func _send<Data>(data: Data, opcode: WebSocketOpcode) -> EventLoopFuture<Void> where Data: DataProtocol {
    |                `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
 73 |         /// Send as `text` instead
 74 |         if exchangeMode == .text {
    :
 83 |         return eventLoop.future().map {
 84 |             self.sockets.forEach {
 85 |                 self.logger.debug("[⚡️] 📤 data: \(data.count)")
    |                                                  `- warning: implicit capture of 'data' requires that 'Data' conforms to 'Sendable'; this is an error in the Swift 6 language mode
 86 |                 $0.send(raw: data, opcode: opcode)
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:97:17: warning: capture of 'encoder' with non-sendable type 'any Encoder' in a '@Sendable' closure
 95 |     func _send<C>(model: C, encoder: Encoder) -> EventLoopFuture<Void> where C: Encodable {
 96 |         eventLoop.future().flatMapThrowing {
 97 |             try encoder.encode(model)
    |                 `- warning: capture of 'encoder' with non-sendable type 'any Encoder' in a '@Sendable' closure
 98 |         }.flatMap { data -> EventLoopFuture<Data> in
 99 |             if self.exchangeMode == .text {
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Encoder.swift:3:17: note: protocol 'Encoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Encoder {
  |                 `- note: protocol 'Encoder' does not conform to the 'Sendable' protocol
4 |     func encode<T>(_ value: T) throws -> Data where T : Encodable
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:97:32: warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
 93 |     }
 94 |
 95 |     func _send<C>(model: C, encoder: Encoder) -> EventLoopFuture<Void> where C: Encodable {
    |                `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 96 |         eventLoop.future().flatMapThrowing {
 97 |             try encoder.encode(model)
    |                                `- warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
 98 |         }.flatMap { data -> EventLoopFuture<Data> in
 99 |             if self.exchangeMode == .text {
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:99:16: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
 97 |             try encoder.encode(model)
 98 |         }.flatMap { data -> EventLoopFuture<Data> in
 99 |             if self.exchangeMode == .text {
    |                `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
100 |                 return self.eventLoop.future(data)
101 |             }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:104:19: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
102 |             return self.send(data: data).transform(to: data)
103 |         }.flatMap {
104 |             guard self.exchangeMode != .binary,
    |                   `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
105 |                 let text = String(data: $0, encoding: .utf8) else {
106 |                 return self.eventLoop.future()
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:122:13: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
120 |     func _sendPing() -> EventLoopFuture<Void> {
121 |         eventLoop.future().map {
122 |             self.sockets.forEach { $0.sendPing() }
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
123 |         }
124 |     }
WS._Sendable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Sendable {
2 | Self : WS._Sendable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:131:33: warning: capture of 'text' with non-sendable type 'S' in a '@Sendable' closure
128 |
129 | extension EventLoopFuture: Sendable where Value: Sendable {
130 |     public func send<S>(text: S) -> EventLoopFuture<Void> where S : Collection, S.Element == Character {
    |                      `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
131 |         flatMap { $0.send(text: text) }
    |                                 `- warning: capture of 'text' with non-sendable type 'S' in a '@Sendable' closure
132 |     }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:139:33: warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
136 |     }
137 |
138 |     public func send<Data>(data: Data) -> EventLoopFuture<Void> where Data : DataProtocol {
    |                      `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
139 |         flatMap { $0.send(data: data) }
    |                                 `- warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
140 |     }
141 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:143:33: warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
140 |     }
141 |
142 |     public func send<Data>(data: Data, opcode: WebSocketOpcode) -> EventLoopFuture<Void> where Data : DataProtocol {
    |                      `- note: consider making generic parameter 'Data' conform to the 'Sendable' protocol
143 |         flatMap { $0.send(data: data, opcode: opcode) }
    |                                 `- warning: capture of 'data' with non-sendable type 'Data' in a '@Sendable' closure
144 |     }
145 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:147:34: warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
144 |     }
145 |
146 |     public func send<C>(model: C) -> EventLoopFuture<Void> where C : Encodable {
    |                      `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
147 |         flatMap { $0.send(model: model) }
    |                                  `- warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
148 |     }
149 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:151:34: warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
148 |     }
149 |
150 |     public func send<C>(model: C, encoder: Encoder) -> EventLoopFuture<Void> where C : Encodable {
    |                      `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
151 |         flatMap { $0.send(model: model, encoder: encoder) }
    |                                  `- warning: capture of 'model' with non-sendable type 'C' in a '@Sendable' closure
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:151:50: warning: capture of 'encoder' with non-sendable type 'any Encoder' in a '@Sendable' closure
149 |
150 |     public func send<C>(model: C, encoder: Encoder) -> EventLoopFuture<Void> where C : Encodable {
151 |         flatMap { $0.send(model: model, encoder: encoder) }
    |                                                  `- warning: capture of 'encoder' with non-sendable type 'any Encoder' in a '@Sendable' closure
152 |     }
153 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Encoder.swift:3:17: note: protocol 'Encoder' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public protocol Encoder {
  |                 `- note: protocol 'Encoder' does not conform to the 'Sendable' protocol
4 |     func encode<T>(_ value: T) throws -> Data where T : Encodable
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:155:34: warning: capture of 'event' with non-sendable type 'EID<T>' in a '@Sendable' closure
153 |
154 |     public func send<T>(event: EID<T>) -> EventLoopFuture<Void> where T : Decodable, T : Encodable {
155 |         flatMap { $0.send(event: event) }
    |                                  `- warning: capture of 'event' with non-sendable type 'EID<T>' in a '@Sendable' closure
156 |     }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/EID.swift:11:15: note: consider making generic struct 'EID' conform to the 'Sendable' protocol
 9 | /// }
10 | /// ```
11 | public struct EID<P: Codable>: Equatable, Hashable, CustomStringConvertible, ExpressibleByStringLiteral {
   |               `- note: consider making generic struct 'EID' conform to the 'Sendable' protocol
12 |     /// The unique id.
13 |     public let id: String
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:159:34: warning: capture of 'event' with non-sendable type 'EID<T>' in a '@Sendable' closure
157 |
158 |     public func send<T>(event: EID<T>, payload: T?) -> EventLoopFuture<Void> where T : Decodable, T : Encodable {
159 |         flatMap { $0.send(event: event, payload: payload) }
    |                                  `- warning: capture of 'event' with non-sendable type 'EID<T>' in a '@Sendable' closure
160 |     }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Models/EID.swift:11:15: note: consider making generic struct 'EID' conform to the 'Sendable' protocol
 9 | /// }
10 | /// ```
11 | public struct EID<P: Codable>: Equatable, Hashable, CustomStringConvertible, ExpressibleByStringLiteral {
   |               `- note: consider making generic struct 'EID' conform to the 'Sendable' protocol
12 |     /// The unique id.
13 |     public let id: String
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Sendable.swift:159:50: warning: capture of 'payload' with non-sendable type 'T?' in a '@Sendable' closure
156 |     }
157 |
158 |     public func send<T>(event: EID<T>, payload: T?) -> EventLoopFuture<Void> where T : Decodable, T : Encodable {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
159 |         flatMap { $0.send(event: event, payload: payload) }
    |                                                  `- warning: capture of 'payload' with non-sendable type 'T?' in a '@Sendable' closure
160 |     }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:25:34: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
23 | }
24 |
25 | internal protocol _Subscribable: class, Subscribable {
   |                                  `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
26 |     var eventLoop: EventLoop { get }
27 |     var clients: [_AnyClient] { get }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:38:17: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
36 |         self.eventLoop.submit {
37 |             channels.forEach { channel in
38 |                 self.clients.forEach {
   |                 `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
39 |                     $0.channels.insert(channel)
40 |                 }
WS._Subscribable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Subscribable {
2 | Self : WS._Subscribable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:38:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
36 |         self.eventLoop.submit {
37 |             channels.forEach { channel in
38 |                 self.clients.forEach {
   |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
39 |                     $0.channels.insert(channel)
40 |                 }
WS._Subscribable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Subscribable {
2 | Self : WS._Subscribable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:52:17: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
50 |         self.eventLoop.submit {
51 |             channels.forEach { channel in
52 |                 self.clients.forEach {
   |                 `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
53 |                     $0.channels.remove(channel)
54 |                 }
WS._Subscribable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Subscribable {
2 | Self : WS._Subscribable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/Subscribable.swift:52:17: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
50 |         self.eventLoop.submit {
51 |             channels.forEach { channel in
52 |                 self.clients.forEach {
   |                 `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
53 |                     $0.channels.remove(channel)
54 |                 }
WS._Subscribable.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol _Subscribable {
2 | Self : WS._Subscribable}
  | `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Broadcaster.swift:92:32: warning: capture of 'client' with non-sendable type 'any AnyClient' in a '@Sendable' closure
 90 |             filter(client).map { leave in
 91 |                 if !leave {
 92 |                     ids.insert(client.id)
    |                                `- warning: capture of 'client' with non-sendable type 'any AnyClient' in a '@Sendable' closure
 93 |                 }
 94 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Protocols/AnyClient.swift:5:17: note: protocol 'AnyClient' does not conform to the 'Sendable' protocol
 3 | import NIOWebSocket
 4 |
 5 | public protocol AnyClient: Broadcastable, Disconnectable, Subscribable, Sendable {
   |                 `- note: protocol 'AnyClient' does not conform to the 'Sendable' protocol
 6 |     var id: UUID { get }
 7 |     var application: Application { get }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Broadcaster.swift:92:21: warning: mutation of captured var 'ids' in concurrently-executing code
 90 |             filter(client).map { leave in
 91 |                 if !leave {
 92 |                     ids.insert(client.id)
    |                     `- warning: mutation of captured var 'ids' in concurrently-executing code
 93 |                 }
 94 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Broadcaster.swift:96:13: warning: capture of 'self' with non-sendable type 'Broadcaster' in a '@Sendable' closure
  4 | import NIOWebSocket
  5 |
  6 | public class Broadcaster: Disconnectable, _Disconnectable, Sendable, _Sendable, Subscribable {
    |              `- note: class 'Broadcaster' does not conform to the 'Sendable' protocol
  7 |     let eventLoop: EventLoop
  8 |     var clients: [AnyClient]
    :
 94 |             }
 95 |         }.flatten(on: eventLoop).map {
 96 |             self.clients.removeAll { ids.contains($0.id) }
    |             `- warning: capture of 'self' with non-sendable type 'Broadcaster' in a '@Sendable' closure
 97 |         }.transform(to: self)
 98 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Broadcaster.swift:96:38: warning: reference to captured var 'ids' in concurrently-executing code; this is an error in the Swift 6 language mode
 94 |             }
 95 |         }.flatten(on: eventLoop).map {
 96 |             self.clients.removeAll { ids.contains($0.id) }
    |                                      `- warning: reference to captured var 'ids' in concurrently-executing code; this is an error in the Swift 6 language mode
 97 |         }.transform(to: self)
 98 |     }
[1830/1832] Compiling WS DefaultDateFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/DefaultDateFormatter.swift:3:7: warning: class 'DefaultDateFormatter' must restate inherited '@unchecked Sendable' conformance
 1 | import Foundation
 2 |
 3 | class DefaultDateFormatter: DateFormatter {
   |       `- warning: class 'DefaultDateFormatter' must restate inherited '@unchecked Sendable' conformance
 4 |     func setup() {
 5 |         self.calendar = Calendar(identifier: .iso8601)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/EndpointBuilder.swift:74:99: warning: converting non-sendable function value to '@Sendable (Request, WebSocket) -> ()' may introduce data races
 72 |
 73 |         application.wsStorage[wsid.key] = observer
 74 |         WSRoute(root: application.grouped(middlewares), path: path).webSocket(onUpgrade: observer.handle)
    |                                                                                                   `- warning: converting non-sendable function value to '@Sendable (Request, WebSocket) -> ()' may introduce data races
 75 |
 76 |         let observerType = String(describing: Observer.self)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Storage.swift:7:12: warning: type '_Storage.Key.Value' (aka '_Storage') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 2 | import Vapor
 3 |
 4 | class _Storage {
   |       `- note: class '_Storage' does not conform to the 'Sendable' protocol
 5 |     var items: [String: AnyObserver] = [:]
 6 |
 7 |     struct Key: StorageKey {
   |            `- warning: type '_Storage.Key.Value' (aka '_Storage') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 |         typealias Value = _Storage
 9 |     }
[1831/1832] Compiling WS EndpointBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/DefaultDateFormatter.swift:3:7: warning: class 'DefaultDateFormatter' must restate inherited '@unchecked Sendable' conformance
 1 | import Foundation
 2 |
 3 | class DefaultDateFormatter: DateFormatter {
   |       `- warning: class 'DefaultDateFormatter' must restate inherited '@unchecked Sendable' conformance
 4 |     func setup() {
 5 |         self.calendar = Calendar(identifier: .iso8601)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/EndpointBuilder.swift:74:99: warning: converting non-sendable function value to '@Sendable (Request, WebSocket) -> ()' may introduce data races
 72 |
 73 |         application.wsStorage[wsid.key] = observer
 74 |         WSRoute(root: application.grouped(middlewares), path: path).webSocket(onUpgrade: observer.handle)
    |                                                                                                   `- warning: converting non-sendable function value to '@Sendable (Request, WebSocket) -> ()' may introduce data races
 75 |
 76 |         let observerType = String(describing: Observer.self)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Storage.swift:7:12: warning: type '_Storage.Key.Value' (aka '_Storage') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 2 | import Vapor
 3 |
 4 | class _Storage {
   |       `- note: class '_Storage' does not conform to the 'Sendable' protocol
 5 |     var items: [String: AnyObserver] = [:]
 6 |
 7 |     struct Key: StorageKey {
   |            `- warning: type '_Storage.Key.Value' (aka '_Storage') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 |         typealias Value = _Storage
 9 |     }
[1832/1832] Compiling WS Storage.swift
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/DefaultDateFormatter.swift:3:7: warning: class 'DefaultDateFormatter' must restate inherited '@unchecked Sendable' conformance
 1 | import Foundation
 2 |
 3 | class DefaultDateFormatter: DateFormatter {
   |       `- warning: class 'DefaultDateFormatter' must restate inherited '@unchecked Sendable' conformance
 4 |     func setup() {
 5 |         self.calendar = Calendar(identifier: .iso8601)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/EndpointBuilder.swift:74:99: warning: converting non-sendable function value to '@Sendable (Request, WebSocket) -> ()' may introduce data races
 72 |
 73 |         application.wsStorage[wsid.key] = observer
 74 |         WSRoute(root: application.grouped(middlewares), path: path).webSocket(onUpgrade: observer.handle)
    |                                                                                                   `- warning: converting non-sendable function value to '@Sendable (Request, WebSocket) -> ()' may introduce data races
 75 |
 76 |         let observerType = String(describing: Observer.self)
/Users/admin/builder/spi-builder-workspace/Sources/WS/Utilities/Storage.swift:7:12: warning: type '_Storage.Key.Value' (aka '_Storage') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 2 | import Vapor
 3 |
 4 | class _Storage {
   |       `- note: class '_Storage' does not conform to the 'Sendable' protocol
 5 |     var items: [String: AnyObserver] = [:]
 6 |
 7 |     struct Key: StorageKey {
   |            `- warning: type '_Storage.Key.Value' (aka '_Storage') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 |         typealias Value = _Storage
 9 |     }
Build complete! (46.89s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "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"
    }
  ],
  "manifest_display_name" : "AwesomeWS",
  "name" : "AwesomeWS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "WS",
      "targets" : [
        "WS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WSTests",
      "module_type" : "SwiftTarget",
      "name" : "WSTests",
      "path" : "Tests/WSTests",
      "product_dependencies" : [
        "WebSocketKit"
      ],
      "sources" : [
        "WSTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "WS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WS",
      "module_type" : "SwiftTarget",
      "name" : "WS",
      "path" : "Sources/WS",
      "product_dependencies" : [
        "Vapor",
        "WebSocketKit"
      ],
      "product_memberships" : [
        "WS"
      ],
      "sources" : [
        "Enums/ExchangeMode.swift",
        "Extensions/Application+Configurator.swift",
        "Extensions/HTTPServerConfiguration+Address.swift",
        "Extensions/Request+Observer.swift",
        "Models/Configurator.swift",
        "Models/EID.swift",
        "Models/Event.swift",
        "Models/Nothing.swift",
        "Models/OriginalRequest.swift",
        "Models/WSID.swift",
        "Objects/Client.swift",
        "Observers/BaseObserver.swift",
        "Observers/BindableObserver.swift",
        "Observers/ClassicObserver.swift",
        "Observers/DeclarativeObserver.swift",
        "Protocols/AnyClient.swift",
        "Protocols/AnyObserver.swift",
        "Protocols/Bindable.swift",
        "Protocols/Broadcastable.swift",
        "Protocols/Declarativable.swift",
        "Protocols/Decoder.swift",
        "Protocols/Delegate.swift",
        "Protocols/Disconnectable.swift",
        "Protocols/Encoder.swift",
        "Protocols/Loggable.swift",
        "Protocols/Sendable.swift",
        "Protocols/Subscribable.swift",
        "Utilities/Broadcaster.swift",
        "Utilities/DefaultDateFormatter.swift",
        "Utilities/EndpointBuilder.swift",
        "Utilities/Storage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.