Build Information
Successful build of LispKit, reference 2.5.0 (0e3e5e
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 01:48:19 UTC.
Swift 6 data race errors: 84
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
36 | /// raw continuations for encapsulating the state of a virtual machine.
37 | ///
38 | public final class Procedure: Reference, CustomStringConvertible {
| `- note: class 'Procedure' does not conform to the 'Sendable' protocol
39 |
40 | /// Count procedure objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CoreLibrary.swift:26:23: warning: static property 'voidProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | internal static let idProc = Procedure("identity", CoreLibrary.identity)
26 | internal static let voidProc = Procedure("void", CoreLibrary.voidConst)
| |- warning: static property 'voidProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'voidProc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// The compileAndEval procedure
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Procedure.swift:38:20: note: class 'Procedure' does not conform to the 'Sendable' protocol
36 | /// raw continuations for encapsulating the state of a virtual machine.
37 | ///
38 | public final class Procedure: Reference, CustomStringConvertible {
| `- note: class 'Procedure' does not conform to the 'Sendable' protocol
39 |
40 | /// Count procedure objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CryptoLibrary.swift:671:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
669 |
670 | /// Type representing secure keys
671 | public static let type = Type.objectType(Symbol(uninterned: "secure-key"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
672 |
673 | /// The secure key
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DateTimeLibrary.swift:711:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
709 |
710 | /// Type representing date times.
711 | public static let type = Type.objectType(Symbol(uninterned: "date-time"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
712 |
713 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DrawingLibrary.swift:2008:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
2006 |
2007 | /// Type representing fonts
2008 | public static let type = Type.objectType(Symbol(uninterned: "font"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2009 |
2010 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DrawingLibrary.swift:2028:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
2026 |
2027 | /// Type representing images
2028 | public static let type = Type.objectType(Symbol(uninterned: "image"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2029 |
2030 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/EnumLibrary.swift:929:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
927 |
928 | /// Type representing enum types
929 | public static let type = Type.objectType(Symbol(uninterned: "enum-type"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
930 |
931 | /// Count enum type objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:610:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
608 |
609 | public final class HTTPRequest: NativeObject {
610 | public static let type = Type.objectType(Symbol(uninterned: "http-request"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 |
612 | public let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:721:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
719 |
720 | public final class HTTPResponse: NativeObject {
721 | public static let type = Type.objectType(Symbol(uninterned: "http-response"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
722 |
723 | public let response: HTTPURLResponse
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:779:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
777 |
778 | public final class HTTPSession: NativeObject {
779 | public static let type = Type.objectType(Symbol(uninterned: "http-session"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
780 |
781 | public let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:272:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
270 | session.session.getAllTasks { tasks in
271 | do {
272 | _ = try result.setResult(in: self.context, to: .makeNumber(tasks.count))
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
273 | } catch {}
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:272:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
270 | session.session.getAllTasks { tasks in
271 | do {
272 | _ = try result.setResult(in: self.context, to: .makeNumber(tasks.count))
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
273 | } catch {}
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:283:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
281 | session.session.flush {
282 | do {
283 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
284 | } catch {}
285 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:283:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
281 | session.session.flush {
282 | do {
283 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
284 | } catch {}
285 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:294:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
292 | session.session.reset {
293 | do {
294 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
295 | } catch {}
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:294:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
292 | session.session.reset {
293 | do {
294 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
295 | } catch {}
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:869:68: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
865 |
866 | public func dataTask(with request: URLRequest,
867 | completionHandler: @escaping (Data?, URLResponse?, (any Error)?) -> Void)
| `- note: parameter 'completionHandler' is implicitly non-sendable
868 | -> URLSessionDataTask {
869 | return self.session.dataTask(with: request, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
870 | }
871 |
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:876:82: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
872 | public func uploadTask(with request: URLRequest,
873 | from data: Data? = nil,
874 | completionHandler: @escaping (Data?, URLResponse?, (any Error)?) -> Void)
| `- note: parameter 'completionHandler' is implicitly non-sendable
875 | -> URLSessionUploadTask {
876 | return self.session.uploadTask(with: request, from: data, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
877 | }
878 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:28:21: warning: static property 'authRequestManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Manager of ongoing authentication request flows
28 | public static var authRequestManager = AuthenticatedRequestManager()
| |- warning: static property 'authRequestManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'authRequestManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'authRequestManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Factory for creating embedded auth configurators
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:31:21: warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Factory for creating embedded auth configurators
31 | public static var libraryConfig: HTTPOAuthConfig.Type = LispKitHTTPOAuthConfig.self
| |- warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'libraryConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'libraryConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | // The configurator for customizable parts of the library
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:857:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
855 |
856 | public final class OAuth2Protocol: NativeObject {
857 | public static let type = Type.objectType(Symbol(uninterned: "oauth2"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
858 |
859 | fileprivate let flow: Symbol
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:887:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
885 |
886 | public final class OAuth2Session: NativeObject {
887 | public static let type = Type.objectType(Symbol(uninterned: "oauth2-session"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
888 |
889 | fileprivate let oauth2: OAuth2Protocol
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:33:21: warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // Factory for types used in this library
33 | public static var libraryConfig: HTTPServerConfig = LispKitHTTPServerConfig()
| |- warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'libraryConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'libraryConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // Running servers
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1093:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1091 | ///
1092 | public final class HTTPServerRequest: NativeObject {
1093 | public static let type = Type.objectType(Symbol(uninterned: "srv-request"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1094 |
1095 | public let connection: NanoHTTPConnection
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1146:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1144 | ///
1145 | public final class HTTPServerResponse: NativeObject {
1146 | public static let type = Type.objectType(Symbol(uninterned: "srv-response"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1147 |
1148 | public var response: NanoHTTPResponse
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1198:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1196 | ///
1197 | public final class HTTPMultiPart: NativeObject {
1198 | public static let type = Type.objectType(Symbol(uninterned: "srv-multipart"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1199 |
1200 | public var multipart: NanoHTTPRequest.MultiPart
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1230:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1228 | open class HTTPServer: NanoHTTPServer, Abortable, CustomExpr {
1229 | public static let handlerKey = "http-server/handler"
1230 | public static let type = Type.objectType(Symbol(uninterned: "http-server"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1231 |
1232 | public weak var context: Context?
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
[502/523] Compiling LispKit FormatLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CoreLibrary.swift:25:23: warning: static property 'idProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public final class CoreLibrary: NativeLibrary {
24 |
25 | internal static let idProc = Procedure("identity", CoreLibrary.identity)
| |- warning: static property 'idProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idProc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | internal static let voidProc = Procedure("void", CoreLibrary.voidConst)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Procedure.swift:38:20: note: class 'Procedure' does not conform to the 'Sendable' protocol
36 | /// raw continuations for encapsulating the state of a virtual machine.
37 | ///
38 | public final class Procedure: Reference, CustomStringConvertible {
| `- note: class 'Procedure' does not conform to the 'Sendable' protocol
39 |
40 | /// Count procedure objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CoreLibrary.swift:26:23: warning: static property 'voidProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | internal static let idProc = Procedure("identity", CoreLibrary.identity)
26 | internal static let voidProc = Procedure("void", CoreLibrary.voidConst)
| |- warning: static property 'voidProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'voidProc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// The compileAndEval procedure
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Procedure.swift:38:20: note: class 'Procedure' does not conform to the 'Sendable' protocol
36 | /// raw continuations for encapsulating the state of a virtual machine.
37 | ///
38 | public final class Procedure: Reference, CustomStringConvertible {
| `- note: class 'Procedure' does not conform to the 'Sendable' protocol
39 |
40 | /// Count procedure objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CryptoLibrary.swift:671:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
669 |
670 | /// Type representing secure keys
671 | public static let type = Type.objectType(Symbol(uninterned: "secure-key"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
672 |
673 | /// The secure key
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DateTimeLibrary.swift:711:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
709 |
710 | /// Type representing date times.
711 | public static let type = Type.objectType(Symbol(uninterned: "date-time"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
712 |
713 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DrawingLibrary.swift:2008:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
2006 |
2007 | /// Type representing fonts
2008 | public static let type = Type.objectType(Symbol(uninterned: "font"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2009 |
2010 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DrawingLibrary.swift:2028:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
2026 |
2027 | /// Type representing images
2028 | public static let type = Type.objectType(Symbol(uninterned: "image"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2029 |
2030 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/EnumLibrary.swift:929:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
927 |
928 | /// Type representing enum types
929 | public static let type = Type.objectType(Symbol(uninterned: "enum-type"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
930 |
931 | /// Count enum type objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:610:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
608 |
609 | public final class HTTPRequest: NativeObject {
610 | public static let type = Type.objectType(Symbol(uninterned: "http-request"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 |
612 | public let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:721:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
719 |
720 | public final class HTTPResponse: NativeObject {
721 | public static let type = Type.objectType(Symbol(uninterned: "http-response"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
722 |
723 | public let response: HTTPURLResponse
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:779:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
777 |
778 | public final class HTTPSession: NativeObject {
779 | public static let type = Type.objectType(Symbol(uninterned: "http-session"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
780 |
781 | public let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:272:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
270 | session.session.getAllTasks { tasks in
271 | do {
272 | _ = try result.setResult(in: self.context, to: .makeNumber(tasks.count))
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
273 | } catch {}
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:272:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
270 | session.session.getAllTasks { tasks in
271 | do {
272 | _ = try result.setResult(in: self.context, to: .makeNumber(tasks.count))
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
273 | } catch {}
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:283:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
281 | session.session.flush {
282 | do {
283 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
284 | } catch {}
285 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:283:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
281 | session.session.flush {
282 | do {
283 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
284 | } catch {}
285 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:294:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
292 | session.session.reset {
293 | do {
294 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
295 | } catch {}
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:294:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
292 | session.session.reset {
293 | do {
294 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
295 | } catch {}
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:869:68: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
865 |
866 | public func dataTask(with request: URLRequest,
867 | completionHandler: @escaping (Data?, URLResponse?, (any Error)?) -> Void)
| `- note: parameter 'completionHandler' is implicitly non-sendable
868 | -> URLSessionDataTask {
869 | return self.session.dataTask(with: request, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
870 | }
871 |
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:876:82: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
872 | public func uploadTask(with request: URLRequest,
873 | from data: Data? = nil,
874 | completionHandler: @escaping (Data?, URLResponse?, (any Error)?) -> Void)
| `- note: parameter 'completionHandler' is implicitly non-sendable
875 | -> URLSessionUploadTask {
876 | return self.session.uploadTask(with: request, from: data, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
877 | }
878 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:28:21: warning: static property 'authRequestManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Manager of ongoing authentication request flows
28 | public static var authRequestManager = AuthenticatedRequestManager()
| |- warning: static property 'authRequestManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'authRequestManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'authRequestManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Factory for creating embedded auth configurators
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:31:21: warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Factory for creating embedded auth configurators
31 | public static var libraryConfig: HTTPOAuthConfig.Type = LispKitHTTPOAuthConfig.self
| |- warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'libraryConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'libraryConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | // The configurator for customizable parts of the library
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:857:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
855 |
856 | public final class OAuth2Protocol: NativeObject {
857 | public static let type = Type.objectType(Symbol(uninterned: "oauth2"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
858 |
859 | fileprivate let flow: Symbol
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:887:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
885 |
886 | public final class OAuth2Session: NativeObject {
887 | public static let type = Type.objectType(Symbol(uninterned: "oauth2-session"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
888 |
889 | fileprivate let oauth2: OAuth2Protocol
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:33:21: warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // Factory for types used in this library
33 | public static var libraryConfig: HTTPServerConfig = LispKitHTTPServerConfig()
| |- warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'libraryConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'libraryConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // Running servers
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1093:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1091 | ///
1092 | public final class HTTPServerRequest: NativeObject {
1093 | public static let type = Type.objectType(Symbol(uninterned: "srv-request"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1094 |
1095 | public let connection: NanoHTTPConnection
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1146:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1144 | ///
1145 | public final class HTTPServerResponse: NativeObject {
1146 | public static let type = Type.objectType(Symbol(uninterned: "srv-response"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1147 |
1148 | public var response: NanoHTTPResponse
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1198:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1196 | ///
1197 | public final class HTTPMultiPart: NativeObject {
1198 | public static let type = Type.objectType(Symbol(uninterned: "srv-multipart"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1199 |
1200 | public var multipart: NanoHTTPRequest.MultiPart
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1230:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1228 | open class HTTPServer: NanoHTTPServer, Abortable, CustomExpr {
1229 | public static let handlerKey = "http-server/handler"
1230 | public static let type = Type.objectType(Symbol(uninterned: "http-server"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1231 |
1232 | public weak var context: Context?
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
[503/523] Compiling LispKit GrowableVectorLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CoreLibrary.swift:25:23: warning: static property 'idProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public final class CoreLibrary: NativeLibrary {
24 |
25 | internal static let idProc = Procedure("identity", CoreLibrary.identity)
| |- warning: static property 'idProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idProc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | internal static let voidProc = Procedure("void", CoreLibrary.voidConst)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Procedure.swift:38:20: note: class 'Procedure' does not conform to the 'Sendable' protocol
36 | /// raw continuations for encapsulating the state of a virtual machine.
37 | ///
38 | public final class Procedure: Reference, CustomStringConvertible {
| `- note: class 'Procedure' does not conform to the 'Sendable' protocol
39 |
40 | /// Count procedure objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CoreLibrary.swift:26:23: warning: static property 'voidProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | internal static let idProc = Procedure("identity", CoreLibrary.identity)
26 | internal static let voidProc = Procedure("void", CoreLibrary.voidConst)
| |- warning: static property 'voidProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'voidProc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// The compileAndEval procedure
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Procedure.swift:38:20: note: class 'Procedure' does not conform to the 'Sendable' protocol
36 | /// raw continuations for encapsulating the state of a virtual machine.
37 | ///
38 | public final class Procedure: Reference, CustomStringConvertible {
| `- note: class 'Procedure' does not conform to the 'Sendable' protocol
39 |
40 | /// Count procedure objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CryptoLibrary.swift:671:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
669 |
670 | /// Type representing secure keys
671 | public static let type = Type.objectType(Symbol(uninterned: "secure-key"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
672 |
673 | /// The secure key
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DateTimeLibrary.swift:711:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
709 |
710 | /// Type representing date times.
711 | public static let type = Type.objectType(Symbol(uninterned: "date-time"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
712 |
713 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DrawingLibrary.swift:2008:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
2006 |
2007 | /// Type representing fonts
2008 | public static let type = Type.objectType(Symbol(uninterned: "font"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2009 |
2010 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DrawingLibrary.swift:2028:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
2026 |
2027 | /// Type representing images
2028 | public static let type = Type.objectType(Symbol(uninterned: "image"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2029 |
2030 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/EnumLibrary.swift:929:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
927 |
928 | /// Type representing enum types
929 | public static let type = Type.objectType(Symbol(uninterned: "enum-type"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
930 |
931 | /// Count enum type objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:610:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
608 |
609 | public final class HTTPRequest: NativeObject {
610 | public static let type = Type.objectType(Symbol(uninterned: "http-request"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 |
612 | public let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:721:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
719 |
720 | public final class HTTPResponse: NativeObject {
721 | public static let type = Type.objectType(Symbol(uninterned: "http-response"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
722 |
723 | public let response: HTTPURLResponse
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:779:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
777 |
778 | public final class HTTPSession: NativeObject {
779 | public static let type = Type.objectType(Symbol(uninterned: "http-session"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
780 |
781 | public let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:272:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
270 | session.session.getAllTasks { tasks in
271 | do {
272 | _ = try result.setResult(in: self.context, to: .makeNumber(tasks.count))
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
273 | } catch {}
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:272:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
270 | session.session.getAllTasks { tasks in
271 | do {
272 | _ = try result.setResult(in: self.context, to: .makeNumber(tasks.count))
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
273 | } catch {}
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:283:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
281 | session.session.flush {
282 | do {
283 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
284 | } catch {}
285 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:283:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
281 | session.session.flush {
282 | do {
283 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
284 | } catch {}
285 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:294:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
292 | session.session.reset {
293 | do {
294 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
295 | } catch {}
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:294:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
292 | session.session.reset {
293 | do {
294 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
295 | } catch {}
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:869:68: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
865 |
866 | public func dataTask(with request: URLRequest,
867 | completionHandler: @escaping (Data?, URLResponse?, (any Error)?) -> Void)
| `- note: parameter 'completionHandler' is implicitly non-sendable
868 | -> URLSessionDataTask {
869 | return self.session.dataTask(with: request, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
870 | }
871 |
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:876:82: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
872 | public func uploadTask(with request: URLRequest,
873 | from data: Data? = nil,
874 | completionHandler: @escaping (Data?, URLResponse?, (any Error)?) -> Void)
| `- note: parameter 'completionHandler' is implicitly non-sendable
875 | -> URLSessionUploadTask {
876 | return self.session.uploadTask(with: request, from: data, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
877 | }
878 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:28:21: warning: static property 'authRequestManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Manager of ongoing authentication request flows
28 | public static var authRequestManager = AuthenticatedRequestManager()
| |- warning: static property 'authRequestManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'authRequestManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'authRequestManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Factory for creating embedded auth configurators
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:31:21: warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Factory for creating embedded auth configurators
31 | public static var libraryConfig: HTTPOAuthConfig.Type = LispKitHTTPOAuthConfig.self
| |- warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'libraryConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'libraryConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | // The configurator for customizable parts of the library
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:857:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
855 |
856 | public final class OAuth2Protocol: NativeObject {
857 | public static let type = Type.objectType(Symbol(uninterned: "oauth2"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
858 |
859 | fileprivate let flow: Symbol
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:887:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
885 |
886 | public final class OAuth2Session: NativeObject {
887 | public static let type = Type.objectType(Symbol(uninterned: "oauth2-session"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
888 |
889 | fileprivate let oauth2: OAuth2Protocol
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:33:21: warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // Factory for types used in this library
33 | public static var libraryConfig: HTTPServerConfig = LispKitHTTPServerConfig()
| |- warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'libraryConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'libraryConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // Running servers
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1093:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1091 | ///
1092 | public final class HTTPServerRequest: NativeObject {
1093 | public static let type = Type.objectType(Symbol(uninterned: "srv-request"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1094 |
1095 | public let connection: NanoHTTPConnection
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1146:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1144 | ///
1145 | public final class HTTPServerResponse: NativeObject {
1146 | public static let type = Type.objectType(Symbol(uninterned: "srv-response"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1147 |
1148 | public var response: NanoHTTPResponse
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1198:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1196 | ///
1197 | public final class HTTPMultiPart: NativeObject {
1198 | public static let type = Type.objectType(Symbol(uninterned: "srv-multipart"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1199 |
1200 | public var multipart: NanoHTTPRequest.MultiPart
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1230:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1228 | open class HTTPServer: NanoHTTPServer, Abortable, CustomExpr {
1229 | public static let handlerKey = "http-server/handler"
1230 | public static let type = Type.objectType(Symbol(uninterned: "http-server"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1231 |
1232 | public weak var context: Context?
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
[504/523] Compiling LispKit HTTPLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CoreLibrary.swift:25:23: warning: static property 'idProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public final class CoreLibrary: NativeLibrary {
24 |
25 | internal static let idProc = Procedure("identity", CoreLibrary.identity)
| |- warning: static property 'idProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idProc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | internal static let voidProc = Procedure("void", CoreLibrary.voidConst)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Procedure.swift:38:20: note: class 'Procedure' does not conform to the 'Sendable' protocol
36 | /// raw continuations for encapsulating the state of a virtual machine.
37 | ///
38 | public final class Procedure: Reference, CustomStringConvertible {
| `- note: class 'Procedure' does not conform to the 'Sendable' protocol
39 |
40 | /// Count procedure objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CoreLibrary.swift:26:23: warning: static property 'voidProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | internal static let idProc = Procedure("identity", CoreLibrary.identity)
26 | internal static let voidProc = Procedure("void", CoreLibrary.voidConst)
| |- warning: static property 'voidProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'voidProc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// The compileAndEval procedure
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Procedure.swift:38:20: note: class 'Procedure' does not conform to the 'Sendable' protocol
36 | /// raw continuations for encapsulating the state of a virtual machine.
37 | ///
38 | public final class Procedure: Reference, CustomStringConvertible {
| `- note: class 'Procedure' does not conform to the 'Sendable' protocol
39 |
40 | /// Count procedure objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CryptoLibrary.swift:671:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
669 |
670 | /// Type representing secure keys
671 | public static let type = Type.objectType(Symbol(uninterned: "secure-key"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
672 |
673 | /// The secure key
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DateTimeLibrary.swift:711:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
709 |
710 | /// Type representing date times.
711 | public static let type = Type.objectType(Symbol(uninterned: "date-time"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
712 |
713 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DrawingLibrary.swift:2008:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
2006 |
2007 | /// Type representing fonts
2008 | public static let type = Type.objectType(Symbol(uninterned: "font"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2009 |
2010 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DrawingLibrary.swift:2028:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
2026 |
2027 | /// Type representing images
2028 | public static let type = Type.objectType(Symbol(uninterned: "image"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2029 |
2030 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/EnumLibrary.swift:929:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
927 |
928 | /// Type representing enum types
929 | public static let type = Type.objectType(Symbol(uninterned: "enum-type"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
930 |
931 | /// Count enum type objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:610:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
608 |
609 | public final class HTTPRequest: NativeObject {
610 | public static let type = Type.objectType(Symbol(uninterned: "http-request"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 |
612 | public let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:721:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
719 |
720 | public final class HTTPResponse: NativeObject {
721 | public static let type = Type.objectType(Symbol(uninterned: "http-response"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
722 |
723 | public let response: HTTPURLResponse
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:779:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
777 |
778 | public final class HTTPSession: NativeObject {
779 | public static let type = Type.objectType(Symbol(uninterned: "http-session"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
780 |
781 | public let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:272:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
270 | session.session.getAllTasks { tasks in
271 | do {
272 | _ = try result.setResult(in: self.context, to: .makeNumber(tasks.count))
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
273 | } catch {}
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:272:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
270 | session.session.getAllTasks { tasks in
271 | do {
272 | _ = try result.setResult(in: self.context, to: .makeNumber(tasks.count))
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
273 | } catch {}
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:283:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
281 | session.session.flush {
282 | do {
283 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
284 | } catch {}
285 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:283:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
281 | session.session.flush {
282 | do {
283 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
284 | } catch {}
285 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:294:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
292 | session.session.reset {
293 | do {
294 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
295 | } catch {}
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:294:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
292 | session.session.reset {
293 | do {
294 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
295 | } catch {}
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:869:68: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
865 |
866 | public func dataTask(with request: URLRequest,
867 | completionHandler: @escaping (Data?, URLResponse?, (any Error)?) -> Void)
| `- note: parameter 'completionHandler' is implicitly non-sendable
868 | -> URLSessionDataTask {
869 | return self.session.dataTask(with: request, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
870 | }
871 |
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:876:82: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
872 | public func uploadTask(with request: URLRequest,
873 | from data: Data? = nil,
874 | completionHandler: @escaping (Data?, URLResponse?, (any Error)?) -> Void)
| `- note: parameter 'completionHandler' is implicitly non-sendable
875 | -> URLSessionUploadTask {
876 | return self.session.uploadTask(with: request, from: data, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
877 | }
878 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:28:21: warning: static property 'authRequestManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Manager of ongoing authentication request flows
28 | public static var authRequestManager = AuthenticatedRequestManager()
| |- warning: static property 'authRequestManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'authRequestManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'authRequestManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Factory for creating embedded auth configurators
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:31:21: warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Factory for creating embedded auth configurators
31 | public static var libraryConfig: HTTPOAuthConfig.Type = LispKitHTTPOAuthConfig.self
| |- warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'libraryConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'libraryConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | // The configurator for customizable parts of the library
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:857:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
855 |
856 | public final class OAuth2Protocol: NativeObject {
857 | public static let type = Type.objectType(Symbol(uninterned: "oauth2"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
858 |
859 | fileprivate let flow: Symbol
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:887:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
885 |
886 | public final class OAuth2Session: NativeObject {
887 | public static let type = Type.objectType(Symbol(uninterned: "oauth2-session"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
888 |
889 | fileprivate let oauth2: OAuth2Protocol
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:33:21: warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // Factory for types used in this library
33 | public static var libraryConfig: HTTPServerConfig = LispKitHTTPServerConfig()
| |- warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'libraryConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'libraryConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // Running servers
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1093:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1091 | ///
1092 | public final class HTTPServerRequest: NativeObject {
1093 | public static let type = Type.objectType(Symbol(uninterned: "srv-request"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1094 |
1095 | public let connection: NanoHTTPConnection
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1146:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1144 | ///
1145 | public final class HTTPServerResponse: NativeObject {
1146 | public static let type = Type.objectType(Symbol(uninterned: "srv-response"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1147 |
1148 | public var response: NanoHTTPResponse
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1198:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1196 | ///
1197 | public final class HTTPMultiPart: NativeObject {
1198 | public static let type = Type.objectType(Symbol(uninterned: "srv-multipart"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1199 |
1200 | public var multipart: NanoHTTPRequest.MultiPart
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1230:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1228 | open class HTTPServer: NanoHTTPServer, Abortable, CustomExpr {
1229 | public static let handlerKey = "http-server/handler"
1230 | public static let type = Type.objectType(Symbol(uninterned: "http-server"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1231 |
1232 | public weak var context: Context?
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
[505/523] Compiling LispKit HTTPOAuthLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CoreLibrary.swift:25:23: warning: static property 'idProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public final class CoreLibrary: NativeLibrary {
24 |
25 | internal static let idProc = Procedure("identity", CoreLibrary.identity)
| |- warning: static property 'idProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idProc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | internal static let voidProc = Procedure("void", CoreLibrary.voidConst)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Procedure.swift:38:20: note: class 'Procedure' does not conform to the 'Sendable' protocol
36 | /// raw continuations for encapsulating the state of a virtual machine.
37 | ///
38 | public final class Procedure: Reference, CustomStringConvertible {
| `- note: class 'Procedure' does not conform to the 'Sendable' protocol
39 |
40 | /// Count procedure objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CoreLibrary.swift:26:23: warning: static property 'voidProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | internal static let idProc = Procedure("identity", CoreLibrary.identity)
26 | internal static let voidProc = Procedure("void", CoreLibrary.voidConst)
| |- warning: static property 'voidProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'voidProc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// The compileAndEval procedure
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Procedure.swift:38:20: note: class 'Procedure' does not conform to the 'Sendable' protocol
36 | /// raw continuations for encapsulating the state of a virtual machine.
37 | ///
38 | public final class Procedure: Reference, CustomStringConvertible {
| `- note: class 'Procedure' does not conform to the 'Sendable' protocol
39 |
40 | /// Count procedure objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CryptoLibrary.swift:671:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
669 |
670 | /// Type representing secure keys
671 | public static let type = Type.objectType(Symbol(uninterned: "secure-key"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
672 |
673 | /// The secure key
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DateTimeLibrary.swift:711:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
709 |
710 | /// Type representing date times.
711 | public static let type = Type.objectType(Symbol(uninterned: "date-time"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
712 |
713 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DrawingLibrary.swift:2008:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
2006 |
2007 | /// Type representing fonts
2008 | public static let type = Type.objectType(Symbol(uninterned: "font"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2009 |
2010 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DrawingLibrary.swift:2028:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
2026 |
2027 | /// Type representing images
2028 | public static let type = Type.objectType(Symbol(uninterned: "image"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2029 |
2030 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/EnumLibrary.swift:929:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
927 |
928 | /// Type representing enum types
929 | public static let type = Type.objectType(Symbol(uninterned: "enum-type"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
930 |
931 | /// Count enum type objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:610:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
608 |
609 | public final class HTTPRequest: NativeObject {
610 | public static let type = Type.objectType(Symbol(uninterned: "http-request"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 |
612 | public let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:721:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
719 |
720 | public final class HTTPResponse: NativeObject {
721 | public static let type = Type.objectType(Symbol(uninterned: "http-response"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
722 |
723 | public let response: HTTPURLResponse
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:779:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
777 |
778 | public final class HTTPSession: NativeObject {
779 | public static let type = Type.objectType(Symbol(uninterned: "http-session"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
780 |
781 | public let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:272:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
270 | session.session.getAllTasks { tasks in
271 | do {
272 | _ = try result.setResult(in: self.context, to: .makeNumber(tasks.count))
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
273 | } catch {}
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:272:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
270 | session.session.getAllTasks { tasks in
271 | do {
272 | _ = try result.setResult(in: self.context, to: .makeNumber(tasks.count))
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
273 | } catch {}
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:283:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
281 | session.session.flush {
282 | do {
283 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
284 | } catch {}
285 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:283:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
281 | session.session.flush {
282 | do {
283 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
284 | } catch {}
285 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:294:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
292 | session.session.reset {
293 | do {
294 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
295 | } catch {}
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:294:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
292 | session.session.reset {
293 | do {
294 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
295 | } catch {}
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:869:68: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
865 |
866 | public func dataTask(with request: URLRequest,
867 | completionHandler: @escaping (Data?, URLResponse?, (any Error)?) -> Void)
| `- note: parameter 'completionHandler' is implicitly non-sendable
868 | -> URLSessionDataTask {
869 | return self.session.dataTask(with: request, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
870 | }
871 |
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:876:82: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
872 | public func uploadTask(with request: URLRequest,
873 | from data: Data? = nil,
874 | completionHandler: @escaping (Data?, URLResponse?, (any Error)?) -> Void)
| `- note: parameter 'completionHandler' is implicitly non-sendable
875 | -> URLSessionUploadTask {
876 | return self.session.uploadTask(with: request, from: data, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
877 | }
878 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:28:21: warning: static property 'authRequestManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Manager of ongoing authentication request flows
28 | public static var authRequestManager = AuthenticatedRequestManager()
| |- warning: static property 'authRequestManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'authRequestManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'authRequestManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Factory for creating embedded auth configurators
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:31:21: warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Factory for creating embedded auth configurators
31 | public static var libraryConfig: HTTPOAuthConfig.Type = LispKitHTTPOAuthConfig.self
| |- warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'libraryConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'libraryConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | // The configurator for customizable parts of the library
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:857:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
855 |
856 | public final class OAuth2Protocol: NativeObject {
857 | public static let type = Type.objectType(Symbol(uninterned: "oauth2"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
858 |
859 | fileprivate let flow: Symbol
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:887:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
885 |
886 | public final class OAuth2Session: NativeObject {
887 | public static let type = Type.objectType(Symbol(uninterned: "oauth2-session"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
888 |
889 | fileprivate let oauth2: OAuth2Protocol
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:33:21: warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // Factory for types used in this library
33 | public static var libraryConfig: HTTPServerConfig = LispKitHTTPServerConfig()
| |- warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'libraryConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'libraryConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // Running servers
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1093:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1091 | ///
1092 | public final class HTTPServerRequest: NativeObject {
1093 | public static let type = Type.objectType(Symbol(uninterned: "srv-request"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1094 |
1095 | public let connection: NanoHTTPConnection
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1146:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1144 | ///
1145 | public final class HTTPServerResponse: NativeObject {
1146 | public static let type = Type.objectType(Symbol(uninterned: "srv-response"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1147 |
1148 | public var response: NanoHTTPResponse
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1198:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1196 | ///
1197 | public final class HTTPMultiPart: NativeObject {
1198 | public static let type = Type.objectType(Symbol(uninterned: "srv-multipart"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1199 |
1200 | public var multipart: NanoHTTPRequest.MultiPart
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1230:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1228 | open class HTTPServer: NanoHTTPServer, Abortable, CustomExpr {
1229 | public static let handlerKey = "http-server/handler"
1230 | public static let type = Type.objectType(Symbol(uninterned: "http-server"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1231 |
1232 | public weak var context: Context?
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
[506/523] Compiling LispKit HTTPServerLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CoreLibrary.swift:25:23: warning: static property 'idProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public final class CoreLibrary: NativeLibrary {
24 |
25 | internal static let idProc = Procedure("identity", CoreLibrary.identity)
| |- warning: static property 'idProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idProc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | internal static let voidProc = Procedure("void", CoreLibrary.voidConst)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Procedure.swift:38:20: note: class 'Procedure' does not conform to the 'Sendable' protocol
36 | /// raw continuations for encapsulating the state of a virtual machine.
37 | ///
38 | public final class Procedure: Reference, CustomStringConvertible {
| `- note: class 'Procedure' does not conform to the 'Sendable' protocol
39 |
40 | /// Count procedure objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CoreLibrary.swift:26:23: warning: static property 'voidProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | internal static let idProc = Procedure("identity", CoreLibrary.identity)
26 | internal static let voidProc = Procedure("void", CoreLibrary.voidConst)
| |- warning: static property 'voidProc' is not concurrency-safe because non-'Sendable' type 'Procedure' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'voidProc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// The compileAndEval procedure
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Procedure.swift:38:20: note: class 'Procedure' does not conform to the 'Sendable' protocol
36 | /// raw continuations for encapsulating the state of a virtual machine.
37 | ///
38 | public final class Procedure: Reference, CustomStringConvertible {
| `- note: class 'Procedure' does not conform to the 'Sendable' protocol
39 |
40 | /// Count procedure objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/CryptoLibrary.swift:671:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
669 |
670 | /// Type representing secure keys
671 | public static let type = Type.objectType(Symbol(uninterned: "secure-key"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
672 |
673 | /// The secure key
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DateTimeLibrary.swift:711:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
709 |
710 | /// Type representing date times.
711 | public static let type = Type.objectType(Symbol(uninterned: "date-time"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
712 |
713 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DrawingLibrary.swift:2008:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
2006 |
2007 | /// Type representing fonts
2008 | public static let type = Type.objectType(Symbol(uninterned: "font"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2009 |
2010 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/DrawingLibrary.swift:2028:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
2026 |
2027 | /// Type representing images
2028 | public static let type = Type.objectType(Symbol(uninterned: "image"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2029 |
2030 | public override var type: Type {
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/EnumLibrary.swift:929:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
927 |
928 | /// Type representing enum types
929 | public static let type = Type.objectType(Symbol(uninterned: "enum-type"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
930 |
931 | /// Count enum type objects
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:610:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
608 |
609 | public final class HTTPRequest: NativeObject {
610 | public static let type = Type.objectType(Symbol(uninterned: "http-request"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 |
612 | public let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:721:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
719 |
720 | public final class HTTPResponse: NativeObject {
721 | public static let type = Type.objectType(Symbol(uninterned: "http-response"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
722 |
723 | public let response: HTTPURLResponse
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:779:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
777 |
778 | public final class HTTPSession: NativeObject {
779 | public static let type = Type.objectType(Symbol(uninterned: "http-session"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
780 |
781 | public let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:272:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
270 | session.session.getAllTasks { tasks in
271 | do {
272 | _ = try result.setResult(in: self.context, to: .makeNumber(tasks.count))
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
273 | } catch {}
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:272:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
270 | session.session.getAllTasks { tasks in
271 | do {
272 | _ = try result.setResult(in: self.context, to: .makeNumber(tasks.count))
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
273 | } catch {}
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:283:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
281 | session.session.flush {
282 | do {
283 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
284 | } catch {}
285 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:283:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
281 | session.session.flush {
282 | do {
283 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
284 | } catch {}
285 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:294:17: warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
292 | session.session.reset {
293 | do {
294 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'result' with non-sendable type 'Future' in a '@Sendable' closure
295 | } catch {}
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/ThreadFutureLibrary.swift:224:20: note: class 'Future' does not conform to the 'Sendable' protocol
222 | }
223 |
224 | public final class Future: NativeObject {
| `- note: class 'Future' does not conform to the 'Sendable' protocol
225 |
226 | /// Type representing zip archives
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:294:38: warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
21 | import Foundation
22 |
23 | public final class HTTPLibrary: NativeLibrary {
| `- note: class 'HTTPLibrary' does not conform to the 'Sendable' protocol
24 |
25 | // Parameter objects
:
292 | session.session.reset {
293 | do {
294 | _ = try result.setResult(in: self.context, to: .true)
| `- warning: capture of 'self' with non-sendable type 'HTTPLibrary' in a '@Sendable' closure
295 | } catch {}
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:869:68: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
865 |
866 | public func dataTask(with request: URLRequest,
867 | completionHandler: @escaping (Data?, URLResponse?, (any Error)?) -> Void)
| `- note: parameter 'completionHandler' is implicitly non-sendable
868 | -> URLSessionDataTask {
869 | return self.session.dataTask(with: request, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
870 | }
871 |
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPLibrary.swift:876:82: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
872 | public func uploadTask(with request: URLRequest,
873 | from data: Data? = nil,
874 | completionHandler: @escaping (Data?, URLResponse?, (any Error)?) -> Void)
| `- note: parameter 'completionHandler' is implicitly non-sendable
875 | -> URLSessionUploadTask {
876 | return self.session.uploadTask(with: request, from: data, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
877 | }
878 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:28:21: warning: static property 'authRequestManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Manager of ongoing authentication request flows
28 | public static var authRequestManager = AuthenticatedRequestManager()
| |- warning: static property 'authRequestManager' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'authRequestManager' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'authRequestManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Factory for creating embedded auth configurators
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:31:21: warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Factory for creating embedded auth configurators
31 | public static var libraryConfig: HTTPOAuthConfig.Type = LispKitHTTPOAuthConfig.self
| |- warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'libraryConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'libraryConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | // The configurator for customizable parts of the library
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:857:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
855 |
856 | public final class OAuth2Protocol: NativeObject {
857 | public static let type = Type.objectType(Symbol(uninterned: "oauth2"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
858 |
859 | fileprivate let flow: Symbol
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPOAuthLibrary.swift:887:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
885 |
886 | public final class OAuth2Session: NativeObject {
887 | public static let type = Type.objectType(Symbol(uninterned: "oauth2-session"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
888 |
889 | fileprivate let oauth2: OAuth2Protocol
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:33:21: warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | // Factory for types used in this library
33 | public static var libraryConfig: HTTPServerConfig = LispKitHTTPServerConfig()
| |- warning: static property 'libraryConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'libraryConfig' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'libraryConfig' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | // Running servers
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1093:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1091 | ///
1092 | public final class HTTPServerRequest: NativeObject {
1093 | public static let type = Type.objectType(Symbol(uninterned: "srv-request"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1094 |
1095 | public let connection: NanoHTTPConnection
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1146:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1144 | ///
1145 | public final class HTTPServerResponse: NativeObject {
1146 | public static let type = Type.objectType(Symbol(uninterned: "srv-response"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1147 |
1148 | public var response: NanoHTTPResponse
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1198:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1196 | ///
1197 | public final class HTTPMultiPart: NativeObject {
1198 | public static let type = Type.objectType(Symbol(uninterned: "srv-multipart"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1199 |
1200 | public var multipart: NanoHTTPRequest.MultiPart
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Primitives/HTTPServerLibrary.swift:1230:21: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
1228 | open class HTTPServer: NanoHTTPServer, Abortable, CustomExpr {
1229 | public static let handlerKey = "http-server/handler"
1230 | public static let type = Type.objectType(Symbol(uninterned: "http-server"))
| |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'Type' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1231 |
1232 | public weak var context: Context?
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Data/Type.swift:24:13: note: consider making enum 'Type' conform to the 'Sendable' protocol
22 | /// `Type` represents a type of an expression/value
23 | ///
24 | public enum Type: Hashable, CustomStringConvertible {
| `- note: consider making enum 'Type' conform to the 'Sendable' protocol
25 | case undefinedType
26 | case errorType
[507/523] Compiling LispKit ScanBuffer.swift
[508/523] Compiling LispKit String.swift
[509/523] Compiling LispKit StringBuilder.swift
[510/523] Compiling LispKit Sysctl.swift
[511/523] Compiling LispKit Timer.swift
[512/523] Compiling LispKit TrackedObject.swift
[513/523] Compiling LispKit BindingGroup.swift
[514/523] Compiling LispKit CaptureGroup.swift
[515/523] Compiling LispKit Checkpointer.swift
[516/523] Compiling LispKit Compiler.swift
[517/523] Compiling LispKit Env.swift
[518/523] Compiling LispKit EvalError.swift
[519/523] Compiling LispKit LexicalError.swift
[520/523] Compiling LispKit Parser.swift
[521/525] Emitting module LispKitTools
[522/525] Compiling LispKitTools LispKitRepl.swift
/Users/admin/builder/spi-builder-workspace/Sources/LispKitTools/LispKitRepl.swift:185:13: warning: reference to class property 'simplifiedDescriptions' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
183 | }
184 | // Are simplified descriptions requested?
185 | Context.simplifiedDescriptions = !self.extended.wasSet
| `- warning: reference to class property 'simplifiedDescriptions' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
186 | return true
187 | }
/Users/admin/builder/spi-builder-workspace/Sources/LispKit/Runtime/Context.swift:85:21: note: class property declared here
83 |
84 | /// Use simplified descriptions?
85 | public static var simplifiedDescriptions: Bool = false
| `- note: class property declared here
86 |
87 | /// Initializes a new context.
[523/528] Compiling LispKitRepl LispKitRepl.swift
/Users/admin/builder/spi-builder-workspace/Sources/LispKitRepl/LispKitRepl.swift:58:27: warning: capture of 'repl' with non-sendable type 'LispKitRepl' in a '@Sendable' closure
56 | repl.toolMessage = "[enabled run loop]"
57 | let main = Thread {
58 | let succeeded = repl.run()
| `- warning: capture of 'repl' with non-sendable type 'LispKitRepl' in a '@Sendable' closure
59 | repl.release()
60 | exit(succeeded ? 0 : 1)
/Users/admin/builder/spi-builder-workspace/Sources/LispKitTools/LispKitRepl.swift:28:12: note: class 'LispKitRepl' does not conform to the 'Sendable' protocol
26 | /// Framework for building simple command-line tools based on LispKit and CommandLineKit.
27 | ///
28 | open class LispKitRepl {
| `- note: class 'LispKitRepl' does not conform to the 'Sendable' protocol
29 |
30 | // Tool metadata
/Users/admin/builder/spi-builder-workspace/Sources/LispKitRepl/LispKitRepl.swift:23:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LispKitTools'
21 | import Foundation
22 | import LispKit
23 | import LispKitTools
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'LispKitTools'
24 |
25 | @main
[524/528] Emitting module LispKitRepl
[525/528] Compiling LispKitRepl AppInfo.swift
[525/528] Write Objects.LinkFileList
[526/528] Linking LispKitRepl
[527/528] Applying LispKitRepl
Build complete! (36.68s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-numberkit",
"requirement" : {
"branch" : [
"2.5.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-numberkit.git"
},
{
"identity" : "swift-markdownkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.9",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-markdownkit.git"
},
{
"identity" : "swift-commandlinekit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-commandlinekit.git"
},
{
"identity" : "swift-sqliteexpress",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-sqliteexpress.git"
},
{
"identity" : "swift-clformat",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-clformat.git"
},
{
"identity" : "swift-dynamicjson",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-dynamicjson.git"
},
{
"identity" : "swift-nanohttp",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/objecthub/swift-nanohttp.git"
},
{
"identity" : "zipfoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.19",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/weichsel/ZIPFoundation.git"
},
{
"identity" : "swcompression",
"requirement" : {
"range" : [
{
"lower_bound" : "4.8.6",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tsolomko/SWCompression.git"
},
{
"identity" : "oauth2",
"requirement" : {
"range" : [
{
"lower_bound" : "5.3.5",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/p2/OAuth2.git"
},
{
"identity" : "cborcoding",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SomeRandomiOSDev/CBORCoding.git"
},
{
"identity" : "keychainaccess",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/kishikawakatsumi/KeychainAccess.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
}
],
"manifest_display_name" : "LispKit",
"name" : "LispKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "LispKit",
"targets" : [
"LispKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LispKitTools",
"targets" : [
"LispKitTools"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LispKitRepl",
"targets" : [
"LispKitRepl"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "LispKitTools",
"module_type" : "SwiftTarget",
"name" : "LispKitTools",
"path" : "Sources/LispKitTools",
"product_dependencies" : [
"CommandLineKit"
],
"product_memberships" : [
"LispKitTools",
"LispKitRepl"
],
"sources" : [
"LispKitRepl.swift"
],
"target_dependencies" : [
"LispKit"
],
"type" : "library"
},
{
"c99name" : "LispKitTests",
"module_type" : "SwiftTarget",
"name" : "LispKitTests",
"path" : "Tests/LispKitTests",
"sources" : [
"LispKitTestCase.swift",
"RegressionTests.swift",
"SmallTests.swift"
],
"target_dependencies" : [
"LispKit"
],
"type" : "test"
},
{
"c99name" : "LispKitRepl",
"module_type" : "SwiftTarget",
"name" : "LispKitRepl",
"path" : "Sources/LispKitRepl",
"product_memberships" : [
"LispKitRepl"
],
"sources" : [
"AppInfo.swift",
"LispKitRepl.swift"
],
"target_dependencies" : [
"LispKit",
"LispKitTools"
],
"type" : "executable"
},
{
"c99name" : "LispKit",
"module_type" : "SwiftTarget",
"name" : "LispKit",
"path" : "Sources/LispKit",
"product_dependencies" : [
"NumberKit",
"MarkdownKit",
"SQLiteExpress",
"CLFormat",
"DynamicJSON",
"NanoHTTP",
"ZIPFoundation",
"SWCompression",
"OAuth2",
"CBORCoding",
"KeychainAccess",
"Atomics"
],
"product_memberships" : [
"LispKit",
"LispKitTools",
"LispKitRepl"
],
"sources" : [
"Base/Bitset.swift",
"Base/Boxes.swift",
"Base/Compression.swift",
"Base/Data.swift",
"Base/Global.swift",
"Base/Locks.swift",
"Base/ManagedObject.swift",
"Base/ManagedObjectPool.swift",
"Base/MethodProfiler.swift",
"Base/MultiMap.swift",
"Base/OAuth2DeviceGrantLK.swift",
"Base/ObjectPool.swift",
"Base/Owners.swift",
"Base/Reference.swift",
"Base/ScanBuffer.swift",
"Base/String.swift",
"Base/StringBuilder.swift",
"Base/Sysctl.swift",
"Base/Timer.swift",
"Base/TrackedObject.swift",
"Compiler/BindingGroup.swift",
"Compiler/CaptureGroup.swift",
"Compiler/Checkpointer.swift",
"Compiler/Compiler.swift",
"Compiler/Env.swift",
"Compiler/EvalError.swift",
"Compiler/LexicalError.swift",
"Compiler/Parser.swift",
"Compiler/RuntimeError.swift",
"Compiler/Scanner.swift",
"Compiler/SourcePosition.swift",
"Compiler/SyntaxError.swift",
"Data/Cell.swift",
"Data/CharSet.swift",
"Data/Collection.swift",
"Data/CustomExpr.swift",
"Data/Environment.swift",
"Data/Equality.swift",
"Data/Expr.swift",
"Data/Exprs.swift",
"Data/Hash.swift",
"Data/HashTable.swift",
"Data/NativeObject.swift",
"Data/Port.swift",
"Data/Procedure.swift",
"Data/Promise.swift",
"Data/Serialization.swift",
"Data/SpecialForm.swift",
"Data/Symbol.swift",
"Data/Tuple.swift",
"Data/Type.swift",
"Graphics/Barcode.swift",
"Graphics/Color.swift",
"Graphics/Drawing.swift",
"Graphics/DrawingDocument.swift",
"Graphics/Shape.swift",
"Graphics/Transformation.swift",
"IO/BinaryInput.swift",
"IO/BinaryInputSource.swift",
"IO/BinaryOutput.swift",
"IO/TextInput.swift",
"IO/TextInputSource.swift",
"IO/TextOutput.swift",
"IO/TextOutputTarget.swift",
"Primitives/BaseLibrary.swift",
"Primitives/BitsetLibrary.swift",
"Primitives/BoxLibrary.swift",
"Primitives/BytevectorLibrary.swift",
"Primitives/CharLibrary.swift",
"Primitives/CharSetLibrary.swift",
"Primitives/ControlFlowLibrary.swift",
"Primitives/CoreLibrary.swift",
"Primitives/CryptoLibrary.swift",
"Primitives/DateTimeLibrary.swift",
"Primitives/DebugLibrary.swift",
"Primitives/DrawBarcodeLibrary.swift",
"Primitives/DrawingLibrary.swift",
"Primitives/DynamicControlLibrary.swift",
"Primitives/EnumLibrary.swift",
"Primitives/FormatLibrary.swift",
"Primitives/GrowableVectorLibrary.swift",
"Primitives/HTTPLibrary.swift",
"Primitives/HTTPOAuthLibrary.swift",
"Primitives/HTTPServerLibrary.swift",
"Primitives/HashTableLibrary.swift",
"Primitives/InternalLibrary.swift",
"Primitives/JSONLibrary.swift",
"Primitives/JSONSchemaLibrary.swift",
"Primitives/KeychainLibrary.swift",
"Primitives/LibraryRegistry.swift",
"Primitives/ListLibrary.swift",
"Primitives/MarkdownLibrary.swift",
"Primitives/MathLibrary.swift",
"Primitives/PasteboardLibrary.swift",
"Primitives/PortLibrary.swift",
"Primitives/RecordLibrary.swift",
"Primitives/RegexpLibrary.swift",
"Primitives/SQLiteLibrary.swift",
"Primitives/SerializeLibrary.swift",
"Primitives/SharedQueueLibrary.swift",
"Primitives/StringLibrary.swift",
"Primitives/StyledTextLibrary.swift",
"Primitives/SystemCallLibrary.swift",
"Primitives/SystemLibrary.swift",
"Primitives/TarArchiveLibrary.swift",
"Primitives/ThreadFutureLibrary.swift",
"Primitives/ThreadLibrary.swift",
"Primitives/TypeLibrary.swift",
"Primitives/URLLibrary.swift",
"Primitives/VectorLibrary.swift",
"Primitives/ZipArchiveLibrary.swift",
"Runtime/Code.swift",
"Runtime/Context.swift",
"Runtime/ContextDelegate.swift",
"Runtime/Evaluator.swift",
"Runtime/FeatureRequirement.swift",
"Runtime/Features.swift",
"Runtime/FileHandler.swift",
"Runtime/Formatter.swift",
"Runtime/GarbageCollector.swift",
"Runtime/Heap.swift",
"Runtime/ImportSet.swift",
"Runtime/Instruction.swift",
"Runtime/Library.swift",
"Runtime/LibraryManager.swift",
"Runtime/LispKitContext.swift",
"Runtime/NativeLibrary.swift",
"Runtime/Registers.swift",
"Runtime/SourceManager.swift",
"Runtime/SymbolTable.swift",
"Runtime/SyntaxRules.swift",
"Runtime/Threads/EvalCondition.swift",
"Runtime/Threads/EvalMutex.swift",
"Runtime/Threads/EvalThread.swift",
"Runtime/Threads/ThreadManager.swift",
"Runtime/VirtualMachine.swift",
"Runtime/VirtualMachineState.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.