Build Information
Successful build of Telegrammer, reference master (459176
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 09:09:07 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendVenue.swift:94:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
92 | */
93 | @discardableResult
94 | func sendVenue(params: SendVenueParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
95 | let body = try httpBody(for: params)
96 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendVideo.swift:99:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
97 | */
98 | @discardableResult
99 | func sendVideo(params: SendVideoParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
100 | let body = try httpBody(for: params)
101 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendVideoNote.swift:74:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
72 | */
73 | @discardableResult
74 | func sendVideoNote(params: SendVideoNoteParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
75 | let body = try httpBody(for: params)
76 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendVoice.swift:79:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
77 | */
78 | @discardableResult
79 | func sendVoice(params: SendVoiceParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
80 | let body = try httpBody(for: params)
81 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
[1111/1288] Compiling Telegrammer Bot+sendVoice.swift
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+leaveChat.swift:34:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
32 | */
33 | @discardableResult
34 | func leaveChat(params: LeaveChatParams) throws -> Future<Bool> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
35 | let body = try httpBody(for: params)
36 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+logOut.swift:18:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
16 | */
17 | @discardableResult
18 | func logOut() throws -> Future<Bool> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
19 | return try client
20 | .request(endpoint: "logOut")
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+pinChatMessage.swift:44:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
42 | */
43 | @discardableResult
44 | func pinChatMessage(params: PinChatMessageParams) throws -> Future<Bool> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
45 | let body = try httpBody(for: params)
46 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+promoteChatMember.swift:94:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
92 | */
93 | @discardableResult
94 | func promoteChatMember(params: PromoteChatMemberParams) throws -> Future<Bool> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
95 | let body = try httpBody(for: params)
96 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+restrictChatMember.swift:49:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
47 | */
48 | @discardableResult
49 | func restrictChatMember(params: RestrictChatMemberParams) throws -> Future<Bool> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
50 | let body = try httpBody(for: params)
51 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+revokeChatInviteLink.swift:39:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
37 | */
38 | @discardableResult
39 | func revokeChatInviteLink(params: RevokeChatInviteLinkParams) throws -> Future<Bool> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
40 | let body = try httpBody(for: params)
41 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendAnimation.swift:94:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
92 | */
93 | @discardableResult
94 | func sendAnimation(params: SendAnimationParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
95 | let body = try httpBody(for: params)
96 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendAudio.swift:95:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
93 | */
94 | @discardableResult
95 | func sendAudio(params: SendAudioParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
96 | let body = try httpBody(for: params)
97 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendChatAction.swift:41:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
39 | */
40 | @discardableResult
41 | func sendChatAction(params: SendChatActionParams) throws -> Future<Bool> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
42 | let body = try httpBody(for: params)
43 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendContact.swift:74:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
72 | */
73 | @discardableResult
74 | func sendContact(params: SendContactParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
75 | let body = try httpBody(for: params)
76 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendDice.swift:59:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
57 | */
58 | @discardableResult
59 | func sendDice(params: SendDiceParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
60 | let body = try httpBody(for: params)
61 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendDocument.swift:84:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
82 | */
83 | @discardableResult
84 | func sendDocument(params: SendDocumentParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
85 | let body = try httpBody(for: params)
86 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendGame.swift:59:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
57 | */
58 | @discardableResult
59 | func sendGame(params: SendGameParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
60 | let body = try httpBody(for: params)
61 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendInvoice.swift:159:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
157 | */
158 | @discardableResult
159 | func sendInvoice(params: SendInvoiceParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
160 | let body = try httpBody(for: params)
161 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendLocation.swift:84:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
82 | */
83 | @discardableResult
84 | func sendLocation(params: SendLocationParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
85 | let body = try httpBody(for: params)
86 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendMediaGroup.swift:54:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
52 | */
53 | @discardableResult
54 | func sendMediaGroup(params: SendMediaGroupParams) throws -> Future<[Message]> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
55 | let body = try httpBody(for: params)
56 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendMessage.swift:74:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
72 | */
73 | @discardableResult
74 | func sendMessage(params: SendMessageParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
75 | let body = try httpBody(for: params)
76 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendPhoto.swift:74:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
72 | */
73 | @discardableResult
74 | func sendPhoto(params: SendPhotoParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
75 | let body = try httpBody(for: params)
76 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendPoll.swift:114:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
112 | */
113 | @discardableResult
114 | func sendPoll(params: SendPollParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
115 | let body = try httpBody(for: params)
116 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendSticker.swift:59:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
57 | */
58 | @discardableResult
59 | func sendSticker(params: SendStickerParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
60 | let body = try httpBody(for: params)
61 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendVenue.swift:94:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
92 | */
93 | @discardableResult
94 | func sendVenue(params: SendVenueParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
95 | let body = try httpBody(for: params)
96 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendVideo.swift:99:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
97 | */
98 | @discardableResult
99 | func sendVideo(params: SendVideoParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
100 | let body = try httpBody(for: params)
101 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendVideoNote.swift:74:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
72 | */
73 | @discardableResult
74 | func sendVideoNote(params: SendVideoNoteParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
75 | let body = try httpBody(for: params)
76 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
/host/spi-builder-workspace/Sources/Telegrammer/Bot/Telegram/Methods/Bot+sendVoice.swift:79:10: warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
77 | */
78 | @discardableResult
79 | func sendVoice(params: SendVoiceParams) throws -> Future<Message> {
| `- warning: cannot use generic class 'EventLoopFuture' here; 'NIOCore' was not imported by this file
80 | let body = try httpBody(for: params)
81 | let headers = httpHeaders(for: params)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/EventLoopFuture.swift:406:20: note: generic class declared here
404 | /// should be considered a code smell worth investigating: the `EventLoop`-based synchronization guarantees of
405 | /// `EventLoopFuture` should be sufficient to guarantee thread-safety.
406 | public final class EventLoopFuture<Value> {
| `- note: generic class declared here
407 | // TODO: Provide a tracing facility. It would be nice to be able to set '.debugTrace = true' on any EventLoopFuture or EventLoopPromise and have every subsequent chained EventLoopFuture report the success result or failure error. That would simplify some debugging scenarios.
408 | @usableFromInline
[1112/1288] Compiling Telegrammer InlineQueryResultGame.swift
[1113/1288] Compiling Telegrammer InlineQueryResultGif.swift
[1114/1288] Compiling Telegrammer InlineQueryResultLocation.swift
[1115/1288] Compiling Telegrammer InlineQueryResultMpeg4Gif.swift
[1116/1288] Compiling Telegrammer InlineQueryResultPhoto.swift
[1117/1288] Compiling Telegrammer InlineQueryResultVenue.swift
[1118/1288] Compiling Telegrammer InlineQueryResultVideo.swift
[1119/1288] Compiling Telegrammer InlineQueryResultVoice.swift
[1120/1288] Compiling Telegrammer InputContactMessageContent.swift
[1121/1288] Compiling Telegrammer InputInvoiceMessageContent.swift
[1122/1288] Compiling Telegrammer InputLocationMessageContent.swift
[1123/1288] Compiling Telegrammer InputMediaAnimation.swift
[1124/1288] Compiling Telegrammer InputMediaAudio.swift
[1125/1288] Compiling Telegrammer InputMediaDocument.swift
[1126/1288] Compiling Telegrammer InputMediaPhoto.swift
[1127/1288] Compiling Telegrammer InputMediaVideo.swift
[1128/1288] Compiling Telegrammer InputTextMessageContent.swift
[1129/1288] Compiling Telegrammer InputVenueMessageContent.swift
[1130/1288] Compiling Telegrammer Invoice.swift
[1131/1288] Compiling Telegrammer KeyboardButton.swift
[1132/1288] Compiling Telegrammer KeyboardButtonPollType.swift
[1133/1288] Compiling Telegrammer LabeledPrice.swift
[1134/1288] Compiling Telegrammer Location.swift
[1135/1288] Compiling Telegrammer BotCommandScopeAllGroupChats.swift
[1136/1288] Compiling Telegrammer BotCommandScopeAllPrivateChats.swift
[1137/1288] Compiling Telegrammer BotCommandScopeChat.swift
[1138/1288] Compiling Telegrammer BotCommandScopeChatAdministrators.swift
[1139/1288] Compiling Telegrammer BotCommandScopeChatMember.swift
[1140/1288] Compiling Telegrammer BotCommandScopeDefault.swift
[1141/1288] Compiling Telegrammer CallbackGame.swift
[1142/1288] Compiling Telegrammer CallbackQuery.swift
[1143/1288] Compiling Telegrammer Chat.swift
[1144/1288] Compiling Telegrammer ChatInviteLink.swift
[1145/1288] Compiling Telegrammer ChatLocation.swift
[1146/1288] Compiling Telegrammer ChatMember.swift
[1147/1288] Compiling Telegrammer ChatMemberAdministrator.swift
[1148/1288] Compiling Telegrammer ChatMemberBanned.swift
[1149/1288] Compiling Telegrammer ChatMemberLeft.swift
[1150/1288] Compiling Telegrammer ChatMemberMember.swift
[1151/1288] Compiling Telegrammer ChatMemberOwner.swift
[1152/1288] Compiling Telegrammer ChatMemberRestricted.swift
[1153/1288] Compiling Telegrammer ChatMemberUpdated.swift
[1154/1288] Compiling Telegrammer ChatPermissions.swift
[1155/1288] Compiling Telegrammer ChatPhoto.swift
[1156/1288] Compiling Telegrammer ChosenInlineResult.swift
[1157/1288] Compiling Telegrammer Contact.swift
[1158/1288] Compiling Telegrammer Dispatcher.swift
[1159/1288] Compiling Telegrammer HandlerGroup.swift
[1160/1288] Compiling Telegrammer HandlersQueue.swift
[1161/1288] Compiling Telegrammer BotError.swift
[1162/1288] Compiling Telegrammer AllFilter.swift
[1163/1288] Compiling Telegrammer AudioFilter.swift
[1164/1288] Compiling Telegrammer CaptionEntityFilter.swift
[1165/1288] Compiling Telegrammer ChatFilter.swift
[1166/1288] Compiling Telegrammer CommandFilter.swift
[1167/1288] Compiling Telegrammer ContactFilter.swift
[1168/1288] Compiling Telegrammer DocumentFilter.swift
[1169/1288] Compiling Telegrammer EntityFilter.swift
[1170/1288] Compiling Telegrammer Filter.swift
[1171/1288] Compiling Telegrammer ForwarderFilter.swift
[1172/1288] Compiling Telegrammer GameFilter.swift
[1173/1288] Compiling Telegrammer GroupFilter.swift
[1174/1288] Compiling Telegrammer InvoiceFilter.swift
[1175/1288] Compiling Telegrammer LanguageFilter.swift
[1176/1288] Compiling Telegrammer LocationFilter.swift
[1177/1288] Compiling Telegrammer PhotoFilter.swift
[1178/1288] Compiling Telegrammer PrivateFilter.swift
[1179/1288] Compiling Telegrammer RegexpFilter.swift
[1180/1288] Compiling Telegrammer ReplyFilter.swift
[1181/1288] Compiling Telegrammer StatusUpdateFilters.swift
[1182/1288] Compiling Telegrammer StickerFilter.swift
[1183/1288] Compiling Telegrammer SuccesfulPaymentFilter.swift
[1184/1288] Compiling Telegrammer TextFilter.swift
[1185/1288] Compiling Telegrammer UserFilter.swift
[1186/1288] Compiling Telegrammer VenueFilter.swift
[1187/1288] Compiling Telegrammer VideoFilter.swift
[1188/1288] Compiling Telegrammer VideoNoteFilter.swift
[1189/1288] Compiling Telegrammer VoiceFilter.swift
[1190/1288] Compiling Telegrammer CallbackQueryHandler.swift
[1191/1288] Compiling Telegrammer CommandHandler.swift
[1192/1288] Compiling Telegrammer ConversationHandler.swift
[1193/1288] Compiling Telegrammer Handler.swift
[1194/1288] Compiling Telegrammer LoggerHandler.swift
[1195/1288] Compiling Telegrammer MessageHandler.swift
[1196/1288] Compiling Telegrammer RegexpHandler.swift
[1197/1288] Compiling Telegrammer Constants.swift
[1198/1288] Compiling Telegrammer Enviroment+Helper.swift
[1199/1288] Compiling Telegrammer Error+Helpers.swift
[1200/1288] Compiling Telegrammer HTTPHeader+Helper.swift
[1201/1288] Compiling Telegrammer HTTPRequest+Helper.swift
[1202/1288] Compiling Telegrammer MultipartPartConvertible+Helper.swift
[1203/1288] Compiling Telegrammer String+Helper.swift
[1204/1288] Compiling Telegrammer ProximityAlertTriggered.swift
[1205/1288] Compiling Telegrammer ReplyKeyboardMarkup.swift
[1206/1288] Compiling Telegrammer ReplyKeyboardRemove.swift
[1207/1288] Compiling Telegrammer ResponseParameters.swift
[1208/1288] Compiling Telegrammer ShippingAddress.swift
[1209/1288] Compiling Telegrammer ShippingOption.swift
[1210/1288] Compiling Telegrammer ShippingQuery.swift
[1211/1288] Compiling Telegrammer Sticker.swift
[1212/1288] Compiling Telegrammer StickerSet.swift
[1213/1288] Compiling Telegrammer SuccessfulPayment.swift
[1214/1288] Compiling Telegrammer Update.swift
[1215/1288] Compiling Telegrammer User.swift
[1216/1288] Compiling Telegrammer UserProfilePhotos.swift
[1217/1288] Compiling Telegrammer Venue.swift
[1218/1288] Compiling Telegrammer Video.swift
[1219/1288] Compiling Telegrammer VideoNote.swift
[1220/1288] Compiling Telegrammer Voice.swift
[1221/1288] Compiling Telegrammer VoiceChatEnded.swift
[1222/1288] Compiling Telegrammer VoiceChatParticipantsInvited.swift
[1223/1288] Compiling Telegrammer VoiceChatScheduled.swift
[1224/1288] Compiling Telegrammer VoiceChatStarted.swift
[1225/1288] Compiling Telegrammer WebhookInfo.swift
[1226/1288] Compiling Telegrammer Storage.swift
[1227/1288] Compiling Telegrammer SynchronizedArray.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1228/1288] Compiling Telegrammer TimeAmount+Helpers.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1229/1288] Compiling Telegrammer Bot.Settings+Proxy.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1230/1288] Compiling Telegrammer BotClient.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1231/1288] Compiling Telegrammer Longpolling.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1232/1288] Compiling Telegrammer Network.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1233/1288] Compiling Telegrammer UpdatesServer.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1234/1288] Compiling Telegrammer Webhooks.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1235/1288] Compiling Telegrammer ChatId.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1236/1288] Compiling Telegrammer ChatType.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1237/1288] Compiling Telegrammer FileInfo.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1238/1288] Compiling Telegrammer InlineQueryResult.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1239/1288] Compiling Telegrammer InputFile.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1240/1288] Compiling Telegrammer InputMedia.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1241/1288] Compiling Telegrammer InputMessageContent.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1242/1288] Compiling Telegrammer MessageEntityType.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1243/1288] Compiling Telegrammer MessageOrBool.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1244/1288] Compiling Telegrammer ParseMode.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1245/1288] Compiling Telegrammer PassportElementError.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1246/1288] Compiling Telegrammer ReplyMarkup.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1247/1288] Compiling Telegrammer TelegramContainer.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1248/1288] Compiling Telegrammer TelegramEncodables.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1249/1288] Compiling Telegrammer Updater.swift
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:326:52: warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
324 | }
325 |
326 | DispatchQueue.main.async { completion?(elements) }
| `- warning: reference to captured var 'elements' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
327 | }
328 | }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:390:42: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
391 | self.array.remove(at: index)
392 | DispatchQueue.main.async { completion?() }
/host/spi-builder-workspace/Sources/Telegrammer/Helpers/SynchronizedArray.swift:388:10: warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
386 | ///
387 | /// - Parameter element: An element to search for in the collection.
388 | func remove(_ element: Element, completion: (() -> Void)? = nil) {
| `- warning: capture of non-Sendable type 'Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
389 | queue.async(flags: .barrier) {
390 | guard let index = self.array.firstIndex(of: element) else { return }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:71:33: warning: capture of non-Sendable type 'T.Type' in an isolated closure
69 | .execute(request: request)
70 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
71 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
72 | })
73 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| `- warning: converting non-Sendable function value to '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' may introduce data races
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:131:34: warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
129 | return try self.decode(response: response)
130 | })
131 | .whenComplete($0.resume(with: ))
| |- warning: converting a value of type '(__shared sending Result<TelegramContainer<T>, any Error>) -> ()' to type '@Sendable (Result<TelegramContainer<T>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
132 | }
133 | }
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:32: warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
11 | import AsyncHTTPClient
12 |
13 | public class BotClient {
| `- note: class 'BotClient' does not conform to the 'Sendable' protocol
14 |
15 | let host: String
:
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of 'self' with non-Sendable type 'BotClient' in a '@Sendable' closure [#SendableClosureCaptures]
130 | })
131 | .whenComplete($0.resume(with: ))
/host/spi-builder-workspace/Sources/Telegrammer/Network/BotClient.swift:129:37: warning: capture of non-Sendable type 'T.Type' in an isolated closure
127 | .execute(request: request)
128 | .flatMapThrowing({ (response) -> TelegramContainer<T> in
129 | return try self.decode(response: response)
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
130 | })
131 | .whenComplete($0.resume(with: ))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[1250/1288] Compiling Telegrammer LoginUrl.swift
[1251/1288] Compiling Telegrammer MaskPosition.swift
[1252/1288] Compiling Telegrammer Message.swift
[1253/1288] Compiling Telegrammer MessageAutoDeleteTimerChanged.swift
[1254/1288] Compiling Telegrammer MessageEntity.swift
[1255/1288] Compiling Telegrammer MessageId.swift
[1256/1288] Compiling Telegrammer OrderInfo.swift
[1257/1288] Compiling Telegrammer PassportData.swift
[1258/1288] Compiling Telegrammer PassportElementErrorDataField.swift
[1259/1288] Compiling Telegrammer PassportElementErrorFile.swift
[1260/1288] Compiling Telegrammer PassportElementErrorFiles.swift
[1261/1288] Compiling Telegrammer PassportElementErrorFrontSide.swift
[1262/1288] Compiling Telegrammer PassportElementErrorReverseSide.swift
[1263/1288] Compiling Telegrammer PassportElementErrorSelfie.swift
[1264/1288] Compiling Telegrammer PassportElementErrorTranslationFile.swift
[1265/1288] Compiling Telegrammer PassportElementErrorTranslationFiles.swift
[1266/1288] Compiling Telegrammer PassportElementErrorUnspecified.swift
[1267/1288] Compiling Telegrammer PassportFile.swift
[1268/1288] Compiling Telegrammer PhotoSize.swift
[1269/1288] Compiling Telegrammer Poll.swift
[1270/1288] Compiling Telegrammer PollAnswer.swift
[1271/1288] Compiling Telegrammer PollOption.swift
[1272/1288] Compiling Telegrammer PreCheckoutQuery.swift
[1273/1289] Wrapping AST for Telegrammer for debugging
[1275/1306] Emitting module DemoWebhooksLocally
[1276/1306] Compiling DemoWebhooksLocally main.swift
[1278/1307] Emitting module DemoEchoBot
[1279/1307] Compiling DemoEchoBot main.swift
[1280/1307] Compiling DemoSpellCheckerBot YaSpellCheck.swift
[1281/1307] Compiling DemoSpellCheckerBot Array+Helper.swift
[1282/1307] Compiling DemoSpellCheckerBot SpellChecker.swift
[1283/1307] Compiling DemoHelloBot main.swift
[1284/1307] Compiling DemoSpellCheckerBot main.swift
[1285/1307] Emitting module DemoHelloBot
[1286/1307] Compiling DemoHelloBot NewMemberHandler.swift
[1286/1307] Wrapping AST for DemoWebhooksLocally for debugging
[1287/1307] Write Objects.LinkFileList
[1290/1309] Emitting module DemoSpellCheckerBot
/host/spi-builder-workspace/Sources/DemoSpellCheckerBot/SpellChecker/YaSpellChecker.swift:18:54: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
16 | var url = "https://speller.yandex.net/services/spellservice.json/checkText"
17 |
18 | let client = HTTPClient(eventLoopGroupProvider: .createNew)
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
19 |
20 | func check(_ text: String, lang: Lang, format: Format) throws -> Future<[T]> {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1291/1309] Compiling DemoSpellCheckerBot SpellCheckerController.swift
/host/spi-builder-workspace/Sources/DemoSpellCheckerBot/Controllers/SpellCheckerController.swift:149:60: warning: 'markdown' is deprecated: This is a legacy mode, retained for backward compatibility. [#DeprecatedDeclaration]
147 | messageId: message.messageId,
148 | text: text,
149 | parseMode: .markdown,
| |- warning: 'markdown' is deprecated: This is a legacy mode, retained for backward compatibility. [#DeprecatedDeclaration]
| `- note: use 'markdownV2' instead
150 | replyMarkup: markup)
151 | try bot.editMessageText(params: params)
/host/spi-builder-workspace/Sources/DemoSpellCheckerBot/Controllers/SpellCheckerController.swift:157:56: warning: 'markdown' is deprecated: This is a legacy mode, retained for backward compatibility. [#DeprecatedDeclaration]
155 | let params = Bot.SendMessageParams(chatId: .chat(message.chat.id),
156 | text: text,
157 | parseMode: .markdown,
| |- warning: 'markdown' is deprecated: This is a legacy mode, retained for backward compatibility. [#DeprecatedDeclaration]
| `- note: use 'markdownV2' instead
158 | replyMarkup: markup)
159 | try self.bot.sendMessage(params: params)
/host/spi-builder-workspace/Sources/DemoSpellCheckerBot/SpellChecker/YaSpellChecker.swift:18:54: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
16 | var url = "https://speller.yandex.net/services/spellservice.json/checkText"
17 |
18 | let client = HTTPClient(eventLoopGroupProvider: .createNew)
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
19 |
20 | func check(_ text: String, lang: Lang, format: Format) throws -> Future<[T]> {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1293/1309] Compiling DemoSpellCheckerBot YaSpellChecker.swift
/host/spi-builder-workspace/Sources/DemoSpellCheckerBot/SpellChecker/YaSpellChecker.swift:18:54: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
16 | var url = "https://speller.yandex.net/services/spellservice.json/checkText"
17 |
18 | let client = HTTPClient(eventLoopGroupProvider: .createNew)
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
19 |
20 | func check(_ text: String, lang: Lang, format: Format) throws -> Future<[T]> {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1294/1309] Compiling DemoSpellCheckerBot YaSpellFlow.swift
[1296/1310] Emitting module DemoSchedulerBot
[1297/1310] Compiling DemoSchedulerBot main.swift
[1298/1311] Wrapping AST for DemoEchoBot for debugging
[1299/1311] Wrapping AST for DemoHelloBot for debugging
[1300/1311] Wrapping AST for DemoSpellCheckerBot for debugging
[1301/1311] Wrapping AST for DemoSchedulerBot for debugging
[1302/1311] Write Objects.LinkFileList
[1306/1311] Linking WebhooksLocally
[1307/1311] Linking HelloBot
[1308/1311] Linking SpellCheckerBot
[1309/1311] Linking SchedulerBot
[1310/1311] Linking EchoBot
Build complete! (192.21s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.18.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "Telegrammer",
"name" : "Telegrammer",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Telegrammer",
"targets" : [
"Telegrammer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TelegrammerMultipart",
"targets" : [
"TelegrammerMultipart"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TelegrammerCMultipartParser",
"targets" : [
"TelegrammerCMultipartParser"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EchoBot",
"targets" : [
"DemoEchoBot"
],
"type" : {
"executable" : null
}
},
{
"name" : "HelloBot",
"targets" : [
"DemoHelloBot"
],
"type" : {
"executable" : null
}
},
{
"name" : "SchedulerBot",
"targets" : [
"DemoSchedulerBot"
],
"type" : {
"executable" : null
}
},
{
"name" : "SpellCheckerBot",
"targets" : [
"DemoSpellCheckerBot"
],
"type" : {
"executable" : null
}
},
{
"name" : "WebhooksLocally",
"targets" : [
"DemoWebhooksLocally"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TelegrammerTests",
"module_type" : "SwiftTarget",
"name" : "TelegrammerTests",
"path" : "Tests/TelegrammerTests",
"sources" : [
"FilterTests/EntityFilterTest.swift",
"FilterTests/PrivateFilterTest.swift",
"HandlerTests/CommandHandlerTest.swift",
"Helpers/Test+Helpers.swift",
"JobQueueTests/DailyJobTests.swift",
"JobQueueTests/JobQueueTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Telegrammer"
],
"type" : "test"
},
{
"c99name" : "TelegrammerMultipartTests",
"module_type" : "SwiftTarget",
"name" : "TelegrammerMultipartTests",
"path" : "Tests/TelegrammerMultipartTests",
"sources" : [
"MultipartKitTests.swift"
],
"target_dependencies" : [
"TelegrammerCMultipartParser"
],
"type" : "test"
},
{
"c99name" : "TelegrammerMultipart",
"module_type" : "SwiftTarget",
"name" : "TelegrammerMultipart",
"path" : "Sources/TelegrammerMultipart",
"product_dependencies" : [
"NIO",
"NIOHTTP1"
],
"product_memberships" : [
"Telegrammer",
"TelegrammerMultipart",
"EchoBot",
"HelloBot",
"SchedulerBot",
"SpellCheckerBot",
"WebhooksLocally"
],
"sources" : [
"BasicCodingKey.swift",
"Exports.swift",
"FormDataDecoder.swift",
"FormDataEncoder.swift",
"MultipartError.swift",
"MultipartParser.swift",
"MultipartPart.swift",
"MultipartPartConvertible.swift",
"MultipartSerializer.swift",
"Utilities.swift"
],
"target_dependencies" : [
"TelegrammerCMultipartParser"
],
"type" : "library"
},
{
"c99name" : "TelegrammerCMultipartParser",
"module_type" : "ClangTarget",
"name" : "TelegrammerCMultipartParser",
"path" : "Sources/TelegrammerCMultipartParser",
"product_memberships" : [
"Telegrammer",
"TelegrammerMultipart",
"TelegrammerCMultipartParser",
"EchoBot",
"HelloBot",
"SchedulerBot",
"SpellCheckerBot",
"WebhooksLocally"
],
"sources" : [
"multipartparser.c"
],
"type" : "library"
},
{
"c99name" : "Telegrammer",
"module_type" : "SwiftTarget",
"name" : "Telegrammer",
"path" : "Sources/Telegrammer",
"product_dependencies" : [
"AsyncHTTPClient",
"Logging"
],
"product_memberships" : [
"Telegrammer",
"EchoBot",
"HelloBot",
"SchedulerBot",
"SpellCheckerBot",
"WebhooksLocally"
],
"sources" : [
"Bot/BotProtocol.swift",
"Bot/Telegram/Bot.swift",
"Bot/Telegram/Extensions/Message+Helpers.swift",
"Bot/Telegram/Jobs/BasicJobQueue.swift",
"Bot/Telegram/Jobs/DailyJob.swift",
"Bot/Telegram/Jobs/Day.swift",
"Bot/Telegram/Jobs/Job.swift",
"Bot/Telegram/Jobs/JobQueue.swift",
"Bot/Telegram/Jobs/OnceJob.swift",
"Bot/Telegram/Jobs/RepeatableJob.swift",
"Bot/Telegram/Methods/Bot+addStickerToSet.swift",
"Bot/Telegram/Methods/Bot+answerCallbackQuery.swift",
"Bot/Telegram/Methods/Bot+answerInlineQuery.swift",
"Bot/Telegram/Methods/Bot+answerPreCheckoutQuery.swift",
"Bot/Telegram/Methods/Bot+answerShippingQuery.swift",
"Bot/Telegram/Methods/Bot+banChatMember.swift",
"Bot/Telegram/Methods/Bot+close.swift",
"Bot/Telegram/Methods/Bot+copyMessage.swift",
"Bot/Telegram/Methods/Bot+createChatInviteLink.swift",
"Bot/Telegram/Methods/Bot+createNewStickerSet.swift",
"Bot/Telegram/Methods/Bot+deleteChatPhoto.swift",
"Bot/Telegram/Methods/Bot+deleteChatStickerSet.swift",
"Bot/Telegram/Methods/Bot+deleteMessage.swift",
"Bot/Telegram/Methods/Bot+deleteMyCommands.swift",
"Bot/Telegram/Methods/Bot+deleteStickerFromSet.swift",
"Bot/Telegram/Methods/Bot+deleteWebhook.swift",
"Bot/Telegram/Methods/Bot+editChatInviteLink.swift",
"Bot/Telegram/Methods/Bot+editMessageCaption.swift",
"Bot/Telegram/Methods/Bot+editMessageLiveLocation.swift",
"Bot/Telegram/Methods/Bot+editMessageMedia.swift",
"Bot/Telegram/Methods/Bot+editMessageReplyMarkup.swift",
"Bot/Telegram/Methods/Bot+editMessageText.swift",
"Bot/Telegram/Methods/Bot+exportChatInviteLink.swift",
"Bot/Telegram/Methods/Bot+forwardMessage.swift",
"Bot/Telegram/Methods/Bot+getChat.swift",
"Bot/Telegram/Methods/Bot+getChatAdministrators.swift",
"Bot/Telegram/Methods/Bot+getChatMember.swift",
"Bot/Telegram/Methods/Bot+getChatMemberCount.swift",
"Bot/Telegram/Methods/Bot+getChatMembersCount.swift",
"Bot/Telegram/Methods/Bot+getFile.swift",
"Bot/Telegram/Methods/Bot+getGameHighScores.swift",
"Bot/Telegram/Methods/Bot+getMe.swift",
"Bot/Telegram/Methods/Bot+getMyCommands.swift",
"Bot/Telegram/Methods/Bot+getStickerSet.swift",
"Bot/Telegram/Methods/Bot+getUpdates.swift",
"Bot/Telegram/Methods/Bot+getUserProfilePhotos.swift",
"Bot/Telegram/Methods/Bot+getWebhookInfo.swift",
"Bot/Telegram/Methods/Bot+kickChatMember.swift",
"Bot/Telegram/Methods/Bot+leaveChat.swift",
"Bot/Telegram/Methods/Bot+logOut.swift",
"Bot/Telegram/Methods/Bot+pinChatMessage.swift",
"Bot/Telegram/Methods/Bot+promoteChatMember.swift",
"Bot/Telegram/Methods/Bot+restrictChatMember.swift",
"Bot/Telegram/Methods/Bot+revokeChatInviteLink.swift",
"Bot/Telegram/Methods/Bot+sendAnimation.swift",
"Bot/Telegram/Methods/Bot+sendAudio.swift",
"Bot/Telegram/Methods/Bot+sendChatAction.swift",
"Bot/Telegram/Methods/Bot+sendContact.swift",
"Bot/Telegram/Methods/Bot+sendDice.swift",
"Bot/Telegram/Methods/Bot+sendDocument.swift",
"Bot/Telegram/Methods/Bot+sendGame.swift",
"Bot/Telegram/Methods/Bot+sendInvoice.swift",
"Bot/Telegram/Methods/Bot+sendLocation.swift",
"Bot/Telegram/Methods/Bot+sendMediaGroup.swift",
"Bot/Telegram/Methods/Bot+sendMessage.swift",
"Bot/Telegram/Methods/Bot+sendPhoto.swift",
"Bot/Telegram/Methods/Bot+sendPoll.swift",
"Bot/Telegram/Methods/Bot+sendSticker.swift",
"Bot/Telegram/Methods/Bot+sendVenue.swift",
"Bot/Telegram/Methods/Bot+sendVideo.swift",
"Bot/Telegram/Methods/Bot+sendVideoNote.swift",
"Bot/Telegram/Methods/Bot+sendVoice.swift",
"Bot/Telegram/Methods/Bot+setChatAdministratorCustomTitle.swift",
"Bot/Telegram/Methods/Bot+setChatDescription.swift",
"Bot/Telegram/Methods/Bot+setChatPermissions.swift",
"Bot/Telegram/Methods/Bot+setChatPhoto.swift",
"Bot/Telegram/Methods/Bot+setChatStickerSet.swift",
"Bot/Telegram/Methods/Bot+setChatTitle.swift",
"Bot/Telegram/Methods/Bot+setGameScore.swift",
"Bot/Telegram/Methods/Bot+setMyCommands.swift",
"Bot/Telegram/Methods/Bot+setPassportDataErrors.swift",
"Bot/Telegram/Methods/Bot+setStickerPositionInSet.swift",
"Bot/Telegram/Methods/Bot+setStickerSetThumb.swift",
"Bot/Telegram/Methods/Bot+setWebhook.swift",
"Bot/Telegram/Methods/Bot+stopMessageLiveLocation.swift",
"Bot/Telegram/Methods/Bot+stopPoll.swift",
"Bot/Telegram/Methods/Bot+unbanChatMember.swift",
"Bot/Telegram/Methods/Bot+unpinAllChatMessages.swift",
"Bot/Telegram/Methods/Bot+unpinChatMessage.swift",
"Bot/Telegram/Methods/Bot+uploadStickerFile.swift",
"Bot/Telegram/Models/Animation.swift",
"Bot/Telegram/Models/Audio.swift",
"Bot/Telegram/Models/BotCommand.swift",
"Bot/Telegram/Models/BotCommandScope.swift",
"Bot/Telegram/Models/BotCommandScopeAllChatAdministrators.swift",
"Bot/Telegram/Models/BotCommandScopeAllGroupChats.swift",
"Bot/Telegram/Models/BotCommandScopeAllPrivateChats.swift",
"Bot/Telegram/Models/BotCommandScopeChat.swift",
"Bot/Telegram/Models/BotCommandScopeChatAdministrators.swift",
"Bot/Telegram/Models/BotCommandScopeChatMember.swift",
"Bot/Telegram/Models/BotCommandScopeDefault.swift",
"Bot/Telegram/Models/CallbackGame.swift",
"Bot/Telegram/Models/CallbackQuery.swift",
"Bot/Telegram/Models/Chat.swift",
"Bot/Telegram/Models/ChatInviteLink.swift",
"Bot/Telegram/Models/ChatLocation.swift",
"Bot/Telegram/Models/ChatMember.swift",
"Bot/Telegram/Models/ChatMemberAdministrator.swift",
"Bot/Telegram/Models/ChatMemberBanned.swift",
"Bot/Telegram/Models/ChatMemberLeft.swift",
"Bot/Telegram/Models/ChatMemberMember.swift",
"Bot/Telegram/Models/ChatMemberOwner.swift",
"Bot/Telegram/Models/ChatMemberRestricted.swift",
"Bot/Telegram/Models/ChatMemberUpdated.swift",
"Bot/Telegram/Models/ChatPermissions.swift",
"Bot/Telegram/Models/ChatPhoto.swift",
"Bot/Telegram/Models/ChosenInlineResult.swift",
"Bot/Telegram/Models/Contact.swift",
"Bot/Telegram/Models/Dice.swift",
"Bot/Telegram/Models/Document.swift",
"Bot/Telegram/Models/EncryptedCredentials.swift",
"Bot/Telegram/Models/EncryptedPassportElement.swift",
"Bot/Telegram/Models/File.swift",
"Bot/Telegram/Models/ForceReply.swift",
"Bot/Telegram/Models/Game.swift",
"Bot/Telegram/Models/GameHighScore.swift",
"Bot/Telegram/Models/InlineKeyboardButton.swift",
"Bot/Telegram/Models/InlineKeyboardMarkup.swift",
"Bot/Telegram/Models/InlineQuery.swift",
"Bot/Telegram/Models/InlineQueryResultArticle.swift",
"Bot/Telegram/Models/InlineQueryResultAudio.swift",
"Bot/Telegram/Models/InlineQueryResultCachedAudio.swift",
"Bot/Telegram/Models/InlineQueryResultCachedDocument.swift",
"Bot/Telegram/Models/InlineQueryResultCachedGif.swift",
"Bot/Telegram/Models/InlineQueryResultCachedMpeg4Gif.swift",
"Bot/Telegram/Models/InlineQueryResultCachedPhoto.swift",
"Bot/Telegram/Models/InlineQueryResultCachedSticker.swift",
"Bot/Telegram/Models/InlineQueryResultCachedVideo.swift",
"Bot/Telegram/Models/InlineQueryResultCachedVoice.swift",
"Bot/Telegram/Models/InlineQueryResultContact.swift",
"Bot/Telegram/Models/InlineQueryResultDocument.swift",
"Bot/Telegram/Models/InlineQueryResultGame.swift",
"Bot/Telegram/Models/InlineQueryResultGif.swift",
"Bot/Telegram/Models/InlineQueryResultLocation.swift",
"Bot/Telegram/Models/InlineQueryResultMpeg4Gif.swift",
"Bot/Telegram/Models/InlineQueryResultPhoto.swift",
"Bot/Telegram/Models/InlineQueryResultVenue.swift",
"Bot/Telegram/Models/InlineQueryResultVideo.swift",
"Bot/Telegram/Models/InlineQueryResultVoice.swift",
"Bot/Telegram/Models/InputContactMessageContent.swift",
"Bot/Telegram/Models/InputInvoiceMessageContent.swift",
"Bot/Telegram/Models/InputLocationMessageContent.swift",
"Bot/Telegram/Models/InputMediaAnimation.swift",
"Bot/Telegram/Models/InputMediaAudio.swift",
"Bot/Telegram/Models/InputMediaDocument.swift",
"Bot/Telegram/Models/InputMediaPhoto.swift",
"Bot/Telegram/Models/InputMediaVideo.swift",
"Bot/Telegram/Models/InputTextMessageContent.swift",
"Bot/Telegram/Models/InputVenueMessageContent.swift",
"Bot/Telegram/Models/Invoice.swift",
"Bot/Telegram/Models/KeyboardButton.swift",
"Bot/Telegram/Models/KeyboardButtonPollType.swift",
"Bot/Telegram/Models/LabeledPrice.swift",
"Bot/Telegram/Models/Location.swift",
"Bot/Telegram/Models/LoginUrl.swift",
"Bot/Telegram/Models/MaskPosition.swift",
"Bot/Telegram/Models/Message.swift",
"Bot/Telegram/Models/MessageAutoDeleteTimerChanged.swift",
"Bot/Telegram/Models/MessageEntity.swift",
"Bot/Telegram/Models/MessageId.swift",
"Bot/Telegram/Models/OrderInfo.swift",
"Bot/Telegram/Models/PassportData.swift",
"Bot/Telegram/Models/PassportElementErrorDataField.swift",
"Bot/Telegram/Models/PassportElementErrorFile.swift",
"Bot/Telegram/Models/PassportElementErrorFiles.swift",
"Bot/Telegram/Models/PassportElementErrorFrontSide.swift",
"Bot/Telegram/Models/PassportElementErrorReverseSide.swift",
"Bot/Telegram/Models/PassportElementErrorSelfie.swift",
"Bot/Telegram/Models/PassportElementErrorTranslationFile.swift",
"Bot/Telegram/Models/PassportElementErrorTranslationFiles.swift",
"Bot/Telegram/Models/PassportElementErrorUnspecified.swift",
"Bot/Telegram/Models/PassportFile.swift",
"Bot/Telegram/Models/PhotoSize.swift",
"Bot/Telegram/Models/Poll.swift",
"Bot/Telegram/Models/PollAnswer.swift",
"Bot/Telegram/Models/PollOption.swift",
"Bot/Telegram/Models/PreCheckoutQuery.swift",
"Bot/Telegram/Models/ProximityAlertTriggered.swift",
"Bot/Telegram/Models/ReplyKeyboardMarkup.swift",
"Bot/Telegram/Models/ReplyKeyboardRemove.swift",
"Bot/Telegram/Models/ResponseParameters.swift",
"Bot/Telegram/Models/ShippingAddress.swift",
"Bot/Telegram/Models/ShippingOption.swift",
"Bot/Telegram/Models/ShippingQuery.swift",
"Bot/Telegram/Models/Sticker.swift",
"Bot/Telegram/Models/StickerSet.swift",
"Bot/Telegram/Models/SuccessfulPayment.swift",
"Bot/Telegram/Models/Update.swift",
"Bot/Telegram/Models/User.swift",
"Bot/Telegram/Models/UserProfilePhotos.swift",
"Bot/Telegram/Models/Venue.swift",
"Bot/Telegram/Models/Video.swift",
"Bot/Telegram/Models/VideoNote.swift",
"Bot/Telegram/Models/Voice.swift",
"Bot/Telegram/Models/VoiceChatEnded.swift",
"Bot/Telegram/Models/VoiceChatParticipantsInvited.swift",
"Bot/Telegram/Models/VoiceChatScheduled.swift",
"Bot/Telegram/Models/VoiceChatStarted.swift",
"Bot/Telegram/Models/WebhookInfo.swift",
"Bot/Telegram/Storage/Storage.swift",
"Dispatcher/Dispatcher.swift",
"Dispatcher/HandlerGroup.swift",
"Dispatcher/HandlersQueue.swift",
"Errors/BotError.swift",
"Filters/AllFilter.swift",
"Filters/AudioFilter.swift",
"Filters/CaptionEntityFilter.swift",
"Filters/ChatFilter.swift",
"Filters/CommandFilter.swift",
"Filters/ContactFilter.swift",
"Filters/DocumentFilter.swift",
"Filters/EntityFilter.swift",
"Filters/Filter.swift",
"Filters/ForwarderFilter.swift",
"Filters/GameFilter.swift",
"Filters/GroupFilter.swift",
"Filters/InvoiceFilter.swift",
"Filters/LanguageFilter.swift",
"Filters/LocationFilter.swift",
"Filters/PhotoFilter.swift",
"Filters/PrivateFilter.swift",
"Filters/RegexpFilter.swift",
"Filters/ReplyFilter.swift",
"Filters/StatusUpdateFilters.swift",
"Filters/StickerFilter.swift",
"Filters/SuccesfulPaymentFilter.swift",
"Filters/TextFilter.swift",
"Filters/UserFilter.swift",
"Filters/VenueFilter.swift",
"Filters/VideoFilter.swift",
"Filters/VideoNoteFilter.swift",
"Filters/VoiceFilter.swift",
"Handlers/CallbackQueryHandler.swift",
"Handlers/CommandHandler.swift",
"Handlers/ConversationHandler.swift",
"Handlers/Handler.swift",
"Handlers/LoggerHandler.swift",
"Handlers/MessageHandler.swift",
"Handlers/RegexpHandler.swift",
"Helpers/Constants.swift",
"Helpers/Enviroment+Helper.swift",
"Helpers/Error+Helpers.swift",
"Helpers/HTTPHeader+Helper.swift",
"Helpers/HTTPRequest+Helper.swift",
"Helpers/MultipartPartConvertible+Helper.swift",
"Helpers/String+Helper.swift",
"Helpers/SynchronizedArray.swift",
"Helpers/TimeAmount+Helpers.swift",
"Network/Bot.Settings+Proxy.swift",
"Network/BotClient.swift",
"Network/Longpolling.swift",
"Network/Network.swift",
"Network/UpdatesServer.swift",
"Network/Webhooks.swift",
"Types/ChatId.swift",
"Types/ChatType.swift",
"Types/FileInfo.swift",
"Types/InlineQueryResult.swift",
"Types/InputFile.swift",
"Types/InputMedia.swift",
"Types/InputMessageContent.swift",
"Types/MessageEntityType.swift",
"Types/MessageOrBool.swift",
"Types/ParseMode.swift",
"Types/PassportElementError.swift",
"Types/ReplyMarkup.swift",
"Types/TelegramContainer.swift",
"Types/TelegramEncodables.swift",
"Updater/Updater.swift"
],
"target_dependencies" : [
"TelegrammerMultipart"
],
"type" : "library"
},
{
"c99name" : "DemoWebhooksLocally",
"module_type" : "SwiftTarget",
"name" : "DemoWebhooksLocally",
"path" : "Sources/DemoWebhooksLocally",
"product_memberships" : [
"WebhooksLocally"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Telegrammer"
],
"type" : "executable"
},
{
"c99name" : "DemoSpellCheckerBot",
"module_type" : "SwiftTarget",
"name" : "DemoSpellCheckerBot",
"path" : "Sources/DemoSpellCheckerBot",
"product_memberships" : [
"SpellCheckerBot"
],
"sources" : [
"Controllers/SpellCheckerController.swift",
"Helpers/Array+Helper.swift",
"SpellChecker/SpellChecker.swift",
"SpellChecker/YaSpellCheck.swift",
"SpellChecker/YaSpellChecker.swift",
"SpellChecker/YaSpellFlow.swift",
"main.swift"
],
"target_dependencies" : [
"Telegrammer"
],
"type" : "executable"
},
{
"c99name" : "DemoSchedulerBot",
"module_type" : "SwiftTarget",
"name" : "DemoSchedulerBot",
"path" : "Sources/DemoSchedulerBot",
"product_memberships" : [
"SchedulerBot"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Telegrammer"
],
"type" : "executable"
},
{
"c99name" : "DemoHelloBot",
"module_type" : "SwiftTarget",
"name" : "DemoHelloBot",
"path" : "Sources/DemoHelloBot",
"product_memberships" : [
"HelloBot"
],
"sources" : [
"Handlers/NewMemberHandler.swift",
"main.swift"
],
"target_dependencies" : [
"Telegrammer"
],
"type" : "executable"
},
{
"c99name" : "DemoEchoBot",
"module_type" : "SwiftTarget",
"name" : "DemoEchoBot",
"path" : "Sources/DemoEchoBot",
"product_memberships" : [
"EchoBot"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Telegrammer"
],
"type" : "executable"
}
],
"tools_version" : "5.2"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.