Build Information
Successful build of AsyncNetwork, reference master (394287
), with Swift 6.2 (beta) for Linux on 17 Jun 2025 17:00:46 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fitnesskit/asyncnetwork.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/fitnesskit/asyncnetwork
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3942870 dealloc
Cloned https://github.com/fitnesskit/asyncnetwork.git
Revision (git rev-parse @):
3942870943d64bc9e02d2a1c4ce67efab1e148c3
SUCCESS checkout https://github.com/fitnesskit/asyncnetwork.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/fitnesskit/asyncnetwork.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling AsyncNetwork Shims.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:151:5: warning: 'public' modifier is redundant for property declared in a public extension
149 | public extension AddressFamily {
150 |
151 | public var mcastJoinValue: Int32 {
| `- warning: 'public' modifier is redundant for property declared in a public extension
152 | switch self {
153 | case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:161:5: warning: 'public' modifier is redundant for property declared in a public extension
159 | }
160 |
161 | public var mcastLeaveValue: Int32 {
| `- warning: 'public' modifier is redundant for property declared in a public extension
162 | switch self {
163 | case .inet6:
[4/17] Compiling AsyncNetwork SockAddressStorage.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:151:5: warning: 'public' modifier is redundant for property declared in a public extension
149 | public extension AddressFamily {
150 |
151 | public var mcastJoinValue: Int32 {
| `- warning: 'public' modifier is redundant for property declared in a public extension
152 | switch self {
153 | case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:161:5: warning: 'public' modifier is redundant for property declared in a public extension
159 | }
160 |
161 | public var mcastLeaveValue: Int32 {
| `- warning: 'public' modifier is redundant for property declared in a public extension
162 | switch self {
163 | case .inet6:
[5/17] Compiling AsyncNetwork Socket.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' produces an empty option set
51 |
52 | /// NO Flags should be set
53 | public static let none = SocketReceiveOptions(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
54 | /// Receive Out of Band Data
55 | public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' produces an empty option set
65 |
66 | /// NO Flags should be set
67 | public static let none = SocketSendOptions(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
68 | /// Send Data as Out of Band
69 | public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:97:12: warning: 'public' modifier is redundant for static method declared in a public extension
95 | public extension Socket {
96 |
97 | static public func create(withAddress address: InternetAddress, withConfig config: SocketConfig, options: SocketOptions = [.reusePort]) throws -> Socket {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
98 |
99 | var cfg = config
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:137:5: warning: 'public' modifier is redundant for instance method declared in a public extension
135 | public extension Socket {
136 |
137 | public func bind() throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
138 | guard socket_bind(self.fd, address.sockaddr, address.length) > -1 else { throw SocketError(.socketBindFail) }
139 | }
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:142:5: warning: 'public' modifier is redundant for instance method declared in a public extension
140 |
141 |
142 | public func close() throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
143 | if sock_close(self.fd) != 0 {
144 | throw SocketError(.closeSocketFail)
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:148:5: warning: 'public' modifier is redundant for instance method declared in a public extension
146 | }
147 |
148 | public func receivefrom(maxBytes: Int = kMaxBufferSize, options: SocketReceiveOptions = .none) throws -> (data: [UInt8], sender: InternetAddress) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
149 | if self.isValid == false { throw SocketError(.socketIsClosed) }
150 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:189:5: warning: 'public' modifier is redundant for instance method declared in a public extension
187 | /// - Returns: Length of Sent Data
188 | /// - Throws: Throws SocketError if error in sending
189 | public func send(data: [UInt8], toHost host: InternetAddress?, sendOptions: SocketSendOptions = .none) throws -> Int{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
190 | if self.isValid == false { throw SocketError(.socketIsClosed) }
191 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:208:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
206 | internal extension Socket {
207 |
208 | internal func send(data: [UInt8], toResolvedHost dest: SockAddressStorage, sendOptions: SocketSendOptions = .none) throws -> Int {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
209 |
210 | let sendOps = sendOptions.rawValue
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:160:45: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer [#TemporaryPointers]
158 |
159 | let receivedBytes = socket_recvfrom(self.fd,
160 | UnsafeMutableRawPointer(mutating: data),
| | |- note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer [#TemporaryPointers]
161 | data.capacity,
162 | recvOps,
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[6/17] Compiling AsyncNetwork SocketConfig.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' produces an empty option set
51 |
52 | /// NO Flags should be set
53 | public static let none = SocketReceiveOptions(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
54 | /// Receive Out of Band Data
55 | public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' produces an empty option set
65 |
66 | /// NO Flags should be set
67 | public static let none = SocketSendOptions(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
68 | /// Send Data as Out of Band
69 | public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:97:12: warning: 'public' modifier is redundant for static method declared in a public extension
95 | public extension Socket {
96 |
97 | static public func create(withAddress address: InternetAddress, withConfig config: SocketConfig, options: SocketOptions = [.reusePort]) throws -> Socket {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
98 |
99 | var cfg = config
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:137:5: warning: 'public' modifier is redundant for instance method declared in a public extension
135 | public extension Socket {
136 |
137 | public func bind() throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
138 | guard socket_bind(self.fd, address.sockaddr, address.length) > -1 else { throw SocketError(.socketBindFail) }
139 | }
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:142:5: warning: 'public' modifier is redundant for instance method declared in a public extension
140 |
141 |
142 | public func close() throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
143 | if sock_close(self.fd) != 0 {
144 | throw SocketError(.closeSocketFail)
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:148:5: warning: 'public' modifier is redundant for instance method declared in a public extension
146 | }
147 |
148 | public func receivefrom(maxBytes: Int = kMaxBufferSize, options: SocketReceiveOptions = .none) throws -> (data: [UInt8], sender: InternetAddress) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
149 | if self.isValid == false { throw SocketError(.socketIsClosed) }
150 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:189:5: warning: 'public' modifier is redundant for instance method declared in a public extension
187 | /// - Returns: Length of Sent Data
188 | /// - Throws: Throws SocketError if error in sending
189 | public func send(data: [UInt8], toHost host: InternetAddress?, sendOptions: SocketSendOptions = .none) throws -> Int{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
190 | if self.isValid == false { throw SocketError(.socketIsClosed) }
191 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:208:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
206 | internal extension Socket {
207 |
208 | internal func send(data: [UInt8], toResolvedHost dest: SockAddressStorage, sendOptions: SocketSendOptions = .none) throws -> Int {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
209 |
210 | let sendOps = sendOptions.rawValue
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:160:45: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer [#TemporaryPointers]
158 |
159 | let receivedBytes = socket_recvfrom(self.fd,
160 | UnsafeMutableRawPointer(mutating: data),
| | |- note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer [#TemporaryPointers]
161 | data.capacity,
162 | recvOps,
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[7/19] Compiling AsyncNetwork Errors.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:131:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
129 | let addr = UnsafeMutablePointer<sockaddr_in>.init(OpaquePointer(addrInfo))!
130 | let specPtr = UnsafeMutablePointer<sockaddr_in>(OpaquePointer(ptr))
131 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
132 |
133 | case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:136:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
134 | let addr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(addrInfo))!
135 | let specPtr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(ptr))
136 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
137 |
138 | default:
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/19] Compiling AsyncNetwork InternetAddress.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:131:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
129 | let addr = UnsafeMutablePointer<sockaddr_in>.init(OpaquePointer(addrInfo))!
130 | let specPtr = UnsafeMutablePointer<sockaddr_in>(OpaquePointer(ptr))
131 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
132 |
133 | case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/InternetAddress.swift:136:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
134 | let addr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(addrInfo))!
135 | let specPtr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(ptr))
136 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
137 |
138 | default:
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/19] Emitting module AsyncNetwork
/host/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:151:5: warning: 'public' modifier is redundant for property declared in a public extension
149 | public extension AddressFamily {
150 |
151 | public var mcastJoinValue: Int32 {
| `- warning: 'public' modifier is redundant for property declared in a public extension
152 | switch self {
153 | case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/Shims.swift:161:5: warning: 'public' modifier is redundant for property declared in a public extension
159 | }
160 |
161 | public var mcastLeaveValue: Int32 {
| `- warning: 'public' modifier is redundant for property declared in a public extension
162 | switch self {
163 | case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:53:23: warning: static property 'none' produces an empty option set
51 |
52 | /// NO Flags should be set
53 | public static let none = SocketReceiveOptions(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
54 | /// Receive Out of Band Data
55 | public static let outOfBand = SocketReceiveOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:67:23: warning: static property 'none' produces an empty option set
65 |
66 | /// NO Flags should be set
67 | public static let none = SocketSendOptions(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
68 | /// Send Data as Out of Band
69 | public static let outOfBand = SocketSendOptions(rawValue: Int32(MSG_OOB))
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:97:12: warning: 'public' modifier is redundant for static method declared in a public extension
95 | public extension Socket {
96 |
97 | static public func create(withAddress address: InternetAddress, withConfig config: SocketConfig, options: SocketOptions = [.reusePort]) throws -> Socket {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
98 |
99 | var cfg = config
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:137:5: warning: 'public' modifier is redundant for instance method declared in a public extension
135 | public extension Socket {
136 |
137 | public func bind() throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
138 | guard socket_bind(self.fd, address.sockaddr, address.length) > -1 else { throw SocketError(.socketBindFail) }
139 | }
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:142:5: warning: 'public' modifier is redundant for instance method declared in a public extension
140 |
141 |
142 | public func close() throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
143 | if sock_close(self.fd) != 0 {
144 | throw SocketError(.closeSocketFail)
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:148:5: warning: 'public' modifier is redundant for instance method declared in a public extension
146 | }
147 |
148 | public func receivefrom(maxBytes: Int = kMaxBufferSize, options: SocketReceiveOptions = .none) throws -> (data: [UInt8], sender: InternetAddress) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
149 | if self.isValid == false { throw SocketError(.socketIsClosed) }
150 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:189:5: warning: 'public' modifier is redundant for instance method declared in a public extension
187 | /// - Returns: Length of Sent Data
188 | /// - Throws: Throws SocketError if error in sending
189 | public func send(data: [UInt8], toHost host: InternetAddress?, sendOptions: SocketSendOptions = .none) throws -> Int{
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
190 | if self.isValid == false { throw SocketError(.socketIsClosed) }
191 |
/host/spi-builder-workspace/Sources/AsyncNetwork/Socket/Socket.swift:208:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
206 | internal extension Socket {
207 |
208 | internal func send(data: [UInt8], toResolvedHost dest: SockAddressStorage, sendOptions: SocketSendOptions = .none) throws -> Int {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
209 |
210 | let sendOps = sendOptions.rawValue
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:40:5: warning: 'public' modifier is redundant for instance method declared in a public extension
38 | /// - Parameter group: Multicast Group
39 | /// - Throws: Throws SocketError if error condition
40 | public func join(group: MulticastGroup) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 |
42 | var errorCode: SocketError?
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:101:5: warning: 'public' modifier is redundant for instance method declared in a public extension
99 | /// - Parameter group: Multicast Group
100 | /// - Throws: Throws SocketError if error condition
101 | public func leave(group: MulticastGroup) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
102 | var errorCode: SocketError?
103 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:152:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
150 | fileprivate extension AsyncUDP {
151 |
152 | fileprivate func preMulticastCheck() throws {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
153 | //Pre-check if we can Bind
154 | guard flags.contains(.didBind) != false else {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:39:5: warning: 'public' modifier is redundant for instance method declared in a public extension
37 | ///
38 | /// - Throws: Throws SocketError if error condition
39 | public func beginReceiving() throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
40 | var errorCode: SocketError?
41 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:78:5: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | ///
77 | /// - Throws: Throws SocketError if error condition
78 | public func receiveOnce() throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | var errorCode: SocketError?
80 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:124:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
122 | internal extension AsyncUDP {
123 |
124 | internal func suspendReceive() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
125 |
126 | if flags.contains(.recvSourceSuspend) == false {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:138:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
136 | }
137 |
138 | internal func resumeReceive() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
139 |
140 | if flags.contains(.recvSourceSuspend) == true {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:151:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
149 | }
150 |
151 | internal func doReceive() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
152 |
153 | if (flags.contains(.receiveContinous) || flags.contains(.receiveOnce)) == false {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:224:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
222 | }
223 |
224 | internal func doReceiveEOF() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
225 | closeSocketFinal()
226 | }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:228:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
226 | }
227 |
228 | internal func notifyRecieveDelegate(data: Data, fromAddress address: InternetAddress) {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
229 |
230 | for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:43:5: warning: 'public' modifier is redundant for instance method declared in a public extension
41 | /// - timeout: Timeout period to send data
42 | /// - tag: Tags can be used to associate sends on the Observer
43 | public func send(data: Data, toHost host: InternetAddress, timeout: TimeInterval = kAsyncUDPSocketSendNoTimeout, tag: Int = kAsyncUDPSocketSendNoTag) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
44 |
45 | if data.count == 0 {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:97:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
95 | }
96 |
97 | internal func resumeSendSource() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
98 |
99 | if flags.contains(.sendSourceSuspend) == true {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:109:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
107 | }
108 |
109 | internal func doSend() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
110 |
111 | assert(currentSend != nil, "Invalid Logic")
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:180:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
178 |
179 |
180 | fileprivate func resolve(host: InternetAddress, handler: @escaping (_ address: SockAddressStorage?, _ error: SocketError?) -> Void) {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
181 |
182 | let globalConcurrentQ = DispatchQueue.global(qos: DispatchQoS.QoSClass.default)
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:205:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
203 | }
204 |
205 | fileprivate func endCurrentSend() {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
206 |
207 | if sendTimer != nil {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:215:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
213 | }
214 |
215 | fileprivate func doPreSend() {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
216 |
217 | //Check for any problems with Send Packet
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:250:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
248 | }
249 |
250 | fileprivate func maybeDequeueSend() {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
251 |
252 | guard isCurrentQueue == true else {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:295:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
293 |
294 | //MARK: Send Timeout
295 | fileprivate func setupSendTimer(_ timeout: TimeInterval) {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
296 |
297 | assert(sendTimer == nil, "Invalid Logic")
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:318:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
316 | }
317 |
318 | fileprivate func doSendTimout() {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
319 | let error = SocketError(.sendTimout(msg: "Send operation timed out"))
320 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:328:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
326 | }
327 |
328 | fileprivate func notifyDidNotSend(_ error: SocketError, tag: Int) {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
329 |
330 | for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:337:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
335 | }
336 |
337 | fileprivate func notifyDidSend(_ tag: Int) {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
338 |
339 | for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:114:5: warning: 'public' modifier is redundant for instance method declared in a public extension
112 | ///
113 | /// - Parameter observer: AsyncUDPSocketObserver object
114 | public func addObserver(_ observer: SocketObserver) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |
116 | self.observers.append(observer)
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:123:5: warning: 'public' modifier is redundant for instance method declared in a public extension
121 | ///
122 | /// - Parameter observer: AsyncUDPSocketObserver Object
123 | public func removeObserver(_ observer: SocketObserver) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
124 |
125 | for (idx, obsvr) in observers.enumerated() {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:139:5: warning: 'public' modifier is redundant for instance method declared in a public extension
137 |
138 | /// Close the Async UDP Connection
139 | public func close() {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
140 |
141 | let block = DispatchWorkItem {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:216:5: warning: 'public' modifier is redundant for instance method declared in a public extension
214 | /// - options: Binding Options
215 | /// - Throws: Throws Error if issue with binding
216 | public func bind(address: InternetAddress, options: SocketOptions = [.reusePort]) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
217 |
218 | var errorCode: SocketError?
[10/19] Compiling AsyncNetwork AsyncUDP+Send.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:43:5: warning: 'public' modifier is redundant for instance method declared in a public extension
41 | /// - timeout: Timeout period to send data
42 | /// - tag: Tags can be used to associate sends on the Observer
43 | public func send(data: Data, toHost host: InternetAddress, timeout: TimeInterval = kAsyncUDPSocketSendNoTimeout, tag: Int = kAsyncUDPSocketSendNoTag) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
44 |
45 | if data.count == 0 {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:97:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
95 | }
96 |
97 | internal func resumeSendSource() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
98 |
99 | if flags.contains(.sendSourceSuspend) == true {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:109:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
107 | }
108 |
109 | internal func doSend() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
110 |
111 | assert(currentSend != nil, "Invalid Logic")
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:180:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
178 |
179 |
180 | fileprivate func resolve(host: InternetAddress, handler: @escaping (_ address: SockAddressStorage?, _ error: SocketError?) -> Void) {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
181 |
182 | let globalConcurrentQ = DispatchQueue.global(qos: DispatchQoS.QoSClass.default)
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:205:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
203 | }
204 |
205 | fileprivate func endCurrentSend() {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
206 |
207 | if sendTimer != nil {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:215:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
213 | }
214 |
215 | fileprivate func doPreSend() {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
216 |
217 | //Check for any problems with Send Packet
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:250:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
248 | }
249 |
250 | fileprivate func maybeDequeueSend() {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
251 |
252 | guard isCurrentQueue == true else {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:295:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
293 |
294 | //MARK: Send Timeout
295 | fileprivate func setupSendTimer(_ timeout: TimeInterval) {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
296 |
297 | assert(sendTimer == nil, "Invalid Logic")
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:318:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
316 | }
317 |
318 | fileprivate func doSendTimout() {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
319 | let error = SocketError(.sendTimout(msg: "Send operation timed out"))
320 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:328:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
326 | }
327 |
328 | fileprivate func notifyDidNotSend(_ error: SocketError, tag: Int) {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
329 |
330 | for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:337:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
335 | }
336 |
337 | fileprivate func notifyDidSend(_ tag: Int) {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
338 |
339 | for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:114:5: warning: 'public' modifier is redundant for instance method declared in a public extension
112 | ///
113 | /// - Parameter observer: AsyncUDPSocketObserver object
114 | public func addObserver(_ observer: SocketObserver) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |
116 | self.observers.append(observer)
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:123:5: warning: 'public' modifier is redundant for instance method declared in a public extension
121 | ///
122 | /// - Parameter observer: AsyncUDPSocketObserver Object
123 | public func removeObserver(_ observer: SocketObserver) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
124 |
125 | for (idx, obsvr) in observers.enumerated() {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:139:5: warning: 'public' modifier is redundant for instance method declared in a public extension
137 |
138 | /// Close the Async UDP Connection
139 | public func close() {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
140 |
141 | let block = DispatchWorkItem {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:216:5: warning: 'public' modifier is redundant for instance method declared in a public extension
214 | /// - options: Binding Options
215 | /// - Throws: Throws Error if issue with binding
216 | public func bind(address: InternetAddress, options: SocketOptions = [.reusePort]) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
217 |
218 | var errorCode: SocketError?
[11/19] Compiling AsyncNetwork AsyncUDP.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:43:5: warning: 'public' modifier is redundant for instance method declared in a public extension
41 | /// - timeout: Timeout period to send data
42 | /// - tag: Tags can be used to associate sends on the Observer
43 | public func send(data: Data, toHost host: InternetAddress, timeout: TimeInterval = kAsyncUDPSocketSendNoTimeout, tag: Int = kAsyncUDPSocketSendNoTag) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
44 |
45 | if data.count == 0 {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:97:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
95 | }
96 |
97 | internal func resumeSendSource() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
98 |
99 | if flags.contains(.sendSourceSuspend) == true {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:109:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
107 | }
108 |
109 | internal func doSend() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
110 |
111 | assert(currentSend != nil, "Invalid Logic")
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:180:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
178 |
179 |
180 | fileprivate func resolve(host: InternetAddress, handler: @escaping (_ address: SockAddressStorage?, _ error: SocketError?) -> Void) {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
181 |
182 | let globalConcurrentQ = DispatchQueue.global(qos: DispatchQoS.QoSClass.default)
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:205:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
203 | }
204 |
205 | fileprivate func endCurrentSend() {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
206 |
207 | if sendTimer != nil {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:215:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
213 | }
214 |
215 | fileprivate func doPreSend() {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
216 |
217 | //Check for any problems with Send Packet
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:250:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
248 | }
249 |
250 | fileprivate func maybeDequeueSend() {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
251 |
252 | guard isCurrentQueue == true else {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:295:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
293 |
294 | //MARK: Send Timeout
295 | fileprivate func setupSendTimer(_ timeout: TimeInterval) {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
296 |
297 | assert(sendTimer == nil, "Invalid Logic")
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:318:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
316 | }
317 |
318 | fileprivate func doSendTimout() {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
319 | let error = SocketError(.sendTimout(msg: "Send operation timed out"))
320 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:328:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
326 | }
327 |
328 | fileprivate func notifyDidNotSend(_ error: SocketError, tag: Int) {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
329 |
330 | for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Send.swift:337:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
335 | }
336 |
337 | fileprivate func notifyDidSend(_ tag: Int) {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
338 |
339 | for observer in observers {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:114:5: warning: 'public' modifier is redundant for instance method declared in a public extension
112 | ///
113 | /// - Parameter observer: AsyncUDPSocketObserver object
114 | public func addObserver(_ observer: SocketObserver) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |
116 | self.observers.append(observer)
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:123:5: warning: 'public' modifier is redundant for instance method declared in a public extension
121 | ///
122 | /// - Parameter observer: AsyncUDPSocketObserver Object
123 | public func removeObserver(_ observer: SocketObserver) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
124 |
125 | for (idx, obsvr) in observers.enumerated() {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:139:5: warning: 'public' modifier is redundant for instance method declared in a public extension
137 |
138 | /// Close the Async UDP Connection
139 | public func close() {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
140 |
141 | let block = DispatchWorkItem {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP.swift:216:5: warning: 'public' modifier is redundant for instance method declared in a public extension
214 | /// - options: Binding Options
215 | /// - Throws: Throws Error if issue with binding
216 | public func bind(address: InternetAddress, options: SocketOptions = [.reusePort]) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
217 |
218 | var errorCode: SocketError?
[12/19] Compiling AsyncNetwork AsyncUDPSendPacket.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:149:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
147 | let addr = UnsafeMutablePointer<sockaddr_in>.init(OpaquePointer(addrInfo))!
148 | let specPtr = UnsafeMutablePointer<sockaddr_in>(OpaquePointer(ptr))
149 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
150 |
151 | case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:154:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
152 | let addr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(addrInfo))!
153 | let specPtr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(ptr))
154 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
155 |
156 | default:
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[13/19] Compiling AsyncNetwork MulticastGroup.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:149:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
147 | let addr = UnsafeMutablePointer<sockaddr_in>.init(OpaquePointer(addrInfo))!
148 | let specPtr = UnsafeMutablePointer<sockaddr_in>(OpaquePointer(ptr))
149 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
150 |
151 | case .inet6:
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/MulticastGroup.swift:154:21: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
152 | let addr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(addrInfo))!
153 | let specPtr = UnsafeMutablePointer<sockaddr_in6>(OpaquePointer(ptr))
154 | specPtr.assign(from: addr, count: 1)
| |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
| `- note: use 'update(from:count:)' instead
155 |
156 | default:
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[14/19] Compiling AsyncNetwork SocketObserver.swift
[15/19] Compiling AsyncNetwork SocketOptions.swift
[16/19] Compiling AsyncNetwork UDPReceiveObserver.swift
[17/19] Compiling AsyncNetwork UDPSendObserver.swift
[18/19] Compiling AsyncNetwork AsyncUDP+Multicast.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:40:5: warning: 'public' modifier is redundant for instance method declared in a public extension
38 | /// - Parameter group: Multicast Group
39 | /// - Throws: Throws SocketError if error condition
40 | public func join(group: MulticastGroup) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 |
42 | var errorCode: SocketError?
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:101:5: warning: 'public' modifier is redundant for instance method declared in a public extension
99 | /// - Parameter group: Multicast Group
100 | /// - Throws: Throws SocketError if error condition
101 | public func leave(group: MulticastGroup) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
102 | var errorCode: SocketError?
103 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:152:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
150 | fileprivate extension AsyncUDP {
151 |
152 | fileprivate func preMulticastCheck() throws {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
153 | //Pre-check if we can Bind
154 | guard flags.contains(.didBind) != false else {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:39:5: warning: 'public' modifier is redundant for instance method declared in a public extension
37 | ///
38 | /// - Throws: Throws SocketError if error condition
39 | public func beginReceiving() throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
40 | var errorCode: SocketError?
41 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:78:5: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | ///
77 | /// - Throws: Throws SocketError if error condition
78 | public func receiveOnce() throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | var errorCode: SocketError?
80 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:124:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
122 | internal extension AsyncUDP {
123 |
124 | internal func suspendReceive() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
125 |
126 | if flags.contains(.recvSourceSuspend) == false {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:138:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
136 | }
137 |
138 | internal func resumeReceive() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
139 |
140 | if flags.contains(.recvSourceSuspend) == true {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:151:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
149 | }
150 |
151 | internal func doReceive() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
152 |
153 | if (flags.contains(.receiveContinous) || flags.contains(.receiveOnce)) == false {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:224:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
222 | }
223 |
224 | internal func doReceiveEOF() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
225 | closeSocketFinal()
226 | }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:228:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
226 | }
227 |
228 | internal func notifyRecieveDelegate(data: Data, fromAddress address: InternetAddress) {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
229 |
230 | for observer in observers {
[19/19] Compiling AsyncNetwork AsyncUDP+Receive.swift
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:40:5: warning: 'public' modifier is redundant for instance method declared in a public extension
38 | /// - Parameter group: Multicast Group
39 | /// - Throws: Throws SocketError if error condition
40 | public func join(group: MulticastGroup) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 |
42 | var errorCode: SocketError?
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:101:5: warning: 'public' modifier is redundant for instance method declared in a public extension
99 | /// - Parameter group: Multicast Group
100 | /// - Throws: Throws SocketError if error condition
101 | public func leave(group: MulticastGroup) throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
102 | var errorCode: SocketError?
103 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Multicast.swift:152:5: warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
150 | fileprivate extension AsyncUDP {
151 |
152 | fileprivate func preMulticastCheck() throws {
| `- warning: 'fileprivate' modifier is redundant for instance method declared in a fileprivate extension
153 | //Pre-check if we can Bind
154 | guard flags.contains(.didBind) != false else {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:39:5: warning: 'public' modifier is redundant for instance method declared in a public extension
37 | ///
38 | /// - Throws: Throws SocketError if error condition
39 | public func beginReceiving() throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
40 | var errorCode: SocketError?
41 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:78:5: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | ///
77 | /// - Throws: Throws SocketError if error condition
78 | public func receiveOnce() throws {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | var errorCode: SocketError?
80 |
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:124:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
122 | internal extension AsyncUDP {
123 |
124 | internal func suspendReceive() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
125 |
126 | if flags.contains(.recvSourceSuspend) == false {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:138:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
136 | }
137 |
138 | internal func resumeReceive() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
139 |
140 | if flags.contains(.recvSourceSuspend) == true {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:151:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
149 | }
150 |
151 | internal func doReceive() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
152 |
153 | if (flags.contains(.receiveContinous) || flags.contains(.receiveOnce)) == false {
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:224:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
222 | }
223 |
224 | internal func doReceiveEOF() {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
225 | closeSocketFinal()
226 | }
/host/spi-builder-workspace/Sources/AsyncNetwork/UDP/AsyncUDP+Receive.swift:228:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
226 | }
227 |
228 | internal func notifyRecieveDelegate(data: Data, fromAddress address: InternetAddress) {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
229 |
230 | for observer in observers {
Build complete! (14.33s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AsyncNetwork",
"name" : "AsyncNetwork",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AsyncNetwork",
"targets" : [
"AsyncNetwork"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"3",
"4"
],
"targets" : [
{
"c99name" : "AsyncNetwork",
"module_type" : "SwiftTarget",
"name" : "AsyncNetwork",
"path" : "Sources/AsyncNetwork",
"product_memberships" : [
"AsyncNetwork"
],
"sources" : [
"Errors.swift",
"InternetAddress.swift",
"Shims.swift",
"Socket/SockAddressStorage.swift",
"Socket/Socket.swift",
"Socket/SocketConfig.swift",
"Socket/SocketObserver.swift",
"Socket/SocketOptions.swift",
"UDP/AsyncUDP+Multicast.swift",
"UDP/AsyncUDP+Receive.swift",
"UDP/AsyncUDP+Send.swift",
"UDP/AsyncUDP.swift",
"UDP/AsyncUDPSendPacket.swift",
"UDP/MulticastGroup.swift",
"UDP/UDPReceiveObserver.swift",
"UDP/UDPSendObserver.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.