Build Information
Failed to build GetStream, reference 2.2.5 (6a6375
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 20:17:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GetStream/stream-swift.git
Reference: 2.2.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/GetStream/stream-swift
* tag 2.2.5 -> FETCH_HEAD
HEAD is now at 6a6375b Bump v2.2.5
Cloned https://github.com/GetStream/stream-swift.git
Revision (git rev-parse @):
6a6375bf7e1a40dc707794a34808bb6addd97e5f
SUCCESS checkout https://github.com/GetStream/stream-swift.git at 2.2.5
Fetching https://github.com/sendyhalim/Swime
Fetching https://github.com/Quick/Quick
Fetching https://github.com/Moya/ReactiveSwift.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/daltoniam/Starscream.git
Fetching https://github.com/Quick/Nimble
[1/45863] Fetching reactiveswift
[2/46285] Fetching reactiveswift, swime
[40/61025] Fetching reactiveswift, swime, quick
[2017/113418] Fetching reactiveswift, swime, quick, rxswift
[2770/118320] Fetching reactiveswift, swime, quick, rxswift, starscream
[10899/137595] Fetching reactiveswift, swime, quick, rxswift, starscream, nimble
[25564/167612] Fetching reactiveswift, swime, quick, rxswift, starscream, nimble, alamofire
Fetched https://github.com/sendyhalim/Swime from cache (14.37s)
Fetching https://github.com/Moya/Moya.git
[158711/167190] Fetching reactiveswift, quick, rxswift, starscream, nimble, alamofire
[162614/192432] Fetching reactiveswift, quick, rxswift, starscream, nimble, alamofire, moya
Fetched https://github.com/Moya/Moya.git from cache (2.35s)
[166660/167190] Fetching reactiveswift, quick, rxswift, starscream, nimble, alamofire
Fetched https://github.com/Quick/Nimble from cache (18.19s)
Fetched https://github.com/Quick/Quick from cache (18.19s)
Fetched https://github.com/daltoniam/Starscream.git from cache (18.19s)
Computing version for https://github.com/sendyhalim/Swime
[127898/128273] Fetching reactiveswift, rxswift, alamofire
Computed https://github.com/sendyhalim/Swime at 3.0.6 (2.38s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.4 (0.54s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 14.0.0 (0.54s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (31.63s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (31.63s)
Fetched https://github.com/Moya/ReactiveSwift.git from cache (31.63s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 7.3.4 (2.28s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 1.3.4 (0.56s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.0 (0.56s)
Computing version for https://github.com/Moya/ReactiveSwift.git
Computed https://github.com/Moya/ReactiveSwift.git at 6.1.0 (0.57s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.0.4 (0.56s)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 7.3.4
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.0.4
Creating working copy for https://github.com/sendyhalim/Swime
Working copy of https://github.com/sendyhalim/Swime resolved at 3.0.6
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 1.3.4
Creating working copy for https://github.com/Moya/ReactiveSwift.git
Working copy of https://github.com/Moya/ReactiveSwift.git resolved at 6.1.0
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.4
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.0
Creating working copy for https://github.com/Moya/Moya.git
Working copy of https://github.com/Moya/Moya.git resolved at 14.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
Fetching https://github.com/GetStream/stream-swift.git
[1/4861] Fetching stream-swift
Fetched https://github.com/GetStream/stream-swift.git from cache (1.31s)
Fetching https://github.com/daltoniam/Starscream.git from cache
Fetching https://github.com/Moya/Moya.git from cache
Fetching https://github.com/sendyhalim/Swime from cache
Fetched https://github.com/daltoniam/Starscream.git from cache (0.57s)
Fetched https://github.com/Moya/Moya.git from cache (0.70s)
Fetched https://github.com/sendyhalim/Swime from cache (0.70s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 14.0.1 (0.54s)
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/ReactiveX/RxSwift.git from cache
Fetching https://github.com/Quick/Quick.git from cache
Fetching https://github.com/Moya/ReactiveSwift.git from cache
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/shibapm/Rocket
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.68s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (0.69s)
[1/1386] Fetching rocket
[348/9277] Fetching rocket, ohhttpstubs
Fetched https://github.com/Moya/ReactiveSwift.git from cache (0.92s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (1.34s)
Fetched https://github.com/Quick/Quick.git from cache (1.34s)
Fetched https://github.com/Quick/Nimble.git from cache (1.34s)
Fetched https://github.com/shibapm/Rocket from cache (1.34s)
Computing version for https://github.com/Moya/ReactiveSwift.git
Computed https://github.com/Moya/ReactiveSwift.git at 6.1.0 (0.02s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.55s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.56s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 1.3.0 (0.53s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/shibapm/Logger
[1/116] Fetching logger
[29/4979] Fetching logger, swiftshell
[166/5559] Fetching logger, swiftshell, packageconfig
[1719/15495] Fetching logger, swiftshell, packageconfig, yams
Fetched https://github.com/kareman/SwiftShell from cache (1.91s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (1.91s)
Fetched https://github.com/jpsim/Yams from cache (1.91s)
Fetched https://github.com/shibapm/Logger from cache (1.91s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0 (0.56s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.53s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.02s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.55s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.53s)
Computing version for https://github.com/sendyhalim/Swime
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.0' to specify the current tools version
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/GetStream/stream-swift.git
{
"dependencies" : [
{
"identity" : "moya",
"requirement" : {
"range" : [
{
"lower_bound" : "14.0.0",
"upper_bound" : "15.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Moya/Moya.git"
},
{
"identity" : "starscream",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/daltoniam/Starscream.git"
},
{
"identity" : "swime",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sendyhalim/Swime"
}
],
"manifest_display_name" : "GetStream",
"name" : "GetStream",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "GetStream",
"targets" : [
"GetStream"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Faye",
"targets" : [
"Faye"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GetStreamTests",
"module_type" : "SwiftTarget",
"name" : "GetStreamTests",
"path" : "Tests",
"sources" : [
"Core/AggregatedFeedTests.swift",
"Core/ClientParsingTests.swift",
"Core/ClientTests.swift",
"Core/CollectionTests.swift",
"Core/ExtensionsTests.swift",
"Core/FeedTests.swift",
"Core/FilesTests.swift",
"Core/NotificationFeedTests.swift",
"Core/OGTests.swift",
"Core/ReactionTests.swift",
"Core/UserTests.swift",
"Extensions/String+Extensions.swift",
"Extensions/TestCase.swift",
"Faye/FayeTests.swift"
],
"target_dependencies" : [
"GetStream"
],
"type" : "test"
},
{
"c99name" : "GetStream",
"module_type" : "SwiftTarget",
"name" : "GetStream",
"path" : "Sources",
"product_dependencies" : [
"Moya",
"Swime"
],
"product_memberships" : [
"GetStream"
],
"sources" : [
"Core/Activity/Activity.swift",
"Core/Activity/ActivityEndpoint.swift",
"Core/Activity/ActivityProtocol.swift",
"Core/Activity/Client+Activity.swift",
"Core/Activity/EnrichedActivity.swift",
"Core/Activity/OriginalRepresentable.swift",
"Core/Client/BaseURL.swift",
"Core/Client/Client+Setup.swift",
"Core/Client/Client.swift",
"Core/Client/ClientError.swift",
"Core/Client/ClientLogger.swift",
"Core/Client/Enrichable.swift",
"Core/Client/MissingReference.swift",
"Core/Client/Pagination.swift",
"Core/Client/Response.swift",
"Core/Client/Result+ParseResponse.swift",
"Core/Client/StreamTargetType.swift",
"Core/Client/Token.swift",
"Core/Collection/Client+Collection.swift",
"Core/Collection/CollectionEndpoint.swift",
"Core/Collection/CollectionObject.swift",
"Core/Collection/CollectionObjectProtocol.swift",
"Core/Extensions/Bundle+Extensions.swift",
"Core/Extensions/Codable+Extensions.swift",
"Core/Extensions/Dictionary+Extensions.swift",
"Core/Extensions/Result+Extensions.swift",
"Core/Feed/Aggregated Feed/AggregatedFeed.swift",
"Core/Feed/Aggregated Feed/Group.swift",
"Core/Feed/Aggregated Feed/Result+ParseGroup.swift",
"Core/Feed/Feed.swift",
"Core/Feed/FeedEndpoint.swift",
"Core/Feed/FeedId.swift",
"Core/Feed/FlatFeed.swift",
"Core/Feed/Following/Feed+Following.swift",
"Core/Feed/Following/Follower.swift",
"Core/Feed/Notification Feed/NotificationFeed.swift",
"Core/Feed/Notification Feed/NotificationGroup.swift",
"Core/Feed/Result+ParseFeed.swift",
"Core/Files and Images/Client+Files.swift",
"Core/Files and Images/File.swift",
"Core/Files and Images/FilesEndpoint.swift",
"Core/Files and Images/ImageProcess.swift",
"Core/Files and Images/Result+ParseUpload.swift",
"Core/Files and Images/Swime+Extensions.swift",
"Core/GetStream.swift",
"Core/Moya/AuthorizationMoyaPlugin.swift",
"Core/Moya/MoyaError+ClientError.swift",
"Core/Open Graph/Client+OpenGraph.swift",
"Core/Open Graph/OpenGraphEndpoint.swift",
"Core/Reactions/Client+Reaction.swift",
"Core/Reactions/Reaction.swift",
"Core/Reactions/ReactionEndpoint.swift",
"Core/Reactions/ReactionExtraDataProtocol.swift",
"Core/Reactions/ReactionKind.swift",
"Core/Reactions/ReactionProtocol.swift",
"Core/Reactions/Reactionable.swift",
"Core/Reactions/Reactions.swift",
"Core/Reactions/Result+ParseReaction.swift",
"Core/User/Client+User.swift",
"Core/User/User.swift",
"Core/User/UserEndpoint.swift",
"Core/User/UserProtocol.swift",
"Faye/Client+Faye.swift",
"Faye/Feed+Faye.swift",
"Faye/SubscriptionResponse.swift"
],
"target_dependencies" : [
"Faye"
],
"type" : "library"
},
{
"c99name" : "Faye",
"module_type" : "SwiftTarget",
"name" : "Faye",
"path" : "Faye",
"product_dependencies" : [
"Starscream"
],
"product_memberships" : [
"GetStream",
"Faye"
],
"sources" : [
"Channel.swift",
"ChannelName.swift",
"Client.swift",
"Message.swift",
"RepeatingTimer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version--7754E27361AE5C74.txt
[8/59] Emitting module Alamofire
[9/62] Compiling Alamofire RedirectHandler.swift
[10/62] Compiling Alamofire Request.swift
[11/64] Compiling Alamofire AFError.swift
[12/64] Compiling Alamofire Alamofire.swift
[13/64] Compiling Alamofire MultipartFormData.swift
[14/64] Compiling Alamofire MultipartUpload.swift
[15/64] Compiling Alamofire AlamofireExtended.swift
[16/64] Compiling Alamofire CachedResponseHandler.swift
[17/64] Emitting module Starscream
[18/64] Compiling Swime Swime.swift
[19/64] Compiling Swime MimeType.swift
[20/64] Emitting module Swime
[21/64] Compiling Alamofire NetworkReachabilityManager.swift
[22/64] Compiling Alamofire Notifications.swift
[23/64] Compiling Alamofire HTTPHeaders.swift
[24/64] Compiling Alamofire HTTPMethod.swift
[25/64] Compiling Alamofire OperationQueue+Alamofire.swift
[26/64] Compiling Alamofire ParameterEncoder.swift
[27/64] Compiling Alamofire ParameterEncoding.swift
[28/64] Compiling Alamofire Protector.swift
[29/64] Compiling Alamofire DispatchQueue+Alamofire.swift
[30/64] Compiling Alamofire EventMonitor.swift
[35/64] Compiling Starscream TCPTransport.swift
[36/64] Compiling Starscream Transport.swift
[37/64] Compiling Alamofire SessionDelegate.swift
[38/64] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[39/64] Compiling Alamofire URLEncodedFormEncoder.swift
[46/70] Compiling Alamofire Response.swift
[47/70] Compiling Alamofire ResponseSerialization.swift
[48/70] Compiling Alamofire Result+Alamofire.swift
[49/70] Compiling Alamofire RetryPolicy.swift
[50/70] Compiling Alamofire ServerTrustEvaluation.swift
[51/70] Compiling Alamofire Session.swift
[62/70] Compiling Faye RepeatingTimer.swift
[63/70] Compiling Faye Message.swift
/Users/admin/builder/spi-builder-workspace/Faye/Message.swift:49:28: warning: static property 'id' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | extension Message {
48 | struct Counter {
49 | private static var id = 0
| |- warning: static property 'id' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'id' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'id' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | static var value: String {
[64/70] Compiling Alamofire URLRequest+Alamofire.swift
[65/70] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[66/70] Compiling Alamofire Validation.swift
[67/70] Emitting module Faye
/Users/admin/builder/spi-builder-workspace/Faye/Client.swift:16:23: warning: static property 'logsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | public final class Client {
16 | public static var logsEnabled = false
| |- warning: static property 'logsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logsEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logsEnabled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | private static let maxAttemptsToReconnect = 5
/Users/admin/builder/spi-builder-workspace/Faye/Client.swift:37:23: warning: static property 'config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A configuration to initialize the shared Client.
37 | public static var config = Config(url: URL(fileURLWithPath: "/"))
| |- warning: static property 'config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'config' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'config' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// A shared client.
/Users/admin/builder/spi-builder-workspace/Faye/Client.swift:41:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Client' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public typealias ClientWriteDataCompletion = () -> Void
14 |
15 | public final class Client {
| `- note: class 'Client' does not conform to the 'Sendable' protocol
16 | public static var logsEnabled = false
17 |
:
39 | /// A shared client.
40 | /// - Note: Setup `Client.config` before using a shared client.
41 | public static let shared = Client(url: Client.config.url, headers: Client.config.headers)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Client' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Create a Faye client with a given `URL`.
/Users/admin/builder/spi-builder-workspace/Faye/Message.swift:49:28: warning: static property 'id' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 | extension Message {
48 | struct Counter {
49 | private static var id = 0
| |- warning: static property 'id' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'id' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'id' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | static var value: String {
[68/70] Compiling Faye Client.swift
/Users/admin/builder/spi-builder-workspace/Faye/Client.swift:16:23: warning: static property 'logsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | public final class Client {
16 | public static var logsEnabled = false
| |- warning: static property 'logsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logsEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logsEnabled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | private static let maxAttemptsToReconnect = 5
/Users/admin/builder/spi-builder-workspace/Faye/Client.swift:37:23: warning: static property 'config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A configuration to initialize the shared Client.
37 | public static var config = Config(url: URL(fileURLWithPath: "/"))
| |- warning: static property 'config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'config' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'config' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// A shared client.
/Users/admin/builder/spi-builder-workspace/Faye/Client.swift:41:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Client' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public typealias ClientWriteDataCompletion = () -> Void
14 |
15 | public final class Client {
| `- note: class 'Client' does not conform to the 'Sendable' protocol
16 | public static var logsEnabled = false
17 |
:
39 | /// A shared client.
40 | /// - Note: Setup `Client.config` before using a shared client.
41 | public static let shared = Client(url: Client.config.url, headers: Client.config.headers)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Client' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | /// Create a Faye client with a given `URL`.
/Users/admin/builder/spi-builder-workspace/Faye/Client.swift:188:50: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
186 | case .error(let error):
187 | isWebSocketConnected = false
188 | log("❌ WS Disconnect with error: \(error)")
| |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
| |- note: use 'String(describing:)' to silence this warning
| `- note: provide a default value to avoid this warning
189 | //handleError(error)
190 | }
/Users/admin/builder/spi-builder-workspace/Faye/Client.swift:146:29: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
144 | public func didReceive(event: WebSocketEvent, client: WebSocket) {
145 | switch event {
146 | case .connected(let headers):
| `- warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
147 | isWebSocketConnected = true
148 | do {
/Users/admin/builder/spi-builder-workspace/Faye/Client.swift:321:94: warning: capture of 'self' with non-sendable type 'Client?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | public typealias ClientWriteDataCompletion = () -> Void
14 |
15 | public final class Client {
| `- note: class 'Client' does not conform to the 'Sendable' protocol
16 | public static var logsEnabled = false
17 |
:
319 |
320 | log()
321 | webSocket.callbackQueue.asyncAfter(deadline: .now() + timeInterval) { [weak self] in self?.connect() }
| `- warning: capture of 'self' with non-sendable type 'Client?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
322 | }
323 |
[69/70] Compiling Faye Channel.swift
[70/70] Compiling Faye ChannelName.swift
[71/92] Emitting module Moya
[72/94] Compiling Moya Task.swift
[73/94] Compiling Moya URL+Moya.swift
[74/94] Compiling Moya CredentialsPlugin.swift
[75/94] Compiling Moya NetworkActivityPlugin.swift
[76/94] Compiling Moya NetworkLoggerPlugin.swift
[77/94] Compiling Moya RequestTypeWrapper.swift
[78/94] Compiling Moya Response.swift
[79/94] Compiling Moya TargetType.swift
[80/94] Compiling Moya MultiTarget.swift
[81/94] Compiling Moya MultipartFormData.swift
[82/94] Compiling Moya MoyaProvider+Defaults.swift
[83/94] Compiling Moya MoyaProvider+Internal.swift
[84/94] Compiling Moya MoyaProvider.swift
[85/94] Compiling Moya URLRequest+Encoding.swift
[86/94] Compiling Moya ValidationType.swift
[87/94] Compiling Moya AnyEncodable.swift
[88/94] Compiling Moya Cancellable.swift
[89/94] Compiling Moya Endpoint.swift
[90/94] Compiling Moya Image.swift
[91/94] Compiling Moya Moya+Alamofire.swift
[92/94] Compiling Moya MoyaError.swift
[93/94] Compiling Moya Plugin.swift
[94/94] Compiling Moya AccessTokenPlugin.swift
[95/154] Compiling GetStream CollectionObjectProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[96/154] Compiling GetStream Bundle+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[97/154] Compiling GetStream Codable+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[98/154] Compiling GetStream Dictionary+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[99/154] Compiling GetStream Result+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[100/154] Compiling GetStream AggregatedFeed.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[101/154] Compiling GetStream Group.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[102/160] Compiling GetStream Activity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[103/160] Compiling GetStream ActivityEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[104/160] Compiling GetStream ActivityProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[105/160] Compiling GetStream Client+Activity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[106/160] Compiling GetStream EnrichedActivity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[107/160] Compiling GetStream OriginalRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[108/160] Compiling GetStream BaseURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[109/160] Compiling GetStream NotificationFeed.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[110/160] Compiling GetStream NotificationGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[111/160] Compiling GetStream Result+ParseFeed.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[112/160] Compiling GetStream Client+Files.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[113/160] Compiling GetStream File.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[114/160] Compiling GetStream FilesEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[115/160] Compiling GetStream ImageProcess.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[116/160] Compiling GetStream Result+ParseUpload.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[117/160] Compiling GetStream Swime+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[118/160] Compiling GetStream GetStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[119/160] Compiling GetStream AuthorizationMoyaPlugin.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[120/160] Compiling GetStream MoyaError+ClientError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[121/160] Compiling GetStream Response.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[122/160] Compiling GetStream Result+ParseResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[123/160] Compiling GetStream StreamTargetType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[124/160] Compiling GetStream Token.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[125/160] Compiling GetStream Client+Collection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[126/160] Compiling GetStream CollectionEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[127/160] Compiling GetStream CollectionObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[128/160] Compiling GetStream Result+ParseGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[129/160] Compiling GetStream Feed.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[130/160] Compiling GetStream FeedEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[131/160] Compiling GetStream FeedId.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[132/160] Compiling GetStream FlatFeed.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[133/160] Compiling GetStream Feed+Following.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[134/160] Compiling GetStream Follower.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[135/160] Compiling GetStream Client+Setup.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[136/160] Compiling GetStream Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[137/160] Compiling GetStream ClientError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[138/160] Compiling GetStream ClientLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[139/160] Compiling GetStream Enrichable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[140/160] Compiling GetStream MissingReference.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[141/160] Compiling GetStream Pagination.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[142/160] Compiling GetStream Client+OpenGraph.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[143/160] Compiling GetStream OpenGraphEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[144/160] Compiling GetStream Client+Reaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[145/160] Compiling GetStream Reaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[146/160] Compiling GetStream ReactionEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[147/160] Compiling GetStream ReactionExtraDataProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[148/160] Compiling GetStream ReactionKind.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[149/160] Compiling GetStream ReactionProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[150/160] Compiling GetStream Reactionable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[151/160] Compiling GetStream Reactions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[152/160] Compiling GetStream Result+ParseReaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[153/160] Compiling GetStream Client+User.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[154/160] Compiling GetStream User.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[155/160] Compiling GetStream UserEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[156/160] Compiling GetStream UserProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[157/160] Compiling GetStream Client+Faye.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[158/160] Compiling GetStream Feed+Faye.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
[159/160] Compiling GetStream SubscriptionResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[160/160] Emitting module GetStream
/Users/admin/builder/spi-builder-workspace/Sources/Core/Client/Client.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 | import Moya
11 |
BUILD FAILURE 6.0 macosSpm