The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TelegramBotSDK, reference master (7b1144), with Swift 6.1 for Android on 30 May 2025 14:13:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rapierorg/telegram-bot-swift.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/rapierorg/telegram-bot-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7b1144b Merge pull request #130 from fannur/master
Cloned https://github.com/rapierorg/telegram-bot-swift.git
Revision (git rev-parse @):
7b1144b867ca962e10b1de21c32ab7156e4a83ce
SUCCESS checkout https://github.com/rapierorg/telegram-bot-swift.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rapierorg/telegram-bot-swift.git
https://github.com/rapierorg/telegram-bot-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TelegramBotSDK",
  "name" : "TelegramBotSDK",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CCurl",
      "targets" : [
        "CCurl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TelegramBotSDK",
      "targets" : [
        "TelegramBotSDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TelegramBotSDKTests",
      "module_type" : "SwiftTarget",
      "name" : "TelegramBotSDKTests",
      "path" : "Tests/TelegramBotSDKTests",
      "sources" : [
        "BlockingServerTests.swift",
        "RequestTests.swift",
        "RouterTests.swift",
        "TelegramBotTests.swift",
        "UrlencodeTests.swift"
      ],
      "target_dependencies" : [
        "TelegramBotSDK"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TelegramBotSDK",
      "module_type" : "SwiftTarget",
      "name" : "TelegramBotSDK",
      "path" : "Sources/TelegramBotSDK",
      "product_memberships" : [
        "TelegramBotSDK"
      ],
      "sources" : [
        "BotName.swift",
        "DataTaskError.swift",
        "DictionaryUtils.swift",
        "Extensions/NSRunLoop+Utils.swift",
        "Extensions/Optional+Unwrap.swift",
        "Extensions/Scanner+Compatibility.swift",
        "Extensions/Scanner+Utils.swift",
        "Extensions/String+ExtractBotCommand.swift",
        "Extensions/String+HTTP.swift",
        "Extensions/String+Trim.swift",
        "Extensions/String+Utils.swift",
        "Generated/Methods.swift",
        "Generated/Types.swift",
        "HTTPUtils.swift",
        "Methods/TelegramBot+getUpdates+Utils.swift",
        "Methods/TelegramBot+sendChatAction+Utils.swift",
        "MimeTypes.swift",
        "Router/Arguments.swift",
        "Router/Command.swift",
        "Router/ContentType.swift",
        "Router/Context.swift",
        "Router/Router+Helpers.swift",
        "Router/Router.swift",
        "TaskAssociatedData.swift",
        "TelegramBot+Requests.swift",
        "TelegramBot+Utils.swift",
        "TelegramBot.swift",
        "Types/ChatId.swift",
        "Types/ChatMember+Status.swift",
        "Types/ChatType.swift",
        "Types/InlineQueryResult.swift",
        "Types/InputFile.swift",
        "Types/InputFileOrString.swift",
        "Types/InputMedia.swift",
        "Types/InputMessageContent.swift",
        "Types/Message+Command.swift",
        "Types/MessageEntity+Utils.swift",
        "Types/MessageOrBool.swift",
        "Types/ParseMode.swift",
        "Types/PollType.swift",
        "Types/ReplyMarkup.swift",
        "Types/Response.swift",
        "Utils.swift",
        "WriteCallbackData.swift"
      ],
      "target_dependencies" : [
        "CCurl"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CCurl",
      "module_type" : "ClangTarget",
      "name" : "CCurl",
      "path" : "Sources/CCurl",
      "product_memberships" : [
        "CCurl",
        "TelegramBotSDK"
      ],
      "sources" : [
        "shim.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling CCurl shim.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/43] Emitting module TelegramBotSDK
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:24:27: warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 22 |         /// Do not skip "/" prefix in command name, if present.
 23 |         /// Note that comparision is still case insensitive by default.
 24 |         public static let exactMatch = Options(rawValue: 1 << 0)
    |                           |- warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'exactMatch' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         /// Require command to be prefixed with "/".
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:29:27: warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 27 |         /// By default prefixing is optional.
 28 |         /// Ignored if `exactMatch` flag is set.
 29 |         public static let slashRequired = Options(rawValue: 1 << 1)
    |                           |- warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'slashRequired' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |         /// Case sensitive comparision of commands.
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:32:27: warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 30 |
 31 |         /// Case sensitive comparision of commands.
 32 |         public static let caseSensitive = Options(rawValue: 1 << 2)
    |                           |- warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'caseSensitive' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     }
 34 |
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Utils.swift:16:20: warning: static property 'unhandledErrorText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension TelegramBot {
16 | 	public static var unhandledErrorText = "❗ Error while performing the operation."
   |                    |- warning: static property 'unhandledErrorText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'unhandledErrorText' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'unhandledErrorText' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     @discardableResult
[5/48] Compiling TelegramBotSDK PollType.swift
[6/48] Compiling TelegramBotSDK ReplyMarkup.swift
[7/48] Compiling TelegramBotSDK Response.swift
[8/48] Compiling TelegramBotSDK Utils.swift
[9/48] Compiling TelegramBotSDK WriteCallbackData.swift
[10/48] Compiling TelegramBotSDK TelegramBot+Requests.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:17: warning: capture of 'completion' with non-sendable type '((TResult?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                 |- warning: capture of 'completion' with non-sendable type '((TResult?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:43: warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                                           `- warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:73: warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                                                                         `- warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/DataTaskError.swift:18:13: note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
16 |
17 | /// Telegram DataTask errors
18 | public enum DataTaskError {
   |             `- note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
19 |     /// Invalid request
20 |     case invalidRequest
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:17: warning: capture of 'completion' with non-sendable type '(([TResult]?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                 |- warning: capture of 'completion' with non-sendable type '(([TResult]?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:43: warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                                           `- warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:75: warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                                                                           `- warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/DataTaskError.swift:18:13: note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
16 |
17 | /// Telegram DataTask errors
18 | public enum DataTaskError {
   |             `- note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
19 |     /// Invalid request
20 |     case invalidRequest
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Utils.swift:16:20: warning: static property 'unhandledErrorText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension TelegramBot {
16 | 	public static var unhandledErrorText = "❗ Error while performing the operation."
   |                    |- warning: static property 'unhandledErrorText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'unhandledErrorText' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'unhandledErrorText' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     @discardableResult
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:17: warning: capture of 'self' with non-sendable type 'TelegramBot' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 | import CCurl
 17 |
 18 | public class TelegramBot {
    |              `- note: class 'TelegramBot' does not conform to the 'Sendable' protocol
 19 |     internal typealias DataTaskCompletion = (_ result: Decodable?, _ error: DataTaskError?)->()
 20 |
    :
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                 `- warning: capture of 'self' with non-sendable type 'TelegramBot' in a '@Sendable' closure; this is an error in the Swift 6 language mode
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:186: warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                                                                                                                                                                                          |- warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:17: warning: capture of 'self' with non-sendable type 'TelegramBot' in an isolated closure; this is an error in the Swift 6 language mode
 16 | import CCurl
 17 |
 18 | public class TelegramBot {
    |              `- note: class 'TelegramBot' does not conform to the 'Sendable' protocol
 19 |     internal typealias DataTaskCompletion = (_ result: Decodable?, _ error: DataTaskError?)->()
 20 |
    :
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                 `- warning: capture of 'self' with non-sendable type 'TelegramBot' in an isolated closure; this is an error in the Swift 6 language mode
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:186: warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                                                                                                                                                                                          |- warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
    |                                                                                                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
239 |         }
240 |         curl_easy_setopt_write_function(curl, CURLOPT_WRITEFUNCTION, writeFunction)
241 |         curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
    |                                                           `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
242 |         //curl_easy_setopt_int(curl, CURLOPT_VERBOSE, 1)
243 |         let code = curl_easy_perform(curl)
[11/48] Compiling TelegramBotSDK TelegramBot+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:17: warning: capture of 'completion' with non-sendable type '((TResult?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                 |- warning: capture of 'completion' with non-sendable type '((TResult?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:43: warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                                           `- warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:73: warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                                                                         `- warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/DataTaskError.swift:18:13: note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
16 |
17 | /// Telegram DataTask errors
18 | public enum DataTaskError {
   |             `- note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
19 |     /// Invalid request
20 |     case invalidRequest
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:17: warning: capture of 'completion' with non-sendable type '(([TResult]?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                 |- warning: capture of 'completion' with non-sendable type '(([TResult]?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:43: warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                                           `- warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:75: warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                                                                           `- warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/DataTaskError.swift:18:13: note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
16 |
17 | /// Telegram DataTask errors
18 | public enum DataTaskError {
   |             `- note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
19 |     /// Invalid request
20 |     case invalidRequest
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Utils.swift:16:20: warning: static property 'unhandledErrorText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension TelegramBot {
16 | 	public static var unhandledErrorText = "❗ Error while performing the operation."
   |                    |- warning: static property 'unhandledErrorText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'unhandledErrorText' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'unhandledErrorText' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     @discardableResult
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:17: warning: capture of 'self' with non-sendable type 'TelegramBot' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 | import CCurl
 17 |
 18 | public class TelegramBot {
    |              `- note: class 'TelegramBot' does not conform to the 'Sendable' protocol
 19 |     internal typealias DataTaskCompletion = (_ result: Decodable?, _ error: DataTaskError?)->()
 20 |
    :
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                 `- warning: capture of 'self' with non-sendable type 'TelegramBot' in a '@Sendable' closure; this is an error in the Swift 6 language mode
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:186: warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                                                                                                                                                                                          |- warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:17: warning: capture of 'self' with non-sendable type 'TelegramBot' in an isolated closure; this is an error in the Swift 6 language mode
 16 | import CCurl
 17 |
 18 | public class TelegramBot {
    |              `- note: class 'TelegramBot' does not conform to the 'Sendable' protocol
 19 |     internal typealias DataTaskCompletion = (_ result: Decodable?, _ error: DataTaskError?)->()
 20 |
    :
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                 `- warning: capture of 'self' with non-sendable type 'TelegramBot' in an isolated closure; this is an error in the Swift 6 language mode
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:186: warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                                                                                                                                                                                          |- warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
    |                                                                                                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
239 |         }
240 |         curl_easy_setopt_write_function(curl, CURLOPT_WRITEFUNCTION, writeFunction)
241 |         curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
    |                                                           `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
242 |         //curl_easy_setopt_int(curl, CURLOPT_VERBOSE, 1)
243 |         let code = curl_easy_perform(curl)
[12/48] Compiling TelegramBotSDK TelegramBot.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:17: warning: capture of 'completion' with non-sendable type '((TResult?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                 |- warning: capture of 'completion' with non-sendable type '((TResult?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:43: warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                                           `- warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:73: warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                                                                         `- warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/DataTaskError.swift:18:13: note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
16 |
17 | /// Telegram DataTask errors
18 | public enum DataTaskError {
   |             `- note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
19 |     /// Invalid request
20 |     case invalidRequest
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:17: warning: capture of 'completion' with non-sendable type '(([TResult]?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                 |- warning: capture of 'completion' with non-sendable type '(([TResult]?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:43: warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                                           `- warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:75: warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                                                                           `- warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/DataTaskError.swift:18:13: note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
16 |
17 | /// Telegram DataTask errors
18 | public enum DataTaskError {
   |             `- note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
19 |     /// Invalid request
20 |     case invalidRequest
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Utils.swift:16:20: warning: static property 'unhandledErrorText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension TelegramBot {
16 | 	public static var unhandledErrorText = "❗ Error while performing the operation."
   |                    |- warning: static property 'unhandledErrorText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'unhandledErrorText' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'unhandledErrorText' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     @discardableResult
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:17: warning: capture of 'self' with non-sendable type 'TelegramBot' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 | import CCurl
 17 |
 18 | public class TelegramBot {
    |              `- note: class 'TelegramBot' does not conform to the 'Sendable' protocol
 19 |     internal typealias DataTaskCompletion = (_ result: Decodable?, _ error: DataTaskError?)->()
 20 |
    :
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                 `- warning: capture of 'self' with non-sendable type 'TelegramBot' in a '@Sendable' closure; this is an error in the Swift 6 language mode
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:186: warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                                                                                                                                                                                          |- warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:17: warning: capture of 'self' with non-sendable type 'TelegramBot' in an isolated closure; this is an error in the Swift 6 language mode
 16 | import CCurl
 17 |
 18 | public class TelegramBot {
    |              `- note: class 'TelegramBot' does not conform to the 'Sendable' protocol
 19 |     internal typealias DataTaskCompletion = (_ result: Decodable?, _ error: DataTaskError?)->()
 20 |
    :
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                 `- warning: capture of 'self' with non-sendable type 'TelegramBot' in an isolated closure; this is an error in the Swift 6 language mode
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:186: warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                                                                                                                                                                                          |- warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
    |                                                                                                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
239 |         }
240 |         curl_easy_setopt_write_function(curl, CURLOPT_WRITEFUNCTION, writeFunction)
241 |         curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
    |                                                           `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
242 |         //curl_easy_setopt_int(curl, CURLOPT_VERBOSE, 1)
243 |         let code = curl_easy_perform(curl)
[13/48] Compiling TelegramBotSDK ChatId.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:17: warning: capture of 'completion' with non-sendable type '((TResult?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                 |- warning: capture of 'completion' with non-sendable type '((TResult?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:43: warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                                           `- warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:73: warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                                                                         `- warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/DataTaskError.swift:18:13: note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
16 |
17 | /// Telegram DataTask errors
18 | public enum DataTaskError {
   |             `- note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
19 |     /// Invalid request
20 |     case invalidRequest
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:17: warning: capture of 'completion' with non-sendable type '(([TResult]?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                 |- warning: capture of 'completion' with non-sendable type '(([TResult]?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:43: warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                                           `- warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:75: warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                                                                           `- warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/DataTaskError.swift:18:13: note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
16 |
17 | /// Telegram DataTask errors
18 | public enum DataTaskError {
   |             `- note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
19 |     /// Invalid request
20 |     case invalidRequest
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Utils.swift:16:20: warning: static property 'unhandledErrorText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension TelegramBot {
16 | 	public static var unhandledErrorText = "❗ Error while performing the operation."
   |                    |- warning: static property 'unhandledErrorText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'unhandledErrorText' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'unhandledErrorText' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     @discardableResult
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:17: warning: capture of 'self' with non-sendable type 'TelegramBot' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 | import CCurl
 17 |
 18 | public class TelegramBot {
    |              `- note: class 'TelegramBot' does not conform to the 'Sendable' protocol
 19 |     internal typealias DataTaskCompletion = (_ result: Decodable?, _ error: DataTaskError?)->()
 20 |
    :
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                 `- warning: capture of 'self' with non-sendable type 'TelegramBot' in a '@Sendable' closure; this is an error in the Swift 6 language mode
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:186: warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                                                                                                                                                                                          |- warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:17: warning: capture of 'self' with non-sendable type 'TelegramBot' in an isolated closure; this is an error in the Swift 6 language mode
 16 | import CCurl
 17 |
 18 | public class TelegramBot {
    |              `- note: class 'TelegramBot' does not conform to the 'Sendable' protocol
 19 |     internal typealias DataTaskCompletion = (_ result: Decodable?, _ error: DataTaskError?)->()
 20 |
    :
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                 `- warning: capture of 'self' with non-sendable type 'TelegramBot' in an isolated closure; this is an error in the Swift 6 language mode
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:186: warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                                                                                                                                                                                          |- warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
    |                                                                                                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
239 |         }
240 |         curl_easy_setopt_write_function(curl, CURLOPT_WRITEFUNCTION, writeFunction)
241 |         curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
    |                                                           `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
242 |         //curl_easy_setopt_int(curl, CURLOPT_VERBOSE, 1)
243 |         let code = curl_easy_perform(curl)
[14/48] Compiling TelegramBotSDK ChatMember+Status.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:17: warning: capture of 'completion' with non-sendable type '((TResult?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                 |- warning: capture of 'completion' with non-sendable type '((TResult?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:43: warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                                           `- warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:73: warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                                                                         `- warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/DataTaskError.swift:18:13: note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
16 |
17 | /// Telegram DataTask errors
18 | public enum DataTaskError {
   |             `- note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
19 |     /// Invalid request
20 |     case invalidRequest
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:17: warning: capture of 'completion' with non-sendable type '(([TResult]?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                 |- warning: capture of 'completion' with non-sendable type '(([TResult]?, DataTaskError?) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:43: warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                                           `- warning: capture of 'rawResult' with non-sendable type '(any Decodable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
Swift.Decodable:1:17: note: protocol 'Decodable' does not conform to the 'Sendable' protocol
1 | public protocol Decodable {
  |                 `- note: protocol 'Decodable' does not conform to the 'Sendable' protocol
2 |     init(from decoder: any Decoder) throws
3 | }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:75: warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                                                                           `- warning: capture of 'error' with non-sendable type 'DataTaskError?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/DataTaskError.swift:18:13: note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
16 |
17 | /// Telegram DataTask errors
18 | public enum DataTaskError {
   |             `- note: consider making enum 'DataTaskError' conform to the 'Sendable' protocol
19 |     /// Invalid request
20 |     case invalidRequest
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Utils.swift:16:20: warning: static property 'unhandledErrorText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension TelegramBot {
16 | 	public static var unhandledErrorText = "❗ Error while performing the operation."
   |                    |- warning: static property 'unhandledErrorText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'unhandledErrorText' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'unhandledErrorText' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     @discardableResult
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:17: warning: capture of 'self' with non-sendable type 'TelegramBot' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 | import CCurl
 17 |
 18 | public class TelegramBot {
    |              `- note: class 'TelegramBot' does not conform to the 'Sendable' protocol
 19 |     internal typealias DataTaskCompletion = (_ result: Decodable?, _ error: DataTaskError?)->()
 20 |
    :
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                 `- warning: capture of 'self' with non-sendable type 'TelegramBot' in a '@Sendable' closure; this is an error in the Swift 6 language mode
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:186: warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                                                                                                                                                                                          |- warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:17: warning: capture of 'self' with non-sendable type 'TelegramBot' in an isolated closure; this is an error in the Swift 6 language mode
 16 | import CCurl
 17 |
 18 | public class TelegramBot {
    |              `- note: class 'TelegramBot' does not conform to the 'Sendable' protocol
 19 |     internal typealias DataTaskCompletion = (_ result: Decodable?, _ error: DataTaskError?)->()
 20 |
    :
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                 `- warning: capture of 'self' with non-sendable type 'TelegramBot' in an isolated closure; this is an error in the Swift 6 language mode
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:204:186: warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
202 |             requestData.withUnsafeBytes { (unsafeRawBufferPointer) -> Void in
203 |                 let unsafeBufferPointer = unsafeRawBufferPointer.bindMemory(to: UInt8.self).baseAddress!
204 |                 self.curlPerformRequest(endpointUrl: endpointUrl, contentType: contentType, resultType: resultType, requestBytes: unsafeBufferPointer, byteCount: byteCount, completion: completion)
    |                                                                                                                                                                                          |- warning: capture of 'completion' with non-sendable type 'TelegramBot.DataTaskCompletion' (aka '(Optional<any Decodable>, Optional<DataTaskError>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
    |                                                                                                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
205 |             }
206 |         }
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
239 |         }
240 |         curl_easy_setopt_write_function(curl, CURLOPT_WRITEFUNCTION, writeFunction)
241 |         curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
    |                                                           `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
242 |         //curl_easy_setopt_int(curl, CURLOPT_VERBOSE, 1)
243 |         let code = curl_easy_perform(curl)
[15/48] Compiling TelegramBotSDK InputMessageContent.swift
[16/48] Compiling TelegramBotSDK Message+Command.swift
[17/48] Compiling TelegramBotSDK MessageEntity+Utils.swift
[18/48] Compiling TelegramBotSDK MessageOrBool.swift
[19/48] Compiling TelegramBotSDK ParseMode.swift
[20/48] Compiling TelegramBotSDK ChatType.swift
[21/48] Compiling TelegramBotSDK InlineQueryResult.swift
[22/48] Compiling TelegramBotSDK InputFile.swift
[23/48] Compiling TelegramBotSDK InputFileOrString.swift
[24/48] Compiling TelegramBotSDK InputMedia.swift
[25/48] Compiling TelegramBotSDK Command.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:24:27: warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 22 |         /// Do not skip "/" prefix in command name, if present.
 23 |         /// Note that comparision is still case insensitive by default.
 24 |         public static let exactMatch = Options(rawValue: 1 << 0)
    |                           |- warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'exactMatch' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         /// Require command to be prefixed with "/".
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:29:27: warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 27 |         /// By default prefixing is optional.
 28 |         /// Ignored if `exactMatch` flag is set.
 29 |         public static let slashRequired = Options(rawValue: 1 << 1)
    |                           |- warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'slashRequired' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |         /// Case sensitive comparision of commands.
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:32:27: warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 30 |
 31 |         /// Case sensitive comparision of commands.
 32 |         public static let caseSensitive = Options(rawValue: 1 << 2)
    |                           |- warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'caseSensitive' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     }
 34 |
[26/48] Compiling TelegramBotSDK ContentType.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:24:27: warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 22 |         /// Do not skip "/" prefix in command name, if present.
 23 |         /// Note that comparision is still case insensitive by default.
 24 |         public static let exactMatch = Options(rawValue: 1 << 0)
    |                           |- warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'exactMatch' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         /// Require command to be prefixed with "/".
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:29:27: warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 27 |         /// By default prefixing is optional.
 28 |         /// Ignored if `exactMatch` flag is set.
 29 |         public static let slashRequired = Options(rawValue: 1 << 1)
    |                           |- warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'slashRequired' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |         /// Case sensitive comparision of commands.
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:32:27: warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 30 |
 31 |         /// Case sensitive comparision of commands.
 32 |         public static let caseSensitive = Options(rawValue: 1 << 2)
    |                           |- warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'caseSensitive' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     }
 34 |
[27/48] Compiling TelegramBotSDK Context.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:24:27: warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 22 |         /// Do not skip "/" prefix in command name, if present.
 23 |         /// Note that comparision is still case insensitive by default.
 24 |         public static let exactMatch = Options(rawValue: 1 << 0)
    |                           |- warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'exactMatch' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         /// Require command to be prefixed with "/".
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:29:27: warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 27 |         /// By default prefixing is optional.
 28 |         /// Ignored if `exactMatch` flag is set.
 29 |         public static let slashRequired = Options(rawValue: 1 << 1)
    |                           |- warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'slashRequired' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |         /// Case sensitive comparision of commands.
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:32:27: warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 30 |
 31 |         /// Case sensitive comparision of commands.
 32 |         public static let caseSensitive = Options(rawValue: 1 << 2)
    |                           |- warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'caseSensitive' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     }
 34 |
[28/48] Compiling TelegramBotSDK Router+Helpers.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:24:27: warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 22 |         /// Do not skip "/" prefix in command name, if present.
 23 |         /// Note that comparision is still case insensitive by default.
 24 |         public static let exactMatch = Options(rawValue: 1 << 0)
    |                           |- warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'exactMatch' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         /// Require command to be prefixed with "/".
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:29:27: warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 27 |         /// By default prefixing is optional.
 28 |         /// Ignored if `exactMatch` flag is set.
 29 |         public static let slashRequired = Options(rawValue: 1 << 1)
    |                           |- warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'slashRequired' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |         /// Case sensitive comparision of commands.
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:32:27: warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 30 |
 31 |         /// Case sensitive comparision of commands.
 32 |         public static let caseSensitive = Options(rawValue: 1 << 2)
    |                           |- warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'caseSensitive' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     }
 34 |
[29/48] Compiling TelegramBotSDK Router.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:24:27: warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 22 |         /// Do not skip "/" prefix in command name, if present.
 23 |         /// Note that comparision is still case insensitive by default.
 24 |         public static let exactMatch = Options(rawValue: 1 << 0)
    |                           |- warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'exactMatch' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         /// Require command to be prefixed with "/".
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:29:27: warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 27 |         /// By default prefixing is optional.
 28 |         /// Ignored if `exactMatch` flag is set.
 29 |         public static let slashRequired = Options(rawValue: 1 << 1)
    |                           |- warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'slashRequired' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |         /// Case sensitive comparision of commands.
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:32:27: warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 30 |
 31 |         /// Case sensitive comparision of commands.
 32 |         public static let caseSensitive = Options(rawValue: 1 << 2)
    |                           |- warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'caseSensitive' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     }
 34 |
[30/48] Compiling TelegramBotSDK TaskAssociatedData.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:24:27: warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 22 |         /// Do not skip "/" prefix in command name, if present.
 23 |         /// Note that comparision is still case insensitive by default.
 24 |         public static let exactMatch = Options(rawValue: 1 << 0)
    |                           |- warning: static property 'exactMatch' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'exactMatch' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |         /// Require command to be prefixed with "/".
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:29:27: warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 27 |         /// By default prefixing is optional.
 28 |         /// Ignored if `exactMatch` flag is set.
 29 |         public static let slashRequired = Options(rawValue: 1 << 1)
    |                           |- warning: static property 'slashRequired' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'slashRequired' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |         /// Case sensitive comparision of commands.
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Command.swift:32:27: warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     typealias T = Command
 17 |
 18 |     public struct Options: OptionSet {
    |                   `- note: consider making struct 'Options' conform to the 'Sendable' protocol
 19 |         public var rawValue: Int
 20 |         public init(rawValue: Int) { self.rawValue = rawValue }
    :
 30 |
 31 |         /// Case sensitive comparision of commands.
 32 |         public static let caseSensitive = Options(rawValue: 1 << 2)
    |                           |- warning: static property 'caseSensitive' is not concurrency-safe because non-'Sendable' type 'Command.Options' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'caseSensitive' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     }
 34 |
[31/48] Compiling TelegramBotSDK Types.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Arguments.swift:79:47: error: missing argument for parameter 'into' in call
77 |
78 | 	public func scanRestOfString() -> String {
79 | 		guard let restOfString = scanner.scanUpTo("") else {
   |                                               `- error: missing argument for parameter 'into' in call
80 | 			return ""
81 | 		}
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[32/48] Compiling TelegramBotSDK HTTPUtils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Arguments.swift:79:47: error: missing argument for parameter 'into' in call
77 |
78 | 	public func scanRestOfString() -> String {
79 | 		guard let restOfString = scanner.scanUpTo("") else {
   |                                               `- error: missing argument for parameter 'into' in call
80 | 			return ""
81 | 		}
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[33/48] Compiling TelegramBotSDK TelegramBot+getUpdates+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Arguments.swift:79:47: error: missing argument for parameter 'into' in call
77 |
78 | 	public func scanRestOfString() -> String {
79 | 		guard let restOfString = scanner.scanUpTo("") else {
   |                                               `- error: missing argument for parameter 'into' in call
80 | 			return ""
81 | 		}
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[34/48] Compiling TelegramBotSDK TelegramBot+sendChatAction+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Arguments.swift:79:47: error: missing argument for parameter 'into' in call
77 |
78 | 	public func scanRestOfString() -> String {
79 | 		guard let restOfString = scanner.scanUpTo("") else {
   |                                               `- error: missing argument for parameter 'into' in call
80 | 			return ""
81 | 		}
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[35/48] Compiling TelegramBotSDK MimeTypes.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Arguments.swift:79:47: error: missing argument for parameter 'into' in call
77 |
78 | 	public func scanRestOfString() -> String {
79 | 		guard let restOfString = scanner.scanUpTo("") else {
   |                                               `- error: missing argument for parameter 'into' in call
80 | 			return ""
81 | 		}
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[36/48] Compiling TelegramBotSDK Arguments.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Arguments.swift:79:47: error: missing argument for parameter 'into' in call
77 |
78 | 	public func scanRestOfString() -> String {
79 | 		guard let restOfString = scanner.scanUpTo("") else {
   |                                               `- error: missing argument for parameter 'into' in call
80 | 			return ""
81 | 		}
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[37/48] Compiling TelegramBotSDK BotName.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
17 |     func waitForSemaphore(_ sem: DispatchSemaphore) {
18 | 		repeat {
19 |             run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
   |             `- warning: result of call to 'run(mode:before:)' is unused
20 | 		} while .success != sem.wait(timeout: DispatchTime.now())
21 | 	}
[38/48] Compiling TelegramBotSDK DataTaskError.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
17 |     func waitForSemaphore(_ sem: DispatchSemaphore) {
18 | 		repeat {
19 |             run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
   |             `- warning: result of call to 'run(mode:before:)' is unused
20 | 		} while .success != sem.wait(timeout: DispatchTime.now())
21 | 	}
[39/48] Compiling TelegramBotSDK DictionaryUtils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
17 |     func waitForSemaphore(_ sem: DispatchSemaphore) {
18 | 		repeat {
19 |             run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
   |             `- warning: result of call to 'run(mode:before:)' is unused
20 | 		} while .success != sem.wait(timeout: DispatchTime.now())
21 | 	}
[40/48] Compiling TelegramBotSDK NSRunLoop+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
17 |     func waitForSemaphore(_ sem: DispatchSemaphore) {
18 | 		repeat {
19 |             run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
   |             `- warning: result of call to 'run(mode:before:)' is unused
20 | 		} while .success != sem.wait(timeout: DispatchTime.now())
21 | 	}
[41/48] Compiling TelegramBotSDK Optional+Unwrap.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
17 |     func waitForSemaphore(_ sem: DispatchSemaphore) {
18 | 		repeat {
19 |             run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
   |             `- warning: result of call to 'run(mode:before:)' is unused
20 | 		} while .success != sem.wait(timeout: DispatchTime.now())
21 | 	}
[42/48] Compiling TelegramBotSDK Scanner+Compatibility.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
17 |     func waitForSemaphore(_ sem: DispatchSemaphore) {
18 | 		repeat {
19 |             run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
   |             `- warning: result of call to 'run(mode:before:)' is unused
20 | 		} while .success != sem.wait(timeout: DispatchTime.now())
21 | 	}
[43/48] Compiling TelegramBotSDK Scanner+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Utils.swift:91:31: error: missing argument for parameter 'into' in call
 89 |     @discardableResult
 90 |     func skipUpTo(_ string: String) -> Bool {
 91 |         return scanUpTo(string) != nil
    |                               `- error: missing argument for parameter 'into' in call
 92 |     }
 93 |
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[44/48] Compiling TelegramBotSDK String+ExtractBotCommand.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Utils.swift:91:31: error: missing argument for parameter 'into' in call
 89 |     @discardableResult
 90 |     func skipUpTo(_ string: String) -> Bool {
 91 |         return scanUpTo(string) != nil
    |                               `- error: missing argument for parameter 'into' in call
 92 |     }
 93 |
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[45/48] Compiling TelegramBotSDK String+HTTP.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Utils.swift:91:31: error: missing argument for parameter 'into' in call
 89 |     @discardableResult
 90 |     func skipUpTo(_ string: String) -> Bool {
 91 |         return scanUpTo(string) != nil
    |                               `- error: missing argument for parameter 'into' in call
 92 |     }
 93 |
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[46/48] Compiling TelegramBotSDK String+Trim.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Utils.swift:91:31: error: missing argument for parameter 'into' in call
 89 |     @discardableResult
 90 |     func skipUpTo(_ string: String) -> Bool {
 91 |         return scanUpTo(string) != nil
    |                               `- error: missing argument for parameter 'into' in call
 92 |     }
 93 |
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[47/48] Compiling TelegramBotSDK String+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Utils.swift:91:31: error: missing argument for parameter 'into' in call
 89 |     @discardableResult
 90 |     func skipUpTo(_ string: String) -> Bool {
 91 |         return scanUpTo(string) != nil
    |                               `- error: missing argument for parameter 'into' in call
 92 |     }
 93 |
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[48/48] Compiling TelegramBotSDK Methods.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Utils.swift:91:31: error: missing argument for parameter 'into' in call
 89 |     @discardableResult
 90 |     func skipUpTo(_ string: String) -> Bool {
 91 |         return scanUpTo(string) != nil
    |                               `- error: missing argument for parameter 'into' in call
 92 |     }
 93 |
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/41] Compiling TelegramBotSDK TelegramBot+Requests.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
239 |         }
240 |         curl_easy_setopt_write_function(curl, CURLOPT_WRITEFUNCTION, writeFunction)
241 |         curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
    |                                                           `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
242 |         //curl_easy_setopt_int(curl, CURLOPT_VERBOSE, 1)
243 |         let code = curl_easy_perform(curl)
[3/41] Compiling TelegramBotSDK TelegramBot+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
239 |         }
240 |         curl_easy_setopt_write_function(curl, CURLOPT_WRITEFUNCTION, writeFunction)
241 |         curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
    |                                                           `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
242 |         //curl_easy_setopt_int(curl, CURLOPT_VERBOSE, 1)
243 |         let code = curl_easy_perform(curl)
[4/41] Compiling TelegramBotSDK TelegramBot.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
239 |         }
240 |         curl_easy_setopt_write_function(curl, CURLOPT_WRITEFUNCTION, writeFunction)
241 |         curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
    |                                                           `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
242 |         //curl_easy_setopt_int(curl, CURLOPT_VERBOSE, 1)
243 |         let code = curl_easy_perform(curl)
[5/41] Compiling TelegramBotSDK ChatId.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
239 |         }
240 |         curl_easy_setopt_write_function(curl, CURLOPT_WRITEFUNCTION, writeFunction)
241 |         curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
    |                                                           `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
242 |         //curl_easy_setopt_int(curl, CURLOPT_VERBOSE, 1)
243 |         let code = curl_easy_perform(curl)
[6/41] Compiling TelegramBotSDK ChatMember+Status.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:51:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
49 |             }
50 | 			queue.async() {
51 |                 completion?(resultValid ? rawResult as! TResult? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
52 | 			}
53 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot+Requests.swift:73:29: warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
71 |             }
72 | 			queue.async() {
73 |                 completion?(resultValid ? rawResult as! [TResult]? : nil, error)
   |                             `- warning: reference to captured var 'resultValid' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | 			}
75 | 		}
/host/spi-builder-workspace/Sources/TelegramBotSDK/TelegramBot.swift:241:59: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
239 |         }
240 |         curl_easy_setopt_write_function(curl, CURLOPT_WRITEFUNCTION, writeFunction)
241 |         curl_easy_setopt_pointer(curl, CURLOPT_WRITEDATA, &callbackData)
    |                                                           `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'WriteCallbackData'; this is likely incorrect because 'WriteCallbackData' may contain an object reference.
242 |         //curl_easy_setopt_int(curl, CURLOPT_VERBOSE, 1)
243 |         let code = curl_easy_perform(curl)
[7/41] Compiling TelegramBotSDK ChatType.swift
[8/41] Compiling TelegramBotSDK InlineQueryResult.swift
[9/41] Compiling TelegramBotSDK InputFile.swift
[10/41] Compiling TelegramBotSDK InputFileOrString.swift
[11/41] Compiling TelegramBotSDK InputMedia.swift
[12/41] Compiling TelegramBotSDK InputMessageContent.swift
[13/41] Compiling TelegramBotSDK Message+Command.swift
[14/41] Compiling TelegramBotSDK MessageEntity+Utils.swift
[15/41] Compiling TelegramBotSDK MessageOrBool.swift
[16/41] Compiling TelegramBotSDK ParseMode.swift
[17/41] Compiling TelegramBotSDK Command.swift
[18/41] Compiling TelegramBotSDK ContentType.swift
[19/41] Compiling TelegramBotSDK Context.swift
[20/41] Compiling TelegramBotSDK Router+Helpers.swift
[21/41] Compiling TelegramBotSDK Router.swift
[22/41] Compiling TelegramBotSDK TaskAssociatedData.swift
[23/46] Compiling TelegramBotSDK PollType.swift
[24/46] Compiling TelegramBotSDK ReplyMarkup.swift
[25/46] Compiling TelegramBotSDK Response.swift
[26/46] Compiling TelegramBotSDK Utils.swift
[27/46] Compiling TelegramBotSDK WriteCallbackData.swift
[28/46] Compiling TelegramBotSDK BotName.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
17 |     func waitForSemaphore(_ sem: DispatchSemaphore) {
18 | 		repeat {
19 |             run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
   |             `- warning: result of call to 'run(mode:before:)' is unused
20 | 		} while .success != sem.wait(timeout: DispatchTime.now())
21 | 	}
[29/46] Compiling TelegramBotSDK DataTaskError.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
17 |     func waitForSemaphore(_ sem: DispatchSemaphore) {
18 | 		repeat {
19 |             run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
   |             `- warning: result of call to 'run(mode:before:)' is unused
20 | 		} while .success != sem.wait(timeout: DispatchTime.now())
21 | 	}
[30/46] Compiling TelegramBotSDK DictionaryUtils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
17 |     func waitForSemaphore(_ sem: DispatchSemaphore) {
18 | 		repeat {
19 |             run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
   |             `- warning: result of call to 'run(mode:before:)' is unused
20 | 		} while .success != sem.wait(timeout: DispatchTime.now())
21 | 	}
[31/46] Compiling TelegramBotSDK NSRunLoop+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
17 |     func waitForSemaphore(_ sem: DispatchSemaphore) {
18 | 		repeat {
19 |             run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
   |             `- warning: result of call to 'run(mode:before:)' is unused
20 | 		} while .success != sem.wait(timeout: DispatchTime.now())
21 | 	}
[32/46] Compiling TelegramBotSDK Optional+Unwrap.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
17 |     func waitForSemaphore(_ sem: DispatchSemaphore) {
18 | 		repeat {
19 |             run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
   |             `- warning: result of call to 'run(mode:before:)' is unused
20 | 		} while .success != sem.wait(timeout: DispatchTime.now())
21 | 	}
[33/46] Compiling TelegramBotSDK Scanner+Compatibility.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/NSRunLoop+Utils.swift:19:13: warning: result of call to 'run(mode:before:)' is unused
17 |     func waitForSemaphore(_ sem: DispatchSemaphore) {
18 | 		repeat {
19 |             run(mode: RunLoop.Mode.default, before: Date(timeIntervalSinceNow: 0.01))
   |             `- warning: result of call to 'run(mode:before:)' is unused
20 | 		} while .success != sem.wait(timeout: DispatchTime.now())
21 | 	}
[34/46] Emitting module TelegramBotSDK
[35/46] Compiling TelegramBotSDK Scanner+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Utils.swift:91:31: error: missing argument for parameter 'into' in call
 89 |     @discardableResult
 90 |     func skipUpTo(_ string: String) -> Bool {
 91 |         return scanUpTo(string) != nil
    |                               `- error: missing argument for parameter 'into' in call
 92 |     }
 93 |
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[36/46] Compiling TelegramBotSDK String+ExtractBotCommand.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Utils.swift:91:31: error: missing argument for parameter 'into' in call
 89 |     @discardableResult
 90 |     func skipUpTo(_ string: String) -> Bool {
 91 |         return scanUpTo(string) != nil
    |                               `- error: missing argument for parameter 'into' in call
 92 |     }
 93 |
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[37/46] Compiling TelegramBotSDK String+HTTP.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Utils.swift:91:31: error: missing argument for parameter 'into' in call
 89 |     @discardableResult
 90 |     func skipUpTo(_ string: String) -> Bool {
 91 |         return scanUpTo(string) != nil
    |                               `- error: missing argument for parameter 'into' in call
 92 |     }
 93 |
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[38/46] Compiling TelegramBotSDK String+Trim.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Utils.swift:91:31: error: missing argument for parameter 'into' in call
 89 |     @discardableResult
 90 |     func skipUpTo(_ string: String) -> Bool {
 91 |         return scanUpTo(string) != nil
    |                               `- error: missing argument for parameter 'into' in call
 92 |     }
 93 |
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[39/46] Compiling TelegramBotSDK String+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Utils.swift:91:31: error: missing argument for parameter 'into' in call
 89 |     @discardableResult
 90 |     func skipUpTo(_ string: String) -> Bool {
 91 |         return scanUpTo(string) != nil
    |                               `- error: missing argument for parameter 'into' in call
 92 |     }
 93 |
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[40/46] Compiling TelegramBotSDK Methods.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Extensions/Scanner+Utils.swift:91:31: error: missing argument for parameter 'into' in call
 89 |     @discardableResult
 90 |     func skipUpTo(_ string: String) -> Bool {
 91 |         return scanUpTo(string) != nil
    |                               `- error: missing argument for parameter 'into' in call
 92 |     }
 93 |
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[41/46] Compiling TelegramBotSDK Types.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Arguments.swift:79:47: error: missing argument for parameter 'into' in call
77 |
78 | 	public func scanRestOfString() -> String {
79 | 		guard let restOfString = scanner.scanUpTo("") else {
   |                                               `- error: missing argument for parameter 'into' in call
80 | 			return ""
81 | 		}
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[42/46] Compiling TelegramBotSDK HTTPUtils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Arguments.swift:79:47: error: missing argument for parameter 'into' in call
77 |
78 | 	public func scanRestOfString() -> String {
79 | 		guard let restOfString = scanner.scanUpTo("") else {
   |                                               `- error: missing argument for parameter 'into' in call
80 | 			return ""
81 | 		}
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[43/46] Compiling TelegramBotSDK TelegramBot+getUpdates+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Arguments.swift:79:47: error: missing argument for parameter 'into' in call
77 |
78 | 	public func scanRestOfString() -> String {
79 | 		guard let restOfString = scanner.scanUpTo("") else {
   |                                               `- error: missing argument for parameter 'into' in call
80 | 			return ""
81 | 		}
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[44/46] Compiling TelegramBotSDK TelegramBot+sendChatAction+Utils.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Arguments.swift:79:47: error: missing argument for parameter 'into' in call
77 |
78 | 	public func scanRestOfString() -> String {
79 | 		guard let restOfString = scanner.scanUpTo("") else {
   |                                               `- error: missing argument for parameter 'into' in call
80 | 			return ""
81 | 		}
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[45/46] Compiling TelegramBotSDK MimeTypes.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Arguments.swift:79:47: error: missing argument for parameter 'into' in call
77 |
78 | 	public func scanRestOfString() -> String {
79 | 		guard let restOfString = scanner.scanUpTo("") else {
   |                                               `- error: missing argument for parameter 'into' in call
80 | 			return ""
81 | 		}
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
[46/46] Compiling TelegramBotSDK Arguments.swift
/host/spi-builder-workspace/Sources/TelegramBotSDK/Router/Arguments.swift:79:47: error: missing argument for parameter 'into' in call
77 |
78 | 	public func scanRestOfString() -> String {
79 | 		guard let restOfString = scanner.scanUpTo("") else {
   |                                               `- error: missing argument for parameter 'into' in call
80 | 			return ""
81 | 		}
Foundation.Scanner.scanUpTo:4:15: note: 'scanUpTo(_:into:)' declared here
2 | @available(swift, deprecated: 5.0, renamed: "scanUpToString(_:)")
3 |   @discardableResult
4 |   public func scanUpTo(_ string: String, into ptr: UnsafeMutablePointer<String?>?) -> Bool}
  |               `- note: 'scanUpTo(_:into:)' declared here
5 |
BUILD FAILURE 6.1 android