Build Information
Successful build of Pelican, reference 0.8.1 (8fd80d
), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 20:39:21 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/takanu/pelican.git
Reference: 0.8.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/takanu/pelican
* tag 0.8.1 -> FETCH_HEAD
HEAD is now at 8fd80db - Initial conversion to Swift 4.2 - Fixed misleading "useWebPreview" argument in the sendMessage Sync and Async method to "disableWebPreview"
Cloned https://github.com/takanu/pelican.git
Revision (git rev-parse @):
8fd80dba68c5a6082840d2d9a2c5161e8b2e5d83
SUCCESS checkout https://github.com/takanu/pelican.git at 0.8.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/takanu/pelican.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/6] Compiling SwiftyJSON LclJSONSerialization.swift
[5/6] Compiling SwiftyJSON SwiftyJSON.swift
[6/6] Emitting module SwiftyJSON
[7/147] Emitting module Pelican
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/162] Compiling Pelican Codable+String.swift
[9/162] Compiling Pelican Request+Admin.swift
[10/162] Compiling Pelican Request+Answer.swift
[11/162] Compiling Pelican Request+Basic.swift
[12/162] Compiling Pelican Request+Chat.swift
[13/162] Compiling Pelican Request+EditMessage.swift
[14/162] Compiling Pelican Request+Game.swift
[15/162] Compiling Pelican Request+Payments.swift
[16/162] Compiling Pelican Request+Stickers.swift
[17/162] Compiling Pelican TelegramRequest.swift
[18/162] Compiling Pelican TelegramResponse.swift
[19/162] Compiling Pelican TelegramResponseError.swift
[20/162] Compiling Pelican InputMedia.swift
[21/162] Compiling Pelican InputMediaPhoto.swift
[22/162] Compiling Pelican InputMediaVideo.swift
[23/162] Compiling Pelican CallbackQuery.swift
[24/162] Compiling Pelican VideoNote.swift
[25/162] Compiling Pelican Voice.swift
[26/162] Compiling Pelican Message.swift
[27/162] Compiling Pelican MessageEntity.swift
[28/162] Compiling Pelican MessageParseMode.swift
[29/162] Compiling Pelican MessageType.swift
[30/162] Compiling Pelican Invoice.swift
[31/162] Compiling Pelican LabeledPrice.swift
[32/162] Compiling Pelican OrderInfo.swift
[33/162] Compiling Pelican PreCheckoutQuery.swift
[34/162] Compiling Pelican ShippingAddress.swift
[35/162] Compiling Pelican ShippingOption.swift
[36/162] Compiling Pelican ShippingQuery.swift
[37/162] Compiling Pelican SuccessfulPayment.swift
[38/162] Compiling Pelican MaskPosition.swift
[39/162] Compiling Pelican MaskPositionPoint.swift
[40/162] Compiling Pelican Sticker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[41/162] Compiling Pelican StickerSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[42/162] Compiling Pelican Type+Custom.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[43/162] Compiling Pelican Type+Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[44/162] Compiling Pelican Type+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[45/162] Compiling Pelican Type+Protocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[46/162] Compiling Pelican Type+Standard.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[47/162] Compiling Pelican User.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[48/162] Compiling Pelican UserProfilePhotos.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[49/162] Compiling Pelican Status.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[50/162] Compiling Pelican Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[51/162] Compiling Pelican Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[52/162] Compiling Pelican ClientConnection+Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[53/162] Compiling Pelican ClientConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[54/162] Compiling Pelican Portal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/API/Types/Type+Extensions.swift:58:14: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
56 |
57 | // Check that we have characters...
58 | guard self.characters.count > 0 else { return self }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
59 |
60 | var newString: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Status.swift:311:13: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
309 |
310 | extension Status: Hashable {
311 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Status' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
312 | return statusCode
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/HTTP/Version.swift:24:27: warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
22 |
23 | public init(_ string: String) {
24 | let components = string.characters.split(separator: ".").map { String($0) }
| `- warning: 'characters' is deprecated: Please use String directly [#DeprecatedDeclaration]
25 |
26 | if components.count > 0, let major = Int(components[0]) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Client/ClientConnection.swift:145:11: warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
143 | self.dataTask = session.dataTask(with: request) { (data, urlResponse, error) in
144 |
145 | if let error = error {
| `- warning: value 'error' was defined but never used; consider replacing with boolean test [#no-usage]
146 | return
147 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[55/162] Compiling Pelican Chat.swift
[56/162] Compiling Pelican ChatAction.swift
[57/162] Compiling Pelican ChatMember.swift
[58/162] Compiling Pelican ChatPhoto.swift
[59/162] Compiling Pelican FileDownload.swift
[60/162] Compiling Pelican Animation.swift
[61/162] Compiling Pelican Game.swift
[62/162] Compiling Pelican GameHighScore.swift
[63/162] Compiling Pelican ChosenInlineResult.swift
[64/162] Compiling Pelican InlineQuery.swift
[65/162] Compiling Pelican InlineResultArticle.swift
[66/162] Compiling Pelican InlineResultAudio.swift
[67/162] Compiling Pelican InlineResultContact.swift
[68/162] Compiling Pelican InlineResultDocument.swift
[69/162] Compiling Pelican InlineResultGame.swift
[70/162] Compiling Pelican InlineResultGif.swift
[71/162] Compiling Pelican Async+Stickers.swift
[72/162] Compiling Pelican MethodRequestAsync.swift
[73/162] Compiling Pelican MethodRequest.swift
[74/162] Compiling Pelican MethodRequestSync.swift
[75/162] Compiling Pelican Sync+Admin.swift
[76/162] Compiling Pelican Sync+Answer.swift
[77/162] Compiling Pelican Sync+Basic.swift
[78/162] Compiling Pelican Sync+Edit.swift
[79/162] Compiling Pelican Sync+Payments.swift
[80/162] Compiling Pelican Sync+Stickers.swift
[81/162] Compiling Pelican SessionDispatchQueue.swift
[82/162] Compiling Pelican SessionEvent.swift
[83/162] Compiling Pelican UpdateFilter.swift
[84/162] Compiling Pelican SessionModerator.swift
[85/162] Compiling Pelican FloodMonitor.swift
[86/162] Compiling Pelican InlineResultLocation.swift
[87/162] Compiling Pelican InlineResultMpeg4Gif.swift
[88/162] Compiling Pelican InlineResultPhoto.swift
[89/162] Compiling Pelican InlineResultSticker.swift
[90/162] Compiling Pelican InlineResultVenue.swift
[91/162] Compiling Pelican InlineResultVideo.swift
[92/162] Compiling Pelican InlineResultVoice.swift
[93/162] Compiling Pelican InlineResult.swift
[94/162] Compiling Pelican InlineResultAny.swift
[95/162] Compiling Pelican InlineResultType.swift
[96/162] Compiling Pelican InputMessageContent.swift
[97/162] Compiling Pelican InputMessageContentType.swift
[98/162] Compiling Pelican InputMessageContent_Any.swift
[99/162] Compiling Pelican InputMessageContent_Contact.swift
[100/162] Compiling Pelican InputMessageContent_Location.swift
[101/162] Compiling Pelican InputMessageContent_Text.swift
[102/162] Compiling Pelican Duration.swift
[103/162] Compiling Pelican Schedule.swift
[104/162] Compiling Pelican ScheduleEvent.swift
[105/162] Compiling Pelican SessionBuilder.swift
[106/162] Compiling Pelican SessionManager.swift
[107/162] Compiling Pelican Spawn.swift
[108/162] Compiling Pelican Update.swift
[109/162] Compiling Pelican UpdateType.swift
[110/162] Compiling Pelican Session.swift
[111/162] Compiling Pelican SessionIDType.swift
[112/162] Compiling Pelican SessionTag.swift
[113/162] Compiling Pelican Async+Admin.swift
[114/162] Compiling Pelican Async+Answer.swift
[115/162] Compiling Pelican Async+Basic.swift
[116/162] Compiling Pelican Async+Edit.swift
[117/162] Compiling Pelican Result.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[118/162] Compiling Pelican Cache+Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[119/162] Compiling Pelican CacheFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[120/162] Compiling Pelican CacheManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[121/162] Compiling Pelican Log+Debug.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[122/162] Compiling Pelican Log+Enum.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[123/162] Compiling Pelican Log+Prints.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[124/162] Compiling Pelican Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[125/162] Compiling Pelican LogLevel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[126/162] Compiling Pelican Moderator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[127/162] Compiling Pelican Pelican+Delegates.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[128/162] Compiling Pelican Pelican+Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[129/162] Compiling Pelican Pelican+Files.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[130/162] Compiling Pelican Pelican.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[131/162] Compiling Pelican LoopQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Pelican/Pelican.swift:478:7: warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
476 |
477 | // Collect a list of sessionManager that will accept the update.
478 | var captures: [SessionBuilder] = []
| `- warning: variable 'captures' was never used; consider replacing with '_' or removing it [#no-usage]
479 |
480 | // Update the last active time.
[132/162] Compiling Pelican InputMessageContent_Venue.swift
[133/162] Compiling Pelican ForceReply.swift
[134/162] Compiling Pelican InlineKey.swift
[135/162] Compiling Pelican InlineKeyType.swift
[136/162] Compiling Pelican InlineKeyboard.swift
[137/162] Compiling Pelican Keyboard.swift
[138/162] Compiling Pelican KeyboardKey.swift
[139/162] Compiling Pelican KeyboardRemove.swift
[140/162] Compiling Pelican MarkupType.swift
[141/162] Compiling Pelican Audio.swift
[142/162] Compiling Pelican Contact.swift
[143/162] Compiling Pelican Document.swift
[144/162] Compiling Pelican Location.swift
[145/162] Compiling Pelican Photo.swift
[146/162] Compiling Pelican Venue.swift
[147/162] Compiling Pelican Video.swift
[148/162] Compiling Pelican TimeoutMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[149/162] Compiling Pelican Route.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[150/162] Compiling Pelican RouteCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[151/162] Compiling Pelican RouteListen.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[152/162] Compiling Pelican RouteManual.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[153/162] Compiling Pelican RoutePass.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[154/162] Compiling Pelican Queue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[155/162] Compiling Pelican SessionRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[156/162] Compiling Pelican ChatSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[157/162] Compiling Pelican UserSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[158/162] Compiling Pelican CasedEnum.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[159/162] Compiling Pelican CwlRandom.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[160/162] Compiling Pelican SynchronisedArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[161/162] Compiling Pelican SynchronisedDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
[162/162] Compiling Pelican Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Session/Modules/Monitor/TimeoutMonitor.swift:96:3: warning: using '_' to ignore the result of a Void-returning function is redundant
94 | }
95 |
96 | _ = schedule.add(lastEvent!)
| `- warning: using '_' to ignore the result of a Void-returning function is redundant
97 | }
98 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:258:30: warning: capture of non-sendable type 'Element.Type' in an isolated closure
256 | var result = false
257 |
258 | if let index = self.array.index(of: element) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
259 | self.array.remove(at: index)
260 | result = true
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedArray.swift:253:7: warning: capture of non-sendable type 'Element.Type' in an isolated closure
251 | - returns: True if the element was found in the sequence, otherwise false.
252 | */
253 | func remove(_ element: Element, completion: ((Bool) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'Element.Type' in an isolated closure
254 |
255 | queue.async(flags: .barrier) {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:93:5: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
91 |
92 | queue.async(flags: .barrier) {
93 | self.internalDictionary[key] = newValue
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:89:3: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
87 | }
88 |
89 | set {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
90 | guard let newValue = newValue else { return }
91 |
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:116:40: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
117 |
118 | DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:114:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
112 | public extension SynchronisedDictionary {
113 |
114 | func removeValue(forKey key: KeyType, completion: ((ValueType?) -> Void)? = nil) {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
115 | queue.async(flags: .barrier) {
116 | let value = self.internalDictionary.removeValue(forKey: key)
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:128:4: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
126 | func removeAll() {
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/Pelican/Utilities/SynchronisedDictionary.swift:126:7: warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
124 | /// Removes all elements from the array.
125 | ///
126 | func removeAll() {
| `- warning: capture of non-sendable type 'KeyType.Type' in an isolated closure
127 | queue.async(flags: .barrier) {
128 | self.internalDictionary.removeAll()
Build complete! (10.22s)
Fetching https://github.com/IBM-Swift/SwiftyJSON.git
[1/2687] Fetching swiftyjson
Fetched https://github.com/IBM-Swift/SwiftyJSON.git from cache (0.86s)
Computing version for https://github.com/IBM-Swift/SwiftyJSON.git
Computed https://github.com/IBM-Swift/SwiftyJSON.git at 17.0.5 (2.79s)
Creating working copy for https://github.com/IBM-Swift/SwiftyJSON.git
Working copy of https://github.com/IBM-Swift/SwiftyJSON.git resolved at 17.0.5
Build complete.
{
"dependencies" : [
{
"identity" : "swiftyjson",
"requirement" : {
"range" : [
{
"lower_bound" : "17.0.0",
"upper_bound" : "18.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/SwiftyJSON.git"
}
],
"manifest_display_name" : "Pelican",
"name" : "Pelican",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Pelican",
"targets" : [
"Pelican"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Pelican",
"module_type" : "SwiftTarget",
"name" : "Pelican",
"path" : "Sources/Pelican",
"product_dependencies" : [
"SwiftyJSON"
],
"product_memberships" : [
"Pelican"
],
"sources" : [
"API/Request/Codable+String.swift",
"API/Request/Request+Admin.swift",
"API/Request/Request+Answer.swift",
"API/Request/Request+Basic.swift",
"API/Request/Request+Chat.swift",
"API/Request/Request+EditMessage.swift",
"API/Request/Request+Game.swift",
"API/Request/Request+Payments.swift",
"API/Request/Request+Stickers.swift",
"API/Request/TelegramRequest.swift",
"API/Response/TelegramResponse.swift",
"API/Response/TelegramResponseError.swift",
"API/Types/Albums/InputMedia.swift",
"API/Types/Albums/InputMediaPhoto.swift",
"API/Types/Albums/InputMediaVideo.swift",
"API/Types/Callback/CallbackQuery.swift",
"API/Types/Chat/Chat.swift",
"API/Types/Chat/ChatAction.swift",
"API/Types/Chat/ChatMember.swift",
"API/Types/Chat/ChatPhoto.swift",
"API/Types/FileDownload.swift",
"API/Types/Game/Animation.swift",
"API/Types/Game/Game.swift",
"API/Types/Game/GameHighScore.swift",
"API/Types/Inline/ChosenInlineResult.swift",
"API/Types/Inline/InlineQuery.swift",
"API/Types/Inline/InlineQueryResult/InlineResultArticle.swift",
"API/Types/Inline/InlineQueryResult/InlineResultAudio.swift",
"API/Types/Inline/InlineQueryResult/InlineResultContact.swift",
"API/Types/Inline/InlineQueryResult/InlineResultDocument.swift",
"API/Types/Inline/InlineQueryResult/InlineResultGame.swift",
"API/Types/Inline/InlineQueryResult/InlineResultGif.swift",
"API/Types/Inline/InlineQueryResult/InlineResultLocation.swift",
"API/Types/Inline/InlineQueryResult/InlineResultMpeg4Gif.swift",
"API/Types/Inline/InlineQueryResult/InlineResultPhoto.swift",
"API/Types/Inline/InlineQueryResult/InlineResultSticker.swift",
"API/Types/Inline/InlineQueryResult/InlineResultVenue.swift",
"API/Types/Inline/InlineQueryResult/InlineResultVideo.swift",
"API/Types/Inline/InlineQueryResult/InlineResultVoice.swift",
"API/Types/Inline/InlineResult.swift",
"API/Types/Inline/InlineResultAny.swift",
"API/Types/Inline/InlineResultType.swift",
"API/Types/Inline/InputMessageContent/InputMessageContent.swift",
"API/Types/Inline/InputMessageContent/InputMessageContentType.swift",
"API/Types/Inline/InputMessageContent/InputMessageContent_Any.swift",
"API/Types/Inline/InputMessageContent/InputMessageContent_Contact.swift",
"API/Types/Inline/InputMessageContent/InputMessageContent_Location.swift",
"API/Types/Inline/InputMessageContent/InputMessageContent_Text.swift",
"API/Types/Inline/InputMessageContent/InputMessageContent_Venue.swift",
"API/Types/Markup/ForceReply.swift",
"API/Types/Markup/Inline/InlineKey.swift",
"API/Types/Markup/Inline/InlineKeyType.swift",
"API/Types/Markup/Inline/InlineKeyboard.swift",
"API/Types/Markup/Keyboard/Keyboard.swift",
"API/Types/Markup/Keyboard/KeyboardKey.swift",
"API/Types/Markup/Keyboard/KeyboardRemove.swift",
"API/Types/Markup/MarkupType.swift",
"API/Types/Message Content/Audio.swift",
"API/Types/Message Content/Contact.swift",
"API/Types/Message Content/Document.swift",
"API/Types/Message Content/Location.swift",
"API/Types/Message Content/Photo.swift",
"API/Types/Message Content/Venue.swift",
"API/Types/Message Content/Video.swift",
"API/Types/Message Content/VideoNote.swift",
"API/Types/Message Content/Voice.swift",
"API/Types/Message/Message.swift",
"API/Types/Message/MessageEntity.swift",
"API/Types/Message/MessageParseMode.swift",
"API/Types/Message/MessageType.swift",
"API/Types/Payments/Invoice.swift",
"API/Types/Payments/LabeledPrice.swift",
"API/Types/Payments/OrderInfo.swift",
"API/Types/Payments/PreCheckoutQuery.swift",
"API/Types/Payments/ShippingAddress.swift",
"API/Types/Payments/ShippingOption.swift",
"API/Types/Payments/ShippingQuery.swift",
"API/Types/Payments/SuccessfulPayment.swift",
"API/Types/Stickers/MaskPosition.swift",
"API/Types/Stickers/MaskPositionPoint.swift",
"API/Types/Stickers/Sticker.swift",
"API/Types/Stickers/StickerSet.swift",
"API/Types/Type+Custom.swift",
"API/Types/Type+Error.swift",
"API/Types/Type+Extensions.swift",
"API/Types/Type+Protocols.swift",
"API/Types/Type+Standard.swift",
"API/Types/User/User.swift",
"API/Types/User/UserProfilePhotos.swift",
"HTTP/Status.swift",
"HTTP/Version.swift",
"Pelican/Client/Client.swift",
"Pelican/Client/ClientConnection+Error.swift",
"Pelican/Client/ClientConnection.swift",
"Pelican/Client/Portal.swift",
"Pelican/Client/Result.swift",
"Pelican/Files/Cache+Error.swift",
"Pelican/Files/CacheFile.swift",
"Pelican/Files/CacheManager.swift",
"Pelican/Log/Log+Debug.swift",
"Pelican/Log/Log+Enum.swift",
"Pelican/Log/Log+Prints.swift",
"Pelican/Log/Log.swift",
"Pelican/Log/LogLevel.swift",
"Pelican/Moderator/Moderator.swift",
"Pelican/Pelican+Delegates.swift",
"Pelican/Pelican+Errors.swift",
"Pelican/Pelican+Files.swift",
"Pelican/Pelican.swift",
"Pelican/Queues/LoopQueue.swift",
"Pelican/Schedule/Duration.swift",
"Pelican/Schedule/Schedule.swift",
"Pelican/Schedule/ScheduleEvent.swift",
"Pelican/Session Handling/SessionBuilder.swift",
"Pelican/Session Handling/SessionManager.swift",
"Pelican/Session Handling/Spawn.swift",
"Pelican/Update/Update.swift",
"Pelican/Update/UpdateType.swift",
"Session/Core/Session.swift",
"Session/Core/SessionIDType.swift",
"Session/Core/SessionTag.swift",
"Session/Modules/API Request/Async/Async+Admin.swift",
"Session/Modules/API Request/Async/Async+Answer.swift",
"Session/Modules/API Request/Async/Async+Basic.swift",
"Session/Modules/API Request/Async/Async+Edit.swift",
"Session/Modules/API Request/Async/Async+Stickers.swift",
"Session/Modules/API Request/Async/MethodRequestAsync.swift",
"Session/Modules/API Request/MethodRequest.swift",
"Session/Modules/API Request/Sync/MethodRequestSync.swift",
"Session/Modules/API Request/Sync/Sync+Admin.swift",
"Session/Modules/API Request/Sync/Sync+Answer.swift",
"Session/Modules/API Request/Sync/Sync+Basic.swift",
"Session/Modules/API Request/Sync/Sync+Edit.swift",
"Session/Modules/API Request/Sync/Sync+Payments.swift",
"Session/Modules/API Request/Sync/Sync+Stickers.swift",
"Session/Modules/DispatchQueue/SessionDispatchQueue.swift",
"Session/Modules/Event/SessionEvent.swift",
"Session/Modules/Filter/UpdateFilter.swift",
"Session/Modules/Moderator/SessionModerator.swift",
"Session/Modules/Monitor/FloodMonitor.swift",
"Session/Modules/Monitor/TimeoutMonitor.swift",
"Session/Modules/Router/Route.swift",
"Session/Modules/Router/Types/RouteCommand.swift",
"Session/Modules/Router/Types/RouteListen.swift",
"Session/Modules/Router/Types/RouteManual.swift",
"Session/Modules/Router/Types/RoutePass.swift",
"Session/Modules/ScheduleQueue/Queue.swift",
"Session/Modules/Session Request/SessionRequest.swift",
"Session/Types/ChatSession.swift",
"Session/Types/UserSession.swift",
"Utilities/CasedEnum.swift",
"Utilities/CwlRandom.swift",
"Utilities/SynchronisedArray.swift",
"Utilities/SynchronisedDictionary.swift",
"Utilities/Utilities.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.