Build Information
Successful build of Pelican, reference master (acb0ce
), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 20:38:25 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/takanu/pelican
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at acb0cea Fixed Schedule unwrapping issue
Cloned https://github.com/takanu/pelican.git
Revision (git rev-parse @):
acb0cea3bb5b98721496fcb2f7c81c18c6e785bf
SUCCESS checkout https://github.com/takanu/pelican.git at master
========================================
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] Emitting module SwiftyJSON
[5/6] Compiling SwiftyJSON SwiftyJSON.swift
[6/6] Compiling SwiftyJSON LclJSONSerialization.swift
[7/148] 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/163] Compiling Pelican Async+Stickers.swift
[9/163] Compiling Pelican MethodRequestAsync.swift
[10/163] Compiling Pelican MethodRequest.swift
[11/163] Compiling Pelican MethodRequestSync.swift
[12/163] Compiling Pelican Sync+Admin.swift
[13/163] Compiling Pelican Sync+Answer.swift
[14/163] Compiling Pelican Sync+Basic.swift
[15/163] Compiling Pelican Sync+Edit.swift
[16/163] Compiling Pelican Sync+Payments.swift
[17/163] Compiling Pelican Sync+Stickers.swift
[18/163] Compiling Pelican SessionDispatchQueue.swift
[19/163] Compiling Pelican SessionEvent.swift
[20/163] Compiling Pelican UpdateFilter.swift
[21/163] Compiling Pelican SessionModerator.swift
[22/163] Compiling Pelican FloodMonitor.swift
[23/163] Compiling Pelican Cache+Error.swift
[24/163] Compiling Pelican CacheFile.swift
[25/163] Compiling Pelican CacheManager.swift
[26/163] Compiling Pelican Log+Debug.swift
[27/163] Compiling Pelican Log+Enum.swift
[28/163] Compiling Pelican Log+Prints.swift
[29/163] Compiling Pelican Log.swift
[30/163] Compiling Pelican LogLevel.swift
[31/163] Compiling Pelican Moderator.swift
[32/163] Compiling Pelican Pelican+Delegates.swift
[33/163] Compiling Pelican Pelican+Errors.swift
[34/163] Compiling Pelican Pelican+Files.swift
[35/163] Compiling Pelican Pelican.swift
[36/163] Compiling Pelican LoopQueue.swift
[37/163] Compiling Pelican Duration.swift
[38/163] Compiling Pelican Codable+String.swift
[39/163] Compiling Pelican Request+Admin.swift
[40/163] Compiling Pelican Request+Answer.swift
[41/163] Compiling Pelican Request+Basic.swift
[42/163] Compiling Pelican Request+Chat.swift
[43/163] Compiling Pelican Request+EditMessage.swift
[44/163] Compiling Pelican Request+Game.swift
[45/163] Compiling Pelican Request+Payments.swift
[46/163] Compiling Pelican Request+Stickers.swift
[47/163] Compiling Pelican TelegramRequest.swift
[48/163] Compiling Pelican TelegramResponse.swift
[49/163] Compiling Pelican TelegramResponseError.swift
[50/163] Compiling Pelican InputMedia.swift
[51/163] Compiling Pelican InputMediaPhoto.swift
[52/163] Compiling Pelican InputMediaVideo.swift
[53/163] Compiling Pelican CallbackQuery.swift
[54/163] 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>
[55/163] 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>
[56/163] 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>
[57/163] 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>
[58/163] 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>
[59/163] 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>
[60/163] 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>
[61/163] 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>
[62/163] 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>
[63/163] 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>
[64/163] 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>
[65/163] 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>
[66/163] 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>
[67/163] 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>
[68/163] 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>
[69/163] Compiling Pelican Result.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>
[70/163] Compiling Pelican Schedule.swift
[71/163] Compiling Pelican ScheduleEvent.swift
[72/163] Compiling Pelican SessionBuilder.swift
[73/163] Compiling Pelican SessionManager.swift
[74/163] Compiling Pelican Spawn.swift
[75/163] Compiling Pelican Update.swift
[76/163] Compiling Pelican UpdateType.swift
[77/163] Compiling Pelican Session.swift
[78/163] Compiling Pelican SessionDelegate.swift
[79/163] Compiling Pelican SessionIDType.swift
[80/163] Compiling Pelican SessionTag.swift
[81/163] Compiling Pelican Async+Admin.swift
[82/163] Compiling Pelican Async+Answer.swift
[83/163] Compiling Pelican Async+Basic.swift
[84/163] Compiling Pelican Async+Edit.swift
[85/163] Compiling Pelican InputMessageContent_Venue.swift
[86/163] Compiling Pelican ForceReply.swift
[87/163] Compiling Pelican InlineKey.swift
[88/163] Compiling Pelican InlineKeyType.swift
[89/163] Compiling Pelican InlineKeyboard.swift
[90/163] Compiling Pelican Keyboard.swift
[91/163] Compiling Pelican KeyboardKey.swift
[92/163] Compiling Pelican KeyboardRemove.swift
[93/163] Compiling Pelican MarkupType.swift
[94/163] Compiling Pelican Audio.swift
[95/163] Compiling Pelican Contact.swift
[96/163] Compiling Pelican Document.swift
[97/163] Compiling Pelican Location.swift
[98/163] Compiling Pelican Photo.swift
[99/163] Compiling Pelican Venue.swift
[100/163] Compiling Pelican Video.swift
[101/163] Compiling Pelican Chat.swift
[102/163] Compiling Pelican ChatAction.swift
[103/163] Compiling Pelican ChatMember.swift
[104/163] Compiling Pelican ChatPhoto.swift
[105/163] Compiling Pelican FileDownload.swift
[106/163] Compiling Pelican Animation.swift
[107/163] Compiling Pelican Game.swift
[108/163] Compiling Pelican GameHighScore.swift
[109/163] Compiling Pelican ChosenInlineResult.swift
[110/163] Compiling Pelican InlineQuery.swift
[111/163] Compiling Pelican InlineResultArticle.swift
[112/163] Compiling Pelican InlineResultAudio.swift
[113/163] Compiling Pelican InlineResultContact.swift
[114/163] Compiling Pelican InlineResultDocument.swift
[115/163] Compiling Pelican InlineResultGame.swift
[116/163] Compiling Pelican InlineResultGif.swift
[117/163] Compiling Pelican InlineResultLocation.swift
[118/163] Compiling Pelican InlineResultMpeg4Gif.swift
[119/163] Compiling Pelican InlineResultPhoto.swift
[120/163] Compiling Pelican InlineResultSticker.swift
[121/163] Compiling Pelican InlineResultVenue.swift
[122/163] Compiling Pelican InlineResultVideo.swift
[123/163] Compiling Pelican InlineResultVoice.swift
[124/163] Compiling Pelican InlineResult.swift
[125/163] Compiling Pelican InlineResultAny.swift
[126/163] Compiling Pelican InlineResultType.swift
[127/163] Compiling Pelican InputMessageContent.swift
[128/163] Compiling Pelican InputMessageContentType.swift
[129/163] Compiling Pelican InputMessageContent_Any.swift
[130/163] Compiling Pelican InputMessageContent_Contact.swift
[131/163] Compiling Pelican InputMessageContent_Location.swift
[132/163] Compiling Pelican InputMessageContent_Text.swift
[133/163] Compiling Pelican VideoNote.swift
[134/163] Compiling Pelican Voice.swift
[135/163] Compiling Pelican Message.swift
[136/163] Compiling Pelican MessageEntity.swift
[137/163] Compiling Pelican MessageParseMode.swift
[138/163] Compiling Pelican MessageType.swift
[139/163] Compiling Pelican Invoice.swift
[140/163] Compiling Pelican LabeledPrice.swift
[141/163] Compiling Pelican OrderInfo.swift
[142/163] Compiling Pelican PreCheckoutQuery.swift
[143/163] Compiling Pelican ShippingAddress.swift
[144/163] Compiling Pelican ShippingOption.swift
[145/163] Compiling Pelican ShippingQuery.swift
[146/163] Compiling Pelican SuccessfulPayment.swift
[147/163] Compiling Pelican MaskPosition.swift
[148/163] Compiling Pelican MaskPositionPoint.swift
[149/163] 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()
[150/163] 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()
[151/163] 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()
[152/163] 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()
[153/163] 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()
[154/163] 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()
[155/163] 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()
[156/163] 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()
[157/163] 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()
[158/163] 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()
[159/163] 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()
[160/163] 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()
[161/163] 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()
[162/163] 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()
[163/163] 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.82s)
Fetching https://github.com/IBM-Swift/SwiftyJSON.git
[1/2687] Fetching swiftyjson
Fetched https://github.com/IBM-Swift/SwiftyJSON.git from cache (0.97s)
Computing version for https://github.com/IBM-Swift/SwiftyJSON.git
Computed https://github.com/IBM-Swift/SwiftyJSON.git at 17.0.5 (2.99s)
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/SessionDelegate.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.