Build Information
Successful build of SwiftUpnpTools, reference master (917008), with Swift 6.1 for Linux on 26 Jun 2026 14:00:11 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bjtj/swift-upnp-tools.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/bjtj/swift-upnp-tools
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 9170085 Merge pull request #37 from bjtj/bjtj-patch-2
Cloned https://github.com/bjtj/swift-upnp-tools.git
Revision (git rev-parse @):
917008558adb5baca79a3400c97d2b675cdeb35e
SUCCESS checkout https://github.com/bjtj/swift-upnp-tools.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/bjtj/swift-upnp-tools.git
https://github.com/bjtj/swift-upnp-tools.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Fetching https://github.com/bjtj/swift-xml.git
Fetching https://github.com/IBM-Swift/BlueSocket.git
Fetching https://github.com/bjtj/swift-http-server.git
[1/754] Fetching swift-http-server
[755/953] Fetching swift-http-server, swift-xml
Fetched https://github.com/bjtj/swift-xml.git from cache (0.41s)
Fetched https://github.com/bjtj/swift-http-server.git from cache (0.41s)
[1/2942] Fetching bluesocket
Fetched https://github.com/IBM-Swift/BlueSocket.git from cache (0.51s)
Computing version for https://github.com/bjtj/swift-xml.git
Computed https://github.com/bjtj/swift-xml.git at 0.1.14 (0.75s)
Computing version for https://github.com/bjtj/swift-http-server.git
Computed https://github.com/bjtj/swift-http-server.git at 0.1.23 (0.24s)
Computing version for https://github.com/IBM-Swift/BlueSocket.git
Computed https://github.com/IBM-Swift/BlueSocket.git at 1.0.200 (0.91s)
Creating working copy for https://github.com/bjtj/swift-http-server.git
Working copy of https://github.com/bjtj/swift-http-server.git resolved at 0.1.23
Creating working copy for https://github.com/bjtj/swift-xml.git
Working copy of https://github.com/bjtj/swift-xml.git resolved at 0.1.14
Creating working copy for https://github.com/IBM-Swift/BlueSocket.git
Working copy of https://github.com/IBM-Swift/BlueSocket.git resolved at 1.0.200
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/20] Compiling SwiftXml XmlText.swift
[7/21] Compiling SwiftXml XmlParser.swift
[8/21] Compiling SwiftXml XmlAttribute.swift
[9/21] Compiling SwiftXml XmlComment.swift
[10/21] Compiling SwiftXml XmlParseError.swift
[11/21] Compiling SwiftXml XmlDTD.swift
[12/21] Compiling SwiftXml XmlDocument.swift
[13/21] Compiling SwiftXml XmlElement.swift
[14/21] Compiling SwiftXml XmlNode.swift
[15/21] Emitting module SwiftXml
[16/21] Compiling SwiftXml XmlNodeType.swift
[17/21] Compiling Socket SocketUtils.swift
[18/21] Compiling Socket SocketProtocols.swift
[19/21] Compiling Socket Socket.swift
[20/21] Emitting module Socket
[21/22] Compiling SwiftXml XmlTokenizer.swift
[24/43] Emitting module SwiftHttpServer
[25/45] Compiling SwiftHttpServer TransferEncoding.swift
[26/45] Compiling SwiftHttpServer URLPathParser.swift
[27/45] Compiling SwiftHttpServer HttpConnectionType.swift
[28/45] Compiling SwiftHttpServer HttpHeader.swift
[29/45] Compiling SwiftHttpServer HttpRequest.swift
[30/45] Compiling SwiftHttpServer ChunkedTransfer.swift
[31/45] Compiling SwiftHttpServer FirstLine.swift
[32/45] Compiling SwiftHttpServer FixedTransfer.swift
[33/45] Compiling SwiftHttpServer Network.swift
[34/45] Compiling SwiftHttpServer Transfer.swift
[35/45] Compiling SwiftHttpServer HttpServerError.swift
[36/45] Compiling SwiftHttpServer HttpServerRouter.swift
[37/45] Compiling SwiftHttpServer HttpSpecVersion.swift
[38/45] Compiling SwiftHttpServer HttpStatusCode.swift
[39/45] Compiling SwiftHttpServer HttpTransferEncoding.swift
[40/45] Compiling SwiftHttpServer InetAddress.swift
[41/45] Compiling SwiftHttpServer KeyValuePair.swift
[42/45] Compiling SwiftHttpServer KeyValuesDict.swift
[43/45] Compiling SwiftHttpServer HttpRequestHandler.swift
[44/45] Compiling SwiftHttpServer HttpResponse.swift
[45/45] Compiling SwiftHttpServer HttpServer.swift
[47/80] Emitting module SwiftUpnpTools
/host/spi-builder-workspace/Sources/swift-upnp-tools/SSDP.swift:27:23: warning: static property 'MCAST_HOST' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | Multicast hostname
26 | */
27 | public static var MCAST_HOST = "239.255.255.250"
| |- warning: static property 'MCAST_HOST' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MCAST_HOST' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MCAST_HOST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/SSDP.swift:32:23: warning: static property 'MCAST_PORT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | Multicast port
31 | */
32 | public static var MCAST_PORT = 1900
| |- warning: static property 'MCAST_PORT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MCAST_PORT' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MCAST_PORT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:53:23: warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | - e.g.) unix/5.2
52 | */
53 | public static var META_OS_NAME: String = "\(osname())"
| |- warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_OS_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_OS_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:59:23: warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | - e.g.) UPnP/1.1
58 | */
59 | public static var META_UPNP_VER: String = "UPnP/1.1"
| |- warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_UPNP_VER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_UPNP_VER' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:65:23: warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | - e.g.) SwiftUPnPControlpoint/1.0
64 | */
65 | public static var META_APP_NAME: String = "SwiftUPnPControlpoint/1.0"
| |- warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_APP_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_APP_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:17:23: warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | - e.g.) unix/5.2
16 | */
17 | public static var META_OS_NAME: String = "\(osname())"
| |- warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_OS_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_OS_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:23:23: warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | - e.g.) UPnP/1.1
22 | */
23 | public static var META_UPNP_VER: String = "UPnP/1.1"
| |- warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_UPNP_VER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_UPNP_VER' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:29:23: warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | - e.g.) SwiftUPnPServer/1.0
28 | */
29 | public static var META_APP_NAME: String = "SwiftUPnPServer/1.0"
| |- warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_APP_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_APP_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /**
[48/84] Compiling SwiftUpnpTools UPnPAction.swift
[49/84] Compiling SwiftUpnpTools UPnPActionArgument.swift
[50/84] Compiling SwiftUpnpTools UPnPActionArgumentDirection.swift
[51/84] Compiling SwiftUpnpTools UPnPActionError.swift
[52/84] Compiling SwiftUpnpTools UPnPActionInvoke.swift
[53/84] Compiling SwiftUpnpTools UPnPService.swift
[54/84] Compiling SwiftUpnpTools UPnPSoapErrorResponse.swift
[55/84] Compiling SwiftUpnpTools UPnPSoapRequest.swift
[56/84] Compiling SwiftUpnpTools UPnPSoapResponse.swift
[57/84] Compiling SwiftUpnpTools OrderedCaseInsensitiveProperties.swift
[58/84] Compiling SwiftUpnpTools OrderedProperties.swift
[59/84] Compiling SwiftUpnpTools XmlTag.swift
[60/84] Compiling SwiftUpnpTools system.swift
[61/84] Compiling SwiftUpnpTools UPnPSpecVersion.swift
[62/84] Compiling SwiftUpnpTools UPnPStateVariable.swift
[63/84] Compiling SwiftUpnpTools UPnPUsn.swift
[64/84] Compiling SwiftUpnpTools KeyValuePair.swift
[65/84] Compiling SwiftUpnpTools HttpClient.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/HttpClient.swift:170:13: warning: capture of 'self' with non-sendable type 'HttpClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
85 | Simple Http Client
86 | */
87 | public class HttpClient {
| `- note: class 'HttpClient' does not conform to the 'Sendable' protocol
88 |
89 | /**
:
168 | let task = session.dataTask(with: request) {
169 | (data, response, error) in
170 | self.delegate?(data, response, error)
| `- warning: capture of 'self' with non-sendable type 'HttpClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
171 | }
172 | task.resume()
/host/spi-builder-workspace/Sources/swift-upnp-tools/SSDP.swift:27:23: warning: static property 'MCAST_HOST' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | Multicast hostname
26 | */
27 | public static var MCAST_HOST = "239.255.255.250"
| |- warning: static property 'MCAST_HOST' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MCAST_HOST' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MCAST_HOST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/SSDP.swift:32:23: warning: static property 'MCAST_PORT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | Multicast port
31 | */
32 | public static var MCAST_PORT = 1900
| |- warning: static property 'MCAST_PORT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MCAST_PORT' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MCAST_PORT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /**
[66/84] Compiling SwiftUpnpTools SSDP.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/HttpClient.swift:170:13: warning: capture of 'self' with non-sendable type 'HttpClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
85 | Simple Http Client
86 | */
87 | public class HttpClient {
| `- note: class 'HttpClient' does not conform to the 'Sendable' protocol
88 |
89 | /**
:
168 | let task = session.dataTask(with: request) {
169 | (data, response, error) in
170 | self.delegate?(data, response, error)
| `- warning: capture of 'self' with non-sendable type 'HttpClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
171 | }
172 | task.resume()
/host/spi-builder-workspace/Sources/swift-upnp-tools/SSDP.swift:27:23: warning: static property 'MCAST_HOST' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | Multicast hostname
26 | */
27 | public static var MCAST_HOST = "239.255.255.250"
| |- warning: static property 'MCAST_HOST' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MCAST_HOST' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MCAST_HOST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/SSDP.swift:32:23: warning: static property 'MCAST_PORT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | Multicast port
31 | */
32 | public static var MCAST_PORT = 1900
| |- warning: static property 'MCAST_PORT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MCAST_PORT' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MCAST_PORT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /**
[67/84] Compiling SwiftUpnpTools SSDPHeader.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/HttpClient.swift:170:13: warning: capture of 'self' with non-sendable type 'HttpClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
85 | Simple Http Client
86 | */
87 | public class HttpClient {
| `- note: class 'HttpClient' does not conform to the 'Sendable' protocol
88 |
89 | /**
:
168 | let task = session.dataTask(with: request) {
169 | (data, response, error) in
170 | self.delegate?(data, response, error)
| `- warning: capture of 'self' with non-sendable type 'HttpClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
171 | }
172 | task.resume()
/host/spi-builder-workspace/Sources/swift-upnp-tools/SSDP.swift:27:23: warning: static property 'MCAST_HOST' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | Multicast hostname
26 | */
27 | public static var MCAST_HOST = "239.255.255.250"
| |- warning: static property 'MCAST_HOST' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MCAST_HOST' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MCAST_HOST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/SSDP.swift:32:23: warning: static property 'MCAST_PORT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | Multicast port
31 | */
32 | public static var MCAST_PORT = 1900
| |- warning: static property 'MCAST_PORT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MCAST_PORT' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MCAST_PORT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /**
[68/84] Compiling SwiftUpnpTools SSDPReceiver.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/HttpClient.swift:170:13: warning: capture of 'self' with non-sendable type 'HttpClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
85 | Simple Http Client
86 | */
87 | public class HttpClient {
| `- note: class 'HttpClient' does not conform to the 'Sendable' protocol
88 |
89 | /**
:
168 | let task = session.dataTask(with: request) {
169 | (data, response, error) in
170 | self.delegate?(data, response, error)
| `- warning: capture of 'self' with non-sendable type 'HttpClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
171 | }
172 | task.resume()
/host/spi-builder-workspace/Sources/swift-upnp-tools/SSDP.swift:27:23: warning: static property 'MCAST_HOST' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | Multicast hostname
26 | */
27 | public static var MCAST_HOST = "239.255.255.250"
| |- warning: static property 'MCAST_HOST' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MCAST_HOST' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MCAST_HOST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/SSDP.swift:32:23: warning: static property 'MCAST_PORT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | Multicast port
31 | */
32 | public static var MCAST_PORT = 1900
| |- warning: static property 'MCAST_PORT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MCAST_PORT' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MCAST_PORT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /**
[69/84] Compiling SwiftUpnpTools TimeBase.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/HttpClient.swift:170:13: warning: capture of 'self' with non-sendable type 'HttpClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
85 | Simple Http Client
86 | */
87 | public class HttpClient {
| `- note: class 'HttpClient' does not conform to the 'Sendable' protocol
88 |
89 | /**
:
168 | let task = session.dataTask(with: request) {
169 | (data, response, error) in
170 | self.delegate?(data, response, error)
| `- warning: capture of 'self' with non-sendable type 'HttpClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
171 | }
172 | task.resume()
/host/spi-builder-workspace/Sources/swift-upnp-tools/SSDP.swift:27:23: warning: static property 'MCAST_HOST' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | Multicast hostname
26 | */
27 | public static var MCAST_HOST = "239.255.255.250"
| |- warning: static property 'MCAST_HOST' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MCAST_HOST' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MCAST_HOST' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/SSDP.swift:32:23: warning: static property 'MCAST_PORT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | Multicast port
31 | */
32 | public static var MCAST_PORT = 1900
| |- warning: static property 'MCAST_PORT' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'MCAST_PORT' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'MCAST_PORT' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /**
[70/84] Compiling SwiftUpnpTools UPnPModel.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:17:23: warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | - e.g.) unix/5.2
16 | */
17 | public static var META_OS_NAME: String = "\(osname())"
| |- warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_OS_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_OS_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:23:23: warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | - e.g.) UPnP/1.1
22 | */
23 | public static var META_UPNP_VER: String = "UPnP/1.1"
| |- warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_UPNP_VER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_UPNP_VER' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:29:23: warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | - e.g.) SwiftUPnPServer/1.0
28 | */
29 | public static var META_APP_NAME: String = "SwiftUPnPServer/1.0"
| |- warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_APP_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_APP_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:417:19: warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
415 | DispatchQueue.global(qos: .default).async {
416 |
417 | guard self.httpServer == nil else {
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
418 | // already started
419 | return
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:429:25: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
427 | switch status {
428 | case .started:
429 | self.handleComponentStatus(.httpserver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
430 | default:
431 | self.handleComponentStatus(.httpserver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:682:19: warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
680 | DispatchQueue.global(qos: .default).async {
681 |
682 | guard self.ssdpReceiver == nil else {
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
683 | return
684 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:688:28: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
686 | let receiver = try SSDPReceiver() {
687 | (address, ssdpHeader, error) in
688 | return self.onSSDPHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
689 | }
690 | self.ssdpReceiver = receiver
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:695:25: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
693 | switch status {
694 | case .started:
695 | self.handleComponentStatus(.ssdpreceiver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
696 | default:
697 | self.handleComponentStatus(.ssdpreceiver, .stopped)
[71/84] Compiling SwiftUpnpTools UPnPNts.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:17:23: warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | - e.g.) unix/5.2
16 | */
17 | public static var META_OS_NAME: String = "\(osname())"
| |- warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_OS_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_OS_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:23:23: warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | - e.g.) UPnP/1.1
22 | */
23 | public static var META_UPNP_VER: String = "UPnP/1.1"
| |- warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_UPNP_VER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_UPNP_VER' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:29:23: warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | - e.g.) SwiftUPnPServer/1.0
28 | */
29 | public static var META_APP_NAME: String = "SwiftUPnPServer/1.0"
| |- warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_APP_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_APP_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:417:19: warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
415 | DispatchQueue.global(qos: .default).async {
416 |
417 | guard self.httpServer == nil else {
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
418 | // already started
419 | return
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:429:25: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
427 | switch status {
428 | case .started:
429 | self.handleComponentStatus(.httpserver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
430 | default:
431 | self.handleComponentStatus(.httpserver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:682:19: warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
680 | DispatchQueue.global(qos: .default).async {
681 |
682 | guard self.ssdpReceiver == nil else {
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
683 | return
684 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:688:28: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
686 | let receiver = try SSDPReceiver() {
687 | (address, ssdpHeader, error) in
688 | return self.onSSDPHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
689 | }
690 | self.ssdpReceiver = receiver
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:695:25: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
693 | switch status {
694 | case .started:
695 | self.handleComponentStatus(.ssdpreceiver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
696 | default:
697 | self.handleComponentStatus(.ssdpreceiver, .stopped)
[72/84] Compiling SwiftUpnpTools UPnPScpd.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:17:23: warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | - e.g.) unix/5.2
16 | */
17 | public static var META_OS_NAME: String = "\(osname())"
| |- warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_OS_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_OS_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:23:23: warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | - e.g.) UPnP/1.1
22 | */
23 | public static var META_UPNP_VER: String = "UPnP/1.1"
| |- warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_UPNP_VER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_UPNP_VER' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:29:23: warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | - e.g.) SwiftUPnPServer/1.0
28 | */
29 | public static var META_APP_NAME: String = "SwiftUPnPServer/1.0"
| |- warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_APP_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_APP_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:417:19: warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
415 | DispatchQueue.global(qos: .default).async {
416 |
417 | guard self.httpServer == nil else {
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
418 | // already started
419 | return
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:429:25: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
427 | switch status {
428 | case .started:
429 | self.handleComponentStatus(.httpserver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
430 | default:
431 | self.handleComponentStatus(.httpserver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:682:19: warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
680 | DispatchQueue.global(qos: .default).async {
681 |
682 | guard self.ssdpReceiver == nil else {
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
683 | return
684 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:688:28: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
686 | let receiver = try SSDPReceiver() {
687 | (address, ssdpHeader, error) in
688 | return self.onSSDPHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
689 | }
690 | self.ssdpReceiver = receiver
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:695:25: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
693 | switch status {
694 | case .started:
695 | self.handleComponentStatus(.ssdpreceiver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
696 | default:
697 | self.handleComponentStatus(.ssdpreceiver, .stopped)
[73/84] Compiling SwiftUpnpTools UPnPScpdBuilder.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:17:23: warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | - e.g.) unix/5.2
16 | */
17 | public static var META_OS_NAME: String = "\(osname())"
| |- warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_OS_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_OS_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:23:23: warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | - e.g.) UPnP/1.1
22 | */
23 | public static var META_UPNP_VER: String = "UPnP/1.1"
| |- warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_UPNP_VER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_UPNP_VER' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:29:23: warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | - e.g.) SwiftUPnPServer/1.0
28 | */
29 | public static var META_APP_NAME: String = "SwiftUPnPServer/1.0"
| |- warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_APP_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_APP_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:417:19: warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
415 | DispatchQueue.global(qos: .default).async {
416 |
417 | guard self.httpServer == nil else {
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
418 | // already started
419 | return
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:429:25: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
427 | switch status {
428 | case .started:
429 | self.handleComponentStatus(.httpserver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
430 | default:
431 | self.handleComponentStatus(.httpserver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:682:19: warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
680 | DispatchQueue.global(qos: .default).async {
681 |
682 | guard self.ssdpReceiver == nil else {
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
683 | return
684 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:688:28: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
686 | let receiver = try SSDPReceiver() {
687 | (address, ssdpHeader, error) in
688 | return self.onSSDPHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
689 | }
690 | self.ssdpReceiver = receiver
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:695:25: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
693 | switch status {
694 | case .started:
695 | self.handleComponentStatus(.ssdpreceiver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
696 | default:
697 | self.handleComponentStatus(.ssdpreceiver, .stopped)
[74/84] Compiling SwiftUpnpTools UPnPServer.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:17:23: warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | - e.g.) unix/5.2
16 | */
17 | public static var META_OS_NAME: String = "\(osname())"
| |- warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_OS_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_OS_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:23:23: warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | - e.g.) UPnP/1.1
22 | */
23 | public static var META_UPNP_VER: String = "UPnP/1.1"
| |- warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_UPNP_VER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_UPNP_VER' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:29:23: warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | - e.g.) SwiftUPnPServer/1.0
28 | */
29 | public static var META_APP_NAME: String = "SwiftUPnPServer/1.0"
| |- warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_APP_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_APP_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:417:19: warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
415 | DispatchQueue.global(qos: .default).async {
416 |
417 | guard self.httpServer == nil else {
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
418 | // already started
419 | return
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:429:25: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
427 | switch status {
428 | case .started:
429 | self.handleComponentStatus(.httpserver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
430 | default:
431 | self.handleComponentStatus(.httpserver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:682:19: warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
680 | DispatchQueue.global(qos: .default).async {
681 |
682 | guard self.ssdpReceiver == nil else {
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
683 | return
684 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:688:28: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
686 | let receiver = try SSDPReceiver() {
687 | (address, ssdpHeader, error) in
688 | return self.onSSDPHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
689 | }
690 | self.ssdpReceiver = receiver
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPServer.swift:695:25: warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
9 | UPnP Server Implementation
10 | */
11 | public class UPnPServer : HttpRequestHandler {
| `- note: class 'UPnPServer' does not conform to the 'Sendable' protocol
12 |
13 | /**
:
693 | switch status {
694 | case .started:
695 | self.handleComponentStatus(.ssdpreceiver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPServer' in an isolated closure; this is an error in the Swift 6 language mode
696 | default:
697 | self.handleComponentStatus(.ssdpreceiver, .stopped)
[75/84] Compiling SwiftUpnpTools UPnPError.swift
[76/84] Compiling SwiftUpnpTools UPnPEventProperties.swift
[77/84] Compiling SwiftUpnpTools UPnPEventSubscriber.swift
[78/84] Compiling SwiftUpnpTools UPnPEventSubscription.swift
[79/84] Compiling SwiftUpnpTools UPnPIcon.swift
[80/84] Compiling SwiftUpnpTools UPnPActionRequest.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:53:23: warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | - e.g.) unix/5.2
52 | */
53 | public static var META_OS_NAME: String = "\(osname())"
| |- warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_OS_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_OS_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:59:23: warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | - e.g.) UPnP/1.1
58 | */
59 | public static var META_UPNP_VER: String = "UPnP/1.1"
| |- warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_UPNP_VER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_UPNP_VER' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:65:23: warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | - e.g.) SwiftUPnPControlpoint/1.0
64 | */
65 | public static var META_APP_NAME: String = "SwiftUPnPControlpoint/1.0"
| |- warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_APP_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_APP_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:514:55: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
512 |
513 | do {
514 | let httpServer = HttpServer(hostname: self.hostname, port: self.port)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
515 | self.httpServer = httpServer
516 | httpServer.monitor(monitorName: "cp-httpserver-monitor") {
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:526:50: warning: capture of 'readyHandler' with non-sendable type '((HttpServer, (any Error)?) -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
524 | }
525 | try httpServer.route(pattern: "/**", handler: self)
526 | try httpServer.run(readyHandler: readyHandler)
| |- warning: capture of 'readyHandler' with non-sendable type '((HttpServer, (any Error)?) -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
527 | } catch let error{
528 | print("UPnPControlPoint::startHttpServer() error - error - \(error)")
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:520:25: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
518 | switch status {
519 | case .started:
520 | self.handleComponentStatus(.httpserver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
521 | default:
522 | self.handleComponentStatus(.httpserver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:646:58: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
644 | do {
645 |
646 | let receiver = try SSDPReceiver(handler: self.ssdpHeader)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
647 |
648 | self.ssdpReceiver = receiver
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:653:25: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
651 | switch status {
652 | case .started:
653 | self.handleComponentStatus(.ssdpreceiver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
654 | default:
655 | self.handleComponentStatus(.ssdpreceiver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:736:17: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
734 | SSDP.sendMsearch(st: st, mx: mx, userAgent: UPnPControlPoint.USER_AGENT) {
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
738 | return nil
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:737:25: warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
| |- warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
738 | return nil
739 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:741:13: warning: capture of 'completionHandler' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
739 | }
740 |
741 | completionHandler?()
| |- warning: capture of 'completionHandler' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
742 | }
743 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:736:17: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
734 | SSDP.sendMsearch(st: st, mx: mx, userAgent: UPnPControlPoint.USER_AGENT) {
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
738 | return nil
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:737:25: warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in an isolated closure; this is an error in the Swift 6 language mode
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
| |- warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
738 | return nil
739 | }
[81/84] Compiling SwiftUpnpTools UPnPCallbackUrl.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:53:23: warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | - e.g.) unix/5.2
52 | */
53 | public static var META_OS_NAME: String = "\(osname())"
| |- warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_OS_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_OS_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:59:23: warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | - e.g.) UPnP/1.1
58 | */
59 | public static var META_UPNP_VER: String = "UPnP/1.1"
| |- warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_UPNP_VER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_UPNP_VER' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:65:23: warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | - e.g.) SwiftUPnPControlpoint/1.0
64 | */
65 | public static var META_APP_NAME: String = "SwiftUPnPControlpoint/1.0"
| |- warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_APP_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_APP_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:514:55: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
512 |
513 | do {
514 | let httpServer = HttpServer(hostname: self.hostname, port: self.port)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
515 | self.httpServer = httpServer
516 | httpServer.monitor(monitorName: "cp-httpserver-monitor") {
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:526:50: warning: capture of 'readyHandler' with non-sendable type '((HttpServer, (any Error)?) -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
524 | }
525 | try httpServer.route(pattern: "/**", handler: self)
526 | try httpServer.run(readyHandler: readyHandler)
| |- warning: capture of 'readyHandler' with non-sendable type '((HttpServer, (any Error)?) -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
527 | } catch let error{
528 | print("UPnPControlPoint::startHttpServer() error - error - \(error)")
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:520:25: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
518 | switch status {
519 | case .started:
520 | self.handleComponentStatus(.httpserver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
521 | default:
522 | self.handleComponentStatus(.httpserver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:646:58: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
644 | do {
645 |
646 | let receiver = try SSDPReceiver(handler: self.ssdpHeader)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
647 |
648 | self.ssdpReceiver = receiver
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:653:25: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
651 | switch status {
652 | case .started:
653 | self.handleComponentStatus(.ssdpreceiver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
654 | default:
655 | self.handleComponentStatus(.ssdpreceiver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:736:17: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
734 | SSDP.sendMsearch(st: st, mx: mx, userAgent: UPnPControlPoint.USER_AGENT) {
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
738 | return nil
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:737:25: warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
| |- warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
738 | return nil
739 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:741:13: warning: capture of 'completionHandler' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
739 | }
740 |
741 | completionHandler?()
| |- warning: capture of 'completionHandler' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
742 | }
743 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:736:17: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
734 | SSDP.sendMsearch(st: st, mx: mx, userAgent: UPnPControlPoint.USER_AGENT) {
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
738 | return nil
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:737:25: warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in an isolated closure; this is an error in the Swift 6 language mode
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
| |- warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
738 | return nil
739 | }
[82/84] Compiling SwiftUpnpTools UPnPControlPoint.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:53:23: warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | - e.g.) unix/5.2
52 | */
53 | public static var META_OS_NAME: String = "\(osname())"
| |- warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_OS_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_OS_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:59:23: warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | - e.g.) UPnP/1.1
58 | */
59 | public static var META_UPNP_VER: String = "UPnP/1.1"
| |- warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_UPNP_VER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_UPNP_VER' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:65:23: warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | - e.g.) SwiftUPnPControlpoint/1.0
64 | */
65 | public static var META_APP_NAME: String = "SwiftUPnPControlpoint/1.0"
| |- warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_APP_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_APP_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:514:55: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
512 |
513 | do {
514 | let httpServer = HttpServer(hostname: self.hostname, port: self.port)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
515 | self.httpServer = httpServer
516 | httpServer.monitor(monitorName: "cp-httpserver-monitor") {
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:526:50: warning: capture of 'readyHandler' with non-sendable type '((HttpServer, (any Error)?) -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
524 | }
525 | try httpServer.route(pattern: "/**", handler: self)
526 | try httpServer.run(readyHandler: readyHandler)
| |- warning: capture of 'readyHandler' with non-sendable type '((HttpServer, (any Error)?) -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
527 | } catch let error{
528 | print("UPnPControlPoint::startHttpServer() error - error - \(error)")
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:520:25: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
518 | switch status {
519 | case .started:
520 | self.handleComponentStatus(.httpserver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
521 | default:
522 | self.handleComponentStatus(.httpserver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:646:58: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
644 | do {
645 |
646 | let receiver = try SSDPReceiver(handler: self.ssdpHeader)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
647 |
648 | self.ssdpReceiver = receiver
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:653:25: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
651 | switch status {
652 | case .started:
653 | self.handleComponentStatus(.ssdpreceiver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
654 | default:
655 | self.handleComponentStatus(.ssdpreceiver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:736:17: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
734 | SSDP.sendMsearch(st: st, mx: mx, userAgent: UPnPControlPoint.USER_AGENT) {
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
738 | return nil
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:737:25: warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
| |- warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
738 | return nil
739 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:741:13: warning: capture of 'completionHandler' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
739 | }
740 |
741 | completionHandler?()
| |- warning: capture of 'completionHandler' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
742 | }
743 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:736:17: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
734 | SSDP.sendMsearch(st: st, mx: mx, userAgent: UPnPControlPoint.USER_AGENT) {
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
738 | return nil
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:737:25: warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in an isolated closure; this is an error in the Swift 6 language mode
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
| |- warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
738 | return nil
739 | }
[83/84] Compiling SwiftUpnpTools UPnPDevice.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:53:23: warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | - e.g.) unix/5.2
52 | */
53 | public static var META_OS_NAME: String = "\(osname())"
| |- warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_OS_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_OS_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:59:23: warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | - e.g.) UPnP/1.1
58 | */
59 | public static var META_UPNP_VER: String = "UPnP/1.1"
| |- warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_UPNP_VER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_UPNP_VER' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:65:23: warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | - e.g.) SwiftUPnPControlpoint/1.0
64 | */
65 | public static var META_APP_NAME: String = "SwiftUPnPControlpoint/1.0"
| |- warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_APP_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_APP_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:514:55: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
512 |
513 | do {
514 | let httpServer = HttpServer(hostname: self.hostname, port: self.port)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
515 | self.httpServer = httpServer
516 | httpServer.monitor(monitorName: "cp-httpserver-monitor") {
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:526:50: warning: capture of 'readyHandler' with non-sendable type '((HttpServer, (any Error)?) -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
524 | }
525 | try httpServer.route(pattern: "/**", handler: self)
526 | try httpServer.run(readyHandler: readyHandler)
| |- warning: capture of 'readyHandler' with non-sendable type '((HttpServer, (any Error)?) -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
527 | } catch let error{
528 | print("UPnPControlPoint::startHttpServer() error - error - \(error)")
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:520:25: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
518 | switch status {
519 | case .started:
520 | self.handleComponentStatus(.httpserver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
521 | default:
522 | self.handleComponentStatus(.httpserver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:646:58: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
644 | do {
645 |
646 | let receiver = try SSDPReceiver(handler: self.ssdpHeader)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
647 |
648 | self.ssdpReceiver = receiver
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:653:25: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
651 | switch status {
652 | case .started:
653 | self.handleComponentStatus(.ssdpreceiver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
654 | default:
655 | self.handleComponentStatus(.ssdpreceiver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:736:17: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
734 | SSDP.sendMsearch(st: st, mx: mx, userAgent: UPnPControlPoint.USER_AGENT) {
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
738 | return nil
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:737:25: warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
| |- warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
738 | return nil
739 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:741:13: warning: capture of 'completionHandler' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
739 | }
740 |
741 | completionHandler?()
| |- warning: capture of 'completionHandler' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
742 | }
743 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:736:17: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
734 | SSDP.sendMsearch(st: st, mx: mx, userAgent: UPnPControlPoint.USER_AGENT) {
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
738 | return nil
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:737:25: warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in an isolated closure; this is an error in the Swift 6 language mode
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
| |- warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
738 | return nil
739 | }
[84/84] Compiling SwiftUpnpTools UPnPDeviceBuilder.swift
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:53:23: warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
51 | - e.g.) unix/5.2
52 | */
53 | public static var META_OS_NAME: String = "\(osname())"
| |- warning: static property 'META_OS_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_OS_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_OS_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:59:23: warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | - e.g.) UPnP/1.1
58 | */
59 | public static var META_UPNP_VER: String = "UPnP/1.1"
| |- warning: static property 'META_UPNP_VER' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_UPNP_VER' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_UPNP_VER' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:65:23: warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 | - e.g.) SwiftUPnPControlpoint/1.0
64 | */
65 | public static var META_APP_NAME: String = "SwiftUPnPControlpoint/1.0"
| |- warning: static property 'META_APP_NAME' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'META_APP_NAME' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'META_APP_NAME' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | /**
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:514:55: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
512 |
513 | do {
514 | let httpServer = HttpServer(hostname: self.hostname, port: self.port)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
515 | self.httpServer = httpServer
516 | httpServer.monitor(monitorName: "cp-httpserver-monitor") {
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:526:50: warning: capture of 'readyHandler' with non-sendable type '((HttpServer, (any Error)?) -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
524 | }
525 | try httpServer.route(pattern: "/**", handler: self)
526 | try httpServer.run(readyHandler: readyHandler)
| |- warning: capture of 'readyHandler' with non-sendable type '((HttpServer, (any Error)?) -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
527 | } catch let error{
528 | print("UPnPControlPoint::startHttpServer() error - error - \(error)")
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:520:25: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
518 | switch status {
519 | case .started:
520 | self.handleComponentStatus(.httpserver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
521 | default:
522 | self.handleComponentStatus(.httpserver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:646:58: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
644 | do {
645 |
646 | let receiver = try SSDPReceiver(handler: self.ssdpHeader)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
647 |
648 | self.ssdpReceiver = receiver
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:653:25: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
651 | switch status {
652 | case .started:
653 | self.handleComponentStatus(.ssdpreceiver, .started)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
654 | default:
655 | self.handleComponentStatus(.ssdpreceiver, .stopped)
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:736:17: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
734 | SSDP.sendMsearch(st: st, mx: mx, userAgent: UPnPControlPoint.USER_AGENT) {
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in a '@Sendable' closure; this is an error in the Swift 6 language mode
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
738 | return nil
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:737:25: warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
| |- warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
738 | return nil
739 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:741:13: warning: capture of 'completionHandler' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
739 | }
740 |
741 | completionHandler?()
| |- warning: capture of 'completionHandler' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
742 | }
743 | }
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:736:17: warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
45 | UPnP Control Point Implementation
46 | */
47 | public class UPnPControlPoint : UPnPDeviceBuilderDelegate, HttpRequestHandler {
| `- note: class 'UPnPControlPoint' does not conform to the 'Sendable' protocol
48 |
49 | /**
:
734 | SSDP.sendMsearch(st: st, mx: mx, userAgent: UPnPControlPoint.USER_AGENT) {
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
| `- warning: capture of 'self' with non-sendable type 'UPnPControlPoint' in an isolated closure; this is an error in the Swift 6 language mode
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
738 | return nil
/host/spi-builder-workspace/Sources/swift-upnp-tools/UPnPControlPoint.swift:737:25: warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in an isolated closure; this is an error in the Swift 6 language mode
735 | (address, ssdpHeader, error) in
736 | self.ssdpHeader(address, ssdpHeader, error)
737 | let _ = ssdpHandler?(address, ssdpHeader, error)
| |- warning: capture of 'ssdpHandler' with non-sendable type 'SSDPReceiver.ssdpHandler?' (aka 'Optional<(Optional<(hostname: String, port: Int32)>, Optional<SSDPHeader>, Optional<any Error>) -> Optional<Array<SSDPHeader>>>') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
738 | return nil
739 | }
Build complete! (7.14s)
Build complete.
{
"dependencies" : [
{
"identity" : "bluesocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.200",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/BlueSocket.git"
},
{
"identity" : "swift-http-server",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.23",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/bjtj/swift-http-server.git"
},
{
"identity" : "swift-xml",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.14",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/bjtj/swift-xml.git"
}
],
"manifest_display_name" : "SwiftUpnpTools",
"name" : "SwiftUpnpTools",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftUpnpTools",
"targets" : [
"SwiftUpnpTools"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "swift_upnp_toolsTests",
"module_type" : "SwiftTarget",
"name" : "swift-upnp-toolsTests",
"path" : "Tests/swift-upnp-toolsTests",
"sources" : [
"ModelTests.swift",
"ServerTests.swift",
"SsdpTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftUpnpTools"
],
"type" : "test"
},
{
"c99name" : "SwiftUpnpTools",
"module_type" : "SwiftTarget",
"name" : "SwiftUpnpTools",
"path" : "Sources/swift-upnp-tools",
"product_dependencies" : [
"Socket",
"SwiftHttpServer",
"SwiftXml"
],
"product_memberships" : [
"SwiftUpnpTools"
],
"sources" : [
"HttpClient.swift",
"SSDP.swift",
"SSDPHeader.swift",
"SSDPReceiver.swift",
"TimeBase.swift",
"UPnPAction.swift",
"UPnPActionArgument.swift",
"UPnPActionArgumentDirection.swift",
"UPnPActionError.swift",
"UPnPActionInvoke.swift",
"UPnPActionRequest.swift",
"UPnPCallbackUrl.swift",
"UPnPControlPoint.swift",
"UPnPDevice.swift",
"UPnPDeviceBuilder.swift",
"UPnPError.swift",
"UPnPEventProperties.swift",
"UPnPEventSubscriber.swift",
"UPnPEventSubscription.swift",
"UPnPIcon.swift",
"UPnPModel.swift",
"UPnPNts.swift",
"UPnPScpd.swift",
"UPnPScpdBuilder.swift",
"UPnPServer.swift",
"UPnPService.swift",
"UPnPSoapErrorResponse.swift",
"UPnPSoapRequest.swift",
"UPnPSoapResponse.swift",
"UPnPSpecVersion.swift",
"UPnPStateVariable.swift",
"UPnPUsn.swift",
"helper/KeyValuePair.swift",
"helper/OrderedCaseInsensitiveProperties.swift",
"helper/OrderedProperties.swift",
"helper/XmlTag.swift",
"helper/system.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Done.