The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FakeUserAgent, reference master (201407), with Swift 6.1 for Wasm on 28 May 2025 15:12:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EyreFree/FakeUserAgent.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/EyreFree/FakeUserAgent
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2014074 doc: fix
Cloned https://github.com/EyreFree/FakeUserAgent.git
Revision (git rev-parse @):
20140742abb522516fc7a80438bff529ef6c4723
SUCCESS checkout https://github.com/EyreFree/FakeUserAgent.git at master
========================================
Build
========================================
Selected platform:         wasm
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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:129:29: error: cannot find 'DispatchGroup' in scope
127 |         ]
128 |
129 |         let dispatchGroup = DispatchGroup()
    |                             `- error: cannot find 'DispatchGroup' in scope
130 |         for (index, (_, loopUserAgents, loopBrowser)) in loop.enumerated() {
131 |             dispatchGroup.enter()
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:132:13: error: cannot find 'DispatchQueue' in scope
130 |         for (index, (_, loopUserAgents, loopBrowser)) in loop.enumerated() {
131 |             dispatchGroup.enter()
132 |             DispatchQueue.global(qos: .utility).async {
    |             `- error: cannot find 'DispatchQueue' in scope
133 |                 if browser.contains(loopBrowser) {
134 |                     if let filter = filter {
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:132:40: error: cannot infer contextual base in reference to member 'utility'
130 |         for (index, (_, loopUserAgents, loopBrowser)) in loop.enumerated() {
131 |             dispatchGroup.enter()
132 |             DispatchQueue.global(qos: .utility).async {
    |                                        `- error: cannot infer contextual base in reference to member 'utility'
133 |                 if browser.contains(loopBrowser) {
134 |                     if let filter = filter {
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:143:38: error: cannot infer contextual base in reference to member 'main'
141 |             }
142 |         }
143 |         dispatchGroup.notify(queue: .main) {
    |                                      `- error: cannot infer contextual base in reference to member 'main'
144 |             let result: [String] = loop.reduce(into: [], { $0 += $1.0 })
145 |             if result.count <= count {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Invalid Resource 'FakeUserAgent/Assets': File not found.
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module FakeUserAgent
[3/3] Compiling FakeUserAgent FakeUserAgent.swift
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:129:29: error: cannot find 'DispatchGroup' in scope
127 |         ]
128 |
129 |         let dispatchGroup = DispatchGroup()
    |                             `- error: cannot find 'DispatchGroup' in scope
130 |         for (index, (_, loopUserAgents, loopBrowser)) in loop.enumerated() {
131 |             dispatchGroup.enter()
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:132:13: error: cannot find 'DispatchQueue' in scope
130 |         for (index, (_, loopUserAgents, loopBrowser)) in loop.enumerated() {
131 |             dispatchGroup.enter()
132 |             DispatchQueue.global(qos: .utility).async {
    |             `- error: cannot find 'DispatchQueue' in scope
133 |                 if browser.contains(loopBrowser) {
134 |                     if let filter = filter {
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:132:40: error: cannot infer contextual base in reference to member 'utility'
130 |         for (index, (_, loopUserAgents, loopBrowser)) in loop.enumerated() {
131 |             dispatchGroup.enter()
132 |             DispatchQueue.global(qos: .utility).async {
    |                                        `- error: cannot infer contextual base in reference to member 'utility'
133 |                 if browser.contains(loopBrowser) {
134 |                     if let filter = filter {
/host/spi-builder-workspace/FakeUserAgent/Classes/FakeUserAgent.swift:143:38: error: cannot infer contextual base in reference to member 'main'
141 |             }
142 |         }
143 |         dispatchGroup.notify(queue: .main) {
    |                                      `- error: cannot infer contextual base in reference to member 'main'
144 |             let result: [String] = loop.reduce(into: [], { $0 += $1.0 })
145 |             if result.count <= count {
BUILD FAILURE 6.1 wasm