Build Information
Successful build of LCLPing, reference main (436006
), with Swift 6.0 for macOS (SPM) on 10 Apr 2025 23:10:50 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to `Sendable`; this is an error in the Swift 6 language mode
177 | }
178 |
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:39: warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a `@Sendable` closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a `@Sendable` closure
197 | }
198 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to `Sendable`; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to `Sendable`; this is an error in the Swift 6 language mode
197 | }
198 | }
[1006/1031] Compiling LCLPing TrafficControllerChannelHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:172:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure
170 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to read data in \(self.networkLinkConfig.inDelay) ms. Should duplicate: \(shouldDuplicatePacket)")
171 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.inDelay)) {
172 | context.fireChannelRead(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure
173 | if shouldDuplicatePacket {
174 | context.fireChannelRead(data)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:172:37: warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure
170 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to read data in \(self.networkLinkConfig.inDelay) ms. Should duplicate: \(shouldDuplicatePacket)")
171 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.inDelay)) {
172 | context.fireChannelRead(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure
173 | if shouldDuplicatePacket {
174 | context.fireChannelRead(data)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:176:97: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a `@Sendable` closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a `@Sendable` closure
177 | }
178 |
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:176:97: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to `Sendable`; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to `Sendable`; this is an error in the Swift 6 language mode
177 | }
178 |
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:39: warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a `@Sendable` closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a `@Sendable` closure
197 | }
198 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to `Sendable`; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to `Sendable`; this is an error in the Swift 6 language mode
197 | }
198 | }
[1007/1031] Compiling LCLPing Constants.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:172:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure
170 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to read data in \(self.networkLinkConfig.inDelay) ms. Should duplicate: \(shouldDuplicatePacket)")
171 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.inDelay)) {
172 | context.fireChannelRead(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure
173 | if shouldDuplicatePacket {
174 | context.fireChannelRead(data)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:172:37: warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure
170 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to read data in \(self.networkLinkConfig.inDelay) ms. Should duplicate: \(shouldDuplicatePacket)")
171 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.inDelay)) {
172 | context.fireChannelRead(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure
173 | if shouldDuplicatePacket {
174 | context.fireChannelRead(data)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:176:97: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a `@Sendable` closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a `@Sendable` closure
177 | }
178 |
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:176:97: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to `Sendable`; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
174 | context.fireChannelRead(data)
175 | }
176 | logger.debug("[\(#fileID)][\(#line)][\(#function)] fireChannelRead after delaying \(self.networkLinkConfig.inDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to `Sendable`; this is an error in the Swift 6 language mode
177 | }
178 |
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:195:39: warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure
193 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: schedule to send data in \(self.networkLinkConfig.outDelay) ms")
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
| `- warning: capture of 'data' with non-sendable type 'NIOAny' in a `@Sendable` closure
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
197 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/NIOAny.swift:45:15: note: struct 'NIOAny' does not conform to the 'Sendable' protocol
43 | /// }
44 | /// }
45 | public struct NIOAny {
| `- note: struct 'NIOAny' does not conform to the 'Sendable' protocol
46 | @usableFromInline
47 | let _storage: _NIOAny
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a `@Sendable` closure
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: capture of 'self' with non-sendable type 'TrafficControllerChannelHandler' in a `@Sendable` closure
197 | }
198 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/TestUtils/TrafficControllerChannelHandler.swift:196:96: warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to `Sendable`; this is an error in the Swift 6 language mode
19 | ///
20 | /// - Note: This channel handler should usually be placed at the first position in the channel handlers pipeline.
21 | final class TrafficControllerChannelHandler: ChannelDuplexHandler {
| `- note: class 'TrafficControllerChannelHandler' does not conform to the 'Sendable' protocol
22 |
23 | /// The configuration to simulate different network conditions.
:
194 | context.eventLoop.scheduleTask(in: .milliseconds(self.networkLinkConfig.outDelay)) {
195 | _ = context.writeAndFlush(data)
196 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: writeAndFlush after delaying \(self.networkLinkConfig.outDelay) ms")
| `- warning: implicit capture of 'self' requires that 'TrafficControllerChannelHandler' conforms to `Sendable`; this is an error in the Swift 6 language mode
197 | }
198 | }
[1008/1031] Compiling LCLPing HTTPLatency.swift
[1009/1031] Compiling LCLPing PingResponse.swift
[1010/1031] Compiling LCLPing PingResult.swift
[1011/1031] Compiling LCLPing Hex.swift
[1012/1031] Compiling LCLPing LCLPing+Array.swift
[1013/1031] Compiling LCLPing LCLPing+ChannelOption.swift
[1014/1031] Compiling LCLPing Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:86:13: warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a `@Sendable` closure
17 | import NIOHTTP1
18 |
19 | internal final class HTTPTracingHandler: ChannelDuplexHandler {
| `- note: class 'HTTPTracingHandler' does not conform to the 'Sendable' protocol
20 | typealias InboundIn = HTTPClientResponsePart
21 | typealias InboundOut = PingResponse
:
84 | self.handler.handleWrite(request: request)
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
| `- warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a `@Sendable` closure
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a `@Sendable` closure
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a `@Sendable` closure
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to `Sendable`; this is an error in the Swift 6 language mode
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to `Sendable`; this is an error in the Swift 6 language mode
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:93:21: warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a `@Sendable` closure
22 | /// Caller needs to provide a configuration that set the way the HTTP client initiates tests.
23 | /// Caller can cancel the test via `cancel()`.
24 | public final class HTTPPingClient: Pingable {
| `- note: class 'HTTPPingClient' does not conform to the 'Sendable' protocol
25 |
26 | private enum State {
:
91 | state = .running
92 | return try self.pingClient.start().always { _ in
93 | self.state.withLockedValue { state in
| `- warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a `@Sendable` closure
94 | state = .idle
95 | }
[1015/1031] Compiling LCLPing HTTPChannelHandlers.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:86:13: warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a `@Sendable` closure
17 | import NIOHTTP1
18 |
19 | internal final class HTTPTracingHandler: ChannelDuplexHandler {
| `- note: class 'HTTPTracingHandler' does not conform to the 'Sendable' protocol
20 | typealias InboundIn = HTTPClientResponsePart
21 | typealias InboundOut = PingResponse
:
84 | self.handler.handleWrite(request: request)
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
| `- warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a `@Sendable` closure
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a `@Sendable` closure
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a `@Sendable` closure
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to `Sendable`; this is an error in the Swift 6 language mode
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to `Sendable`; this is an error in the Swift 6 language mode
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:93:21: warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a `@Sendable` closure
22 | /// Caller needs to provide a configuration that set the way the HTTP client initiates tests.
23 | /// Caller can cancel the test via `cancel()`.
24 | public final class HTTPPingClient: Pingable {
| `- note: class 'HTTPPingClient' does not conform to the 'Sendable' protocol
25 |
26 | private enum State {
:
91 | state = .running
92 | return try self.pingClient.start().always { _ in
93 | self.state.withLockedValue { state in
| `- warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a `@Sendable` closure
94 | state = .idle
95 | }
[1016/1031] Compiling LCLPing HTTPHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:86:13: warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a `@Sendable` closure
17 | import NIOHTTP1
18 |
19 | internal final class HTTPTracingHandler: ChannelDuplexHandler {
| `- note: class 'HTTPTracingHandler' does not conform to the 'Sendable' protocol
20 | typealias InboundIn = HTTPClientResponsePart
21 | typealias InboundOut = PingResponse
:
84 | self.handler.handleWrite(request: request)
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
| `- warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a `@Sendable` closure
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a `@Sendable` closure
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a `@Sendable` closure
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to `Sendable`; this is an error in the Swift 6 language mode
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to `Sendable`; this is an error in the Swift 6 language mode
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:93:21: warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a `@Sendable` closure
22 | /// Caller needs to provide a configuration that set the way the HTTP client initiates tests.
23 | /// Caller can cancel the test via `cancel()`.
24 | public final class HTTPPingClient: Pingable {
| `- note: class 'HTTPPingClient' does not conform to the 'Sendable' protocol
25 |
26 | private enum State {
:
91 | state = .running
92 | return try self.pingClient.start().always { _ in
93 | self.state.withLockedValue { state in
| `- warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a `@Sendable` closure
94 | state = .idle
95 | }
[1017/1031] Compiling LCLPing HTTPPingClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:86:13: warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a `@Sendable` closure
17 | import NIOHTTP1
18 |
19 | internal final class HTTPTracingHandler: ChannelDuplexHandler {
| `- note: class 'HTTPTracingHandler' does not conform to the 'Sendable' protocol
20 | typealias InboundIn = HTTPClientResponsePart
21 | typealias InboundOut = PingResponse
:
84 | self.handler.handleWrite(request: request)
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
| `- warning: capture of 'self' with non-sendable type 'HTTPTracingHandler' in a `@Sendable` closure
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a `@Sendable` closure
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: capture of 'request' with non-sendable type 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') in a `@Sendable` closure
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPChannelHandlers.swift:87:67: warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to `Sendable`; this is an error in the Swift 6 language mode
85 | self.timer = context.eventLoop.scheduleTask(in: self.configuration.readTimeout) {
86 | self.timer = nil
87 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: \(request.sequenceNumber) timeout!")
| `- warning: implicit capture of 'request' requires that 'HTTPTracingHandler.OutboundIn' (aka 'HTTPPingClient.Request') conforms to `Sendable`; this is an error in the Swift 6 language mode
88 | self.handler.handleTimeout(sequenceNumber: request.sequenceNumber)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:93:21: warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a `@Sendable` closure
22 | /// Caller needs to provide a configuration that set the way the HTTP client initiates tests.
23 | /// Caller can cancel the test via `cancel()`.
24 | public final class HTTPPingClient: Pingable {
| `- note: class 'HTTPPingClient' does not conform to the 'Sendable' protocol
25 |
26 | private enum State {
:
91 | state = .running
92 | return try self.pingClient.start().always { _ in
93 | self.state.withLockedValue { state in
| `- warning: capture of 'self' with non-sendable type 'HTTPPingClient' in a `@Sendable` closure
94 | state = .idle
95 | }
[1018/1031] Compiling LCLPing LCLPing+TimeInterval.swift
[1019/1031] Compiling LCLPing ObjectDecoder.swift
[1020/1031] Compiling LCLPing Utilities.swift
[1021/1031] Emitting module LCLPing
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:19:17: warning: stored property 'config' of 'Sendable'-conforming class 'URLSessionClient' has non-sendable type 'HTTPPingClient.Configuration'; this is an error in the Swift 6 language mode
17 | final class URLSessionClient: NSObject, Pingable {
18 | private let promise: EventLoopPromise<PingSummary>
19 | private let config: HTTPPingClient.Configuration
| `- warning: stored property 'config' of 'Sendable'-conforming class 'URLSessionClient' has non-sendable type 'HTTPPingClient.Configuration'; this is an error in the Swift 6 language mode
20 | private let resolvedAddress: SocketAddress
21 | private var results: [Int: PingResponse] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:133:19: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
131 |
132 | /// The configuration that will be used to configure the HTTP Ping Client.
133 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
134 |
135 | /// Default HTTP header
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:21:17: warning: stored property 'results' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
19 | private let config: HTTPPingClient.Configuration
20 | private let resolvedAddress: SocketAddress
21 | private var results: [Int: PingResponse] = [:]
| `- warning: stored property 'results' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
22 | private var taskToSeqNum: [Int: Int] = [:]
23 | private var taskToLatency: [Int: Double] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:83:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PingSummary' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
:
81 |
82 | /// An empty summary.
83 | static let empty = PingSummary(
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PingSummary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | min: .zero,
85 | max: .zero,
[1022/1031] Compiling LCLPing HTTPSchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:85:41: warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
85 | channel.write(request, promise: nil)
| `- warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
86 | }
87 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:106:56: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:78:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
76 | switch result {
77 | case .success(let channel):
78 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
79 | channels.append(channel)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:84:47: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
82 | logger.debug("Scheduled #\(cnt) request")
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
85 | channel.write(request, promise: nil)
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:90:33: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
88 | promise.fail(error)
89 | self.stateLock.withLockVoid {
90 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
91 | }
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:96:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
94 |
95 | promise.futureResult.whenComplete { res in
96 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
97 | if !channels.isEmpty {
98 | channels.removeFirst()
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:105:48: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
103 | self.responses.withLockedValue {
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:118:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
116 | switch result {
117 | case .success:
118 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
119 | self.state = .finished
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:119:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
117 | case .success:
118 | self.stateLock.withLockVoid {
119 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
120 | }
121 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:123:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
121 | case .failure:
122 | self.stateLock.withLockVoid {
123 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:146:40: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
144 | }
145 | self.responses.withLockedValue {
146 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
147 | }
148 | shutdown()
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:170:20: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
168 | .connectTimeout(self.configuration.connectionTimeout)
169 | .channelInitializer { channel in
170 | if self.configuration.schema.enableTLS {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
171 | do {
172 | let tlsConfiguration = TLSConfiguration.makeClientConfiguration()
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:211:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
209 | case .unixDomainSocket:
210 | self.stateLock.withLock {
211 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
212 | }
213 | return channel.eventLoop.makeFailedFuture(PingError.icmpBindToUnixDomainSocket)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:19:17: warning: stored property 'config' of 'Sendable'-conforming class 'URLSessionClient' has non-sendable type 'HTTPPingClient.Configuration'; this is an error in the Swift 6 language mode
17 | final class URLSessionClient: NSObject, Pingable {
18 | private let promise: EventLoopPromise<PingSummary>
19 | private let config: HTTPPingClient.Configuration
| `- warning: stored property 'config' of 'Sendable'-conforming class 'URLSessionClient' has non-sendable type 'HTTPPingClient.Configuration'; this is an error in the Swift 6 language mode
20 | private let resolvedAddress: SocketAddress
21 | private var results: [Int: PingResponse] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:133:19: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
131 |
132 | /// The configuration that will be used to configure the HTTP Ping Client.
133 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
134 |
135 | /// Default HTTP header
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:21:17: warning: stored property 'results' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
19 | private let config: HTTPPingClient.Configuration
20 | private let resolvedAddress: SocketAddress
21 | private var results: [Int: PingResponse] = [:]
| `- warning: stored property 'results' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
22 | private var taskToSeqNum: [Int: Int] = [:]
23 | private var taskToLatency: [Int: Double] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:81:26: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
79 | if self.config.count == self.results.count || shouldForceClose {
80 | let summary = self.results.sorted { $0.key < $1.key }.map { $0.value }.summarize(host: self.resolvedAddress)
81 | self.promise.succeed(summary)
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPChannelHandlers.swift:71:13: warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a `@Sendable` closure
15 | import NIOCore
16 |
17 | internal final class ICMPDuplexer: ChannelDuplexHandler {
| `- note: class 'ICMPDuplexer' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ICMPPingClient.ICMPHeader
19 | typealias InboundOut = PingResponse
:
69 | let scheduledTimer = context.eventLoop.scheduleTask(in: self.configuration.timeout) {
70 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: timer for \(request.sequenceNum) is invoked => time out!")
71 | self.timer.removeValue(forKey: request.sequenceNum)
| `- warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a `@Sendable` closure
72 | self.handler.handleTimeout(sequenceNumber: Int(request.sequenceNum))
73 | }
[1023/1031] Compiling LCLPing NIOHTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:85:41: warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
85 | channel.write(request, promise: nil)
| `- warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
86 | }
87 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:106:56: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:78:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
76 | switch result {
77 | case .success(let channel):
78 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
79 | channels.append(channel)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:84:47: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
82 | logger.debug("Scheduled #\(cnt) request")
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
85 | channel.write(request, promise: nil)
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:90:33: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
88 | promise.fail(error)
89 | self.stateLock.withLockVoid {
90 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
91 | }
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:96:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
94 |
95 | promise.futureResult.whenComplete { res in
96 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
97 | if !channels.isEmpty {
98 | channels.removeFirst()
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:105:48: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
103 | self.responses.withLockedValue {
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:118:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
116 | switch result {
117 | case .success:
118 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
119 | self.state = .finished
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:119:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
117 | case .success:
118 | self.stateLock.withLockVoid {
119 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
120 | }
121 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:123:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
121 | case .failure:
122 | self.stateLock.withLockVoid {
123 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:146:40: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
144 | }
145 | self.responses.withLockedValue {
146 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
147 | }
148 | shutdown()
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:170:20: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
168 | .connectTimeout(self.configuration.connectionTimeout)
169 | .channelInitializer { channel in
170 | if self.configuration.schema.enableTLS {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
171 | do {
172 | let tlsConfiguration = TLSConfiguration.makeClientConfiguration()
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:211:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
209 | case .unixDomainSocket:
210 | self.stateLock.withLock {
211 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
212 | }
213 | return channel.eventLoop.makeFailedFuture(PingError.icmpBindToUnixDomainSocket)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:19:17: warning: stored property 'config' of 'Sendable'-conforming class 'URLSessionClient' has non-sendable type 'HTTPPingClient.Configuration'; this is an error in the Swift 6 language mode
17 | final class URLSessionClient: NSObject, Pingable {
18 | private let promise: EventLoopPromise<PingSummary>
19 | private let config: HTTPPingClient.Configuration
| `- warning: stored property 'config' of 'Sendable'-conforming class 'URLSessionClient' has non-sendable type 'HTTPPingClient.Configuration'; this is an error in the Swift 6 language mode
20 | private let resolvedAddress: SocketAddress
21 | private var results: [Int: PingResponse] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:133:19: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
131 |
132 | /// The configuration that will be used to configure the HTTP Ping Client.
133 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
134 |
135 | /// Default HTTP header
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:21:17: warning: stored property 'results' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
19 | private let config: HTTPPingClient.Configuration
20 | private let resolvedAddress: SocketAddress
21 | private var results: [Int: PingResponse] = [:]
| `- warning: stored property 'results' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
22 | private var taskToSeqNum: [Int: Int] = [:]
23 | private var taskToLatency: [Int: Double] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:81:26: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
79 | if self.config.count == self.results.count || shouldForceClose {
80 | let summary = self.results.sorted { $0.key < $1.key }.map { $0.value }.summarize(host: self.resolvedAddress)
81 | self.promise.succeed(summary)
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPChannelHandlers.swift:71:13: warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a `@Sendable` closure
15 | import NIOCore
16 |
17 | internal final class ICMPDuplexer: ChannelDuplexHandler {
| `- note: class 'ICMPDuplexer' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ICMPPingClient.ICMPHeader
19 | typealias InboundOut = PingResponse
:
69 | let scheduledTimer = context.eventLoop.scheduleTask(in: self.configuration.timeout) {
70 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: timer for \(request.sequenceNum) is invoked => time out!")
71 | self.timer.removeValue(forKey: request.sequenceNum)
| `- warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a `@Sendable` closure
72 | self.handler.handleTimeout(sequenceNumber: Int(request.sequenceNum))
73 | }
[1024/1031] Compiling LCLPing URLSessionClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:85:41: warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
85 | channel.write(request, promise: nil)
| `- warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
86 | }
87 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:106:56: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:78:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
76 | switch result {
77 | case .success(let channel):
78 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
79 | channels.append(channel)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:84:47: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
82 | logger.debug("Scheduled #\(cnt) request")
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
85 | channel.write(request, promise: nil)
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:90:33: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
88 | promise.fail(error)
89 | self.stateLock.withLockVoid {
90 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
91 | }
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:96:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
94 |
95 | promise.futureResult.whenComplete { res in
96 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
97 | if !channels.isEmpty {
98 | channels.removeFirst()
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:105:48: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
103 | self.responses.withLockedValue {
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:118:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
116 | switch result {
117 | case .success:
118 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
119 | self.state = .finished
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:119:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
117 | case .success:
118 | self.stateLock.withLockVoid {
119 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
120 | }
121 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:123:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
121 | case .failure:
122 | self.stateLock.withLockVoid {
123 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:146:40: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
144 | }
145 | self.responses.withLockedValue {
146 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
147 | }
148 | shutdown()
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:170:20: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
168 | .connectTimeout(self.configuration.connectionTimeout)
169 | .channelInitializer { channel in
170 | if self.configuration.schema.enableTLS {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
171 | do {
172 | let tlsConfiguration = TLSConfiguration.makeClientConfiguration()
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:211:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
209 | case .unixDomainSocket:
210 | self.stateLock.withLock {
211 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
212 | }
213 | return channel.eventLoop.makeFailedFuture(PingError.icmpBindToUnixDomainSocket)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:19:17: warning: stored property 'config' of 'Sendable'-conforming class 'URLSessionClient' has non-sendable type 'HTTPPingClient.Configuration'; this is an error in the Swift 6 language mode
17 | final class URLSessionClient: NSObject, Pingable {
18 | private let promise: EventLoopPromise<PingSummary>
19 | private let config: HTTPPingClient.Configuration
| `- warning: stored property 'config' of 'Sendable'-conforming class 'URLSessionClient' has non-sendable type 'HTTPPingClient.Configuration'; this is an error in the Swift 6 language mode
20 | private let resolvedAddress: SocketAddress
21 | private var results: [Int: PingResponse] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:133:19: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
131 |
132 | /// The configuration that will be used to configure the HTTP Ping Client.
133 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
134 |
135 | /// Default HTTP header
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:21:17: warning: stored property 'results' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
19 | private let config: HTTPPingClient.Configuration
20 | private let resolvedAddress: SocketAddress
21 | private var results: [Int: PingResponse] = [:]
| `- warning: stored property 'results' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
22 | private var taskToSeqNum: [Int: Int] = [:]
23 | private var taskToLatency: [Int: Double] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:81:26: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
79 | if self.config.count == self.results.count || shouldForceClose {
80 | let summary = self.results.sorted { $0.key < $1.key }.map { $0.value }.summarize(host: self.resolvedAddress)
81 | self.promise.succeed(summary)
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPChannelHandlers.swift:71:13: warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a `@Sendable` closure
15 | import NIOCore
16 |
17 | internal final class ICMPDuplexer: ChannelDuplexHandler {
| `- note: class 'ICMPDuplexer' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ICMPPingClient.ICMPHeader
19 | typealias InboundOut = PingResponse
:
69 | let scheduledTimer = context.eventLoop.scheduleTask(in: self.configuration.timeout) {
70 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: timer for \(request.sequenceNum) is invoked => time out!")
71 | self.timer.removeValue(forKey: request.sequenceNum)
| `- warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a `@Sendable` closure
72 | self.handler.handleTimeout(sequenceNumber: Int(request.sequenceNum))
73 | }
[1025/1031] Compiling LCLPing ICMPChannelHandlers.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:85:41: warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
85 | channel.write(request, promise: nil)
| `- warning: type 'HTTPPingClient.Request' does not conform to the 'Sendable' protocol
86 | }
87 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:124:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
122 | ///
123 | /// The information in this data will be used to construct the corresponding HTTP request.
124 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
125 | /// The sequence number of the ICMP test. This number should be monotonically increasing.
126 | let sequenceNumber: Int
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:106:56: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
107 | }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:78:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
76 | switch result {
77 | case .success(let channel):
78 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
79 | channels.append(channel)
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:84:47: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
82 | logger.debug("Scheduled #\(cnt) request")
83 | channel.eventLoop.scheduleTask(in: self.configuration.readTimeout * cnt) {
84 | let request = self.configuration.makeHTTPRequest(for: cnt)
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
85 | channel.write(request, promise: nil)
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:90:33: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
88 | promise.fail(error)
89 | self.stateLock.withLockVoid {
90 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
91 | }
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:96:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
94 |
95 | promise.futureResult.whenComplete { res in
96 | self.channels.withLockedValue { channels in
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
97 | if !channels.isEmpty {
98 | channels.removeFirst()
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:105:48: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
103 | self.responses.withLockedValue {
104 | $0.append(response)
105 | if $0.count == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:118:25: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
116 | switch result {
117 | case .success:
118 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
119 | self.state = .finished
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:119:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
117 | case .success:
118 | self.stateLock.withLockVoid {
119 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
120 | }
121 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:123:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
121 | case .failure:
122 | self.stateLock.withLockVoid {
123 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
124 | }
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:146:40: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
144 | }
145 | self.responses.withLockedValue {
146 | self.resultPromise.succeed($0.summarize(host: resolvedAddress))
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
147 | }
148 | shutdown()
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:170:20: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
168 | .connectTimeout(self.configuration.connectionTimeout)
169 | .channelInitializer { channel in
170 | if self.configuration.schema.enableTLS {
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in a `@Sendable` closure
171 | do {
172 | let tlsConfiguration = TLSConfiguration.makeClientConfiguration()
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/NIOHTTPClient.swift:211:29: warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
18 | import NIOConcurrencyHelpers
19 |
20 | final class NIOHTTPClient: Pingable {
| `- note: class 'NIOHTTPClient' does not conform to the 'Sendable' protocol
21 | private let eventLoopGroup: EventLoopGroup
22 | private let configuration: HTTPPingClient.Configuration
:
209 | case .unixDomainSocket:
210 | self.stateLock.withLock {
211 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'NIOHTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
212 | }
213 | return channel.eventLoop.makeFailedFuture(PingError.icmpBindToUnixDomainSocket)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:19:17: warning: stored property 'config' of 'Sendable'-conforming class 'URLSessionClient' has non-sendable type 'HTTPPingClient.Configuration'; this is an error in the Swift 6 language mode
17 | final class URLSessionClient: NSObject, Pingable {
18 | private let promise: EventLoopPromise<PingSummary>
19 | private let config: HTTPPingClient.Configuration
| `- warning: stored property 'config' of 'Sendable'-conforming class 'URLSessionClient' has non-sendable type 'HTTPPingClient.Configuration'; this is an error in the Swift 6 language mode
20 | private let resolvedAddress: SocketAddress
21 | private var results: [Int: PingResponse] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/HTTPPingClient.swift:133:19: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
131 |
132 | /// The configuration that will be used to configure the HTTP Ping Client.
133 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
134 |
135 | /// Default HTTP header
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:21:17: warning: stored property 'results' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
19 | private let config: HTTPPingClient.Configuration
20 | private let resolvedAddress: SocketAddress
21 | private var results: [Int: PingResponse] = [:]
| `- warning: stored property 'results' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
22 | private var taskToSeqNum: [Int: Int] = [:]
23 | private var taskToLatency: [Int: Double] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/HTTP/URLSessionClient.swift:81:26: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
79 | if self.config.count == self.results.count || shouldForceClose {
80 | let summary = self.results.sorted { $0.key < $1.key }.map { $0.value }.summarize(host: self.resolvedAddress)
81 | self.promise.succeed(summary)
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPChannelHandlers.swift:71:13: warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a `@Sendable` closure
15 | import NIOCore
16 |
17 | internal final class ICMPDuplexer: ChannelDuplexHandler {
| `- note: class 'ICMPDuplexer' does not conform to the 'Sendable' protocol
18 | typealias InboundIn = ICMPPingClient.ICMPHeader
19 | typealias InboundOut = PingResponse
:
69 | let scheduledTimer = context.eventLoop.scheduleTask(in: self.configuration.timeout) {
70 | logger.debug("[\(#fileID)][\(#line)][\(#function)]: timer for \(request.sequenceNum) is invoked => time out!")
71 | self.timer.removeValue(forKey: request.sequenceNum)
| `- warning: capture of 'self' with non-sendable type 'ICMPDuplexer' in a `@Sendable` closure
72 | self.handler.handleTimeout(sequenceNumber: Int(request.sequenceNum))
73 | }
[1026/1031] Compiling LCLPing ICMPHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:69:77: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
67 | self.state = .running
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
70 | self.channel = channel
71 | channel.closeFuture.whenComplete { result in
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:103:84: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
101 | send(0)
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:108:50: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
106 | self.state = .finished
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:70:21: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
70 | self.channel = channel
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
71 | channel.closeFuture.whenComplete { result in
72 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:76:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
74 | ()
75 | case .failure:
76 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
77 | self.state = .error
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:77:33: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
75 | case .failure:
76 | self.stateLock.withLockVoid {
77 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:86:35: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
84 |
85 | func send(_ cnt: Int) {
86 | if cnt == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
87 | sendPromise.succeed()
88 | return
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:94:112: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
92 | logger.debug("Scheduled #\(cnt) request")
93 | channel.eventLoop.scheduleTask(in: cnt * self.configuration.interval) {
94 | channel.writeAndFlush(ICMPPingClient.Request(sequenceNum: UInt16(cnt), identifier: self.identifier), promise: p)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
95 | }.futureResult.hop(to: el).cascadeFailure(to: sendPromise)
96 |
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:104:68: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
105 | self.stateLock.withLock {
106 | self.state = .finished
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:106:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
106 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:166:49: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
164 | IPDecoder(),
165 | ICMPDecoder(),
166 | ICMPDuplexer(configuration: self.configuration, promise: self.promise)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
167 | ]
168 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:173:25: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
171 | } catch {
172 | self.stateLock.withLockVoid {
173 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
174 | }
175 | return channel.eventLoop.makeFailedFuture(error)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:187:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
185 | case .unixDomainSocket:
186 | self.stateLock.withLock {
187 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
188 | }
189 | return channel.eventLoop.makeFailedFuture(PingError.icmpBindToUnixDomainSocket)
[1027/1031] Compiling LCLPing ICMPPingClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:69:77: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
67 | self.state = .running
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
70 | self.channel = channel
71 | channel.closeFuture.whenComplete { result in
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:103:84: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
101 | send(0)
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:108:50: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
106 | self.state = .finished
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:70:21: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
70 | self.channel = channel
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
71 | channel.closeFuture.whenComplete { result in
72 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:76:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
74 | ()
75 | case .failure:
76 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
77 | self.state = .error
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:77:33: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
75 | case .failure:
76 | self.stateLock.withLockVoid {
77 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:86:35: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
84 |
85 | func send(_ cnt: Int) {
86 | if cnt == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
87 | sendPromise.succeed()
88 | return
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:94:112: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
92 | logger.debug("Scheduled #\(cnt) request")
93 | channel.eventLoop.scheduleTask(in: cnt * self.configuration.interval) {
94 | channel.writeAndFlush(ICMPPingClient.Request(sequenceNum: UInt16(cnt), identifier: self.identifier), promise: p)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
95 | }.futureResult.hop(to: el).cascadeFailure(to: sendPromise)
96 |
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:104:68: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
105 | self.stateLock.withLock {
106 | self.state = .finished
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:106:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
106 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:166:49: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
164 | IPDecoder(),
165 | ICMPDecoder(),
166 | ICMPDuplexer(configuration: self.configuration, promise: self.promise)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
167 | ]
168 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:173:25: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
171 | } catch {
172 | self.stateLock.withLockVoid {
173 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
174 | }
175 | return channel.eventLoop.makeFailedFuture(error)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:187:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
185 | case .unixDomainSocket:
186 | self.stateLock.withLock {
187 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
188 | }
189 | return channel.eventLoop.makeFailedFuture(PingError.icmpBindToUnixDomainSocket)
[1028/1031] Compiling LCLPing Errors+LCLPing.swift
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:69:77: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
67 | self.state = .running
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
70 | self.channel = channel
71 | channel.closeFuture.whenComplete { result in
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:103:84: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
101 | send(0)
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:108:50: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
106 | self.state = .finished
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
109 | }
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: consider making struct 'PingSummary' conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:70:21: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
68 |
69 | return self.connect(to: self.configuration.resolvedAddress).flatMap { channel in
70 | self.channel = channel
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
71 | channel.closeFuture.whenComplete { result in
72 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:76:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
74 | ()
75 | case .failure:
76 | self.stateLock.withLockVoid {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
77 | self.state = .error
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:77:33: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
75 | case .failure:
76 | self.stateLock.withLockVoid {
77 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
78 | }
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:86:35: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
84 |
85 | func send(_ cnt: Int) {
86 | if cnt == self.configuration.count {
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated local function; this is an error in the Swift 6 language mode
87 | sendPromise.succeed()
88 | return
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:94:112: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
92 | logger.debug("Scheduled #\(cnt) request")
93 | channel.eventLoop.scheduleTask(in: cnt * self.configuration.interval) {
94 | channel.writeAndFlush(ICMPPingClient.Request(sequenceNum: UInt16(cnt), identifier: self.identifier), promise: p)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
95 | }.futureResult.hop(to: el).cascadeFailure(to: sendPromise)
96 |
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:104:68: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
102 |
103 | return sendPromise.futureResult.and(self.promise.futureResult).flatMap { (_, pingResponse) in
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
105 | self.stateLock.withLock {
106 | self.state = .finished
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:106:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
104 | let summary = pingResponse.summarize(host: self.configuration.resolvedAddress)
105 | self.stateLock.withLock {
106 | self.state = .finished
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
107 | }
108 | return channel.eventLoop.makeSucceededFuture(summary)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:166:49: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
164 | IPDecoder(),
165 | ICMPDecoder(),
166 | ICMPDuplexer(configuration: self.configuration, promise: self.promise)
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in a `@Sendable` closure
167 | ]
168 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:173:25: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
171 | } catch {
172 | self.stateLock.withLockVoid {
173 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
174 | }
175 | return channel.eventLoop.makeFailedFuture(error)
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/ICMP/ICMPPingClient.swift:187:29: warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
19 | /// Caller needs to provide a configuration that set the way the ICMP client initiates tests.
20 | /// Caller can also cancel the test via `cancel()`.
21 | public final class ICMPPingClient: Pingable {
| `- note: class 'ICMPPingClient' does not conform to the 'Sendable' protocol
22 |
23 | private let eventLoopGroup: EventLoopGroup
:
185 | case .unixDomainSocket:
186 | self.stateLock.withLock {
187 | self.state = .error
| `- warning: capture of 'self' with non-sendable type 'ICMPPingClient' in an isolated closure; this is an error in the Swift 6 language mode
188 | }
189 | return channel.eventLoop.makeFailedFuture(PingError.icmpBindToUnixDomainSocket)
[1029/1033] Emitting module Demo
/Users/admin/builder/spi-builder-workspace/Sources/Demo/main.swift:27:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
25 | do {
26 | // run the test using SwiftNIO EventLoopFuture
27 | let result = try icmpClient.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
28 | print(result)
29 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: struct 'PingSummary' does not conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: struct 'PingSummary' does not conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/Demo/main.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LCLPing'
13 |
14 | import Foundation
15 | import LCLPing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LCLPing'
16 |
17 | // create ping configuration for each run
/Users/admin/builder/spi-builder-workspace/Sources/Demo/main.swift:34:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
32 |
33 | do {
34 | let result = try httpClient.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
35 | print(result)
36 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: struct 'PingSummary' does not conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: struct 'PingSummary' does not conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
[1030/1033] Compiling Demo main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Demo/main.swift:27:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
25 | do {
26 | // run the test using SwiftNIO EventLoopFuture
27 | let result = try icmpClient.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
28 | print(result)
29 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: struct 'PingSummary' does not conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: struct 'PingSummary' does not conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
/Users/admin/builder/spi-builder-workspace/Sources/Demo/main.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LCLPing'
13 |
14 | import Foundation
15 | import LCLPing
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LCLPing'
16 |
17 | // create ping configuration for each run
/Users/admin/builder/spi-builder-workspace/Sources/Demo/main.swift:34:41: warning: type 'PingSummary' does not conform to the 'Sendable' protocol
32 |
33 | do {
34 | let result = try httpClient.start().wait()
| `- warning: type 'PingSummary' does not conform to the 'Sendable' protocol
35 | print(result)
36 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/LCLPing/Models/PingSummary.swift:18:15: note: struct 'PingSummary' does not conform to the 'Sendable' protocol
16 | /// A summary of the ping test, including the min, max, average, median, standard deviation,
17 | /// and detailed view of each test result.
18 | public struct PingSummary: Equatable, Encodable {
| `- note: struct 'PingSummary' does not conform to the 'Sendable' protocol
19 | /// The minimum in the test results.
20 | public let min: Double
[1030/1033] Write Objects.LinkFileList
[1031/1033] Linking Demo
[1032/1033] Applying Demo
Build complete! (54.31s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.81.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.25.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "LCLPing",
"name" : "LCLPing",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "LCLPing",
"targets" : [
"LCLPing"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Demo",
"targets" : [
"Demo"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "UtilitiesTests",
"module_type" : "SwiftTarget",
"name" : "UtilitiesTests",
"path" : "Tests/UtilitiesTests",
"sources" : [
"ArrayTests.swift",
"Common.swift",
"DoubleTests.swift",
"MatchServerTimingTests.swift",
"ObjectDecoderTests.swift",
"SummarizePingResponseTests.swift",
"TimeTests.swift"
],
"target_dependencies" : [
"LCLPing"
],
"type" : "test"
},
{
"c99name" : "ModelTests",
"module_type" : "SwiftTarget",
"name" : "ModelTests",
"path" : "Tests/ModelTests",
"sources" : [
"HTTPConfigurationTest.swift",
"ICMPChecksumTests.swift"
],
"target_dependencies" : [
"LCLPing"
],
"type" : "test"
},
{
"c99name" : "LCLPing",
"module_type" : "SwiftTarget",
"name" : "LCLPing",
"path" : "Sources/LCLPing",
"product_dependencies" : [
"NIO",
"NIOCore",
"NIOPosix",
"NIOHTTP1",
"NIOTestUtils",
"NIOConcurrencyHelpers",
"Logging",
"NIOSSL",
"Collections"
],
"product_memberships" : [
"LCLPing",
"Demo"
],
"sources" : [
"Configuration.swift",
"HTTP/HTTPChannelHandlers.swift",
"HTTP/HTTPHandler.swift",
"HTTP/HTTPPingClient.swift",
"HTTP/HTTPSchema.swift",
"HTTP/NIOHTTPClient.swift",
"HTTP/URLSessionClient.swift",
"ICMP/ICMPChannelHandlers.swift",
"ICMP/ICMPHandler.swift",
"ICMP/ICMPPingClient.swift",
"Models/Errors+LCLPing.swift",
"Models/HTTPLatency.swift",
"Models/PingResponse.swift",
"Models/PingResult.swift",
"Models/PingState.swift",
"Models/PingSummary.swift",
"PingHandler.swift",
"Pingable.swift",
"Reachability.swift",
"TestUtils/InboundHeaderRewriter.swift",
"TestUtils/Rewritable.swift",
"TestUtils/TrafficControllerChannelHandler.swift",
"Utilities/Constants.swift",
"Utilities/Hex.swift",
"Utilities/LCLPing+Array.swift",
"Utilities/LCLPing+ChannelOption.swift",
"Utilities/LCLPing+Double.swift",
"Utilities/LCLPing+SocketOption.swift",
"Utilities/LCLPing+Time.swift",
"Utilities/LCLPing+TimeInterval.swift",
"Utilities/ObjectDecoder.swift",
"Utilities/Utilities.swift"
],
"type" : "library"
},
{
"c99name" : "IntegrationTests",
"module_type" : "SwiftTarget",
"name" : "IntegrationTests",
"path" : "Tests/IntegrationTests",
"sources" : [
"HTTPIntegrationTests.swift",
"ICMPIntegrationTests.swift"
],
"target_dependencies" : [
"LCLPing"
],
"type" : "test"
},
{
"c99name" : "ICMPChannelTests",
"module_type" : "SwiftTarget",
"name" : "ICMPChannelTests",
"path" : "Tests/ICMPChannelTests",
"sources" : [
"Common.swift",
"ICMPDecoderTests.swift",
"ICMPDuplexerTests.swift",
"IPDecoderTests.swift"
],
"target_dependencies" : [
"LCLPing"
],
"type" : "test"
},
{
"c99name" : "HTTPChannelTests",
"module_type" : "SwiftTarget",
"name" : "HTTPChannelTests",
"path" : "Tests/HTTPChannelTests",
"sources" : [
"HTTPTracingHandlerTests.swift"
],
"target_dependencies" : [
"LCLPing"
],
"type" : "test"
},
{
"c99name" : "Demo",
"module_type" : "SwiftTarget",
"name" : "Demo",
"path" : "Sources/Demo",
"product_memberships" : [
"Demo"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"LCLPing"
],
"type" : "executable"
}
],
"tools_version" : "5.8"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/local-connectivity-lab/lcl-ping/main
Repository: Local-Connectivity-Lab/lcl-ping
Swift version used: 6.0
Target: LCLPing
Extracting symbol information for 'LCLPing'...
Finished extracting symbol information for 'LCLPing'. (11.57s)
Building documentation for 'LCLPing'...
warning: Parameter 'useServerTimimg' not found in initializer declaration
--> Sources/LCLPing/HTTP/HTTPPingClient.swift:193:19-193:34
191 | /// - connectionTimeout: the amount of time that the HTTP Ping Client will wait when connecting to the host.
192 | /// - headers: the HTTP headers
193 + /// - useServerTimimg: Indicate whether the HTTP Ping Client should take `ServerTiming` attribute
| ╰─suggestion: Replace 'useServerTimimg' with 'useServerTiming'
194 | /// from the reponse header.
195 | /// - useURLSession: Indicate whether the HTTP Ping Client should use native URLSession implementation.
warning: Parameter 'Throws' not found in initializer declaration
--> Sources/LCLPing/HTTP/HTTPPingClient.swift:198:17-201:165
196 | /// - deviceName: the interface name for which the outbound data will be sent to.
197 | ///
198 + /// - Throws:
| ╰─suggestion: Remove 'Throws' parameter documentation
199 + /// - httpMissingHost: if URL does not include any host information.
200 + /// - httpMissingSchema: if URL does not include any valid schema.
201 + /// - a SocketAddressError.unknown if we could not resolve the host, or SocketAddressError.unsupported if the address itself is not supported (yet).
202 | public init(url: URL,
203 | count: Int = 10,
warning: Parameter 'useServerTiming' is missing documentation
--> Sources/LCLPing/HTTP/HTTPPingClient.swift:201:165-201:165
199 | /// - httpMissingHost: if URL does not include any host information.
200 | /// - httpMissingSchema: if URL does not include any valid schema.
201 + /// - a SocketAddressError.unknown if we could not resolve the host, or SocketAddressError.unsupported if the address itself is not supported (yet).
202 | public init(url: URL,
203 | count: Int = 10,
warning: Parameter 'useServerTimimg' not found in initializer declaration
--> Sources/LCLPing/HTTP/HTTPPingClient.swift:276:19-276:34
274 | /// - connectionTimeout: the amount of time that the HTTP Ping Client will wait when connecting to the host.
275 | /// - headers: the HTTP headers
276 + /// - useServerTimimg: Indicate whether the HTTP Ping Client should take `ServerTiming` attribute
| ╰─suggestion: Replace 'useServerTimimg' with 'useServerTiming'
277 | /// from the reponse header.
278 | /// - useURLSession: Indicate whether the HTTP Ping Client should use native URLSession implementation.
warning: Parameter 'Throws' not found in initializer declaration
--> Sources/LCLPing/HTTP/HTTPPingClient.swift:281:17-284:165
279 | /// - deviceName: the interface name for which the outbound data will be sent to
280 | ///
281 + /// - Throws:
| ╰─suggestion: Remove 'Throws' parameter documentation
282 + /// - httpMissingHost: if URL does not include any host information.
283 + /// - httpMissingSchema: if URL does not include any valid schema.
284 + /// - a SocketAddressError.unknown if we could not resolve the host, or SocketAddressError.unsupported if the address itself is not supported (yet).
285 | public init(url: String,
286 | count: Int = 10,
warning: Parameter 'useServerTiming' is missing documentation
--> Sources/LCLPing/HTTP/HTTPPingClient.swift:284:165-284:165
282 | /// - httpMissingHost: if URL does not include any host information.
283 | /// - httpMissingSchema: if URL does not include any valid schema.
284 + /// - a SocketAddressError.unknown if we could not resolve the host, or SocketAddressError.unsupported if the address itself is not supported (yet).
285 | public init(url: String,
286 | count: Int = 10,
warning: Parameter 'Throws' not found in initializer declaration
--> Sources/LCLPing/HTTP/HTTPPingClient.swift:312:17-315:165
310 | /// - url: the URL string indicating the endpoint target that the HTTP Ping Client will try to connect to.
311 | ///
312 + /// - Throws:
| ╰─suggestion: Remove 'Throws' parameter documentation
313 + /// - httpMissingHost: if URL does not include any host information.
314 + /// - httpMissingSchema: if URL does not include any valid schema.
315 + /// - a SocketAddressError.unknown if we could not resolve the host, or SocketAddressError.unsupported if the address itself is not supported (yet).
316 | public init(url: String) throws {
317 | guard let urlObj = URL(string: url) else {
warning: External name 'for' used to document parameter
--> Sources/LCLPing/HTTP/HTTPPingClient.swift:326:19-326:22
324 | ///
325 | /// - Parameters:
326 + /// - for: the sequence number of the request
| ╰─suggestion: Replace 'for' with 'sequenceNumber'
327 | /// - Returns: a `Request` object.
328 | public func makeHTTPRequest(for sequenceNumber: Int) -> Request {
warning: External name 'via' used to document parameter
--> Sources/LCLPing/Reachability.swift:18:11-18:14
16 | ///
17 | /// - Parameters:
18 + /// - via: the `ReachabilityTestMethod` that will be used to run the reachability tes
| ╰─suggestion: Replace 'via' with 'method'
19 | /// - host: the endpoint host
20 | /// - Returns: true if the host is reachable; false otherwise.
warning: External name 'via' used to document parameter
--> Sources/LCLPing/Reachability.swift:29:11-29:14
27 | ///
28 | /// - Parameters:
29 + /// - via: the `ReachabilityTestMethod` that will be used to run the reachability test
| ╰─suggestion: Replace 'via' with 'method'
30 | /// - strategy: the `TestStrategy` that indicates how many times the `LCLPing` should run to make the result reliable
31 | /// - host: the endpoint hostFinished building documentation for 'LCLPing' (0.20s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/local-connectivity-lab/lcl-ping/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-nio.git
Updating https://github.com/apple/swift-system.git
Updating https://github.com/apple/swift-log.git
Updated https://github.com/apple/swift-system.git (0.48s)
Updated https://github.com/apple/swift-log.git (0.48s)
[1/2050] Fetching swift-docc-plugin
Updated https://github.com/apple/swift-nio.git (0.72s)
Updating https://github.com/apple/swift-atomics.git
Updating https://github.com/apple/swift-nio-ssl.git
Updating https://github.com/apple/swift-collections.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.12s)
Updated https://github.com/apple/swift-atomics.git (0.40s)
Updated https://github.com/apple/swift-nio-ssl.git (0.52s)
Updated https://github.com/apple/swift-collections.git (0.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.69s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.29.3 (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.81.0 (0.73s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.49s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3365] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (4.50s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.60s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/53] Compiling SymbolKit GenericConstraint.swift
[12/53] Compiling SymbolKit GenericParameter.swift
[13/53] Compiling SymbolKit Generics.swift
[14/53] Compiling SymbolKit Namespace.swift
[15/57] Compiling SymbolKit Identifier.swift
[16/57] Compiling SymbolKit KindIdentifier.swift
[17/57] Compiling SymbolKit Location.swift
[18/57] Compiling SymbolKit Mutability.swift
[19/57] Compiling SymbolKit SemanticVersion.swift
[20/57] Compiling SymbolKit AccessControl.swift
[21/57] Compiling SymbolKit Availability.swift
[22/57] Compiling SymbolKit AvailabilityItem.swift
[23/57] Compiling SymbolKit Domain.swift
[24/57] Compiling SymbolKit Mixin+Equals.swift
[25/57] Compiling SymbolKit Mixin+Hash.swift
[26/57] Compiling SymbolKit Mixin.swift
[27/57] Compiling SymbolKit LineList.swift
[28/57] Compiling SymbolKit Position.swift
[29/57] Compiling SymbolKit Relationship.swift
[30/57] Compiling SymbolKit RelationshipKind.swift
[31/57] Compiling SymbolKit SourceOrigin.swift
[32/57] Compiling SymbolKit GenericConstraints.swift
[33/57] Compiling SymbolKit Swift.swift
[34/57] Emitting module SymbolKit
[35/57] Compiling SymbolKit Names.swift
[36/57] Compiling SymbolKit SPI.swift
[37/57] Compiling SymbolKit Snippet.swift
[38/57] Compiling SymbolKit Extension.swift
[39/57] Compiling SymbolKit SourceRange.swift
[40/57] Compiling SymbolKit Metadata.swift
[41/57] Compiling SymbolKit Module.swift
[42/57] Compiling SymbolKit OperatingSystem.swift
[43/57] Compiling SymbolKit Platform.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.51s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/55] Compiling Logging MetadataProvider.swift
[3/55] Compiling _NIODataStructures PriorityQueue.swift
[4/55] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[5/55] Compiling Atomics ManagedAtomic.swift
[6/55] Compiling Atomics ManagedAtomicLazyReference.swift
[7/56] Compiling Atomics AtomicStorage.swift
[8/56] Compiling Atomics AtomicValue.swift
[9/56] Compiling Atomics AtomicMemoryOrderings.swift
[10/56] Compiling Atomics DoubleWord.swift
[11/56] Compiling Atomics OptionalRawRepresentable.swift
[12/56] Compiling Atomics RawRepresentable.swift
[13/56] Compiling NIOConcurrencyHelpers NIOLock.swift
[14/56] Compiling Atomics UnsafeAtomic.swift
[15/56] Compiling Atomics UnsafeAtomicLazyReference.swift
[22/58] Compiling Atomics AtomicBool.swift
[23/58] Compiling Atomics IntegerConformances.swift
[24/58] Compiling Atomics PointerConformances.swift
[25/58] Compiling Atomics Primitives.native.swift
[26/58] Emitting module _NIOBase64
[27/58] Compiling _NIOBase64 Base64.swift
[28/58] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/58] Compiling _NIODataStructures Heap.swift
[30/58] Compiling _NIODataStructures _TinyArray.swift
[31/58] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[32/58] Emitting module _NIODataStructures
[33/58] Compiling NIOConcurrencyHelpers lock.swift
[34/58] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[35/58] Compiling NIOConcurrencyHelpers atomics.swift
[36/58] Emitting module NIOConcurrencyHelpers
[37/58] Emitting module InternalCollectionsUtilities
[38/58] Compiling Atomics IntegerOperations.swift
[39/58] Compiling Atomics Unmanaged extensions.swift
[40/58] Compiling Atomics Primitives.shims.swift
[41/58] Compiling Atomics AtomicInteger.swift
[42/58] Compiling Atomics AtomicOptionalWrappable.swift
[43/58] Compiling Atomics AtomicReference.swift
[48/58] Compiling Logging Locks.swift
[49/58] Compiling Logging LogHandler.swift
[50/58] Emitting module Logging
[51/58] Compiling Logging Logging.swift
[54/340] Compiling _RopeModule BigString+Debugging.swift
[55/340] Compiling _RopeModule BigString+Index.swift
[56/341] Compiling DequeModule _DequeBuffer.swift
[57/341] Compiling DequeModule _DequeSlot.swift
[58/341] Compiling DequeModule _DequeBufferHeader.swift
[59/341] Compiling HeapModule _HeapNode.swift
[60/341] Compiling HeapModule Heap.swift
[61/341] Compiling HeapModule Heap+Invariants.swift
[62/341] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[63/341] Compiling HeapModule Heap+Descriptions.swift
[64/341] Compiling HeapModule Heap+UnsafeHandle.swift
[65/341] Compiling _RopeModule BigString+Ingester.swift
[66/341] Compiling _RopeModule BigString+Invariants.swift
[67/341] Emitting module HeapModule
[72/341] Compiling _RopeModule BigString+Iterators.swift
[73/341] Compiling _RopeModule BigString+Metrics.swift
[74/341] Compiling HashTreeCollections TreeSet+Equatable.swift
[75/341] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[76/341] Compiling HashTreeCollections TreeSet+Extras.swift
[77/341] Compiling HashTreeCollections TreeSet+Filter.swift
[78/341] Compiling HashTreeCollections TreeSet+Hashable.swift
[79/341] Compiling HashTreeCollections TreeSet+Sendable.swift
[80/341] Compiling HashTreeCollections TreeSet+Sequence.swift
[81/341] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[82/349] Compiling _RopeModule _RopeItem.swift
[83/349] Compiling _RopeModule _RopePath.swift
[84/349] Compiling _RopeModule _RopeVersion.swift
[85/349] Compiling _RopeModule Rope+Collection.swift
[86/349] Compiling _RopeModule Rope+Index.swift
[87/349] Compiling _RopeModule Rope+Sequence.swift
[88/355] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[89/355] Compiling _RopeModule BigString+Sequence.swift
[90/355] Compiling _RopeModule BigString+TextOutputStream.swift
[91/355] Compiling _RopeModule BigString+Append.swift
[92/355] Compiling _RopeModule BigString+Initializers.swift
[93/355] Compiling _RopeModule Rope+Append.swift
[94/355] Compiling DequeModule _UnsafeWrappedBuffer.swift
[95/355] Compiling _RopeModule BigString+RemoveSubrange.swift
[96/355] Compiling _RopeModule BigString+ReplaceSubrange.swift
[97/355] Compiling _RopeModule BigString+Split.swift
[98/355] Compiling _RopeModule Range+BigString.swift
[99/355] Compiling _RopeModule BigString+UTF16View.swift
[100/355] Compiling _RopeModule BigString+UTF8View.swift
[101/355] Compiling _RopeModule RopeSummary.swift
[107/355] Compiling _RopeModule BigString+Chunk+Counts.swift
[108/355] Compiling _RopeModule BigString+Chunk+Description.swift
[109/355] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[110/355] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[111/355] Compiling _RopeModule BigString+Insert.swift
[112/355] Compiling _RopeModule BigString+Managing Breaks.swift
[113/360] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[114/360] Compiling _RopeModule BigString+Chunk+Breaks.swift
[115/360] Compiling _RopeModule BigString+Summary.swift
[116/360] Compiling _RopeModule BigString.swift
[117/360] Compiling _RopeModule BigString+Builder.swift
[118/360] Compiling _RopeModule BigString+Contents.swift
[119/360] Emitting module BitCollections
[120/360] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[121/360] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[122/360] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[123/360] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[124/360] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[125/360] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[126/360] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[127/360] Compiling HashTreeCollections TreeSet.swift
[128/360] Compiling _RopeModule RopeMetric.swift
[129/360] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[130/360] Compiling _RopeModule BigString+Chunk+Splitting.swift
[131/360] Compiling _RopeModule BigString+Chunk.swift
[132/360] Compiling _RopeModule BigString+BidirectionalCollection.swift
[133/360] Compiling _RopeModule BigString+Comparable.swift
[134/360] Compiling _RopeModule Rope+_Node.swift
[135/360] Compiling _RopeModule Rope+_Storage.swift
[136/360] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[137/360] Compiling _RopeModule Rope+_UnsafeHandle.swift
[138/360] Compiling _RopeModule Rope.swift
[139/360] Compiling _RopeModule RopeElement.swift
[140/360] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[141/360] Compiling _RopeModule BigString+CustomStringConvertible.swift
[142/360] Compiling _RopeModule BigString+Equatable.swift
[143/360] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[144/360] Compiling _RopeModule BigString+Hashing.swift
[145/360] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[188/360] Compiling BitCollections BitSet.swift
[189/360] Compiling BitCollections Range+Utilities.swift
[190/360] Compiling BitCollections Slice+Utilities.swift
[191/360] Compiling BitCollections UInt+Tricks.swift
[192/360] Compiling BitCollections _Word.swift
[193/360] Emitting module Atomics
[214/367] Emitting module DequeModule
[223/367] Compiling OrderedCollections _UnsafeBitset.swift
[224/367] Compiling _RopeModule BigString+UnicodeScalarView.swift
[225/367] Compiling _RopeModule BigSubstring+UTF16View.swift
[226/367] Compiling _RopeModule BigSubstring+UTF8View.swift
[227/367] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[228/367] Compiling _RopeModule BigSubstring.swift
[229/367] Compiling _RopeModule Rope+Builder.swift
[230/367] Compiling _RopeModule Rope+Debugging.swift
[231/367] Compiling _RopeModule Rope+Invariants.swift
[265/367] Compiling OrderedCollections OrderedSet.swift
[275/428] Compiling NIOCore MarkedCircularBuffer.swift
[276/428] Compiling NIOCore MulticastChannel.swift
[277/428] Compiling NIOCore NIOAny.swift
[278/428] Compiling NIOCore NIOCloseOnErrorHandler.swift
[279/428] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[280/428] Compiling NIOCore EventLoopFuture+Deprecated.swift
[281/428] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[282/428] Compiling NIOCore EventLoopFuture.swift
[283/428] Compiling NIOCore FileDescriptor.swift
[284/428] Compiling NIOCore AddressedEnvelope.swift
[285/428] Compiling NIOCore AsyncAwaitSupport.swift
[286/428] Compiling NIOCore AsyncChannel.swift
[287/428] Compiling NIOCore AsyncChannelHandler.swift
[288/428] Compiling NIOCore AsyncChannelInboundStream.swift
[289/428] Compiling NIOCore AsyncChannelOutboundWriter.swift
[290/428] Compiling NIOCore NIOAsyncSequenceProducer.swift
[291/428] Compiling NIOCore Interfaces.swift
[292/428] Compiling NIOCore Linux.swift
[293/428] Compiling NIOCore SocketAddresses.swift
[294/428] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[295/428] Compiling NIOCore NIOAsyncWriter.swift
[296/428] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[297/428] Compiling NIOCore BSDSocketAPI.swift
[298/428] Compiling NIOCore ByteBuffer-aux.swift
[299/428] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[300/428] Compiling NIOCore ByteBuffer-conversions.swift
[301/428] Compiling NIOCore Codec.swift
[302/428] Compiling NIOCore ConvenienceOptionSupport.swift
[303/428] Compiling NIOCore DeadChannel.swift
[304/428] Compiling NIOCore DispatchQueue+WithFuture.swift
[305/428] Compiling NIOCore EventLoop+Deprecated.swift
[306/428] Compiling NIOCore EventLoop+SerialExecutor.swift
[307/428] Compiling NIOCore EventLoop.swift
[308/428] Compiling NIOCore GlobalSingletons.swift
[309/428] Compiling NIOCore IO.swift
[310/428] Compiling NIOCore CircularBuffer.swift
[311/428] Compiling NIOCore ByteBuffer-core.swift
[312/428] Compiling NIOCore ByteBuffer-hex.swift
[313/428] Compiling NIOCore ByteBuffer-int.swift
[314/428] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[315/428] Compiling NIOCore ByteBuffer-multi-int.swift
[316/428] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[317/428] Compiling NIOCore ByteBuffer-views.swift
[318/428] Compiling NIOCore FileHandle.swift
[319/428] Compiling NIOCore FileRegion.swift
[320/428] Compiling NIOCore Channel.swift
[321/428] Compiling NIOCore ChannelHandler.swift
[322/428] Compiling NIOCore ChannelHandlers.swift
[323/428] Compiling NIOCore ChannelInvoker.swift
[324/428] Compiling NIOCore ChannelOption.swift
[325/428] Compiling NIOCore ChannelPipeline.swift
[326/428] Compiling NIOCore IOData.swift
[327/428] Compiling NIOCore IPProtocol.swift
[328/428] Compiling NIOCore IntegerBitPacking.swift
[329/428] Compiling NIOCore IntegerTypes.swift
[330/428] Compiling NIOCore NIOLoopBound.swift
[331/428] Compiling NIOCore NIOScheduledCallback.swift
[332/428] Compiling NIOCore NIOSendable.swift
[333/428] Compiling NIOCore RecvByteBufferAllocator.swift
[334/428] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[335/428] Compiling _RopeModule Rope+Remove.swift
[336/428] Compiling _RopeModule Rope+RemoveSubrange.swift
[337/428] Compiling _RopeModule Rope+Split.swift
[338/428] Compiling _RopeModule Optional Utilities.swift
[339/428] Compiling _RopeModule String Utilities.swift
[340/428] Compiling _RopeModule String.Index+ABI.swift
[341/428] Compiling _RopeModule _CharacterRecognizer.swift
[342/428] Emitting module OrderedCollections
[379/434] Emitting module _RopeModule
[386/434] Emitting module HashTreeCollections
[387/434] Compiling NIOCore SocketOptionProvider.swift
[388/434] Compiling NIOCore SystemCallHelpers.swift
[389/434] Compiling NIOCore TimeAmount+Duration.swift
[390/434] Compiling NIOCore TypeAssistedChannelHandler.swift
[391/434] Compiling NIOCore UniversalBootstrapSupport.swift
[392/434] Compiling NIOCore Utilities.swift
[407/436] Compiling Collections Collections.swift
[408/436] Emitting module Collections
[436/436] Emitting module NIOCore
[437/489] Compiling NIOEmbedded AsyncTestingChannel.swift
[438/489] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[439/489] Emitting module NIOEmbedded
[440/489] Compiling NIOEmbedded Embedded.swift
[441/489] Compiling NIOPosix GetaddrinfoResolver.swift
[442/489] Compiling NIOPosix HappyEyeballs.swift
[443/489] Compiling NIOPosix IO.swift
[444/489] Compiling NIOPosix IntegerBitPacking.swift
[445/489] Compiling NIOPosix IntegerTypes.swift
[446/489] Compiling NIOPosix Linux.swift
[447/494] Compiling NIOPosix Selectable.swift
[448/494] Compiling NIOPosix SelectableChannel.swift
[449/494] Compiling NIOPosix SelectableEventLoop.swift
[450/494] Compiling NIOPosix SelectorEpoll.swift
[451/494] Compiling NIOPosix SelectorGeneric.swift
[452/494] Compiling NIOPosix SocketProtocols.swift
[453/494] Compiling NIOPosix System.swift
[454/494] Compiling NIOPosix Thread.swift
[455/494] Compiling NIOPosix ThreadPosix.swift
[456/494] Compiling NIOPosix ThreadWindows.swift
[457/494] Compiling NIOPosix BSDSocketAPICommon.swift
[458/494] Compiling NIOPosix BSDSocketAPIPosix.swift
[459/494] Compiling NIOPosix BSDSocketAPIWindows.swift
[460/494] Compiling NIOPosix BaseSocket.swift
[461/494] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[462/494] Compiling NIOPosix BaseSocketChannel.swift
[463/494] Compiling NIOPosix PooledRecvBufferAllocator.swift
[464/494] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[465/494] Compiling NIOPosix PosixSingletons.swift
[466/494] Compiling NIOPosix RawSocketBootstrap.swift
[467/494] Compiling NIOPosix Resolver.swift
[468/494] Compiling NIOPosix LinuxCPUSet.swift
[469/494] Compiling NIOPosix LinuxUring.swift
[470/494] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[471/494] Compiling NIOPosix NIOThreadPool.swift
[472/494] Compiling NIOPosix NonBlockingFileIO.swift
[473/494] Compiling NIOPosix SelectorKqueue.swift
[474/494] Compiling NIOPosix SelectorUring.swift
[475/494] Compiling NIOPosix ServerSocket.swift
[476/494] Compiling NIOPosix Socket.swift
[477/494] Compiling NIOPosix SocketChannel.swift
[478/494] Compiling NIOPosix PendingDatagramWritesManager.swift
[479/494] Compiling NIOPosix PendingWritesManager.swift
[480/494] Compiling NIOPosix PipeChannel.swift
[481/494] Compiling NIOPosix PipePair.swift
[482/494] Compiling NIOPosix Pool.swift
[483/494] Compiling NIOPosix UnsafeTransfer.swift
[484/494] Compiling NIOPosix Utilities.swift
[485/494] Compiling NIOPosix VsockAddress.swift
[486/494] Compiling NIOPosix VsockChannelEvents.swift
[487/494] Compiling NIOPosix resource_bundle_accessor.swift
[488/494] Compiling NIOPosix BaseStreamSocketChannel.swift
[489/494] Compiling NIOPosix Bootstrap.swift
[490/494] Compiling NIOPosix ControlMessage.swift
[491/494] Compiling NIOPosix DatagramVectorReadManager.swift
[492/494] Compiling NIOPosix Errors+Any.swift
[493/494] Compiling NIOPosix FileDescriptor.swift
[494/494] Emitting module NIOPosix
[495/496] Emitting module NIO
[496/496] Compiling NIO Exports.swift
[497/519] Compiling NIOTLS TLSEvents.swift
[498/519] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[499/519] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[500/519] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[501/519] Emitting module NIOTLS
[502/519] Compiling NIOTLS SNIHandler.swift
[503/519] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[504/519] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[505/520] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[506/520] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[507/520] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[508/520] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[509/520] Emitting module NIOHTTP1
[510/546] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[511/550] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[512/550] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[513/550] Compiling NIOSSL SSLCallbacks.swift
[514/550] Compiling NIOSSL SSLCertificate.swift
[515/550] Compiling NIOSSL AndroidCABundle.swift
[516/550] Compiling NIOSSL ByteBufferBIO.swift
[517/550] Compiling NIOSSL CustomPrivateKey.swift
[518/550] Compiling NIOSSL IdentityVerification.swift
[519/550] Compiling NIOSSL SSLCertificateExtensions.swift
[520/550] Compiling NIOSSL SSLPublicKey.swift
[521/554] Compiling NIOSSL SSLInit.swift
[522/554] Compiling NIOSSL SSLPKCS12Bundle.swift
[523/554] Compiling NIOSSL SSLPrivateKey.swift
[528/557] Emitting module NIOTestUtils
[529/557] Compiling NIOTestUtils ByteToMessageDecoderVerifier.swift
[533/557] Compiling NIOSSL LinuxCABundle.swift
[534/557] Compiling NIOSSL NIOSSLClientHandler.swift
[535/557] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[536/557] Compiling NIOSSL NIOSSLHandler.swift
[537/557] Compiling NIOSSL NIOSSLServerHandler.swift
[538/557] Compiling NIOSSL ObjectIdentifier.swift
[539/557] Compiling NIOSSL PosixPort.swift
[540/557] Emitting module NIOSSL
[544/557] Compiling NIOSSL SafeCompare.swift
[545/557] Compiling NIOSSL Zeroization.swift
[546/557] Compiling NIOSSL TLSConfiguration.swift
[547/557] Compiling NIOTestUtils EventCounterHandler.swift
[548/557] Compiling NIOTestUtils NIOHTTP1TestServer.swift
[549/557] Compiling NIOSSL UniversalBootstrapSupport.swift
[550/557] Compiling NIOSSL UnsafeKeyAndChainTarget.swift
[551/557] Compiling NIOSSL resource_bundle_accessor.swift
[552/557] Compiling NIOSSL SubjectAlternativeName.swift
[553/557] Compiling NIOSSL NIOSSLSecureBytes.swift
[554/557] Compiling NIOSSL RNG.swift
[555/557] Compiling NIOSSL SSLConnection.swift
[556/557] Compiling NIOSSL SSLContext.swift
[557/557] Compiling NIOSSL SSLErrors.swift
[558/587] Compiling LCLPing HTTPLatency.swift
[559/587] Compiling LCLPing PingResponse.swift
[560/587] Compiling LCLPing PingResult.swift
[561/590] Compiling LCLPing PingState.swift
[562/590] Compiling LCLPing PingSummary.swift
[563/590] Compiling LCLPing PingHandler.swift
[564/590] Compiling LCLPing Hex.swift
[565/590] Compiling LCLPing LCLPing+Array.swift
[566/590] Compiling LCLPing LCLPing+ChannelOption.swift
[567/590] Compiling LCLPing Configuration.swift
[568/590] Compiling LCLPing HTTPChannelHandlers.swift
[569/590] Compiling LCLPing HTTPHandler.swift
[570/590] Compiling LCLPing HTTPPingClient.swift
[571/590] Compiling LCLPing Pingable.swift
[572/590] Compiling LCLPing Reachability.swift
[573/590] Compiling LCLPing InboundHeaderRewriter.swift
[574/590] Compiling LCLPing LCLPing+TimeInterval.swift
[575/590] Compiling LCLPing ObjectDecoder.swift
[576/590] Compiling LCLPing Utilities.swift
[577/590] Compiling LCLPing LCLPing+Double.swift
[578/590] Compiling LCLPing LCLPing+SocketOption.swift
[579/590] Compiling LCLPing LCLPing+Time.swift
[580/590] Compiling LCLPing Rewritable.swift
[581/590] Compiling LCLPing TrafficControllerChannelHandler.swift
[582/590] Compiling LCLPing Constants.swift
[583/590] Emitting module LCLPing
[584/590] Compiling LCLPing HTTPSchema.swift
[585/590] Compiling LCLPing NIOHTTPClient.swift
[586/590] Compiling LCLPing URLSessionClient.swift
[587/590] Compiling LCLPing ICMPChannelHandlers.swift
[588/590] Compiling LCLPing ICMPHandler.swift
[589/590] Compiling LCLPing ICMPPingClient.swift
[590/590] Compiling LCLPing Errors+LCLPing.swift
Build of target: 'LCLPing' complete! (9.47s)
368
3 /Users/admin/builder/spi-builder-workspace/.docs/local-connectivity-lab/lcl-ping/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/local-connectivity-lab/lcl-ping/main
File count: 368
Doc size: 3.0MB
Preparing doc bundle ...
Uploading prod-local-connectivity-lab-lcl-ping-main-e3b68e13.zip to s3://spi-docs-inbox/prod-local-connectivity-lab-lcl-ping-main-e3b68e13.zip
Copying... [20%]
Copying... [29%]
Copying... [39%]
Copying... [49%]
Copying... [59%]
Copying... [69%]
Copying... [79%]
Copying... [88%]
Copying... [98%]
Copying... [100%]
Done.