Build Information
Successful build of FakeUserAgent, reference 0.2.0 (0920e1), with Swift 6.1 for Android on 28 May 2025 15:12:25 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EyreFree/FakeUserAgent.git
Reference: 0.2.0
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/EyreFree/FakeUserAgent
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 0920e19 0.2.0
Cloned https://github.com/EyreFree/FakeUserAgent.git
Revision (git rev-parse @):
0920e19afc8ee1adf6168683a61bcbd0da2d656d
SUCCESS checkout https://github.com/EyreFree/FakeUserAgent.git at 0.2.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/EyreFree/FakeUserAgent.git
https://github.com/EyreFree/FakeUserAgent.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "FakeUserAgent",
"name" : "FakeUserAgent",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "FakeUserAgent",
"targets" : [
"FakeUserAgent"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "FakeUserAgent",
"module_type" : "SwiftTarget",
"name" : "FakeUserAgent",
"path" : "FakeUserAgent/Classes",
"product_memberships" : [
"FakeUserAgent"
],
"sources" : [
"FakeUserAgent.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
warning: 'spi-builder-workspace': Invalid Resource 'FakeUserAgent/Assets': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': Invalid Resource 'FakeUserAgent/Assets': File not found.
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module FakeUserAgent
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:35:23: warning: static property 'chrome' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
33 | }
34 |
35 | public static let chrome = BrowserOptions(rawValue: 1 << 0)
| |- warning: static property 'chrome' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'chrome' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let opera = BrowserOptions(rawValue: 1 << 1)
37 | public static let firefox = BrowserOptions(rawValue: 1 << 2)
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:36:23: warning: static property 'opera' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
34 |
35 | public static let chrome = BrowserOptions(rawValue: 1 << 0)
36 | public static let opera = BrowserOptions(rawValue: 1 << 1)
| |- warning: static property 'opera' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'opera' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let firefox = BrowserOptions(rawValue: 1 << 2)
38 | public static let safari = BrowserOptions(rawValue: 1 << 3)
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:37:23: warning: static property 'firefox' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
35 | public static let chrome = BrowserOptions(rawValue: 1 << 0)
36 | public static let opera = BrowserOptions(rawValue: 1 << 1)
37 | public static let firefox = BrowserOptions(rawValue: 1 << 2)
| |- warning: static property 'firefox' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'firefox' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let safari = BrowserOptions(rawValue: 1 << 3)
39 | public static let edge = BrowserOptions(rawValue: 1 << 4)
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:38:23: warning: static property 'safari' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
36 | public static let opera = BrowserOptions(rawValue: 1 << 1)
37 | public static let firefox = BrowserOptions(rawValue: 1 << 2)
38 | public static let safari = BrowserOptions(rawValue: 1 << 3)
| |- warning: static property 'safari' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'safari' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let edge = BrowserOptions(rawValue: 1 << 4)
40 | public static let internetExplorer = BrowserOptions(rawValue: 1 << 5)
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:39:23: warning: static property 'edge' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
37 | public static let firefox = BrowserOptions(rawValue: 1 << 2)
38 | public static let safari = BrowserOptions(rawValue: 1 << 3)
39 | public static let edge = BrowserOptions(rawValue: 1 << 4)
| |- warning: static property 'edge' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'edge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | public static let internetExplorer = BrowserOptions(rawValue: 1 << 5)
41 |
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:40:23: warning: static property 'internetExplorer' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
38 | public static let safari = BrowserOptions(rawValue: 1 << 3)
39 | public static let edge = BrowserOptions(rawValue: 1 << 4)
40 | public static let internetExplorer = BrowserOptions(rawValue: 1 << 5)
| |- warning: static property 'internetExplorer' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internetExplorer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public static let all: BrowserOptions = [.chrome, .opera, .firefox, .safari, .edge, .internetExplorer]
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:42:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
40 | public static let internetExplorer = BrowserOptions(rawValue: 1 << 5)
41 |
42 | public static let all: BrowserOptions = [.chrome, .opera, .firefox, .safari, .edge, .internetExplorer]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:65:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FakeUserAgent' may have shared mutable state; this is an error in the Swift 6 language mode
61 | }
62 |
63 | public class FakeUserAgent {
| `- note: class 'FakeUserAgent' does not conform to the 'Sendable' protocol
64 |
65 | public static let shared = FakeUserAgent()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FakeUserAgent' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public let userAgents: BrowsersModel = {
[4/4] Compiling FakeUserAgent FakeUserAgent.swift
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:35:23: warning: static property 'chrome' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
33 | }
34 |
35 | public static let chrome = BrowserOptions(rawValue: 1 << 0)
| |- warning: static property 'chrome' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'chrome' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let opera = BrowserOptions(rawValue: 1 << 1)
37 | public static let firefox = BrowserOptions(rawValue: 1 << 2)
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:36:23: warning: static property 'opera' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
34 |
35 | public static let chrome = BrowserOptions(rawValue: 1 << 0)
36 | public static let opera = BrowserOptions(rawValue: 1 << 1)
| |- warning: static property 'opera' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'opera' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let firefox = BrowserOptions(rawValue: 1 << 2)
38 | public static let safari = BrowserOptions(rawValue: 1 << 3)
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:37:23: warning: static property 'firefox' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
35 | public static let chrome = BrowserOptions(rawValue: 1 << 0)
36 | public static let opera = BrowserOptions(rawValue: 1 << 1)
37 | public static let firefox = BrowserOptions(rawValue: 1 << 2)
| |- warning: static property 'firefox' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'firefox' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let safari = BrowserOptions(rawValue: 1 << 3)
39 | public static let edge = BrowserOptions(rawValue: 1 << 4)
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:38:23: warning: static property 'safari' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
36 | public static let opera = BrowserOptions(rawValue: 1 << 1)
37 | public static let firefox = BrowserOptions(rawValue: 1 << 2)
38 | public static let safari = BrowserOptions(rawValue: 1 << 3)
| |- warning: static property 'safari' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'safari' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let edge = BrowserOptions(rawValue: 1 << 4)
40 | public static let internetExplorer = BrowserOptions(rawValue: 1 << 5)
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:39:23: warning: static property 'edge' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
37 | public static let firefox = BrowserOptions(rawValue: 1 << 2)
38 | public static let safari = BrowserOptions(rawValue: 1 << 3)
39 | public static let edge = BrowserOptions(rawValue: 1 << 4)
| |- warning: static property 'edge' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'edge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | public static let internetExplorer = BrowserOptions(rawValue: 1 << 5)
41 |
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:40:23: warning: static property 'internetExplorer' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
38 | public static let safari = BrowserOptions(rawValue: 1 << 3)
39 | public static let edge = BrowserOptions(rawValue: 1 << 4)
40 | public static let internetExplorer = BrowserOptions(rawValue: 1 << 5)
| |- warning: static property 'internetExplorer' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internetExplorer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public static let all: BrowserOptions = [.chrome, .opera, .firefox, .safari, .edge, .internetExplorer]
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:42:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
40 | public static let internetExplorer = BrowserOptions(rawValue: 1 << 5)
41 |
42 | public static let all: BrowserOptions = [.chrome, .opera, .firefox, .safari, .edge, .internetExplorer]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'BrowserOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | }
44 |
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:65:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FakeUserAgent' may have shared mutable state; this is an error in the Swift 6 language mode
61 | }
62 |
63 | public class FakeUserAgent {
| `- note: class 'FakeUserAgent' does not conform to the 'Sendable' protocol
64 |
65 | public static let shared = FakeUserAgent()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FakeUserAgent' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | public let userAgents: BrowsersModel = {
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:133:20: warning: capture of 'browser' with non-sendable type 'BrowserOptions' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
131 | dispatchGroup.enter()
132 | DispatchQueue.global(qos: .utility).async {
133 | if browser.contains(loopBrowser) {
| `- warning: capture of 'browser' with non-sendable type 'BrowserOptions' in a '@Sendable' closure; this is an error in the Swift 6 language mode
134 | if let filter = filter {
135 | loop[index].0 = loopUserAgents.filter({ filter($0) })
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:133:37: warning: capture of 'loopBrowser' with non-sendable type 'BrowserOptions' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
131 | dispatchGroup.enter()
132 | DispatchQueue.global(qos: .utility).async {
133 | if browser.contains(loopBrowser) {
| `- warning: capture of 'loopBrowser' with non-sendable type 'BrowserOptions' in a '@Sendable' closure; this is an error in the Swift 6 language mode
134 | if let filter = filter {
135 | loop[index].0 = loopUserAgents.filter({ filter($0) })
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:134:37: warning: capture of 'filter' with non-sendable type '((String) -> Bool)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
132 | DispatchQueue.global(qos: .utility).async {
133 | if browser.contains(loopBrowser) {
134 | if let filter = filter {
| |- warning: capture of 'filter' with non-sendable type '((String) -> Bool)?' 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'
135 | loop[index].0 = loopUserAgents.filter({ filter($0) })
136 | } else {
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:135:25: warning: capture of 'loop' with non-sendable type '[([String], [String], BrowserOptions)]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | public struct BrowserOptions: OptionSet {
| `- note: consider making struct 'BrowserOptions' conform to the 'Sendable' protocol
30 | public let rawValue: UInt
31 | public init(rawValue: Self.RawValue) {
:
133 | if browser.contains(loopBrowser) {
134 | if let filter = filter {
135 | loop[index].0 = loopUserAgents.filter({ filter($0) })
| `- warning: capture of 'loop' with non-sendable type '[([String], [String], BrowserOptions)]' in a '@Sendable' closure; this is an error in the Swift 6 language mode
136 | } else {
137 | loop[index].0 = loopUserAgents
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:135:25: warning: mutation of captured var 'loop' in concurrently-executing code; this is an error in the Swift 6 language mode
133 | if browser.contains(loopBrowser) {
134 | if let filter = filter {
135 | loop[index].0 = loopUserAgents.filter({ filter($0) })
| `- warning: mutation of captured var 'loop' in concurrently-executing code; this is an error in the Swift 6 language mode
136 | } else {
137 | loop[index].0 = loopUserAgents
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:137:25: warning: mutation of captured var 'loop' in concurrently-executing code; this is an error in the Swift 6 language mode
135 | loop[index].0 = loopUserAgents.filter({ filter($0) })
136 | } else {
137 | loop[index].0 = loopUserAgents
| `- warning: mutation of captured var 'loop' in concurrently-executing code; this is an error in the Swift 6 language mode
138 | }
139 | }
Build complete! (11.98s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FakeUserAgent",
"name" : "FakeUserAgent",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "FakeUserAgent",
"targets" : [
"FakeUserAgent"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "FakeUserAgent",
"module_type" : "SwiftTarget",
"name" : "FakeUserAgent",
"path" : "FakeUserAgent/Classes",
"product_memberships" : [
"FakeUserAgent"
],
"sources" : [
"FakeUserAgent.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': Invalid Resource 'FakeUserAgent/Assets': File not found.
Done.