Build Information
Successful build of SwiftTelegramSdk, reference master (bdb178
), with Swift 6.1 for macOS (SPM) on 31 May 2025 20:25:48 UTC.
Swift 6 data race errors: 7
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
9 | import Logging
10 |
11 | public protocol TGClientPrtcl {
| `- note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
12 |
13 | var log: Logger { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:65:34: warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
21 | }
22 |
23 | public final class TGLongPollingConnection: TGConnectionPrtcl {
| `- note: class 'TGLongPollingConnection' does not conform to the 'Sendable' protocol
24 | public var limit: Int?
25 | public var timeout: Int? = 10
:
63 | let group = DispatchGroup()
64 | while true {
65 | guard let self = self else { break }
| `- warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
66 | group.enter()
67 | Task.detached {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:88:27: warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
86 | var tgClient = tgClient
87 | tgClient.log = log
88 | await clientActor.set(tgClient)
| |- warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'tgClient' to actor-isolated instance method 'set' risks causing data races between actor-isolated and task-isolated uses
89 | self.botId = botId
90 | self.tgURI = tgURI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:67:22: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
65 | guard let self = self else { break }
66 | group.enter()
67 | Task.detached {
| |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
| |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
| `- note: access can happen concurrently
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGDispatcher.swift:99:52: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
97 | for handler in handlersGroup[handlersGroup.count - i] {
98 | if handler.check(update: update) {
99 | Task.detached(priority: .high) { [log] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
100 | do {
101 | try await handler.handle(update: update)
| | `- note: closure captures non-Sendable 'update'
| `- note: closure captures non-Sendable 'handler'
102 | } catch {
103 | log.error("\(makeError(BotError(String(describing: error))).localizedDescription)")
[232/385] Compiling SwiftTelegramSdk TGDispatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/CommandHandler.swift:33:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public var name: String
24 |
25 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
31 |
32 | /// Determines Whether the handler should also accept edited messages. Not used by default.
33 | public static let editedUpdates = Options(rawValue: 1)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:23:27: warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
21 |
22 | ///Should “normal” message updates be handled?
23 | public static let messageUpdates = Options(rawValue: 1)
| |- warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:25:27: warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
23 | public static let messageUpdates = Options(rawValue: 1)
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
| |- warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'channelPostUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:27:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
25 | public static let channelPostUpdates = Options(rawValue: 2)
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:50:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
49 | @available(*, deprecated, message: "Please use instance property \"log\". This static property doesn't work")
50 | public static var log = Logger(label: "com.tgbot")
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public let connectionType: TGConnectionType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:58:35: warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
56 | public var tgClient: TGClientPrtcl {
57 | get async throws {
58 | try await clientActor.client()
| `- warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGClientPrtcl.swift:11:17: note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
9 | import Logging
10 |
11 | public protocol TGClientPrtcl {
| `- note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
12 |
13 | var log: Logger { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:65:34: warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
21 | }
22 |
23 | public final class TGLongPollingConnection: TGConnectionPrtcl {
| `- note: class 'TGLongPollingConnection' does not conform to the 'Sendable' protocol
24 | public var limit: Int?
25 | public var timeout: Int? = 10
:
63 | let group = DispatchGroup()
64 | while true {
65 | guard let self = self else { break }
| `- warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
66 | group.enter()
67 | Task.detached {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:88:27: warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
86 | var tgClient = tgClient
87 | tgClient.log = log
88 | await clientActor.set(tgClient)
| |- warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'tgClient' to actor-isolated instance method 'set' risks causing data races between actor-isolated and task-isolated uses
89 | self.botId = botId
90 | self.tgURI = tgURI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:67:22: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
65 | guard let self = self else { break }
66 | group.enter()
67 | Task.detached {
| |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
| |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
| `- note: access can happen concurrently
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGDispatcher.swift:99:52: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
97 | for handler in handlersGroup[handlersGroup.count - i] {
98 | if handler.check(update: update) {
99 | Task.detached(priority: .high) { [log] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
100 | do {
101 | try await handler.handle(update: update)
| | `- note: closure captures non-Sendable 'update'
| `- note: closure captures non-Sendable 'handler'
102 | } catch {
103 | log.error("\(makeError(BotError(String(describing: error))).localizedDescription)")
[233/385] Compiling SwiftTelegramSdk TGMultiPart.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/CommandHandler.swift:33:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public var name: String
24 |
25 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
31 |
32 | /// Determines Whether the handler should also accept edited messages. Not used by default.
33 | public static let editedUpdates = Options(rawValue: 1)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:23:27: warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
21 |
22 | ///Should “normal” message updates be handled?
23 | public static let messageUpdates = Options(rawValue: 1)
| |- warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:25:27: warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
23 | public static let messageUpdates = Options(rawValue: 1)
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
| |- warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'channelPostUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:27:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
25 | public static let channelPostUpdates = Options(rawValue: 2)
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:50:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
49 | @available(*, deprecated, message: "Please use instance property \"log\". This static property doesn't work")
50 | public static var log = Logger(label: "com.tgbot")
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public let connectionType: TGConnectionType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:58:35: warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
56 | public var tgClient: TGClientPrtcl {
57 | get async throws {
58 | try await clientActor.client()
| `- warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGClientPrtcl.swift:11:17: note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
9 | import Logging
10 |
11 | public protocol TGClientPrtcl {
| `- note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
12 |
13 | var log: Logger { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:65:34: warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
21 | }
22 |
23 | public final class TGLongPollingConnection: TGConnectionPrtcl {
| `- note: class 'TGLongPollingConnection' does not conform to the 'Sendable' protocol
24 | public var limit: Int?
25 | public var timeout: Int? = 10
:
63 | let group = DispatchGroup()
64 | while true {
65 | guard let self = self else { break }
| `- warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
66 | group.enter()
67 | Task.detached {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:88:27: warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
86 | var tgClient = tgClient
87 | tgClient.log = log
88 | await clientActor.set(tgClient)
| |- warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'tgClient' to actor-isolated instance method 'set' risks causing data races between actor-isolated and task-isolated uses
89 | self.botId = botId
90 | self.tgURI = tgURI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:67:22: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
65 | guard let self = self else { break }
66 | group.enter()
67 | Task.detached {
| |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
| |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
| `- note: access can happen concurrently
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGDispatcher.swift:99:52: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
97 | for handler in handlersGroup[handlersGroup.count - i] {
98 | if handler.check(update: update) {
99 | Task.detached(priority: .high) { [log] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
100 | do {
101 | try await handler.handle(update: update)
| | `- note: closure captures non-Sendable 'update'
| `- note: closure captures non-Sendable 'handler'
102 | } catch {
103 | log.error("\(makeError(BotError(String(describing: error))).localizedDescription)")
[234/385] Compiling SwiftTelegramSdk AddStickerToSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/CommandHandler.swift:33:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public var name: String
24 |
25 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
31 |
32 | /// Determines Whether the handler should also accept edited messages. Not used by default.
33 | public static let editedUpdates = Options(rawValue: 1)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:23:27: warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
21 |
22 | ///Should “normal” message updates be handled?
23 | public static let messageUpdates = Options(rawValue: 1)
| |- warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:25:27: warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
23 | public static let messageUpdates = Options(rawValue: 1)
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
| |- warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'channelPostUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:27:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
25 | public static let channelPostUpdates = Options(rawValue: 2)
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:50:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
49 | @available(*, deprecated, message: "Please use instance property \"log\". This static property doesn't work")
50 | public static var log = Logger(label: "com.tgbot")
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public let connectionType: TGConnectionType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:58:35: warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
56 | public var tgClient: TGClientPrtcl {
57 | get async throws {
58 | try await clientActor.client()
| `- warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGClientPrtcl.swift:11:17: note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
9 | import Logging
10 |
11 | public protocol TGClientPrtcl {
| `- note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
12 |
13 | var log: Logger { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:65:34: warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
21 | }
22 |
23 | public final class TGLongPollingConnection: TGConnectionPrtcl {
| `- note: class 'TGLongPollingConnection' does not conform to the 'Sendable' protocol
24 | public var limit: Int?
25 | public var timeout: Int? = 10
:
63 | let group = DispatchGroup()
64 | while true {
65 | guard let self = self else { break }
| `- warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
66 | group.enter()
67 | Task.detached {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:88:27: warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
86 | var tgClient = tgClient
87 | tgClient.log = log
88 | await clientActor.set(tgClient)
| |- warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'tgClient' to actor-isolated instance method 'set' risks causing data races between actor-isolated and task-isolated uses
89 | self.botId = botId
90 | self.tgURI = tgURI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:67:22: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
65 | guard let self = self else { break }
66 | group.enter()
67 | Task.detached {
| |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
| |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
| `- note: access can happen concurrently
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGDispatcher.swift:99:52: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
97 | for handler in handlersGroup[handlersGroup.count - i] {
98 | if handler.check(update: update) {
99 | Task.detached(priority: .high) { [log] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
100 | do {
101 | try await handler.handle(update: update)
| | `- note: closure captures non-Sendable 'update'
| `- note: closure captures non-Sendable 'handler'
102 | } catch {
103 | log.error("\(makeError(BotError(String(describing: error))).localizedDescription)")
[235/385] Compiling SwiftTelegramSdk AnswerCallbackQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/CommandHandler.swift:33:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public var name: String
24 |
25 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
31 |
32 | /// Determines Whether the handler should also accept edited messages. Not used by default.
33 | public static let editedUpdates = Options(rawValue: 1)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:23:27: warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
21 |
22 | ///Should “normal” message updates be handled?
23 | public static let messageUpdates = Options(rawValue: 1)
| |- warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:25:27: warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
23 | public static let messageUpdates = Options(rawValue: 1)
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
| |- warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'channelPostUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:27:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
25 | public static let channelPostUpdates = Options(rawValue: 2)
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:50:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
49 | @available(*, deprecated, message: "Please use instance property \"log\". This static property doesn't work")
50 | public static var log = Logger(label: "com.tgbot")
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public let connectionType: TGConnectionType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:58:35: warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
56 | public var tgClient: TGClientPrtcl {
57 | get async throws {
58 | try await clientActor.client()
| `- warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGClientPrtcl.swift:11:17: note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
9 | import Logging
10 |
11 | public protocol TGClientPrtcl {
| `- note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
12 |
13 | var log: Logger { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:65:34: warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
21 | }
22 |
23 | public final class TGLongPollingConnection: TGConnectionPrtcl {
| `- note: class 'TGLongPollingConnection' does not conform to the 'Sendable' protocol
24 | public var limit: Int?
25 | public var timeout: Int? = 10
:
63 | let group = DispatchGroup()
64 | while true {
65 | guard let self = self else { break }
| `- warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
66 | group.enter()
67 | Task.detached {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:88:27: warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
86 | var tgClient = tgClient
87 | tgClient.log = log
88 | await clientActor.set(tgClient)
| |- warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'tgClient' to actor-isolated instance method 'set' risks causing data races between actor-isolated and task-isolated uses
89 | self.botId = botId
90 | self.tgURI = tgURI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:67:22: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
65 | guard let self = self else { break }
66 | group.enter()
67 | Task.detached {
| |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
| |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
| `- note: access can happen concurrently
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGDispatcher.swift:99:52: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
97 | for handler in handlersGroup[handlersGroup.count - i] {
98 | if handler.check(update: update) {
99 | Task.detached(priority: .high) { [log] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
100 | do {
101 | try await handler.handle(update: update)
| | `- note: closure captures non-Sendable 'update'
| `- note: closure captures non-Sendable 'handler'
102 | } catch {
103 | log.error("\(makeError(BotError(String(describing: error))).localizedDescription)")
[236/385] Compiling SwiftTelegramSdk AnswerInlineQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/CommandHandler.swift:33:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public var name: String
24 |
25 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
31 |
32 | /// Determines Whether the handler should also accept edited messages. Not used by default.
33 | public static let editedUpdates = Options(rawValue: 1)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:23:27: warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
21 |
22 | ///Should “normal” message updates be handled?
23 | public static let messageUpdates = Options(rawValue: 1)
| |- warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:25:27: warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
23 | public static let messageUpdates = Options(rawValue: 1)
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
| |- warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'channelPostUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:27:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
25 | public static let channelPostUpdates = Options(rawValue: 2)
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:50:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
49 | @available(*, deprecated, message: "Please use instance property \"log\". This static property doesn't work")
50 | public static var log = Logger(label: "com.tgbot")
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public let connectionType: TGConnectionType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:58:35: warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
56 | public var tgClient: TGClientPrtcl {
57 | get async throws {
58 | try await clientActor.client()
| `- warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGClientPrtcl.swift:11:17: note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
9 | import Logging
10 |
11 | public protocol TGClientPrtcl {
| `- note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
12 |
13 | var log: Logger { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:65:34: warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
21 | }
22 |
23 | public final class TGLongPollingConnection: TGConnectionPrtcl {
| `- note: class 'TGLongPollingConnection' does not conform to the 'Sendable' protocol
24 | public var limit: Int?
25 | public var timeout: Int? = 10
:
63 | let group = DispatchGroup()
64 | while true {
65 | guard let self = self else { break }
| `- warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
66 | group.enter()
67 | Task.detached {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:88:27: warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
86 | var tgClient = tgClient
87 | tgClient.log = log
88 | await clientActor.set(tgClient)
| |- warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'tgClient' to actor-isolated instance method 'set' risks causing data races between actor-isolated and task-isolated uses
89 | self.botId = botId
90 | self.tgURI = tgURI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:67:22: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
65 | guard let self = self else { break }
66 | group.enter()
67 | Task.detached {
| |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
| |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
| `- note: access can happen concurrently
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGDispatcher.swift:99:52: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
97 | for handler in handlersGroup[handlersGroup.count - i] {
98 | if handler.check(update: update) {
99 | Task.detached(priority: .high) { [log] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
100 | do {
101 | try await handler.handle(update: update)
| | `- note: closure captures non-Sendable 'update'
| `- note: closure captures non-Sendable 'handler'
102 | } catch {
103 | log.error("\(makeError(BotError(String(describing: error))).localizedDescription)")
[237/385] Compiling SwiftTelegramSdk AnswerPreCheckoutQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/CommandHandler.swift:33:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public var name: String
24 |
25 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
31 |
32 | /// Determines Whether the handler should also accept edited messages. Not used by default.
33 | public static let editedUpdates = Options(rawValue: 1)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:23:27: warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
21 |
22 | ///Should “normal” message updates be handled?
23 | public static let messageUpdates = Options(rawValue: 1)
| |- warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:25:27: warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
23 | public static let messageUpdates = Options(rawValue: 1)
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
| |- warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'channelPostUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:27:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
25 | public static let channelPostUpdates = Options(rawValue: 2)
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:50:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
49 | @available(*, deprecated, message: "Please use instance property \"log\". This static property doesn't work")
50 | public static var log = Logger(label: "com.tgbot")
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public let connectionType: TGConnectionType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:58:35: warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
56 | public var tgClient: TGClientPrtcl {
57 | get async throws {
58 | try await clientActor.client()
| `- warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGClientPrtcl.swift:11:17: note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
9 | import Logging
10 |
11 | public protocol TGClientPrtcl {
| `- note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
12 |
13 | var log: Logger { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:65:34: warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
21 | }
22 |
23 | public final class TGLongPollingConnection: TGConnectionPrtcl {
| `- note: class 'TGLongPollingConnection' does not conform to the 'Sendable' protocol
24 | public var limit: Int?
25 | public var timeout: Int? = 10
:
63 | let group = DispatchGroup()
64 | while true {
65 | guard let self = self else { break }
| `- warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
66 | group.enter()
67 | Task.detached {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:88:27: warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
86 | var tgClient = tgClient
87 | tgClient.log = log
88 | await clientActor.set(tgClient)
| |- warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'tgClient' to actor-isolated instance method 'set' risks causing data races between actor-isolated and task-isolated uses
89 | self.botId = botId
90 | self.tgURI = tgURI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:67:22: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
65 | guard let self = self else { break }
66 | group.enter()
67 | Task.detached {
| |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
| |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
| `- note: access can happen concurrently
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGDispatcher.swift:99:52: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
97 | for handler in handlersGroup[handlersGroup.count - i] {
98 | if handler.check(update: update) {
99 | Task.detached(priority: .high) { [log] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
100 | do {
101 | try await handler.handle(update: update)
| | `- note: closure captures non-Sendable 'update'
| `- note: closure captures non-Sendable 'handler'
102 | } catch {
103 | log.error("\(makeError(BotError(String(describing: error))).localizedDescription)")
[238/385] Compiling SwiftTelegramSdk AnswerShippingQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/CommandHandler.swift:33:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public var name: String
24 |
25 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
31 |
32 | /// Determines Whether the handler should also accept edited messages. Not used by default.
33 | public static let editedUpdates = Options(rawValue: 1)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:23:27: warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
21 |
22 | ///Should “normal” message updates be handled?
23 | public static let messageUpdates = Options(rawValue: 1)
| |- warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:25:27: warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
23 | public static let messageUpdates = Options(rawValue: 1)
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
| |- warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'channelPostUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:27:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
25 | public static let channelPostUpdates = Options(rawValue: 2)
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:50:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
49 | @available(*, deprecated, message: "Please use instance property \"log\". This static property doesn't work")
50 | public static var log = Logger(label: "com.tgbot")
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public let connectionType: TGConnectionType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:58:35: warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
56 | public var tgClient: TGClientPrtcl {
57 | get async throws {
58 | try await clientActor.client()
| `- warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGClientPrtcl.swift:11:17: note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
9 | import Logging
10 |
11 | public protocol TGClientPrtcl {
| `- note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
12 |
13 | var log: Logger { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:65:34: warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
21 | }
22 |
23 | public final class TGLongPollingConnection: TGConnectionPrtcl {
| `- note: class 'TGLongPollingConnection' does not conform to the 'Sendable' protocol
24 | public var limit: Int?
25 | public var timeout: Int? = 10
:
63 | let group = DispatchGroup()
64 | while true {
65 | guard let self = self else { break }
| `- warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
66 | group.enter()
67 | Task.detached {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:88:27: warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
86 | var tgClient = tgClient
87 | tgClient.log = log
88 | await clientActor.set(tgClient)
| |- warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'tgClient' to actor-isolated instance method 'set' risks causing data races between actor-isolated and task-isolated uses
89 | self.botId = botId
90 | self.tgURI = tgURI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:67:22: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
65 | guard let self = self else { break }
66 | group.enter()
67 | Task.detached {
| |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
| |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
| `- note: access can happen concurrently
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGDispatcher.swift:99:52: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
97 | for handler in handlersGroup[handlersGroup.count - i] {
98 | if handler.check(update: update) {
99 | Task.detached(priority: .high) { [log] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
100 | do {
101 | try await handler.handle(update: update)
| | `- note: closure captures non-Sendable 'update'
| `- note: closure captures non-Sendable 'handler'
102 | } catch {
103 | log.error("\(makeError(BotError(String(describing: error))).localizedDescription)")
[239/385] Compiling SwiftTelegramSdk AnswerWebAppQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/CommandHandler.swift:33:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public var name: String
24 |
25 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
31 |
32 | /// Determines Whether the handler should also accept edited messages. Not used by default.
33 | public static let editedUpdates = Options(rawValue: 1)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:23:27: warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
21 |
22 | ///Should “normal” message updates be handled?
23 | public static let messageUpdates = Options(rawValue: 1)
| |- warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:25:27: warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
23 | public static let messageUpdates = Options(rawValue: 1)
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
| |- warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'channelPostUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:27:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
25 | public static let channelPostUpdates = Options(rawValue: 2)
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:50:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
49 | @available(*, deprecated, message: "Please use instance property \"log\". This static property doesn't work")
50 | public static var log = Logger(label: "com.tgbot")
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public let connectionType: TGConnectionType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:58:35: warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
56 | public var tgClient: TGClientPrtcl {
57 | get async throws {
58 | try await clientActor.client()
| `- warning: non-sendable result type 'any TGClientPrtcl' cannot be sent from actor-isolated context in call to instance method 'client()'; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGClientPrtcl.swift:11:17: note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
9 | import Logging
10 |
11 | public protocol TGClientPrtcl {
| `- note: protocol 'TGClientPrtcl' does not conform to the 'Sendable' protocol
12 |
13 | var log: Logger { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:65:34: warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
21 | }
22 |
23 | public final class TGLongPollingConnection: TGConnectionPrtcl {
| `- note: class 'TGLongPollingConnection' does not conform to the 'Sendable' protocol
24 | public var limit: Int?
25 | public var timeout: Int? = 10
:
63 | let group = DispatchGroup()
64 | while true {
65 | guard let self = self else { break }
| `- warning: capture of 'self' with non-sendable type 'TGLongPollingConnection?' in a '@Sendable' closure
66 | group.enter()
67 | Task.detached {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in a '@Sendable' closure
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:69:82: warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
67 | Task.detached {
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
| `- warning: capture of 'bot' with non-sendable type 'TGBot' in an isolated closure; this is an error in the Swift 6 language mode
70 | bot.dispatcher.process(updates)
71 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:46:20: note: class 'TGBot' does not conform to the 'Sendable' protocol
44 |
45 |
46 | public final class TGBot: TGBotPrtcl {
| `- note: class 'TGBot' does not conform to the 'Sendable' protocol
47 |
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:88:27: warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
86 | var tgClient = tgClient
87 | tgClient.log = log
88 | await clientActor.set(tgClient)
| |- warning: sending 'tgClient' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'tgClient' to actor-isolated instance method 'set' risks causing data races between actor-isolated and task-isolated uses
89 | self.botId = botId
90 | self.tgURI = tgURI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGConnection.swift:67:22: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
65 | guard let self = self else { break }
66 | group.enter()
67 | Task.detached {
| |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
| |- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
| `- note: access can happen concurrently
68 | do {
69 | let updates: [TGUpdate] = try await self.getUpdates(bot: bot)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGDispatcher.swift:99:52: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
97 | for handler in handlersGroup[handlersGroup.count - i] {
98 | if handler.check(update: update) {
99 | Task.detached(priority: .high) { [log] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
100 | do {
101 | try await handler.handle(update: update)
| | `- note: closure captures non-Sendable 'update'
| `- note: closure captures non-Sendable 'handler'
102 | } catch {
103 | log.error("\(makeError(BotError(String(describing: error))).localizedDescription)")
[240/385] Compiling SwiftTelegramSdk Array+RemoveHandler.swift
[241/385] Compiling SwiftTelegramSdk HTTPMediaType.swift
[242/385] Compiling SwiftTelegramSdk TGErrorCommon.swift
[243/385] Compiling SwiftTelegramSdk AllFilter.swift
[244/385] Compiling SwiftTelegramSdk AudioFilter.swift
[245/385] Compiling SwiftTelegramSdk CaptionEntityFilter.swift
[246/385] Compiling SwiftTelegramSdk ChatFilter.swift
[247/385] Compiling SwiftTelegramSdk CommandFilter.swift
[248/385] Compiling SwiftTelegramSdk ContactFilter.swift
[249/385] Compiling SwiftTelegramSdk DocumentFilter.swift
[250/385] Compiling SwiftTelegramSdk EntityFilter.swift
[251/385] Compiling SwiftTelegramSdk ForwarderFilter.swift
[252/385] Compiling SwiftTelegramSdk GameFilter.swift
[253/385] Compiling SwiftTelegramSdk GroupFilter.swift
[254/385] Compiling SwiftTelegramSdk InvoiceFilter.swift
[255/385] Compiling SwiftTelegramSdk LanguageFilter.swift
[256/385] Compiling SwiftTelegramSdk LocationFilter.swift
[257/385] Compiling SwiftTelegramSdk PhotoFilter.swift
[258/385] Compiling SwiftTelegramSdk PrivateFilter.swift
[259/385] Compiling SwiftTelegramSdk RegexpFilter.swift
[260/385] Compiling SwiftTelegramSdk ReplyFilter.swift
[261/385] Compiling SwiftTelegramSdk StatusUpdateFilters.swift
[262/385] Compiling SwiftTelegramSdk StickerFilter.swift
[263/385] Compiling SwiftTelegramSdk SuccesfulPaymentFilter.swift
[264/385] Compiling SwiftTelegramSdk TGFilter.swift
[265/481] Compiling SwiftTelegramSdk TGChatPermissions.swift
[266/481] Compiling SwiftTelegramSdk TGChatPhoto.swift
[267/481] Compiling SwiftTelegramSdk TGChatShared.swift
[268/481] Compiling SwiftTelegramSdk TGChatType.swift
[269/481] Compiling SwiftTelegramSdk TGChosenInlineResult.swift
[270/481] Compiling SwiftTelegramSdk TGContact.swift
[271/481] Compiling SwiftTelegramSdk TGCopyTextButton.swift
[272/481] Compiling SwiftTelegramSdk TGDice.swift
[273/481] Compiling SwiftTelegramSdk TGDocument.swift
[274/481] Compiling SwiftTelegramSdk TGEncryptedCredentials.swift
[275/481] Compiling SwiftTelegramSdk TGEncryptedPassportElement.swift
[276/481] Compiling SwiftTelegramSdk TGEncryptedPassportElementType.swift
[277/481] Compiling SwiftTelegramSdk TGExternalReplyInfo.swift
[278/481] Compiling SwiftTelegramSdk TGFile.swift
[279/481] Compiling SwiftTelegramSdk TGForceReply.swift
[280/481] Compiling SwiftTelegramSdk TGForumTopic.swift
[281/481] Compiling SwiftTelegramSdk TGForumTopicClosed.swift
[282/481] Compiling SwiftTelegramSdk TGForumTopicCreated.swift
[283/481] Compiling SwiftTelegramSdk TGForumTopicEdited.swift
[284/481] Compiling SwiftTelegramSdk TGForumTopicReopened.swift
[285/481] Compiling SwiftTelegramSdk TGGame.swift
[286/481] Compiling SwiftTelegramSdk TGGameHighScore.swift
[287/481] Compiling SwiftTelegramSdk TGGeneralForumTopicHidden.swift
[288/481] Compiling SwiftTelegramSdk TGGeneralForumTopicUnhidden.swift
[289/505] Compiling SwiftTelegramSdk TGChat.swift
[290/505] Compiling SwiftTelegramSdk TGChatAdministratorRights.swift
[291/505] Compiling SwiftTelegramSdk TGChatBackground.swift
[292/505] Compiling SwiftTelegramSdk TGChatBoost.swift
[293/505] Compiling SwiftTelegramSdk TGChatBoostAdded.swift
[294/505] Compiling SwiftTelegramSdk TGChatBoostRemoved.swift
[295/505] Compiling SwiftTelegramSdk TGChatBoostSource.swift
[296/505] Compiling SwiftTelegramSdk TGChatBoostSourceGiftCode.swift
[297/505] Compiling SwiftTelegramSdk TGChatBoostSourceGiveaway.swift
[298/505] Compiling SwiftTelegramSdk TGChatBoostSourcePremium.swift
[299/505] Compiling SwiftTelegramSdk TGChatBoostUpdated.swift
[300/505] Compiling SwiftTelegramSdk TGChatFullInfo.swift
[301/505] Compiling SwiftTelegramSdk TGChatFullInfoType.swift
[302/505] Compiling SwiftTelegramSdk TGChatInviteLink.swift
[303/505] Compiling SwiftTelegramSdk TGChatJoinRequest.swift
[304/505] Compiling SwiftTelegramSdk TGChatLocation.swift
[305/505] Compiling SwiftTelegramSdk TGChatMember.swift
[306/505] Compiling SwiftTelegramSdk TGChatMemberAdministrator.swift
[307/505] Compiling SwiftTelegramSdk TGChatMemberBanned.swift
[308/505] Compiling SwiftTelegramSdk TGChatMemberLeft.swift
[309/505] Compiling SwiftTelegramSdk TGChatMemberMember.swift
[310/505] Compiling SwiftTelegramSdk TGChatMemberOwner.swift
[311/505] Compiling SwiftTelegramSdk TGChatMemberRestricted.swift
[312/505] Compiling SwiftTelegramSdk TGChatMemberUpdated.swift
[313/529] Compiling SwiftTelegramSdk TGInlineQueryResultVideo.swift
[314/529] Compiling SwiftTelegramSdk TGInlineQueryResultVideoType.swift
[315/529] Compiling SwiftTelegramSdk TGInlineQueryResultVoice.swift
[316/529] Compiling SwiftTelegramSdk TGInlineQueryResultVoiceType.swift
[317/529] Compiling SwiftTelegramSdk TGInlineQueryResultsButton.swift
[318/529] Compiling SwiftTelegramSdk TGInputContactMessageContent.swift
[319/529] Compiling SwiftTelegramSdk TGInputInvoiceMessageContent.swift
[320/529] Compiling SwiftTelegramSdk TGInputLocationMessageContent.swift
[321/529] Compiling SwiftTelegramSdk TGInputMedia.swift
[322/529] Compiling SwiftTelegramSdk TGInputMediaAnimation.swift
[323/529] Compiling SwiftTelegramSdk TGInputMediaAnimationType.swift
[324/529] Compiling SwiftTelegramSdk TGInputMediaAudio.swift
[325/529] Compiling SwiftTelegramSdk TGInputMediaAudioType.swift
[326/529] Compiling SwiftTelegramSdk TGInputMediaDocument.swift
[327/529] Compiling SwiftTelegramSdk TGInputMediaDocumentType.swift
[328/529] Compiling SwiftTelegramSdk TGInputMediaPhoto.swift
[329/529] Compiling SwiftTelegramSdk TGInputMediaPhotoType.swift
[330/529] Compiling SwiftTelegramSdk TGInputMediaVideo.swift
[331/529] Compiling SwiftTelegramSdk TGInputMediaVideoType.swift
[332/529] Compiling SwiftTelegramSdk TGInputMessageContent.swift
[333/529] Compiling SwiftTelegramSdk TGInputPaidMedia.swift
[334/529] Compiling SwiftTelegramSdk TGInputPaidMediaPhoto.swift
[335/529] Compiling SwiftTelegramSdk TGInputPaidMediaPhotoType.swift
[336/529] Compiling SwiftTelegramSdk TGInputPaidMediaVideo.swift
[337/553] Compiling SwiftTelegramSdk TGInlineQueryResultCachedPhoto.swift
[338/553] Compiling SwiftTelegramSdk TGInlineQueryResultCachedPhotoType.swift
[339/553] Compiling SwiftTelegramSdk TGInlineQueryResultCachedSticker.swift
[340/553] Compiling SwiftTelegramSdk TGInlineQueryResultCachedStickerType.swift
[341/553] Compiling SwiftTelegramSdk TGInlineQueryResultCachedVideo.swift
[342/553] Compiling SwiftTelegramSdk TGInlineQueryResultCachedVideoType.swift
[343/553] Compiling SwiftTelegramSdk TGInlineQueryResultCachedVoice.swift
[344/553] Compiling SwiftTelegramSdk TGInlineQueryResultCachedVoiceType.swift
[345/553] Compiling SwiftTelegramSdk TGInlineQueryResultContact.swift
[346/553] Compiling SwiftTelegramSdk TGInlineQueryResultContactType.swift
[347/553] Compiling SwiftTelegramSdk TGInlineQueryResultDocument.swift
[348/553] Compiling SwiftTelegramSdk TGInlineQueryResultDocumentType.swift
[349/553] Compiling SwiftTelegramSdk TGInlineQueryResultGame.swift
[350/553] Compiling SwiftTelegramSdk TGInlineQueryResultGameType.swift
[351/553] Compiling SwiftTelegramSdk TGInlineQueryResultGif.swift
[352/553] Compiling SwiftTelegramSdk TGInlineQueryResultGifType.swift
[353/553] Compiling SwiftTelegramSdk TGInlineQueryResultLocation.swift
[354/553] Compiling SwiftTelegramSdk TGInlineQueryResultLocationType.swift
[355/553] Compiling SwiftTelegramSdk TGInlineQueryResultMpeg4Gif.swift
[356/553] Compiling SwiftTelegramSdk TGInlineQueryResultMpeg4GifType.swift
[357/553] Compiling SwiftTelegramSdk TGInlineQueryResultPhoto.swift
[358/553] Compiling SwiftTelegramSdk TGInlineQueryResultPhotoType.swift
[359/553] Compiling SwiftTelegramSdk TGInlineQueryResultVenue.swift
[360/553] Compiling SwiftTelegramSdk TGInlineQueryResultVenueType.swift
[361/577] Compiling SwiftTelegramSdk TGMessageReactionCountUpdated.swift
[362/577] Compiling SwiftTelegramSdk TGMessageReactionUpdated.swift
[363/577] Compiling SwiftTelegramSdk TGOrderInfo.swift
[364/577] Compiling SwiftTelegramSdk TGOwnedGift.swift
[365/577] Compiling SwiftTelegramSdk TGOwnedGiftRegular.swift
[366/577] Compiling SwiftTelegramSdk TGOwnedGiftRegularType.swift
[367/577] Compiling SwiftTelegramSdk TGOwnedGiftUnique.swift
[368/577] Compiling SwiftTelegramSdk TGOwnedGiftUniqueType.swift
[369/577] Compiling SwiftTelegramSdk TGOwnedGifts.swift
[370/577] Compiling SwiftTelegramSdk TGPaidMedia.swift
[371/577] Compiling SwiftTelegramSdk TGPaidMediaInfo.swift
[372/577] Compiling SwiftTelegramSdk TGPaidMediaPhoto.swift
[373/577] Compiling SwiftTelegramSdk TGPaidMediaPhotoType.swift
[374/577] Compiling SwiftTelegramSdk TGPaidMediaPreview.swift
[375/577] Compiling SwiftTelegramSdk TGPaidMediaPreviewType.swift
[376/577] Compiling SwiftTelegramSdk TGPaidMediaPurchased.swift
[377/577] Compiling SwiftTelegramSdk TGPaidMediaVideo.swift
[378/577] Compiling SwiftTelegramSdk TGPaidMediaVideoType.swift
[379/577] Compiling SwiftTelegramSdk TGPaidMessagePriceChanged.swift
[380/577] Compiling SwiftTelegramSdk TGPassportData.swift
[381/577] Compiling SwiftTelegramSdk TGPassportElementError.swift
[382/577] Compiling SwiftTelegramSdk TGPassportElementErrorDataField.swift
[383/577] Compiling SwiftTelegramSdk TGPassportElementErrorDataFieldType.swift
[384/577] Compiling SwiftTelegramSdk TGPassportElementErrorFile.swift
[385/577] Compiling SwiftTelegramSdk TGPassportElementErrorFileType.swift
[386/577] Compiling SwiftTelegramSdk TGPassportElementErrorFiles.swift
[387/577] Compiling SwiftTelegramSdk TGPassportElementErrorFilesType.swift
[388/577] Compiling SwiftTelegramSdk TGPassportElementErrorFrontSide.swift
[389/577] Compiling SwiftTelegramSdk TGPassportElementErrorFrontSideType.swift
[390/577] Compiling SwiftTelegramSdk TGPassportElementErrorReverseSide.swift
[391/577] Compiling SwiftTelegramSdk TGPassportElementErrorReverseSideType.swift
[392/577] Compiling SwiftTelegramSdk TGPassportElementErrorSelfie.swift
[393/577] Compiling SwiftTelegramSdk TGPassportElementErrorSelfieType.swift
[394/577] Compiling SwiftTelegramSdk TGPassportElementErrorTranslationFile.swift
[395/577] Compiling SwiftTelegramSdk TGPassportElementErrorTranslationFileType.swift
[396/577] Compiling SwiftTelegramSdk TGPassportElementErrorTranslationFiles.swift
[397/577] Compiling SwiftTelegramSdk TGPassportElementErrorTranslationFilesType.swift
[398/577] Compiling SwiftTelegramSdk TGPassportElementErrorUnspecified.swift
[399/577] Compiling SwiftTelegramSdk TGPassportFile.swift
[400/577] Compiling SwiftTelegramSdk TGPhotoSize.swift
[401/577] Compiling SwiftTelegramSdk TGPoll.swift
[402/577] Compiling SwiftTelegramSdk TGPollAnswer.swift
[403/577] Compiling SwiftTelegramSdk TGPollOption.swift
[404/577] Compiling SwiftTelegramSdk TGPollType.swift
[405/577] Compiling SwiftTelegramSdk TGPreCheckoutQuery.swift
[406/577] Compiling SwiftTelegramSdk TGPreparedInlineMessage.swift
[407/577] Compiling SwiftTelegramSdk TGProximityAlertTriggered.swift
[408/577] Compiling SwiftTelegramSdk TGReactionCount.swift
[409/577] Compiling SwiftTelegramSdk TGGift.swift
[410/577] Compiling SwiftTelegramSdk TGGiftInfo.swift
[411/577] Compiling SwiftTelegramSdk TGGifts.swift
[412/577] Compiling SwiftTelegramSdk TGGiveaway.swift
[413/577] Compiling SwiftTelegramSdk TGGiveawayCompleted.swift
[414/577] Compiling SwiftTelegramSdk TGGiveawayCreated.swift
[415/577] Compiling SwiftTelegramSdk TGGiveawayWinners.swift
[416/577] Compiling SwiftTelegramSdk TGInaccessibleMessage.swift
[417/577] Compiling SwiftTelegramSdk TGInlineKeyboardButton.swift
[418/577] Compiling SwiftTelegramSdk TGInlineKeyboardMarkup.swift
[419/577] Compiling SwiftTelegramSdk TGInlineQuery.swift
[420/577] Compiling SwiftTelegramSdk TGInlineQueryResult.swift
[421/577] Compiling SwiftTelegramSdk TGInlineQueryResultArticle.swift
[422/577] Compiling SwiftTelegramSdk TGInlineQueryResultArticleType.swift
[423/577] Compiling SwiftTelegramSdk TGInlineQueryResultAudio.swift
[424/577] Compiling SwiftTelegramSdk TGInlineQueryResultAudioType.swift
[425/577] Compiling SwiftTelegramSdk TGInlineQueryResultCachedAudio.swift
[426/577] Compiling SwiftTelegramSdk TGInlineQueryResultCachedAudioType.swift
[427/577] Compiling SwiftTelegramSdk TGInlineQueryResultCachedDocument.swift
[428/577] Compiling SwiftTelegramSdk TGInlineQueryResultCachedDocumentType.swift
[429/577] Compiling SwiftTelegramSdk TGInlineQueryResultCachedGif.swift
[430/577] Compiling SwiftTelegramSdk TGInlineQueryResultCachedGifType.swift
[431/577] Compiling SwiftTelegramSdk TGInlineQueryResultCachedMpeg4Gif.swift
[432/577] Compiling SwiftTelegramSdk TGInlineQueryResultCachedMpeg4GifType.swift
[433/577] Compiling SwiftTelegramSdk TGInputPaidMediaVideoType.swift
[434/577] Compiling SwiftTelegramSdk TGInputPollOption.swift
[435/577] Compiling SwiftTelegramSdk TGInputProfilePhoto.swift
[436/577] Compiling SwiftTelegramSdk TGInputProfilePhotoAnimated.swift
[437/577] Compiling SwiftTelegramSdk TGInputProfilePhotoAnimatedType.swift
[438/577] Compiling SwiftTelegramSdk TGInputProfilePhotoStatic.swift
[439/577] Compiling SwiftTelegramSdk TGInputProfilePhotoStaticType.swift
[440/577] Compiling SwiftTelegramSdk TGInputSticker.swift
[441/577] Compiling SwiftTelegramSdk TGInputStoryContent.swift
[442/577] Compiling SwiftTelegramSdk TGInputStoryContentPhoto.swift
[443/577] Compiling SwiftTelegramSdk TGInputStoryContentPhotoType.swift
[444/577] Compiling SwiftTelegramSdk TGInputStoryContentVideo.swift
[445/577] Compiling SwiftTelegramSdk TGInputStoryContentVideoType.swift
[446/577] Compiling SwiftTelegramSdk TGInputTextMessageContent.swift
[447/577] Compiling SwiftTelegramSdk TGInputVenueMessageContent.swift
[448/577] Compiling SwiftTelegramSdk TGInvoice.swift
[449/577] Compiling SwiftTelegramSdk TGKeyboardButton.swift
[450/577] Compiling SwiftTelegramSdk TGKeyboardButtonPollType.swift
[451/577] Compiling SwiftTelegramSdk TGKeyboardButtonRequestChat.swift
[452/577] Compiling SwiftTelegramSdk TGKeyboardButtonRequestUsers.swift
[453/577] Compiling SwiftTelegramSdk TGLabeledPrice.swift
[454/577] Compiling SwiftTelegramSdk TGLinkPreviewOptions.swift
[455/577] Compiling SwiftTelegramSdk TGLocation.swift
[456/577] Compiling SwiftTelegramSdk TGLocationAddress.swift
[457/577] Compiling SwiftTelegramSdk TGReactionType.swift
[458/577] Compiling SwiftTelegramSdk TGReactionTypeCustomEmoji.swift
[459/577] Compiling SwiftTelegramSdk TGReactionTypeCustomEmojiType.swift
[460/577] Compiling SwiftTelegramSdk TGReactionTypeEmoji.swift
[461/577] Compiling SwiftTelegramSdk TGReactionTypeEmojiType.swift
[462/577] Compiling SwiftTelegramSdk TGReactionTypePaid.swift
[463/577] Compiling SwiftTelegramSdk TGReactionTypePaidType.swift
[464/577] Compiling SwiftTelegramSdk TGRefundedPayment.swift
[465/577] Compiling SwiftTelegramSdk TGReplyKeyboardMarkup.swift
[466/577] Compiling SwiftTelegramSdk TGReplyKeyboardRemove.swift
[467/577] Compiling SwiftTelegramSdk TGReplyParameters.swift
[468/577] Compiling SwiftTelegramSdk TGResponseParameters.swift
[469/577] Compiling SwiftTelegramSdk TGRevenueWithdrawalState.swift
[470/577] Compiling SwiftTelegramSdk TGRevenueWithdrawalStateFailed.swift
[471/577] Compiling SwiftTelegramSdk TGRevenueWithdrawalStateFailedType.swift
[472/577] Compiling SwiftTelegramSdk TGRevenueWithdrawalStatePending.swift
[473/577] Compiling SwiftTelegramSdk TGRevenueWithdrawalStatePendingType.swift
[474/577] Compiling SwiftTelegramSdk TGRevenueWithdrawalStateSucceeded.swift
[475/577] Compiling SwiftTelegramSdk TGRevenueWithdrawalStateSucceededType.swift
[476/577] Compiling SwiftTelegramSdk TGSentWebAppMessage.swift
[477/577] Compiling SwiftTelegramSdk TGSharedUser.swift
[478/577] Compiling SwiftTelegramSdk TGShippingAddress.swift
[479/577] Compiling SwiftTelegramSdk TGShippingOption.swift
[480/577] Compiling SwiftTelegramSdk TGShippingQuery.swift
[481/577] Compiling SwiftTelegramSdk TGStarAmount.swift
[482/577] Compiling SwiftTelegramSdk TGStarTransaction.swift
[483/577] Compiling SwiftTelegramSdk TGStarTransactions.swift
[484/577] Compiling SwiftTelegramSdk TGSticker.swift
[485/577] Compiling SwiftTelegramSdk TGStickerSet.swift
[486/577] Compiling SwiftTelegramSdk TGStickerType.swift
[487/577] Compiling SwiftTelegramSdk TGStory.swift
[488/577] Compiling SwiftTelegramSdk TGStoryArea.swift
[489/577] Compiling SwiftTelegramSdk TGStoryAreaPosition.swift
[490/577] Compiling SwiftTelegramSdk TGStoryAreaType.swift
[491/577] Compiling SwiftTelegramSdk TGStoryAreaTypeLink.swift
[492/577] Compiling SwiftTelegramSdk TGStoryAreaTypeLinkType.swift
[493/577] Compiling SwiftTelegramSdk TGStoryAreaTypeLocation.swift
[494/577] Compiling SwiftTelegramSdk TGStoryAreaTypeLocationType.swift
[495/577] Compiling SwiftTelegramSdk TGStoryAreaTypeSuggestedReaction.swift
[496/577] Compiling SwiftTelegramSdk TGStoryAreaTypeSuggestedReactionType.swift
[497/577] Compiling SwiftTelegramSdk TGStoryAreaTypeUniqueGift.swift
[498/577] Compiling SwiftTelegramSdk TGStoryAreaTypeUniqueGiftType.swift
[499/577] Compiling SwiftTelegramSdk TGStoryAreaTypeWeather.swift
[500/577] Compiling SwiftTelegramSdk TGStoryAreaTypeWeatherType.swift
[501/577] Compiling SwiftTelegramSdk TGSuccessfulPayment.swift
[502/577] Compiling SwiftTelegramSdk TGSwitchInlineQueryChosenChat.swift
[503/577] Compiling SwiftTelegramSdk TGTextQuote.swift
[504/577] Compiling SwiftTelegramSdk TGTransactionPartner.swift
[505/577] Compiling SwiftTelegramSdk TGLoginUrl.swift
[506/577] Compiling SwiftTelegramSdk TGMaskPosition.swift
[507/577] Compiling SwiftTelegramSdk TGMaybeInaccessibleMessage.swift
[508/577] Compiling SwiftTelegramSdk TGMenuButton.swift
[509/577] Compiling SwiftTelegramSdk TGMenuButtonCommands.swift
[510/577] Compiling SwiftTelegramSdk TGMenuButtonCommandsType.swift
[511/577] Compiling SwiftTelegramSdk TGMenuButtonDefault.swift
[512/577] Compiling SwiftTelegramSdk TGMenuButtonDefaultType.swift
[513/577] Compiling SwiftTelegramSdk TGMenuButtonWebApp.swift
[514/577] Compiling SwiftTelegramSdk TGMenuButtonWebAppType.swift
[515/577] Compiling SwiftTelegramSdk TGMessage.swift
[516/577] Compiling SwiftTelegramSdk TGMessageAutoDeleteTimerChanged.swift
[517/577] Compiling SwiftTelegramSdk TGMessageEntity.swift
[518/577] Compiling SwiftTelegramSdk TGMessageEntityType.swift
[519/577] Compiling SwiftTelegramSdk TGMessageId.swift
[520/577] Compiling SwiftTelegramSdk TGMessageOrigin.swift
[521/577] Compiling SwiftTelegramSdk TGMessageOriginChannel.swift
[522/577] Compiling SwiftTelegramSdk TGMessageOriginChannelType.swift
[523/577] Compiling SwiftTelegramSdk TGMessageOriginChat.swift
[524/577] Compiling SwiftTelegramSdk TGMessageOriginChatType.swift
[525/577] Compiling SwiftTelegramSdk TGMessageOriginHiddenUser.swift
[526/577] Compiling SwiftTelegramSdk TGMessageOriginHiddenUserType.swift
[527/577] Compiling SwiftTelegramSdk TGMessageOriginUser.swift
[528/577] Compiling SwiftTelegramSdk TGMessageOriginUserType.swift
[529/577] Emitting module SwiftTelegramSdk
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/CommandHandler.swift:33:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public var name: String
24 |
25 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
26 | public let rawValue: Int
27 |
:
31 |
32 | /// Determines Whether the handler should also accept edited messages. Not used by default.
33 | public static let editedUpdates = Options(rawValue: 1)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGCommandHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:23:27: warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
21 |
22 | ///Should “normal” message updates be handled?
23 | public static let messageUpdates = Options(rawValue: 1)
| |- warning: static property 'messageUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'messageUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:25:27: warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
23 | public static let messageUpdates = Options(rawValue: 1)
24 | ///Should channel posts updates be handled?
25 | public static let channelPostUpdates = Options(rawValue: 2)
| |- warning: static property 'channelPostUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'channelPostUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/Handlers/MessageHandler.swift:27:27: warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Option Set for `MessageHandler`
15 | public struct Options: OptionSet, Hashable {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 |
:
25 | public static let channelPostUpdates = Options(rawValue: 2)
26 | ///Should “edited” message updates be handled?
27 | public static let editedUpdates = Options(rawValue: 4)
| |- warning: static property 'editedUpdates' is not concurrency-safe because non-'Sendable' type 'TGMessageHandler.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editedUpdates' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Bot/TGBot.swift:50:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | public static let standardTGURL: URL = .init(string: "https://api.telegram.org")!
49 | @available(*, deprecated, message: "Please use instance property \"log\". This static property doesn't work")
50 | public static var log = Logger(label: "com.tgbot")
| |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public let connectionType: TGConnectionType
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[530/577] Compiling SwiftTelegramSdk TGTransactionPartnerAffiliateProgram.swift
[531/577] Compiling SwiftTelegramSdk TGTransactionPartnerAffiliateProgramType.swift
[532/577] Compiling SwiftTelegramSdk TGTransactionPartnerChat.swift
[533/577] Compiling SwiftTelegramSdk TGTransactionPartnerChatType.swift
[534/577] Compiling SwiftTelegramSdk TGTransactionPartnerFragment.swift
[535/577] Compiling SwiftTelegramSdk TGTransactionPartnerFragmentType.swift
[536/577] Compiling SwiftTelegramSdk TGTransactionPartnerOther.swift
[537/577] Compiling SwiftTelegramSdk TGTransactionPartnerOtherType.swift
[538/577] Compiling SwiftTelegramSdk TGTransactionPartnerTelegramAds.swift
[539/577] Compiling SwiftTelegramSdk TGTransactionPartnerTelegramAdsType.swift
[540/577] Compiling SwiftTelegramSdk TGTransactionPartnerTelegramApi.swift
[541/577] Compiling SwiftTelegramSdk TGTransactionPartnerTelegramApiType.swift
[542/577] Compiling SwiftTelegramSdk TGTransactionPartnerUser.swift
[543/577] Compiling SwiftTelegramSdk TGTransactionPartnerUserType.swift
[544/577] Compiling SwiftTelegramSdk TGUniqueGift.swift
[545/577] Compiling SwiftTelegramSdk TGUniqueGiftBackdrop.swift
[546/577] Compiling SwiftTelegramSdk TGUniqueGiftBackdropColors.swift
[547/577] Compiling SwiftTelegramSdk TGUniqueGiftInfo.swift
[548/577] Compiling SwiftTelegramSdk TGUniqueGiftModel.swift
[549/577] Compiling SwiftTelegramSdk TGUniqueGiftSymbol.swift
[550/577] Compiling SwiftTelegramSdk TGUpdate.swift
[551/577] Compiling SwiftTelegramSdk TGUser.swift
[552/577] Compiling SwiftTelegramSdk TGUserChatBoosts.swift
[553/577] Compiling SwiftTelegramSdk TGUserProfilePhotos.swift
[554/577] Compiling SwiftTelegramSdk TGUsersShared.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[555/577] Compiling SwiftTelegramSdk TGVenue.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[556/577] Compiling SwiftTelegramSdk TGVideo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[557/577] Compiling SwiftTelegramSdk TGVideoChatEnded.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[558/577] Compiling SwiftTelegramSdk TGVideoChatParticipantsInvited.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[559/577] Compiling SwiftTelegramSdk TGVideoChatScheduled.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[560/577] Compiling SwiftTelegramSdk TGVideoChatStarted.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[561/577] Compiling SwiftTelegramSdk TGVideoNote.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[562/577] Compiling SwiftTelegramSdk TGVoice.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[563/577] Compiling SwiftTelegramSdk TGWebAppData.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[564/577] Compiling SwiftTelegramSdk TGWebAppInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[565/577] Compiling SwiftTelegramSdk TGWebhookInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[566/577] Compiling SwiftTelegramSdk TGWriteAccessAllowed.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[567/577] Compiling SwiftTelegramSdk BotError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[568/577] Compiling SwiftTelegramSdk Error+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[569/577] Compiling SwiftTelegramSdk String+Helper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[570/577] Compiling SwiftTelegramSdk Message+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[571/577] Compiling SwiftTelegramSdk ChatId.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[572/577] Compiling SwiftTelegramSdk FileInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[573/577] Compiling SwiftTelegramSdk InputFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[574/577] Compiling SwiftTelegramSdk MessageOrBool.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[575/577] Compiling SwiftTelegramSdk ParseMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[576/577] Compiling SwiftTelegramSdk ReplyMarkup.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
[577/577] Compiling SwiftTelegramSdk TelegramContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:10:14: warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class BotError: TGErrorCommon {
| `- warning: non-final class 'BotError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 | public var title: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftTelegramSdk/Telegrammer/Errors/BotError.swift:12:16: warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
10 | public class BotError: TGErrorCommon {
11 |
12 | public var title: String = ""
| `- warning: stored property 'title' of 'Sendable'-conforming class 'BotError' is mutable; this is an error in the Swift 6 language mode
13 |
14 | public enum `Type`: String, Decodable {
Build complete! (11.21s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-regular-expression",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nerzh/swift-regular-expression"
},
{
"identity" : "swift-custom-logger",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nerzh/swift-custom-logger"
}
],
"manifest_display_name" : "SwiftTelegramSdk",
"name" : "SwiftTelegramSdk",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftTelegramSdk",
"targets" : [
"SwiftTelegramSdk"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftTelegramSdk",
"module_type" : "SwiftTarget",
"name" : "SwiftTelegramSdk",
"path" : "Sources/SwiftTelegramSdk",
"product_dependencies" : [
"SwiftRegularExpression",
"SwiftCustomLogger"
],
"product_memberships" : [
"SwiftTelegramSdk"
],
"sources" : [
"Bot/Extensions/Array+RemoveHandler.swift",
"Bot/Extensions/HTTPMediaType.swift",
"Bot/Extensions/TGErrorCommon.swift",
"Bot/Filters/AllFilter.swift",
"Bot/Filters/AudioFilter.swift",
"Bot/Filters/CaptionEntityFilter.swift",
"Bot/Filters/ChatFilter.swift",
"Bot/Filters/CommandFilter.swift",
"Bot/Filters/ContactFilter.swift",
"Bot/Filters/DocumentFilter.swift",
"Bot/Filters/EntityFilter.swift",
"Bot/Filters/ForwarderFilter.swift",
"Bot/Filters/GameFilter.swift",
"Bot/Filters/GroupFilter.swift",
"Bot/Filters/InvoiceFilter.swift",
"Bot/Filters/LanguageFilter.swift",
"Bot/Filters/LocationFilter.swift",
"Bot/Filters/PhotoFilter.swift",
"Bot/Filters/PrivateFilter.swift",
"Bot/Filters/RegexpFilter.swift",
"Bot/Filters/ReplyFilter.swift",
"Bot/Filters/StatusUpdateFilters.swift",
"Bot/Filters/StickerFilter.swift",
"Bot/Filters/SuccesfulPaymentFilter.swift",
"Bot/Filters/TGFilter.swift",
"Bot/Filters/TextFilter.swift",
"Bot/Filters/UserFilter.swift",
"Bot/Filters/VenueFilter.swift",
"Bot/Filters/VideoFilter.swift",
"Bot/Filters/VideoNoteFilter.swift",
"Bot/Filters/VoiceFilter.swift",
"Bot/Handlers/BaseHandler.swift",
"Bot/Handlers/CallbackQueryHandler.swift",
"Bot/Handlers/CommandHandler.swift",
"Bot/Handlers/LoggerHandler.swift",
"Bot/Handlers/MessageHandler.swift",
"Bot/Handlers/RegexpHandler.swift",
"Bot/Handlers/TGHandlerPrtcl.swift",
"Bot/TGBot.swift",
"Bot/TGBotPrtcl.swift",
"Bot/TGClientPrtcl.swift",
"Bot/TGConnection.swift",
"Bot/TGDispatcher.swift",
"Bot/TGMultiPart.swift",
"Bot/Telegram/Methods/AddStickerToSet.swift",
"Bot/Telegram/Methods/AnswerCallbackQuery.swift",
"Bot/Telegram/Methods/AnswerInlineQuery.swift",
"Bot/Telegram/Methods/AnswerPreCheckoutQuery.swift",
"Bot/Telegram/Methods/AnswerShippingQuery.swift",
"Bot/Telegram/Methods/AnswerWebAppQuery.swift",
"Bot/Telegram/Methods/ApproveChatJoinRequest.swift",
"Bot/Telegram/Methods/BanChatMember.swift",
"Bot/Telegram/Methods/BanChatSenderChat.swift",
"Bot/Telegram/Methods/Close.swift",
"Bot/Telegram/Methods/CloseForumTopic.swift",
"Bot/Telegram/Methods/CloseGeneralForumTopic.swift",
"Bot/Telegram/Methods/ConvertGiftToStars.swift",
"Bot/Telegram/Methods/CopyMessage.swift",
"Bot/Telegram/Methods/CopyMessages.swift",
"Bot/Telegram/Methods/CreateChatInviteLink.swift",
"Bot/Telegram/Methods/CreateChatSubscriptionInviteLink.swift",
"Bot/Telegram/Methods/CreateForumTopic.swift",
"Bot/Telegram/Methods/CreateInvoiceLink.swift",
"Bot/Telegram/Methods/CreateNewStickerSet.swift",
"Bot/Telegram/Methods/DeclineChatJoinRequest.swift",
"Bot/Telegram/Methods/DeleteBusinessMessages.swift",
"Bot/Telegram/Methods/DeleteChatPhoto.swift",
"Bot/Telegram/Methods/DeleteChatStickerSet.swift",
"Bot/Telegram/Methods/DeleteForumTopic.swift",
"Bot/Telegram/Methods/DeleteMessage.swift",
"Bot/Telegram/Methods/DeleteMessages.swift",
"Bot/Telegram/Methods/DeleteMyCommands.swift",
"Bot/Telegram/Methods/DeleteStickerFromSet.swift",
"Bot/Telegram/Methods/DeleteStickerSet.swift",
"Bot/Telegram/Methods/DeleteStory.swift",
"Bot/Telegram/Methods/DeleteWebhook.swift",
"Bot/Telegram/Methods/EditChatInviteLink.swift",
"Bot/Telegram/Methods/EditChatSubscriptionInviteLink.swift",
"Bot/Telegram/Methods/EditForumTopic.swift",
"Bot/Telegram/Methods/EditGeneralForumTopic.swift",
"Bot/Telegram/Methods/EditMessageCaption.swift",
"Bot/Telegram/Methods/EditMessageLiveLocation.swift",
"Bot/Telegram/Methods/EditMessageMedia.swift",
"Bot/Telegram/Methods/EditMessageReplyMarkup.swift",
"Bot/Telegram/Methods/EditMessageText.swift",
"Bot/Telegram/Methods/EditStory.swift",
"Bot/Telegram/Methods/EditUserStarSubscription.swift",
"Bot/Telegram/Methods/ExportChatInviteLink.swift",
"Bot/Telegram/Methods/ForwardMessage.swift",
"Bot/Telegram/Methods/ForwardMessages.swift",
"Bot/Telegram/Methods/GetAvailableGifts.swift",
"Bot/Telegram/Methods/GetBusinessAccountGifts.swift",
"Bot/Telegram/Methods/GetBusinessAccountStarBalance.swift",
"Bot/Telegram/Methods/GetBusinessConnection.swift",
"Bot/Telegram/Methods/GetChat.swift",
"Bot/Telegram/Methods/GetChatAdministrators.swift",
"Bot/Telegram/Methods/GetChatMember.swift",
"Bot/Telegram/Methods/GetChatMemberCount.swift",
"Bot/Telegram/Methods/GetChatMenuButton.swift",
"Bot/Telegram/Methods/GetCustomEmojiStickers.swift",
"Bot/Telegram/Methods/GetFile.swift",
"Bot/Telegram/Methods/GetForumTopicIconStickers.swift",
"Bot/Telegram/Methods/GetGameHighScores.swift",
"Bot/Telegram/Methods/GetMe.swift",
"Bot/Telegram/Methods/GetMyCommands.swift",
"Bot/Telegram/Methods/GetMyDefaultAdministratorRights.swift",
"Bot/Telegram/Methods/GetMyDescription.swift",
"Bot/Telegram/Methods/GetMyName.swift",
"Bot/Telegram/Methods/GetMyShortDescription.swift",
"Bot/Telegram/Methods/GetStarTransactions.swift",
"Bot/Telegram/Methods/GetStickerSet.swift",
"Bot/Telegram/Methods/GetUpdates.swift",
"Bot/Telegram/Methods/GetUserChatBoosts.swift",
"Bot/Telegram/Methods/GetUserProfilePhotos.swift",
"Bot/Telegram/Methods/GetWebhookInfo.swift",
"Bot/Telegram/Methods/GiftPremiumSubscription.swift",
"Bot/Telegram/Methods/HideGeneralForumTopic.swift",
"Bot/Telegram/Methods/LeaveChat.swift",
"Bot/Telegram/Methods/LogOut.swift",
"Bot/Telegram/Methods/PinChatMessage.swift",
"Bot/Telegram/Methods/PostStory.swift",
"Bot/Telegram/Methods/PromoteChatMember.swift",
"Bot/Telegram/Methods/ReadBusinessMessage.swift",
"Bot/Telegram/Methods/RefundStarPayment.swift",
"Bot/Telegram/Methods/RemoveBusinessAccountProfilePhoto.swift",
"Bot/Telegram/Methods/RemoveChatVerification.swift",
"Bot/Telegram/Methods/RemoveUserVerification.swift",
"Bot/Telegram/Methods/ReopenForumTopic.swift",
"Bot/Telegram/Methods/ReopenGeneralForumTopic.swift",
"Bot/Telegram/Methods/ReplaceStickerInSet.swift",
"Bot/Telegram/Methods/RestrictChatMember.swift",
"Bot/Telegram/Methods/RevokeChatInviteLink.swift",
"Bot/Telegram/Methods/SavePreparedInlineMessage.swift",
"Bot/Telegram/Methods/SendAnimation.swift",
"Bot/Telegram/Methods/SendAudio.swift",
"Bot/Telegram/Methods/SendChatAction.swift",
"Bot/Telegram/Methods/SendContact.swift",
"Bot/Telegram/Methods/SendDice.swift",
"Bot/Telegram/Methods/SendDocument.swift",
"Bot/Telegram/Methods/SendGame.swift",
"Bot/Telegram/Methods/SendGift.swift",
"Bot/Telegram/Methods/SendInvoice.swift",
"Bot/Telegram/Methods/SendLocation.swift",
"Bot/Telegram/Methods/SendMediaGroup.swift",
"Bot/Telegram/Methods/SendMessage.swift",
"Bot/Telegram/Methods/SendPaidMedia.swift",
"Bot/Telegram/Methods/SendPhoto.swift",
"Bot/Telegram/Methods/SendPoll.swift",
"Bot/Telegram/Methods/SendSticker.swift",
"Bot/Telegram/Methods/SendVenue.swift",
"Bot/Telegram/Methods/SendVideo.swift",
"Bot/Telegram/Methods/SendVideoNote.swift",
"Bot/Telegram/Methods/SendVoice.swift",
"Bot/Telegram/Methods/SetBusinessAccountBio.swift",
"Bot/Telegram/Methods/SetBusinessAccountGiftSettings.swift",
"Bot/Telegram/Methods/SetBusinessAccountName.swift",
"Bot/Telegram/Methods/SetBusinessAccountProfilePhoto.swift",
"Bot/Telegram/Methods/SetBusinessAccountUsername.swift",
"Bot/Telegram/Methods/SetChatAdministratorCustomTitle.swift",
"Bot/Telegram/Methods/SetChatDescription.swift",
"Bot/Telegram/Methods/SetChatMenuButton.swift",
"Bot/Telegram/Methods/SetChatPermissions.swift",
"Bot/Telegram/Methods/SetChatPhoto.swift",
"Bot/Telegram/Methods/SetChatStickerSet.swift",
"Bot/Telegram/Methods/SetChatTitle.swift",
"Bot/Telegram/Methods/SetCustomEmojiStickerSetThumbnail.swift",
"Bot/Telegram/Methods/SetGameScore.swift",
"Bot/Telegram/Methods/SetMessageReaction.swift",
"Bot/Telegram/Methods/SetMyCommands.swift",
"Bot/Telegram/Methods/SetMyDefaultAdministratorRights.swift",
"Bot/Telegram/Methods/SetMyDescription.swift",
"Bot/Telegram/Methods/SetMyName.swift",
"Bot/Telegram/Methods/SetMyShortDescription.swift",
"Bot/Telegram/Methods/SetPassportDataErrors.swift",
"Bot/Telegram/Methods/SetStickerEmojiList.swift",
"Bot/Telegram/Methods/SetStickerKeywords.swift",
"Bot/Telegram/Methods/SetStickerMaskPosition.swift",
"Bot/Telegram/Methods/SetStickerPositionInSet.swift",
"Bot/Telegram/Methods/SetStickerSetThumbnail.swift",
"Bot/Telegram/Methods/SetStickerSetTitle.swift",
"Bot/Telegram/Methods/SetUserEmojiStatus.swift",
"Bot/Telegram/Methods/SetWebhook.swift",
"Bot/Telegram/Methods/StopMessageLiveLocation.swift",
"Bot/Telegram/Methods/StopPoll.swift",
"Bot/Telegram/Methods/TransferBusinessAccountStars.swift",
"Bot/Telegram/Methods/TransferGift.swift",
"Bot/Telegram/Methods/UnbanChatMember.swift",
"Bot/Telegram/Methods/UnbanChatSenderChat.swift",
"Bot/Telegram/Methods/UnhideGeneralForumTopic.swift",
"Bot/Telegram/Methods/UnpinAllChatMessages.swift",
"Bot/Telegram/Methods/UnpinAllForumTopicMessages.swift",
"Bot/Telegram/Methods/UnpinAllGeneralForumTopicMessages.swift",
"Bot/Telegram/Methods/UnpinChatMessage.swift",
"Bot/Telegram/Methods/UpgradeGift.swift",
"Bot/Telegram/Methods/UploadStickerFile.swift",
"Bot/Telegram/Methods/VerifyChat.swift",
"Bot/Telegram/Methods/VerifyUser.swift",
"Bot/Telegram/ModelExtensions/TGMaybeInaccessibleMessageExtensions.swift",
"Bot/Telegram/Models/TGAcceptedGiftTypes.swift",
"Bot/Telegram/Models/TGAffiliateInfo.swift",
"Bot/Telegram/Models/TGAnimation.swift",
"Bot/Telegram/Models/TGAudio.swift",
"Bot/Telegram/Models/TGBackgroundFill.swift",
"Bot/Telegram/Models/TGBackgroundFillFreeformGradient.swift",
"Bot/Telegram/Models/TGBackgroundFillFreeformGradientType.swift",
"Bot/Telegram/Models/TGBackgroundFillGradient.swift",
"Bot/Telegram/Models/TGBackgroundFillGradientType.swift",
"Bot/Telegram/Models/TGBackgroundFillSolid.swift",
"Bot/Telegram/Models/TGBackgroundFillSolidType.swift",
"Bot/Telegram/Models/TGBackgroundType.swift",
"Bot/Telegram/Models/TGBackgroundTypeChatTheme.swift",
"Bot/Telegram/Models/TGBackgroundTypeChatThemeType.swift",
"Bot/Telegram/Models/TGBackgroundTypeFill.swift",
"Bot/Telegram/Models/TGBackgroundTypeFillType.swift",
"Bot/Telegram/Models/TGBackgroundTypePattern.swift",
"Bot/Telegram/Models/TGBackgroundTypePatternType.swift",
"Bot/Telegram/Models/TGBackgroundTypeWallpaper.swift",
"Bot/Telegram/Models/TGBackgroundTypeWallpaperType.swift",
"Bot/Telegram/Models/TGBirthdate.swift",
"Bot/Telegram/Models/TGBotCommand.swift",
"Bot/Telegram/Models/TGBotCommandScope.swift",
"Bot/Telegram/Models/TGBotCommandScopeAllChatAdministrators.swift",
"Bot/Telegram/Models/TGBotCommandScopeAllChatAdministratorsType.swift",
"Bot/Telegram/Models/TGBotCommandScopeAllGroupChats.swift",
"Bot/Telegram/Models/TGBotCommandScopeAllGroupChatsType.swift",
"Bot/Telegram/Models/TGBotCommandScopeAllPrivateChats.swift",
"Bot/Telegram/Models/TGBotCommandScopeAllPrivateChatsType.swift",
"Bot/Telegram/Models/TGBotCommandScopeChat.swift",
"Bot/Telegram/Models/TGBotCommandScopeChatAdministrators.swift",
"Bot/Telegram/Models/TGBotCommandScopeChatAdministratorsType.swift",
"Bot/Telegram/Models/TGBotCommandScopeChatMember.swift",
"Bot/Telegram/Models/TGBotCommandScopeChatMemberType.swift",
"Bot/Telegram/Models/TGBotCommandScopeChatType.swift",
"Bot/Telegram/Models/TGBotCommandScopeDefault.swift",
"Bot/Telegram/Models/TGBotCommandScopeDefaultType.swift",
"Bot/Telegram/Models/TGBotDescription.swift",
"Bot/Telegram/Models/TGBotName.swift",
"Bot/Telegram/Models/TGBotShortDescription.swift",
"Bot/Telegram/Models/TGBusinessBotRights.swift",
"Bot/Telegram/Models/TGBusinessConnection.swift",
"Bot/Telegram/Models/TGBusinessIntro.swift",
"Bot/Telegram/Models/TGBusinessLocation.swift",
"Bot/Telegram/Models/TGBusinessMessagesDeleted.swift",
"Bot/Telegram/Models/TGBusinessOpeningHours.swift",
"Bot/Telegram/Models/TGBusinessOpeningHoursInterval.swift",
"Bot/Telegram/Models/TGCallbackGame.swift",
"Bot/Telegram/Models/TGCallbackQuery.swift",
"Bot/Telegram/Models/TGChat.swift",
"Bot/Telegram/Models/TGChatAdministratorRights.swift",
"Bot/Telegram/Models/TGChatBackground.swift",
"Bot/Telegram/Models/TGChatBoost.swift",
"Bot/Telegram/Models/TGChatBoostAdded.swift",
"Bot/Telegram/Models/TGChatBoostRemoved.swift",
"Bot/Telegram/Models/TGChatBoostSource.swift",
"Bot/Telegram/Models/TGChatBoostSourceGiftCode.swift",
"Bot/Telegram/Models/TGChatBoostSourceGiveaway.swift",
"Bot/Telegram/Models/TGChatBoostSourcePremium.swift",
"Bot/Telegram/Models/TGChatBoostUpdated.swift",
"Bot/Telegram/Models/TGChatFullInfo.swift",
"Bot/Telegram/Models/TGChatFullInfoType.swift",
"Bot/Telegram/Models/TGChatInviteLink.swift",
"Bot/Telegram/Models/TGChatJoinRequest.swift",
"Bot/Telegram/Models/TGChatLocation.swift",
"Bot/Telegram/Models/TGChatMember.swift",
"Bot/Telegram/Models/TGChatMemberAdministrator.swift",
"Bot/Telegram/Models/TGChatMemberBanned.swift",
"Bot/Telegram/Models/TGChatMemberLeft.swift",
"Bot/Telegram/Models/TGChatMemberMember.swift",
"Bot/Telegram/Models/TGChatMemberOwner.swift",
"Bot/Telegram/Models/TGChatMemberRestricted.swift",
"Bot/Telegram/Models/TGChatMemberUpdated.swift",
"Bot/Telegram/Models/TGChatPermissions.swift",
"Bot/Telegram/Models/TGChatPhoto.swift",
"Bot/Telegram/Models/TGChatShared.swift",
"Bot/Telegram/Models/TGChatType.swift",
"Bot/Telegram/Models/TGChosenInlineResult.swift",
"Bot/Telegram/Models/TGContact.swift",
"Bot/Telegram/Models/TGCopyTextButton.swift",
"Bot/Telegram/Models/TGDice.swift",
"Bot/Telegram/Models/TGDocument.swift",
"Bot/Telegram/Models/TGEncryptedCredentials.swift",
"Bot/Telegram/Models/TGEncryptedPassportElement.swift",
"Bot/Telegram/Models/TGEncryptedPassportElementType.swift",
"Bot/Telegram/Models/TGExternalReplyInfo.swift",
"Bot/Telegram/Models/TGFile.swift",
"Bot/Telegram/Models/TGForceReply.swift",
"Bot/Telegram/Models/TGForumTopic.swift",
"Bot/Telegram/Models/TGForumTopicClosed.swift",
"Bot/Telegram/Models/TGForumTopicCreated.swift",
"Bot/Telegram/Models/TGForumTopicEdited.swift",
"Bot/Telegram/Models/TGForumTopicReopened.swift",
"Bot/Telegram/Models/TGGame.swift",
"Bot/Telegram/Models/TGGameHighScore.swift",
"Bot/Telegram/Models/TGGeneralForumTopicHidden.swift",
"Bot/Telegram/Models/TGGeneralForumTopicUnhidden.swift",
"Bot/Telegram/Models/TGGift.swift",
"Bot/Telegram/Models/TGGiftInfo.swift",
"Bot/Telegram/Models/TGGifts.swift",
"Bot/Telegram/Models/TGGiveaway.swift",
"Bot/Telegram/Models/TGGiveawayCompleted.swift",
"Bot/Telegram/Models/TGGiveawayCreated.swift",
"Bot/Telegram/Models/TGGiveawayWinners.swift",
"Bot/Telegram/Models/TGInaccessibleMessage.swift",
"Bot/Telegram/Models/TGInlineKeyboardButton.swift",
"Bot/Telegram/Models/TGInlineKeyboardMarkup.swift",
"Bot/Telegram/Models/TGInlineQuery.swift",
"Bot/Telegram/Models/TGInlineQueryResult.swift",
"Bot/Telegram/Models/TGInlineQueryResultArticle.swift",
"Bot/Telegram/Models/TGInlineQueryResultArticleType.swift",
"Bot/Telegram/Models/TGInlineQueryResultAudio.swift",
"Bot/Telegram/Models/TGInlineQueryResultAudioType.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedAudio.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedAudioType.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedDocument.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedDocumentType.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedGif.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedGifType.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedMpeg4Gif.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedMpeg4GifType.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedPhoto.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedPhotoType.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedSticker.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedStickerType.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedVideo.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedVideoType.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedVoice.swift",
"Bot/Telegram/Models/TGInlineQueryResultCachedVoiceType.swift",
"Bot/Telegram/Models/TGInlineQueryResultContact.swift",
"Bot/Telegram/Models/TGInlineQueryResultContactType.swift",
"Bot/Telegram/Models/TGInlineQueryResultDocument.swift",
"Bot/Telegram/Models/TGInlineQueryResultDocumentType.swift",
"Bot/Telegram/Models/TGInlineQueryResultGame.swift",
"Bot/Telegram/Models/TGInlineQueryResultGameType.swift",
"Bot/Telegram/Models/TGInlineQueryResultGif.swift",
"Bot/Telegram/Models/TGInlineQueryResultGifType.swift",
"Bot/Telegram/Models/TGInlineQueryResultLocation.swift",
"Bot/Telegram/Models/TGInlineQueryResultLocationType.swift",
"Bot/Telegram/Models/TGInlineQueryResultMpeg4Gif.swift",
"Bot/Telegram/Models/TGInlineQueryResultMpeg4GifType.swift",
"Bot/Telegram/Models/TGInlineQueryResultPhoto.swift",
"Bot/Telegram/Models/TGInlineQueryResultPhotoType.swift",
"Bot/Telegram/Models/TGInlineQueryResultVenue.swift",
"Bot/Telegram/Models/TGInlineQueryResultVenueType.swift",
"Bot/Telegram/Models/TGInlineQueryResultVideo.swift",
"Bot/Telegram/Models/TGInlineQueryResultVideoType.swift",
"Bot/Telegram/Models/TGInlineQueryResultVoice.swift",
"Bot/Telegram/Models/TGInlineQueryResultVoiceType.swift",
"Bot/Telegram/Models/TGInlineQueryResultsButton.swift",
"Bot/Telegram/Models/TGInputContactMessageContent.swift",
"Bot/Telegram/Models/TGInputInvoiceMessageContent.swift",
"Bot/Telegram/Models/TGInputLocationMessageContent.swift",
"Bot/Telegram/Models/TGInputMedia.swift",
"Bot/Telegram/Models/TGInputMediaAnimation.swift",
"Bot/Telegram/Models/TGInputMediaAnimationType.swift",
"Bot/Telegram/Models/TGInputMediaAudio.swift",
"Bot/Telegram/Models/TGInputMediaAudioType.swift",
"Bot/Telegram/Models/TGInputMediaDocument.swift",
"Bot/Telegram/Models/TGInputMediaDocumentType.swift",
"Bot/Telegram/Models/TGInputMediaPhoto.swift",
"Bot/Telegram/Models/TGInputMediaPhotoType.swift",
"Bot/Telegram/Models/TGInputMediaVideo.swift",
"Bot/Telegram/Models/TGInputMediaVideoType.swift",
"Bot/Telegram/Models/TGInputMessageContent.swift",
"Bot/Telegram/Models/TGInputPaidMedia.swift",
"Bot/Telegram/Models/TGInputPaidMediaPhoto.swift",
"Bot/Telegram/Models/TGInputPaidMediaPhotoType.swift",
"Bot/Telegram/Models/TGInputPaidMediaVideo.swift",
"Bot/Telegram/Models/TGInputPaidMediaVideoType.swift",
"Bot/Telegram/Models/TGInputPollOption.swift",
"Bot/Telegram/Models/TGInputProfilePhoto.swift",
"Bot/Telegram/Models/TGInputProfilePhotoAnimated.swift",
"Bot/Telegram/Models/TGInputProfilePhotoAnimatedType.swift",
"Bot/Telegram/Models/TGInputProfilePhotoStatic.swift",
"Bot/Telegram/Models/TGInputProfilePhotoStaticType.swift",
"Bot/Telegram/Models/TGInputSticker.swift",
"Bot/Telegram/Models/TGInputStoryContent.swift",
"Bot/Telegram/Models/TGInputStoryContentPhoto.swift",
"Bot/Telegram/Models/TGInputStoryContentPhotoType.swift",
"Bot/Telegram/Models/TGInputStoryContentVideo.swift",
"Bot/Telegram/Models/TGInputStoryContentVideoType.swift",
"Bot/Telegram/Models/TGInputTextMessageContent.swift",
"Bot/Telegram/Models/TGInputVenueMessageContent.swift",
"Bot/Telegram/Models/TGInvoice.swift",
"Bot/Telegram/Models/TGKeyboardButton.swift",
"Bot/Telegram/Models/TGKeyboardButtonPollType.swift",
"Bot/Telegram/Models/TGKeyboardButtonRequestChat.swift",
"Bot/Telegram/Models/TGKeyboardButtonRequestUsers.swift",
"Bot/Telegram/Models/TGLabeledPrice.swift",
"Bot/Telegram/Models/TGLinkPreviewOptions.swift",
"Bot/Telegram/Models/TGLocation.swift",
"Bot/Telegram/Models/TGLocationAddress.swift",
"Bot/Telegram/Models/TGLoginUrl.swift",
"Bot/Telegram/Models/TGMaskPosition.swift",
"Bot/Telegram/Models/TGMaybeInaccessibleMessage.swift",
"Bot/Telegram/Models/TGMenuButton.swift",
"Bot/Telegram/Models/TGMenuButtonCommands.swift",
"Bot/Telegram/Models/TGMenuButtonCommandsType.swift",
"Bot/Telegram/Models/TGMenuButtonDefault.swift",
"Bot/Telegram/Models/TGMenuButtonDefaultType.swift",
"Bot/Telegram/Models/TGMenuButtonWebApp.swift",
"Bot/Telegram/Models/TGMenuButtonWebAppType.swift",
"Bot/Telegram/Models/TGMessage.swift",
"Bot/Telegram/Models/TGMessageAutoDeleteTimerChanged.swift",
"Bot/Telegram/Models/TGMessageEntity.swift",
"Bot/Telegram/Models/TGMessageEntityType.swift",
"Bot/Telegram/Models/TGMessageId.swift",
"Bot/Telegram/Models/TGMessageOrigin.swift",
"Bot/Telegram/Models/TGMessageOriginChannel.swift",
"Bot/Telegram/Models/TGMessageOriginChannelType.swift",
"Bot/Telegram/Models/TGMessageOriginChat.swift",
"Bot/Telegram/Models/TGMessageOriginChatType.swift",
"Bot/Telegram/Models/TGMessageOriginHiddenUser.swift",
"Bot/Telegram/Models/TGMessageOriginHiddenUserType.swift",
"Bot/Telegram/Models/TGMessageOriginUser.swift",
"Bot/Telegram/Models/TGMessageOriginUserType.swift",
"Bot/Telegram/Models/TGMessageReactionCountUpdated.swift",
"Bot/Telegram/Models/TGMessageReactionUpdated.swift",
"Bot/Telegram/Models/TGOrderInfo.swift",
"Bot/Telegram/Models/TGOwnedGift.swift",
"Bot/Telegram/Models/TGOwnedGiftRegular.swift",
"Bot/Telegram/Models/TGOwnedGiftRegularType.swift",
"Bot/Telegram/Models/TGOwnedGiftUnique.swift",
"Bot/Telegram/Models/TGOwnedGiftUniqueType.swift",
"Bot/Telegram/Models/TGOwnedGifts.swift",
"Bot/Telegram/Models/TGPaidMedia.swift",
"Bot/Telegram/Models/TGPaidMediaInfo.swift",
"Bot/Telegram/Models/TGPaidMediaPhoto.swift",
"Bot/Telegram/Models/TGPaidMediaPhotoType.swift",
"Bot/Telegram/Models/TGPaidMediaPreview.swift",
"Bot/Telegram/Models/TGPaidMediaPreviewType.swift",
"Bot/Telegram/Models/TGPaidMediaPurchased.swift",
"Bot/Telegram/Models/TGPaidMediaVideo.swift",
"Bot/Telegram/Models/TGPaidMediaVideoType.swift",
"Bot/Telegram/Models/TGPaidMessagePriceChanged.swift",
"Bot/Telegram/Models/TGPassportData.swift",
"Bot/Telegram/Models/TGPassportElementError.swift",
"Bot/Telegram/Models/TGPassportElementErrorDataField.swift",
"Bot/Telegram/Models/TGPassportElementErrorDataFieldType.swift",
"Bot/Telegram/Models/TGPassportElementErrorFile.swift",
"Bot/Telegram/Models/TGPassportElementErrorFileType.swift",
"Bot/Telegram/Models/TGPassportElementErrorFiles.swift",
"Bot/Telegram/Models/TGPassportElementErrorFilesType.swift",
"Bot/Telegram/Models/TGPassportElementErrorFrontSide.swift",
"Bot/Telegram/Models/TGPassportElementErrorFrontSideType.swift",
"Bot/Telegram/Models/TGPassportElementErrorReverseSide.swift",
"Bot/Telegram/Models/TGPassportElementErrorReverseSideType.swift",
"Bot/Telegram/Models/TGPassportElementErrorSelfie.swift",
"Bot/Telegram/Models/TGPassportElementErrorSelfieType.swift",
"Bot/Telegram/Models/TGPassportElementErrorTranslationFile.swift",
"Bot/Telegram/Models/TGPassportElementErrorTranslationFileType.swift",
"Bot/Telegram/Models/TGPassportElementErrorTranslationFiles.swift",
"Bot/Telegram/Models/TGPassportElementErrorTranslationFilesType.swift",
"Bot/Telegram/Models/TGPassportElementErrorUnspecified.swift",
"Bot/Telegram/Models/TGPassportFile.swift",
"Bot/Telegram/Models/TGPhotoSize.swift",
"Bot/Telegram/Models/TGPoll.swift",
"Bot/Telegram/Models/TGPollAnswer.swift",
"Bot/Telegram/Models/TGPollOption.swift",
"Bot/Telegram/Models/TGPollType.swift",
"Bot/Telegram/Models/TGPreCheckoutQuery.swift",
"Bot/Telegram/Models/TGPreparedInlineMessage.swift",
"Bot/Telegram/Models/TGProximityAlertTriggered.swift",
"Bot/Telegram/Models/TGReactionCount.swift",
"Bot/Telegram/Models/TGReactionType.swift",
"Bot/Telegram/Models/TGReactionTypeCustomEmoji.swift",
"Bot/Telegram/Models/TGReactionTypeCustomEmojiType.swift",
"Bot/Telegram/Models/TGReactionTypeEmoji.swift",
"Bot/Telegram/Models/TGReactionTypeEmojiType.swift",
"Bot/Telegram/Models/TGReactionTypePaid.swift",
"Bot/Telegram/Models/TGReactionTypePaidType.swift",
"Bot/Telegram/Models/TGRefundedPayment.swift",
"Bot/Telegram/Models/TGReplyKeyboardMarkup.swift",
"Bot/Telegram/Models/TGReplyKeyboardRemove.swift",
"Bot/Telegram/Models/TGReplyParameters.swift",
"Bot/Telegram/Models/TGResponseParameters.swift",
"Bot/Telegram/Models/TGRevenueWithdrawalState.swift",
"Bot/Telegram/Models/TGRevenueWithdrawalStateFailed.swift",
"Bot/Telegram/Models/TGRevenueWithdrawalStateFailedType.swift",
"Bot/Telegram/Models/TGRevenueWithdrawalStatePending.swift",
"Bot/Telegram/Models/TGRevenueWithdrawalStatePendingType.swift",
"Bot/Telegram/Models/TGRevenueWithdrawalStateSucceeded.swift",
"Bot/Telegram/Models/TGRevenueWithdrawalStateSucceededType.swift",
"Bot/Telegram/Models/TGSentWebAppMessage.swift",
"Bot/Telegram/Models/TGSharedUser.swift",
"Bot/Telegram/Models/TGShippingAddress.swift",
"Bot/Telegram/Models/TGShippingOption.swift",
"Bot/Telegram/Models/TGShippingQuery.swift",
"Bot/Telegram/Models/TGStarAmount.swift",
"Bot/Telegram/Models/TGStarTransaction.swift",
"Bot/Telegram/Models/TGStarTransactions.swift",
"Bot/Telegram/Models/TGSticker.swift",
"Bot/Telegram/Models/TGStickerSet.swift",
"Bot/Telegram/Models/TGStickerType.swift",
"Bot/Telegram/Models/TGStory.swift",
"Bot/Telegram/Models/TGStoryArea.swift",
"Bot/Telegram/Models/TGStoryAreaPosition.swift",
"Bot/Telegram/Models/TGStoryAreaType.swift",
"Bot/Telegram/Models/TGStoryAreaTypeLink.swift",
"Bot/Telegram/Models/TGStoryAreaTypeLinkType.swift",
"Bot/Telegram/Models/TGStoryAreaTypeLocation.swift",
"Bot/Telegram/Models/TGStoryAreaTypeLocationType.swift",
"Bot/Telegram/Models/TGStoryAreaTypeSuggestedReaction.swift",
"Bot/Telegram/Models/TGStoryAreaTypeSuggestedReactionType.swift",
"Bot/Telegram/Models/TGStoryAreaTypeUniqueGift.swift",
"Bot/Telegram/Models/TGStoryAreaTypeUniqueGiftType.swift",
"Bot/Telegram/Models/TGStoryAreaTypeWeather.swift",
"Bot/Telegram/Models/TGStoryAreaTypeWeatherType.swift",
"Bot/Telegram/Models/TGSuccessfulPayment.swift",
"Bot/Telegram/Models/TGSwitchInlineQueryChosenChat.swift",
"Bot/Telegram/Models/TGTextQuote.swift",
"Bot/Telegram/Models/TGTransactionPartner.swift",
"Bot/Telegram/Models/TGTransactionPartnerAffiliateProgram.swift",
"Bot/Telegram/Models/TGTransactionPartnerAffiliateProgramType.swift",
"Bot/Telegram/Models/TGTransactionPartnerChat.swift",
"Bot/Telegram/Models/TGTransactionPartnerChatType.swift",
"Bot/Telegram/Models/TGTransactionPartnerFragment.swift",
"Bot/Telegram/Models/TGTransactionPartnerFragmentType.swift",
"Bot/Telegram/Models/TGTransactionPartnerOther.swift",
"Bot/Telegram/Models/TGTransactionPartnerOtherType.swift",
"Bot/Telegram/Models/TGTransactionPartnerTelegramAds.swift",
"Bot/Telegram/Models/TGTransactionPartnerTelegramAdsType.swift",
"Bot/Telegram/Models/TGTransactionPartnerTelegramApi.swift",
"Bot/Telegram/Models/TGTransactionPartnerTelegramApiType.swift",
"Bot/Telegram/Models/TGTransactionPartnerUser.swift",
"Bot/Telegram/Models/TGTransactionPartnerUserType.swift",
"Bot/Telegram/Models/TGUniqueGift.swift",
"Bot/Telegram/Models/TGUniqueGiftBackdrop.swift",
"Bot/Telegram/Models/TGUniqueGiftBackdropColors.swift",
"Bot/Telegram/Models/TGUniqueGiftInfo.swift",
"Bot/Telegram/Models/TGUniqueGiftModel.swift",
"Bot/Telegram/Models/TGUniqueGiftSymbol.swift",
"Bot/Telegram/Models/TGUpdate.swift",
"Bot/Telegram/Models/TGUser.swift",
"Bot/Telegram/Models/TGUserChatBoosts.swift",
"Bot/Telegram/Models/TGUserProfilePhotos.swift",
"Bot/Telegram/Models/TGUsersShared.swift",
"Bot/Telegram/Models/TGVenue.swift",
"Bot/Telegram/Models/TGVideo.swift",
"Bot/Telegram/Models/TGVideoChatEnded.swift",
"Bot/Telegram/Models/TGVideoChatParticipantsInvited.swift",
"Bot/Telegram/Models/TGVideoChatScheduled.swift",
"Bot/Telegram/Models/TGVideoChatStarted.swift",
"Bot/Telegram/Models/TGVideoNote.swift",
"Bot/Telegram/Models/TGVoice.swift",
"Bot/Telegram/Models/TGWebAppData.swift",
"Bot/Telegram/Models/TGWebAppInfo.swift",
"Bot/Telegram/Models/TGWebhookInfo.swift",
"Bot/Telegram/Models/TGWriteAccessAllowed.swift",
"Telegrammer/Errors/BotError.swift",
"Telegrammer/Helpers/Error+Helpers.swift",
"Telegrammer/Helpers/String+Helper.swift",
"Telegrammer/Telegram/Extensions/Message+Helpers.swift",
"Telegrammer/Types/ChatId.swift",
"Telegrammer/Types/FileInfo.swift",
"Telegrammer/Types/InputFile.swift",
"Telegrammer/Types/MessageOrBool.swift",
"Telegrammer/Types/ParseMode.swift",
"Telegrammer/Types/ReplyMarkup.swift",
"Telegrammer/Types/TelegramContainer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.