Build Information
Failed to build vapor-oauth, reference 1.0.0-beta.2 (b4cc07
), with Swift 6.1 for Linux on 29 Apr 2025 00:34:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
[2011/2162] Compiling Vapor Application+Passwords.swift
[2012/2162] Compiling Vapor AsyncPasswordHasher.swift
[2013/2162] Compiling Vapor BcryptHasher.swift
[2014/2162] Compiling Vapor PasswordHasher.swift
[2015/2162] Compiling Vapor PlaintextHasher.swift
[2016/2162] Compiling Vapor Request+Password.swift
[2017/2162] Compiling Vapor Redirect.swift
[2018/2186] Compiling Vapor Application.swift
[2019/2186] Compiling Vapor AuthenticationCache.swift
[2020/2186] Compiling Vapor Authenticator.swift
[2021/2186] Compiling Vapor BasicAuthorization.swift
[2022/2186] Compiling Vapor BearerAuthorization.swift
[2023/2186] Compiling Vapor GuardMiddleware.swift
[2024/2186] Compiling Vapor RedirectMiddleware.swift
[2025/2186] Compiling Vapor SessionAuthenticatable.swift
[2026/2186] Compiling Vapor Bcrypt.swift
[2027/2186] Compiling Vapor Application+Cache.swift
[2028/2186] Compiling Vapor Cache.swift
[2029/2186] Compiling Vapor CacheExpirationTime.swift
[2030/2186] Compiling Vapor MemoryCache.swift
[2031/2186] Compiling Vapor Request+Cache.swift
[2032/2186] Compiling Vapor Application+Clients.swift
[2033/2186] Compiling Vapor Client.swift
[2034/2186] Compiling Vapor ClientRequest.swift
[2035/2186] Compiling Vapor ClientResponse.swift
[2036/2186] Compiling Vapor Request+Client.swift
[2037/2186] Compiling Vapor BootCommand.swift
[2038/2186] Compiling Vapor CommandContext+Application.swift
[2039/2186] Compiling Vapor RoutesCommand.swift
[2040/2186] Compiling Vapor ServeCommand.swift
[2041/2186] Compiling Vapor AnyResponse+Concurrency.swift
[2042/2210] Compiling Vapor Validator.swift
[2043/2210] Compiling Vapor ValidatorResult.swift
[2044/2210] Compiling Vapor And.swift
[2045/2210] Compiling Vapor Case.swift
[2046/2210] Compiling Vapor CharacterSet.swift
[2047/2210] Compiling Vapor Count.swift
[2048/2210] Compiling Vapor Custom.swift
[2049/2210] Compiling Vapor Email.swift
[2050/2210] Compiling Vapor Empty.swift
[2051/2210] Compiling Vapor In.swift
[2052/2210] Compiling Vapor Nil.swift
[2053/2210] Compiling Vapor NilIgnoring.swift
[2054/2210] Compiling Vapor Not.swift
[2055/2210] Compiling Vapor Or.swift
[2056/2210] Compiling Vapor Pattern.swift
[2057/2210] Compiling Vapor Range.swift
[2058/2210] Compiling Vapor URL.swift
[2059/2210] Compiling Vapor Valid.swift
[2060/2210] Compiling Vapor Application+Views.swift
[2061/2210] Compiling Vapor PlaintextRenderer.swift
[2062/2210] Compiling Vapor Request+View.swift
[2063/2210] Compiling Vapor View.swift
[2064/2210] Compiling Vapor ViewRenderer.swift
[2065/2210] Compiling Vapor _Deprecations.swift
[2066/2210] Compiling Vapor Service.swift
[2067/2210] Compiling Vapor Application+Sessions.swift
[2068/2210] Compiling Vapor MemorySessions.swift
[2069/2210] Compiling Vapor Request+Session.swift
[2070/2210] Compiling Vapor Session.swift
[2071/2210] Compiling Vapor SessionCache.swift
[2072/2210] Compiling Vapor SessionData.swift
[2073/2210] Compiling Vapor SessionDriver.swift
[2074/2210] Compiling Vapor SessionsConfiguration.swift
[2075/2210] Compiling Vapor SessionsMiddleware.swift
[2076/2210] Compiling Vapor URLEncodedFormData.swift
[2077/2210] Compiling Vapor URLEncodedFormDecoder.swift
[2078/2210] Compiling Vapor URLEncodedFormEncoder.swift
[2079/2210] Compiling Vapor URLEncodedFormError.swift
[2080/2210] Compiling Vapor URLEncodedFormParser.swift
[2081/2210] Compiling Vapor URLEncodedFormSerializer.swift
[2082/2210] Compiling Vapor URLQueryFragmentConvertible.swift
[2083/2210] Compiling Vapor AnyResponse.swift
[2084/2210] Compiling Vapor Array+Random.swift
[2085/2210] Compiling Vapor Base32.swift
[2086/2210] Compiling Vapor Base64.swift
[2087/2210] Compiling Vapor BaseN.swift
[2088/2210] Compiling Vapor BasicCodingKey.swift
[2089/2210] Compiling Vapor ByteCount.swift
[2090/2210] Compiling Vapor Core.swift
[2091/2210] Compiling Vapor Running.swift
[2092/2210] Compiling Vapor CORSMiddleware+AllowOriginSetting.swift
[2093/2210] Compiling Vapor CORSMiddleware+Configuration+exposedHeaders.swift
[2094/2210] Compiling Vapor DotEnvFile+load.swift
[2095/2210] Compiling Vapor Routes+caseInsenstive.swift
[2096/2210] Compiling Vapor Validatable+validate.swift
[2097/2210] Compiling Vapor Environment+Process.swift
[2098/2210] Compiling Vapor Environment+Secret.swift
[2099/2210] Compiling Vapor Environment.swift
[2100/2210] Compiling Vapor Abort.swift
[2101/2210] Compiling Vapor AbortError.swift
[2102/2210] Compiling Vapor DebuggableError.swift
[2103/2210] Compiling Vapor Demangler.swift
[2104/2210] Compiling Vapor ErrorSource.swift
[2105/2210] Compiling Vapor StackTrace.swift
[2106/2210] Compiling Vapor Exports.swift
[2107/2210] Compiling Vapor Application+HTTP.swift
[2108/2210] Compiling Vapor BasicResponder.swift
[2109/2210] Compiling Vapor BodyStream.swift
[2110/2210] Compiling Vapor Application+HTTP+Client.swift
[2111/2210] Compiling Vapor EventLoopHTTPClient.swift
[2112/2210] Compiling Vapor EndpointCache.swift
[2113/2210] Compiling Vapor HTTPMethod+String.swift
[2114/2210] Compiling Vapor Request+Body.swift
[2115/2210] Compiling Vapor Request+BodyStream.swift
[2116/2210] Compiling Vapor Request.swift
[2117/2210] Compiling Vapor Application+Responder.swift
[2118/2210] Compiling Vapor DefaultResponder.swift
[2119/2210] Compiling Vapor Response+Body.swift
[2120/2210] Compiling Vapor Response.swift
[2121/2210] Compiling Vapor ResponseCodable.swift
[2122/2210] Compiling Vapor Application+Routes.swift
[2123/2210] Compiling Vapor Parameters+Require.swift
[2124/2210] Compiling Vapor Request+WebSocket.swift
[2125/2210] Compiling Vapor Route.swift
[2126/2210] Compiling Vapor RouteCollection.swift
[2127/2210] Compiling Vapor Routes.swift
[2128/2210] Compiling Vapor RoutesBuilder+Group.swift
[2129/2210] Compiling Vapor RoutesBuilder+Method.swift
[2130/2210] Compiling Vapor RoutesBuilder+Middleware.swift
[2131/2210] Compiling Vapor RoutesBuilder+WebSocket.swift
[2132/2210] Compiling Vapor RoutesBuilder.swift
[2133/2210] Compiling Vapor OTP.swift
[2134/2210] Compiling Vapor Application+Servers.swift
[2135/2210] Compiling Vapor Server.swift
[2136/2210] Compiling Vapor App+Service.swift
[2137/2210] Compiling Vapor Req+Service.swift
[2138/2210] Compiling Vapor AsyncBasicResponder.swift
[2139/2210] Compiling Vapor AsyncMiddleware.swift
[2140/2210] Compiling Vapor AsyncPasswordHasher+Concurrency.swift
[2141/2210] Compiling Vapor AsyncSessionDriver.swift
[2142/2210] Compiling Vapor Authentication+Concurrency.swift
[2143/2210] Compiling Vapor Cache+Concurrency.swift
[2144/2210] Compiling Vapor Client+Concurrency.swift
[2145/2210] Compiling Vapor RequestBody+Concurrency.swift
[2146/2210] Compiling Vapor Responder+Concurrency.swift
[2147/2210] Compiling Vapor ResponseCodable+Concurrency.swift
[2148/2210] Compiling Vapor RoutesBuilder+Concurrency.swift
[2149/2210] Compiling Vapor ViewRenderer+Concurrency.swift
[2150/2210] Compiling Vapor WebSocket+Concurrency.swift
[2151/2210] Compiling Vapor ContainerGetPathExecutor.swift
[2152/2210] Compiling Vapor Content.swift
[2153/2210] Compiling Vapor ContentCoders.swift
[2154/2210] Compiling Vapor ContentConfiguration.swift
[2155/2210] Compiling Vapor ContentContainer.swift
[2156/2210] Compiling Vapor JSONCoder+Custom.swift
[2157/2210] Compiling Vapor JSONCoders+Content.swift
[2158/2210] Compiling Vapor PlaintextDecoder.swift
[2159/2210] Compiling Vapor PlaintextEncoder.swift
[2160/2210] Compiling Vapor URLQueryCoders.swift
[2161/2210] Compiling Vapor URLQueryContainer.swift
[2162/2210] Emitting module Vapor
[2163/2210] Compiling Vapor Bytes+Hex.swift
[2164/2210] Compiling Vapor Bytes+SecureCompare.swift
[2165/2210] Compiling Vapor Collection+Safe.swift
[2166/2210] Compiling Vapor DataProtocol+Copy.swift
[2167/2210] Compiling Vapor DecoderUnwrapper.swift
[2168/2210] Compiling Vapor DirectoryConfiguration.swift
[2169/2210] Compiling Vapor DotEnv.swift
[2170/2210] Compiling Vapor Extendable.swift
[2171/2210] Compiling Vapor File.swift
[2172/2210] Compiling Vapor FileIO.swift
[2173/2210] Compiling Vapor LifecycleHandler.swift
[2174/2210] Compiling Vapor OptionalType.swift
[2175/2210] Compiling Vapor RFC1123.swift
[2176/2210] Compiling Vapor SocketAddress+Hostname.swift
[2177/2210] Compiling Vapor Storage.swift
[2178/2210] Compiling Vapor String+IsIPAddress.swift
[2179/2210] Compiling Vapor Thread.swift
[2180/2210] Compiling Vapor URI.swift
[2181/2210] Compiling Vapor RangeResult.swift
[2182/2210] Compiling Vapor Validatable.swift
[2183/2210] Compiling Vapor Validation.swift
[2184/2210] Compiling Vapor ValidationKey.swift
[2185/2210] Compiling Vapor Validations.swift
[2186/2210] Compiling Vapor ValidationsError.swift
[2187/2210] Compiling Vapor HTTPStatus.swift
[2188/2210] Compiling Vapor HTTPCookies.swift
[2189/2210] Compiling Vapor HTTPHeaderCacheControl.swift
[2190/2210] Compiling Vapor HTTPHeaderExpires.swift
[2191/2210] Compiling Vapor HTTPHeaderLastModified.swift
[2192/2210] Compiling Vapor HTTPHeaders+Cache.swift
[2193/2210] Compiling Vapor HTTPHeaders+Connection.swift
[2194/2210] Compiling Vapor HTTPHeaders+ContentDisposition.swift
[2195/2210] Compiling Vapor HTTPHeaders+ContentRange.swift
[2196/2210] Compiling Vapor HTTPHeaders+Directive.swift
[2197/2210] Compiling Vapor HTTPHeaders+Forwarded.swift
[2198/2210] Compiling Vapor HTTPHeaders+Link.swift
[2199/2210] Compiling Vapor HTTPHeaders+Name.swift
[2200/2210] Compiling Vapor HTTPHeaders+ResponseCompression.swift
[2201/2210] Compiling Vapor HTTPHeaders.swift
[2202/2210] Compiling Vapor HTTPMediaType.swift
[2203/2210] Compiling Vapor HTTPMediaTypePreference.swift
[2204/2210] Compiling Vapor Responder.swift
[2205/2210] Compiling Vapor Application+HTTP+Server.swift
[2206/2210] Compiling Vapor HTTPServer.swift
[2207/2210] Compiling Vapor HTTPServerConfiguration+RequestDecompressionConfiguration.swift
[2208/2210] Compiling Vapor HTTPServerConfiguration+ResponseCompressionConfiguration.swift
[2209/2210] Compiling Vapor HTTPServerHandler.swift
[2210/2210] Compiling Vapor HTTPServerRequestDecoder.swift
[2212/2247] Compiling VaporOAuth EmptyAuthorizationHandler.swift
[2213/2247] Compiling VaporOAuth EmptyCodeManager.swift
[2214/2247] Compiling VaporOAuth EmptyResourceServerRetriever.swift
[2215/2247] Compiling VaporOAuth EmptyUserManager.swift
[2216/2247] Compiling VaporOAuth StaticClientRetriever.swift
[2217/2252] Compiling VaporOAuth TokenIntrospectionAuthenticationMiddleware.swift
/host/spi-builder-workspace/Sources/VaporOAuth/Middleware/TokenIntrospectionAuthenticationMiddleware.swift:4:9: warning: stored property 'resourceServerAuthenticator' of 'Sendable'-conforming struct 'TokenIntrospectionAuthMiddleware' has non-sendable type 'ResourceServerAuthenticator'; this is an error in the Swift 6 language mode
2 |
3 | struct TokenIntrospectionAuthMiddleware: AsyncMiddleware {
4 | let resourceServerAuthenticator: ResourceServerAuthenticator
| `- warning: stored property 'resourceServerAuthenticator' of 'Sendable'-conforming struct 'TokenIntrospectionAuthMiddleware' has non-sendable type 'ResourceServerAuthenticator'; this is an error in the Swift 6 language mode
5 |
6 | func respond(to request: Request, chainingTo next: AsyncResponder) async throws -> Response {
/host/spi-builder-workspace/Sources/VaporOAuth/Validators/ResourceServerAuthenticator.swift:3:8: note: consider making struct 'ResourceServerAuthenticator' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | struct ResourceServerAuthenticator {
| `- note: consider making struct 'ResourceServerAuthenticator' conform to the 'Sendable' protocol
4 |
5 | let resourceServerRetriever: ResourceServerRetriever
[2218/2252] Compiling VaporOAuth OAuthClient.swift
/host/spi-builder-workspace/Sources/VaporOAuth/Middleware/TokenIntrospectionAuthenticationMiddleware.swift:4:9: warning: stored property 'resourceServerAuthenticator' of 'Sendable'-conforming struct 'TokenIntrospectionAuthMiddleware' has non-sendable type 'ResourceServerAuthenticator'; this is an error in the Swift 6 language mode
2 |
3 | struct TokenIntrospectionAuthMiddleware: AsyncMiddleware {
4 | let resourceServerAuthenticator: ResourceServerAuthenticator
| `- warning: stored property 'resourceServerAuthenticator' of 'Sendable'-conforming struct 'TokenIntrospectionAuthMiddleware' has non-sendable type 'ResourceServerAuthenticator'; this is an error in the Swift 6 language mode
5 |
6 | func respond(to request: Request, chainingTo next: AsyncResponder) async throws -> Response {
/host/spi-builder-workspace/Sources/VaporOAuth/Validators/ResourceServerAuthenticator.swift:3:8: note: consider making struct 'ResourceServerAuthenticator' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | struct ResourceServerAuthenticator {
| `- note: consider making struct 'ResourceServerAuthenticator' conform to the 'Sendable' protocol
4 |
5 | let resourceServerRetriever: ResourceServerRetriever
[2219/2252] Compiling VaporOAuth OAuthCode.swift
/host/spi-builder-workspace/Sources/VaporOAuth/Middleware/TokenIntrospectionAuthenticationMiddleware.swift:4:9: warning: stored property 'resourceServerAuthenticator' of 'Sendable'-conforming struct 'TokenIntrospectionAuthMiddleware' has non-sendable type 'ResourceServerAuthenticator'; this is an error in the Swift 6 language mode
2 |
3 | struct TokenIntrospectionAuthMiddleware: AsyncMiddleware {
4 | let resourceServerAuthenticator: ResourceServerAuthenticator
| `- warning: stored property 'resourceServerAuthenticator' of 'Sendable'-conforming struct 'TokenIntrospectionAuthMiddleware' has non-sendable type 'ResourceServerAuthenticator'; this is an error in the Swift 6 language mode
5 |
6 | func respond(to request: Request, chainingTo next: AsyncResponder) async throws -> Response {
/host/spi-builder-workspace/Sources/VaporOAuth/Validators/ResourceServerAuthenticator.swift:3:8: note: consider making struct 'ResourceServerAuthenticator' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | struct ResourceServerAuthenticator {
| `- note: consider making struct 'ResourceServerAuthenticator' conform to the 'Sendable' protocol
4 |
5 | let resourceServerRetriever: ResourceServerRetriever
[2220/2252] Compiling VaporOAuth OAuthResourceServer.swift
/host/spi-builder-workspace/Sources/VaporOAuth/Middleware/TokenIntrospectionAuthenticationMiddleware.swift:4:9: warning: stored property 'resourceServerAuthenticator' of 'Sendable'-conforming struct 'TokenIntrospectionAuthMiddleware' has non-sendable type 'ResourceServerAuthenticator'; this is an error in the Swift 6 language mode
2 |
3 | struct TokenIntrospectionAuthMiddleware: AsyncMiddleware {
4 | let resourceServerAuthenticator: ResourceServerAuthenticator
| `- warning: stored property 'resourceServerAuthenticator' of 'Sendable'-conforming struct 'TokenIntrospectionAuthMiddleware' has non-sendable type 'ResourceServerAuthenticator'; this is an error in the Swift 6 language mode
5 |
6 | func respond(to request: Request, chainingTo next: AsyncResponder) async throws -> Response {
/host/spi-builder-workspace/Sources/VaporOAuth/Validators/ResourceServerAuthenticator.swift:3:8: note: consider making struct 'ResourceServerAuthenticator' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | struct ResourceServerAuthenticator {
| `- note: consider making struct 'ResourceServerAuthenticator' conform to the 'Sendable' protocol
4 |
5 | let resourceServerRetriever: ResourceServerRetriever
[2221/2252] Compiling VaporOAuth OAuthUser.swift
/host/spi-builder-workspace/Sources/VaporOAuth/Middleware/TokenIntrospectionAuthenticationMiddleware.swift:4:9: warning: stored property 'resourceServerAuthenticator' of 'Sendable'-conforming struct 'TokenIntrospectionAuthMiddleware' has non-sendable type 'ResourceServerAuthenticator'; this is an error in the Swift 6 language mode
2 |
3 | struct TokenIntrospectionAuthMiddleware: AsyncMiddleware {
4 | let resourceServerAuthenticator: ResourceServerAuthenticator
| `- warning: stored property 'resourceServerAuthenticator' of 'Sendable'-conforming struct 'TokenIntrospectionAuthMiddleware' has non-sendable type 'ResourceServerAuthenticator'; this is an error in the Swift 6 language mode
5 |
6 | func respond(to request: Request, chainingTo next: AsyncResponder) async throws -> Response {
/host/spi-builder-workspace/Sources/VaporOAuth/Validators/ResourceServerAuthenticator.swift:3:8: note: consider making struct 'ResourceServerAuthenticator' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | struct ResourceServerAuthenticator {
| `- note: consider making struct 'ResourceServerAuthenticator' conform to the 'Sendable' protocol
4 |
5 | let resourceServerRetriever: ResourceServerRetriever
[2222/2252] Emitting module VaporOAuth
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:17:12: warning: type 'Application.OAuthHelperKey.Value' (aka 'OAuthHelper') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
:
15 |
16 | extension Application {
17 | struct OAuthHelperKey: StorageKey {
| `- warning: type 'Application.OAuthHelperKey.Value' (aka 'OAuthHelper') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | typealias Value = OAuthHelper
19 | }
/host/spi-builder-workspace/Sources/VaporOAuth/Middleware/TokenIntrospectionAuthenticationMiddleware.swift:4:9: warning: stored property 'resourceServerAuthenticator' of 'Sendable'-conforming struct 'TokenIntrospectionAuthMiddleware' has non-sendable type 'ResourceServerAuthenticator'; this is an error in the Swift 6 language mode
2 |
3 | struct TokenIntrospectionAuthMiddleware: AsyncMiddleware {
4 | let resourceServerAuthenticator: ResourceServerAuthenticator
| `- warning: stored property 'resourceServerAuthenticator' of 'Sendable'-conforming struct 'TokenIntrospectionAuthMiddleware' has non-sendable type 'ResourceServerAuthenticator'; this is an error in the Swift 6 language mode
5 |
6 | func respond(to request: Request, chainingTo next: AsyncResponder) async throws -> Response {
/host/spi-builder-workspace/Sources/VaporOAuth/Validators/ResourceServerAuthenticator.swift:3:8: note: consider making struct 'ResourceServerAuthenticator' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | struct ResourceServerAuthenticator {
| `- note: consider making struct 'ResourceServerAuthenticator' conform to the 'Sendable' protocol
4 |
5 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:4:9: warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
2 |
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
| `- warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/CodeManager.swift:2:17: note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
1 | /// Responsible for generating and managing OAuth Codes
2 | public protocol CodeManager {
| `- note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
3 | func generateCode(userID: String, clientID: String, redirectURI: String, scopes: [String]?) async throws -> String
4 | func getCode(_ code: String) async throws -> OAuthCode?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:5:9: warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
| `- warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/TokenManager.swift:3:17: note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol TokenManager {
| `- note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
4 | func generateAccessRefreshTokens(
5 | clientID: String,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:6:9: warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
| `- warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ClientRetriever.swift:1:17: note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ClientRetriever {
| `- note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
2 | func getClient(clientID: String) -> OAuthClient?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:7:9: warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
| `- warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/AuthorizeHandler.swift:3:17: note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol AuthorizeHandler {
| `- note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
4 | func handleAuthorizationRequest(
5 | _ request: Request,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:8:9: warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
| `- warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/UserManager.swift:1:17: note: protocol 'UserManager' does not conform to the 'Sendable' protocol
1 | public protocol UserManager {
| `- note: protocol 'UserManager' does not conform to the 'Sendable' protocol
2 | func authenticateUser(username: String, password: String) async throws -> String?
3 | func getUser(userID: String) async throws -> OAuthUser?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:10:9: warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
| `- warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
11 | let oAuthHelper: OAuthHelper
12 |
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ResourceServerRetriever.swift:1:17: note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ResourceServerRetriever {
| `- note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
2 | func getServer(_ username: String) -> OAuthResourceServer?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:11:9: warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
11 | let oAuthHelper: OAuthHelper
| `- warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
12 |
13 | public init(
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:3:15: note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
[2223/2252] Compiling VaporOAuth OAuthHelper+local.swift
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:17:12: warning: type 'Application.OAuthHelperKey.Value' (aka 'OAuthHelper') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
:
15 |
16 | extension Application {
17 | struct OAuthHelperKey: StorageKey {
| `- warning: type 'Application.OAuthHelperKey.Value' (aka 'OAuthHelper') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | typealias Value = OAuthHelper
19 | }
[2224/2252] Compiling VaporOAuth OAuthHelper+remote.swift
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:17:12: warning: type 'Application.OAuthHelperKey.Value' (aka 'OAuthHelper') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
:
15 |
16 | extension Application {
17 | struct OAuthHelperKey: StorageKey {
| `- warning: type 'Application.OAuthHelperKey.Value' (aka 'OAuthHelper') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | typealias Value = OAuthHelper
19 | }
[2225/2252] Compiling VaporOAuth OAuthHelper.swift
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:17:12: warning: type 'Application.OAuthHelperKey.Value' (aka 'OAuthHelper') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
:
15 |
16 | extension Application {
17 | struct OAuthHelperKey: StorageKey {
| `- warning: type 'Application.OAuthHelperKey.Value' (aka 'OAuthHelper') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | typealias Value = OAuthHelper
19 | }
[2226/2252] Compiling VaporOAuth OAuth2ScopeMiddleware.swift
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:17:12: warning: type 'Application.OAuthHelperKey.Value' (aka 'OAuthHelper') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
:
15 |
16 | extension Application {
17 | struct OAuthHelperKey: StorageKey {
| `- warning: type 'Application.OAuthHelperKey.Value' (aka 'OAuthHelper') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | typealias Value = OAuthHelper
19 | }
[2227/2252] Compiling VaporOAuth OAuth2TokenIntrospectionMiddleware.swift
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:17:12: warning: type 'Application.OAuthHelperKey.Value' (aka 'OAuthHelper') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
:
15 |
16 | extension Application {
17 | struct OAuthHelperKey: StorageKey {
| `- warning: type 'Application.OAuthHelperKey.Value' (aka 'OAuthHelper') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | typealias Value = OAuthHelper
19 | }
[2228/2252] Compiling VaporOAuth TokenAuthenticator.swift
[2229/2252] Compiling VaporOAuth ClientValidator.swift
[2230/2252] Compiling VaporOAuth CodeValidator.swift
[2231/2252] Compiling VaporOAuth ResourceServerAuthenticator.swift
[2232/2252] Compiling VaporOAuth ScopeValidator.swift
[2233/2252] Compiling VaporOAuth AccessToken.swift
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:4:9: warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
2 |
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
| `- warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/CodeManager.swift:2:17: note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
1 | /// Responsible for generating and managing OAuth Codes
2 | public protocol CodeManager {
| `- note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
3 | func generateCode(userID: String, clientID: String, redirectURI: String, scopes: [String]?) async throws -> String
4 | func getCode(_ code: String) async throws -> OAuthCode?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:5:9: warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
| `- warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/TokenManager.swift:3:17: note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol TokenManager {
| `- note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
4 | func generateAccessRefreshTokens(
5 | clientID: String,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:6:9: warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
| `- warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ClientRetriever.swift:1:17: note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ClientRetriever {
| `- note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
2 | func getClient(clientID: String) -> OAuthClient?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:7:9: warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
| `- warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/AuthorizeHandler.swift:3:17: note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol AuthorizeHandler {
| `- note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
4 | func handleAuthorizationRequest(
5 | _ request: Request,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:8:9: warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
| `- warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/UserManager.swift:1:17: note: protocol 'UserManager' does not conform to the 'Sendable' protocol
1 | public protocol UserManager {
| `- note: protocol 'UserManager' does not conform to the 'Sendable' protocol
2 | func authenticateUser(username: String, password: String) async throws -> String?
3 | func getUser(userID: String) async throws -> OAuthUser?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:10:9: warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
| `- warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
11 | let oAuthHelper: OAuthHelper
12 |
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ResourceServerRetriever.swift:1:17: note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ResourceServerRetriever {
| `- note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
2 | func getServer(_ username: String) -> OAuthResourceServer?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:11:9: warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
11 | let oAuthHelper: OAuthHelper
| `- warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
12 |
13 | public init(
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:3:15: note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:74:64: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
72 |
73 | // returning something like "Authenticate with GitHub page"
74 | app.get("oauth", "authorize", use: authorizeGetHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
75 | // pressing something like "Allow/Deny Access" button on "Authenticate with GitHub page". Returns a code.
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:76:103: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
74 | app.get("oauth", "authorize", use: authorizeGetHandler.handleRequest)
75 | // pressing something like "Allow/Deny Access" button on "Authenticate with GitHub page". Returns a code.
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
77 | // client requesting access/refresh token with code from POST /authorize endpoint
78 | app.post("oauth", "token", use: tokenHandler.handleRequest)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:78:54: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
77 | // client requesting access/refresh token with code from POST /authorize endpoint
78 | app.post("oauth", "token", use: tokenHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
79 |
80 | let tokenIntrospectionAuthMiddleware = TokenIntrospectionAuthMiddleware(resourceServerAuthenticator: resourceServerAuthenticator)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:82:92: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
80 | let tokenIntrospectionAuthMiddleware = TokenIntrospectionAuthMiddleware(resourceServerAuthenticator: resourceServerAuthenticator)
81 | let resourceServerProtected = app.routes.grouped(tokenIntrospectionAuthMiddleware)
82 | resourceServerProtected.post("oauth", "token_info", use: tokenIntrospectionHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
83 | }
84 | }
[2234/2252] Compiling VaporOAuth RefreshToken.swift
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:4:9: warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
2 |
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
| `- warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/CodeManager.swift:2:17: note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
1 | /// Responsible for generating and managing OAuth Codes
2 | public protocol CodeManager {
| `- note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
3 | func generateCode(userID: String, clientID: String, redirectURI: String, scopes: [String]?) async throws -> String
4 | func getCode(_ code: String) async throws -> OAuthCode?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:5:9: warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
| `- warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/TokenManager.swift:3:17: note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol TokenManager {
| `- note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
4 | func generateAccessRefreshTokens(
5 | clientID: String,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:6:9: warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
| `- warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ClientRetriever.swift:1:17: note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ClientRetriever {
| `- note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
2 | func getClient(clientID: String) -> OAuthClient?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:7:9: warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
| `- warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/AuthorizeHandler.swift:3:17: note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol AuthorizeHandler {
| `- note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
4 | func handleAuthorizationRequest(
5 | _ request: Request,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:8:9: warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
| `- warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/UserManager.swift:1:17: note: protocol 'UserManager' does not conform to the 'Sendable' protocol
1 | public protocol UserManager {
| `- note: protocol 'UserManager' does not conform to the 'Sendable' protocol
2 | func authenticateUser(username: String, password: String) async throws -> String?
3 | func getUser(userID: String) async throws -> OAuthUser?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:10:9: warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
| `- warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
11 | let oAuthHelper: OAuthHelper
12 |
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ResourceServerRetriever.swift:1:17: note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ResourceServerRetriever {
| `- note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
2 | func getServer(_ username: String) -> OAuthResourceServer?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:11:9: warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
11 | let oAuthHelper: OAuthHelper
| `- warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
12 |
13 | public init(
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:3:15: note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:74:64: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
72 |
73 | // returning something like "Authenticate with GitHub page"
74 | app.get("oauth", "authorize", use: authorizeGetHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
75 | // pressing something like "Allow/Deny Access" button on "Authenticate with GitHub page". Returns a code.
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:76:103: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
74 | app.get("oauth", "authorize", use: authorizeGetHandler.handleRequest)
75 | // pressing something like "Allow/Deny Access" button on "Authenticate with GitHub page". Returns a code.
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
77 | // client requesting access/refresh token with code from POST /authorize endpoint
78 | app.post("oauth", "token", use: tokenHandler.handleRequest)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:78:54: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
77 | // client requesting access/refresh token with code from POST /authorize endpoint
78 | app.post("oauth", "token", use: tokenHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
79 |
80 | let tokenIntrospectionAuthMiddleware = TokenIntrospectionAuthMiddleware(resourceServerAuthenticator: resourceServerAuthenticator)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:82:92: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
80 | let tokenIntrospectionAuthMiddleware = TokenIntrospectionAuthMiddleware(resourceServerAuthenticator: resourceServerAuthenticator)
81 | let resourceServerProtected = app.routes.grouped(tokenIntrospectionAuthMiddleware)
82 | resourceServerProtected.post("oauth", "token_info", use: tokenIntrospectionHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
83 | }
84 | }
[2235/2252] Compiling VaporOAuth OAuth2.swift
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:4:9: warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
2 |
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
| `- warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/CodeManager.swift:2:17: note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
1 | /// Responsible for generating and managing OAuth Codes
2 | public protocol CodeManager {
| `- note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
3 | func generateCode(userID: String, clientID: String, redirectURI: String, scopes: [String]?) async throws -> String
4 | func getCode(_ code: String) async throws -> OAuthCode?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:5:9: warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
| `- warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/TokenManager.swift:3:17: note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol TokenManager {
| `- note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
4 | func generateAccessRefreshTokens(
5 | clientID: String,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:6:9: warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
| `- warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ClientRetriever.swift:1:17: note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ClientRetriever {
| `- note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
2 | func getClient(clientID: String) -> OAuthClient?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:7:9: warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
| `- warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/AuthorizeHandler.swift:3:17: note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol AuthorizeHandler {
| `- note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
4 | func handleAuthorizationRequest(
5 | _ request: Request,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:8:9: warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
| `- warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/UserManager.swift:1:17: note: protocol 'UserManager' does not conform to the 'Sendable' protocol
1 | public protocol UserManager {
| `- note: protocol 'UserManager' does not conform to the 'Sendable' protocol
2 | func authenticateUser(username: String, password: String) async throws -> String?
3 | func getUser(userID: String) async throws -> OAuthUser?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:10:9: warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
| `- warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
11 | let oAuthHelper: OAuthHelper
12 |
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ResourceServerRetriever.swift:1:17: note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ResourceServerRetriever {
| `- note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
2 | func getServer(_ username: String) -> OAuthResourceServer?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:11:9: warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
11 | let oAuthHelper: OAuthHelper
| `- warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
12 |
13 | public init(
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:3:15: note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:74:64: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
72 |
73 | // returning something like "Authenticate with GitHub page"
74 | app.get("oauth", "authorize", use: authorizeGetHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
75 | // pressing something like "Allow/Deny Access" button on "Authenticate with GitHub page". Returns a code.
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:76:103: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
74 | app.get("oauth", "authorize", use: authorizeGetHandler.handleRequest)
75 | // pressing something like "Allow/Deny Access" button on "Authenticate with GitHub page". Returns a code.
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
77 | // client requesting access/refresh token with code from POST /authorize endpoint
78 | app.post("oauth", "token", use: tokenHandler.handleRequest)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:78:54: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
77 | // client requesting access/refresh token with code from POST /authorize endpoint
78 | app.post("oauth", "token", use: tokenHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
79 |
80 | let tokenIntrospectionAuthMiddleware = TokenIntrospectionAuthMiddleware(resourceServerAuthenticator: resourceServerAuthenticator)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:82:92: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
80 | let tokenIntrospectionAuthMiddleware = TokenIntrospectionAuthMiddleware(resourceServerAuthenticator: resourceServerAuthenticator)
81 | let resourceServerProtected = app.routes.grouped(tokenIntrospectionAuthMiddleware)
82 | resourceServerProtected.post("oauth", "token_info", use: tokenIntrospectionHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
83 | }
84 | }
[2236/2252] Compiling VaporOAuth AuthorizeHandler.swift
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:4:9: warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
2 |
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
| `- warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/CodeManager.swift:2:17: note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
1 | /// Responsible for generating and managing OAuth Codes
2 | public protocol CodeManager {
| `- note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
3 | func generateCode(userID: String, clientID: String, redirectURI: String, scopes: [String]?) async throws -> String
4 | func getCode(_ code: String) async throws -> OAuthCode?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:5:9: warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
| `- warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/TokenManager.swift:3:17: note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol TokenManager {
| `- note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
4 | func generateAccessRefreshTokens(
5 | clientID: String,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:6:9: warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
| `- warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ClientRetriever.swift:1:17: note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ClientRetriever {
| `- note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
2 | func getClient(clientID: String) -> OAuthClient?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:7:9: warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
| `- warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/AuthorizeHandler.swift:3:17: note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol AuthorizeHandler {
| `- note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
4 | func handleAuthorizationRequest(
5 | _ request: Request,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:8:9: warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
| `- warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/UserManager.swift:1:17: note: protocol 'UserManager' does not conform to the 'Sendable' protocol
1 | public protocol UserManager {
| `- note: protocol 'UserManager' does not conform to the 'Sendable' protocol
2 | func authenticateUser(username: String, password: String) async throws -> String?
3 | func getUser(userID: String) async throws -> OAuthUser?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:10:9: warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
| `- warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
11 | let oAuthHelper: OAuthHelper
12 |
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ResourceServerRetriever.swift:1:17: note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ResourceServerRetriever {
| `- note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
2 | func getServer(_ username: String) -> OAuthResourceServer?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:11:9: warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
11 | let oAuthHelper: OAuthHelper
| `- warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
12 |
13 | public init(
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:3:15: note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:74:64: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
72 |
73 | // returning something like "Authenticate with GitHub page"
74 | app.get("oauth", "authorize", use: authorizeGetHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
75 | // pressing something like "Allow/Deny Access" button on "Authenticate with GitHub page". Returns a code.
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:76:103: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
74 | app.get("oauth", "authorize", use: authorizeGetHandler.handleRequest)
75 | // pressing something like "Allow/Deny Access" button on "Authenticate with GitHub page". Returns a code.
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
77 | // client requesting access/refresh token with code from POST /authorize endpoint
78 | app.post("oauth", "token", use: tokenHandler.handleRequest)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:78:54: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
77 | // client requesting access/refresh token with code from POST /authorize endpoint
78 | app.post("oauth", "token", use: tokenHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
79 |
80 | let tokenIntrospectionAuthMiddleware = TokenIntrospectionAuthMiddleware(resourceServerAuthenticator: resourceServerAuthenticator)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:82:92: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
80 | let tokenIntrospectionAuthMiddleware = TokenIntrospectionAuthMiddleware(resourceServerAuthenticator: resourceServerAuthenticator)
81 | let resourceServerProtected = app.routes.grouped(tokenIntrospectionAuthMiddleware)
82 | resourceServerProtected.post("oauth", "token_info", use: tokenIntrospectionHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
83 | }
84 | }
[2237/2252] Compiling VaporOAuth ClientRetriever.swift
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:4:9: warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
2 |
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
| `- warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/CodeManager.swift:2:17: note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
1 | /// Responsible for generating and managing OAuth Codes
2 | public protocol CodeManager {
| `- note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
3 | func generateCode(userID: String, clientID: String, redirectURI: String, scopes: [String]?) async throws -> String
4 | func getCode(_ code: String) async throws -> OAuthCode?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:5:9: warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
| `- warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/TokenManager.swift:3:17: note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol TokenManager {
| `- note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
4 | func generateAccessRefreshTokens(
5 | clientID: String,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:6:9: warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
| `- warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ClientRetriever.swift:1:17: note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ClientRetriever {
| `- note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
2 | func getClient(clientID: String) -> OAuthClient?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:7:9: warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
| `- warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/AuthorizeHandler.swift:3:17: note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol AuthorizeHandler {
| `- note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
4 | func handleAuthorizationRequest(
5 | _ request: Request,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:8:9: warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
| `- warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/UserManager.swift:1:17: note: protocol 'UserManager' does not conform to the 'Sendable' protocol
1 | public protocol UserManager {
| `- note: protocol 'UserManager' does not conform to the 'Sendable' protocol
2 | func authenticateUser(username: String, password: String) async throws -> String?
3 | func getUser(userID: String) async throws -> OAuthUser?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:10:9: warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
| `- warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
11 | let oAuthHelper: OAuthHelper
12 |
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ResourceServerRetriever.swift:1:17: note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ResourceServerRetriever {
| `- note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
2 | func getServer(_ username: String) -> OAuthResourceServer?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:11:9: warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
11 | let oAuthHelper: OAuthHelper
| `- warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
12 |
13 | public init(
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:3:15: note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:74:64: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
72 |
73 | // returning something like "Authenticate with GitHub page"
74 | app.get("oauth", "authorize", use: authorizeGetHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
75 | // pressing something like "Allow/Deny Access" button on "Authenticate with GitHub page". Returns a code.
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:76:103: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
74 | app.get("oauth", "authorize", use: authorizeGetHandler.handleRequest)
75 | // pressing something like "Allow/Deny Access" button on "Authenticate with GitHub page". Returns a code.
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
77 | // client requesting access/refresh token with code from POST /authorize endpoint
78 | app.post("oauth", "token", use: tokenHandler.handleRequest)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:78:54: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
76 | app.grouped(OAuthUser.guardMiddleware()).post("oauth", "authorize", use: authorizePostHandler.handleRequest)
77 | // client requesting access/refresh token with code from POST /authorize endpoint
78 | app.post("oauth", "token", use: tokenHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
79 |
80 | let tokenIntrospectionAuthMiddleware = TokenIntrospectionAuthMiddleware(resourceServerAuthenticator: resourceServerAuthenticator)
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:82:92: warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
80 | let tokenIntrospectionAuthMiddleware = TokenIntrospectionAuthMiddleware(resourceServerAuthenticator: resourceServerAuthenticator)
81 | let resourceServerProtected = app.routes.grouped(tokenIntrospectionAuthMiddleware)
82 | resourceServerProtected.post("oauth", "token_info", use: tokenIntrospectionHandler.handleRequest)
| `- warning: converting non-sendable function value to '@Sendable (Request) async throws -> Response' may introduce data races
83 | }
84 | }
[2238/2252] Compiling VaporOAuth AuthorizePostHandler.swift
[2239/2252] Compiling VaporOAuth TokenHandler.swift
[2240/2252] Compiling VaporOAuth AuthCodeTokenHandler.swift
[2241/2252] Compiling VaporOAuth ClientCredentialsTokenHandler.swift
[2242/2252] Compiling VaporOAuth PasswordTokenHandler.swift
[2243/2252] Compiling VaporOAuth CodeManager.swift
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:22: error: cannot find 'SecRandomCopyBytes' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:41: error: cannot find 'kSecRandomDefault' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'kSecRandomDefault' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:57:25: error: cannot find 'errSecSuccess' in scope
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
56 |
57 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
58 | throw Abort(.internalServerError)
59 | }
[2244/2252] Compiling VaporOAuth ResourceServerRetriever.swift
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:22: error: cannot find 'SecRandomCopyBytes' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:41: error: cannot find 'kSecRandomDefault' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'kSecRandomDefault' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:57:25: error: cannot find 'errSecSuccess' in scope
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
56 |
57 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
58 | throw Abort(.internalServerError)
59 | }
[2245/2252] Compiling VaporOAuth TokenManager.swift
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:22: error: cannot find 'SecRandomCopyBytes' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:41: error: cannot find 'kSecRandomDefault' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'kSecRandomDefault' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:57:25: error: cannot find 'errSecSuccess' in scope
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
56 |
57 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
58 | throw Abort(.internalServerError)
59 | }
[2246/2252] Compiling VaporOAuth UserManager.swift
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:22: error: cannot find 'SecRandomCopyBytes' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:41: error: cannot find 'kSecRandomDefault' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'kSecRandomDefault' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:57:25: error: cannot find 'errSecSuccess' in scope
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
56 |
57 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
58 | throw Abort(.internalServerError)
59 | }
[2247/2252] Compiling VaporOAuth AuthorizeGetHandler.swift
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:22: error: cannot find 'SecRandomCopyBytes' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:41: error: cannot find 'kSecRandomDefault' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'kSecRandomDefault' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:57:25: error: cannot find 'errSecSuccess' in scope
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
56 |
57 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
58 | throw Abort(.internalServerError)
59 | }
[2248/2252] Compiling VaporOAuth RefreshTokenHandler.swift
[2249/2252] Compiling VaporOAuth TokenResponseGenerator.swift
[2250/2252] Compiling VaporOAuth TokenIntrospectionHandler.swift
[2251/2252] Compiling VaporOAuth OAuthFlowType.swift
[2252/2252] Compiling VaporOAuth StringDefines.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/79] Compiling ServiceContextModule ServiceContextKey.swift
[3/79] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[4/79] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[5/79] Compiling SystemPackage FilePathTemp.swift
[6/81] Compiling SystemPackage Constants.swift
[7/81] Compiling SystemPackage Exports.swift
[8/81] Compiling SystemPackage FilePathParsing.swift
[9/81] Compiling SystemPackage FilePathString.swift
[10/81] Compiling SystemPackage Errno.swift
[11/81] Compiling SystemPackage ErrnoWindows.swift
[12/82] Compiling RealModule Float16+Real.swift
[13/82] Compiling RealModule Real.swift
[14/82] Emitting module ServiceContextModule
[15/82] Compiling ServiceContextModule ServiceContext.swift
[16/83] Compiling RealModule Float80+Real.swift
[17/83] Compiling CryptoBoringWrapper CryptoKitErrors_boring.swift
[20/83] Compiling RealModule ElementaryFunctions.swift
[21/83] Compiling RealModule Float+Real.swift
[23/83] Compiling CryptoBoringWrapper RandomBytes.swift
[24/83] Compiling CryptoBoringWrapper FiniteFieldArithmeticContext.swift
[25/83] Compiling RealModule RealFunctions.swift
[26/83] Compiling CryptoBoringWrapper BoringSSLAEAD.swift
[27/83] Emitting module CryptoBoringWrapper
[28/83] Compiling SystemPackage FileDescriptor.swift
[29/83] Compiling SystemPackage FileHelpers.swift
[32/83] Compiling SystemPackage FileOperations.swift
[33/83] Compiling NIOConcurrencyHelpers lock.swift
[34/83] Emitting module RealModule
[35/83] Compiling NIOConcurrencyHelpers NIOLock.swift
[36/83] Compiling NIOConcurrencyHelpers atomics.swift
[37/83] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[38/84] Compiling CryptoBoringWrapper EllipticCurve.swift
[39/84] Compiling SystemPackage Backcompat.swift
[40/84] Compiling SystemPackage CInterop.swift
[43/84] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[44/84] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[45/84] Compiling SystemPackage FilePathWindows.swift
[46/84] Compiling SystemPackage FilePermissions.swift
[47/84] Compiling SystemPackage Mocking.swift
[48/84] Compiling SystemPackage RawBuffer.swift
[49/84] Compiling SystemPackage Syscalls.swift
[50/84] Compiling SystemPackage WindowsSyscallAdapters.swift
[51/84] Compiling _NIODataStructures Heap.swift
[52/84] Compiling _NIODataStructures PriorityQueue.swift
[53/84] Compiling _NIODataStructures _TinyArray.swift
[54/84] Emitting module _NIODataStructures
[58/88] Compiling _NIOBase64 Base64.swift
[59/88] Emitting module _NIOBase64
[60/88] Emitting module NIOConcurrencyHelpers
[63/95] Emitting module InternalCollectionsUtilities
[65/101] Compiling CryptoBoringWrapper EllipticCurvePoint.swift
[66/101] Compiling CryptoBoringWrapper ArbitraryPrecisionInteger.swift
[67/101] Compiling Logging MetadataProvider.swift
[68/102] Compiling Logging Locks.swift
[69/102] Compiling SystemPackage MachPort.swift
[70/102] Compiling SystemPackage PlatformString.swift
[71/102] Compiling SystemPackage SystemString.swift
[72/102] Emitting module Logging
[73/102] Compiling SystemPackage FilePath.swift
[74/102] Compiling SystemPackage FilePathComponentView.swift
[75/102] Compiling SystemPackage FilePathComponents.swift
[78/103] Emitting module SystemPackage
[88/103] Compiling Instrumentation NoOpInstrument.swift
[90/103] Compiling Instrumentation MultiplexInstrument.swift
[91/103] Compiling Instrumentation Locks.swift
[92/103] Compiling Instrumentation InstrumentationSystem.swift
[93/103] Emitting module Instrumentation
[94/103] Compiling Instrumentation Instrument.swift
[95/126] Compiling Atomics AtomicInteger.swift
[96/126] Compiling Atomics AtomicOptionalWrappable.swift
[97/126] Compiling Atomics OptionalRawRepresentable.swift
[98/126] Compiling Atomics RawRepresentable.swift
[100/131] Compiling SystemPackage Util+StringArray.swift
[101/131] Compiling SystemPackage Util.swift
[102/131] Compiling SystemPackage UtilConsumers.swift
[104/152] Compiling Algorithms Joined.swift
[105/152] Compiling Algorithms Keyed.swift
[106/154] Compiling Algorithms MinMax.swift
[107/154] Compiling Algorithms RandomSample.swift
[108/154] Compiling Algorithms Reductions.swift
[109/154] Compiling Algorithms Rotate.swift
[110/154] Compiling Logging LogHandler.swift
[111/154] Compiling Logging Logging.swift
[113/357] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[114/357] Compiling OrderedCollections _HashTable+Testing.swift
[115/357] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[116/357] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[117/357] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[118/357] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[119/357] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[120/357] Compiling OrderedCollections OrderedSet+Descriptions.swift
[121/357] Compiling Tracing InstrumentationSystem+Tracing.swift
[122/357] Compiling Tracing NoOpTracer.swift
[123/363] Compiling Tracing TracingTime.swift
[124/363] Compiling RoutingKit Parameters.swift
[125/363] Compiling Tracing Tracer.swift
[126/363] Compiling Tracing TracerProtocol+Legacy.swift
[127/363] Compiling Tracing TracerProtocol.swift
[128/363] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[129/363] Compiling OrderedCollections OrderedDictionary.swift
[130/363] Compiling OrderedCollections OrderedSet+Codable.swift
[131/366] Emitting module Tracing
[132/366] Emitting module RoutingKit
[133/366] Compiling RoutingKit AnyRouter.swift
[134/366] Compiling OrderedCollections OrderedSet+Equatable.swift
[135/366] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[136/366] Compiling OrderedCollections OrderedSet+Hashable.swift
[137/366] Compiling RoutingKit PathComponent.swift
[138/366] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[139/366] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[140/366] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[141/366] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[142/366] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[143/366] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[144/366] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[145/366] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[146/366] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[147/366] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[148/366] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[149/366] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[150/366] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[151/366] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[156/366] Compiling OrderedCollections OrderedSet+Diffing.swift
[160/373] Compiling RoutingKit Router.swift
[161/373] Compiling RoutingKit TrieRouter.swift
[163/374] Compiling CoreMetrics Metrics.swift
[164/374] Emitting module CoreMetrics
[165/374] Compiling CoreMetrics Locks.swift
[166/375] Compiling OrderedCollections OrderedSet+Initializers.swift
[167/375] Compiling OrderedCollections OrderedSet+Insertions.swift
[168/375] Compiling OrderedCollections OrderedSet+Invariants.swift
[169/375] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[170/375] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[171/375] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[172/375] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[173/375] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[174/375] Compiling Algorithms Trim.swift
[175/375] Compiling Algorithms Unique.swift
[176/375] Compiling Algorithms Windows.swift
[177/375] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[178/375] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[179/375] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[180/375] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[181/375] Compiling OrderedCollections OrderedDictionary+Values.swift
[182/375] Compiling OrderedCollections OrderedDictionary+Codable.swift
[186/375] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[187/375] Compiling OrderedCollections OrderedDictionary+Elements.swift
[188/375] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[192/375] Compiling OrderedCollections _HashTable.swift
[193/375] Compiling OrderedCollections _Hashtable+Header.swift
[198/377] Compiling Tracing SpanProtocol.swift
[220/392] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[221/392] Compiling HeapModule Heap+Descriptions.swift
[222/392] Compiling OrderedCollections _HashTable+Bucket.swift
[223/392] Compiling OrderedCollections _HashTable+BucketIterator.swift
[224/392] Compiling OrderedCollections _HashTable+Constants.swift
[232/416] Compiling HeapModule _HeapNode.swift
[233/477] Compiling HeapModule Heap.swift
[234/477] Compiling HeapModule Heap+Invariants.swift
[235/477] Compiling HeapModule Heap+UnsafeHandle.swift
[236/477] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[237/477] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[238/477] Compiling HashTreeCollections _HashNode+Storage.swift
[239/477] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[240/477] Compiling HashTreeCollections _HashNode+Structural filter.swift
[241/477] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[242/477] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[243/477] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[244/479] Emitting module HeapModule
[245/480] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[246/480] Compiling HashTreeCollections TreeDictionary+Merge.swift
[247/480] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[248/480] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[249/480] Compiling HashTreeCollections TreeDictionary+Values.swift
[250/480] Compiling HashTreeCollections TreeDictionary.swift
[251/480] Compiling HashTreeCollections TreeSet+Codable.swift
[252/480] Compiling HashTreeCollections TreeSet+Collection.swift
[253/480] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[254/480] Compiling HashTreeCollections TreeSet+Debugging.swift
[255/480] Compiling HashTreeCollections TreeSet+Descriptions.swift
[256/480] Compiling HashTreeCollections TreeSet+Equatable.swift
[257/480] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[258/480] Compiling HashTreeCollections TreeSet+Extras.swift
[259/480] Compiling HashTreeCollections TreeSet+Filter.swift
[260/480] Compiling HashTreeCollections TreeSet+Hashable.swift
[261/480] Compiling HashTreeCollections TreeSet+Sendable.swift
[262/480] Compiling HashTreeCollections TreeSet+Sequence.swift
[263/480] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[264/480] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[274/480] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[278/480] Compiling HashTreeCollections TreeDictionary+Keys.swift
[297/480] Compiling HashTreeCollections _HashNode.swift
[298/480] Compiling HashTreeCollections _HashNodeHeader.swift
[299/480] Compiling HashTreeCollections _HashSlot.swift
[300/480] Compiling HashTreeCollections _HashStack.swift
[301/480] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[302/480] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[303/480] Compiling HashTreeCollections TreeDictionary+Filter.swift
[304/480] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[305/480] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[307/480] Compiling HashTreeCollections _HashNode+Lookups.swift
[308/480] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[309/480] Compiling HashTreeCollections _HashTreeIterator.swift
[310/480] Compiling HashTreeCollections _HashTreeStatistics.swift
[311/480] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[312/480] Compiling HashTreeCollections _RawHashNode.swift
[313/480] Compiling HashTreeCollections _UnmanagedHashNode.swift
[314/480] Compiling HashTreeCollections _UnsafePath.swift
[315/480] Compiling HashTreeCollections TreeDictionary+Codable.swift
[316/480] Compiling HashTreeCollections TreeDictionary+Collection.swift
[317/480] Emitting module Metrics
[318/480] Compiling Metrics Metrics.swift
[319/481] Emitting module Atomics
[325/482] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[326/482] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[327/482] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[328/482] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[329/482] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[330/485] Emitting module Crypto
[333/492] Compiling HashTreeCollections _HashNode+Structural merge.swift
[334/492] Compiling HashTreeCollections _AncestorHashSlots.swift
[335/492] Compiling HashTreeCollections _Bitmap.swift
[336/492] Compiling HashTreeCollections _Bucket.swift
[337/492] Compiling HashTreeCollections _Hash.swift
[338/492] Compiling HashTreeCollections _HashLevel.swift
[339/492] Compiling HashTreeCollections _HashNode+Builder.swift
[340/492] Compiling HashTreeCollections _HashNode+Debugging.swift
[341/492] Compiling HashTreeCollections _HashNode+Initializers.swift
[342/492] Compiling HashTreeCollections _HashNode+Invariants.swift
[374/507] Compiling DequeModule Deque+Codable.swift
[375/507] Compiling DequeModule Deque+Collection.swift
[376/507] Compiling DequeModule Deque+Equatable.swift
[377/507] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[378/507] Emitting module OrderedCollections
[379/525] Compiling ConsoleKitTerminal Console+Ephemeral.swift
[380/525] Compiling ConsoleKitTerminal ConsoleClear.swift
[381/525] Compiling ConsoleKitTerminal ActivityIndicatorRenderer.swift
[382/525] Compiling ConsoleKitTerminal ActivityIndicatorState.swift
[384/536] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[385/536] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[386/536] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[387/536] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[388/536] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[389/536] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[390/536] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[391/536] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[392/536] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[393/536] Compiling HashTreeCollections TreeSet.swift
[394/536] Compiling ConsoleKitTerminal CustomActivity.swift
[395/536] Compiling ConsoleKitTerminal LoadingBar.swift
[396/589] Compiling BitCollections BitArray+Descriptions.swift
[397/589] Compiling BitCollections BitArray+Equatable.swift
[398/589] Compiling BitCollections BitSet+BidirectionalCollection.swift
[399/589] Compiling BitCollections BitSet+Codable.swift
[400/589] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[401/589] Compiling BitCollections BitSet+CustomReflectable.swift
[402/589] Compiling BitCollections BitSet+CustomStringConvertible.swift
[403/589] Compiling BitCollections BitSet+Equatable.swift
[404/589] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[405/589] Compiling BitCollections BitSet+Extras.swift
[406/589] Compiling BitCollections BitSet+Hashable.swift
[407/589] Compiling BitCollections BitSet+Initializers.swift
[408/589] Compiling BitCollections BitSet+Invariants.swift
[409/589] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[410/589] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[411/589] Compiling BitCollections BitArray+Extras.swift
[412/589] Compiling BitCollections BitArray+Fill.swift
[413/592] Compiling BitCollections BitArray+Copy.swift
[414/592] Compiling BitCollections BitArray+CustomReflectable.swift
[417/592] Compiling BitCollections BitArray+Invariants.swift
[418/592] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[419/592] Emitting module ConsoleKitTerminal
[422/592] Compiling BitCollections BitArray+Hashable.swift
[423/592] Compiling BitCollections BitArray+Initializers.swift
[426/592] Compiling BitCollections BitArray+RandomBits.swift
[427/592] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[428/592] Compiling BitCollections BitArray+Shifts.swift
[429/592] Compiling BitCollections BitArray+Testing.swift
[430/592] Compiling BitCollections BitArray+BitwiseOperations.swift
[431/592] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[432/592] Compiling BitCollections BitArray+Codable.swift
[433/592] Compiling BitCollections BitArray+Collection.swift
[449/592] Emitting module _RopeModule
[461/592] Emitting module Algorithms
[477/594] Compiling ConsoleKitTerminal AnySendableHashable.swift
[478/594] Compiling ConsoleKitTerminal ConsoleLogger.swift
[479/594] Compiling ConsoleKitTerminal LoggerFragment.swift
[489/601] Compiling BitCollections BitSet+Random.swift
[490/601] Compiling BitCollections BitSet+SetAlgebra basics.swift
[491/601] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[492/601] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[493/601] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[494/601] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[495/601] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[496/601] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[497/601] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[498/601] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[499/601] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[500/601] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[501/601] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[502/601] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[503/601] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[504/601] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[505/601] Emitting module DequeModule
[510/603] Compiling BitCollections BitSet+SetAlgebra union.swift
[511/603] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[512/603] Compiling BitCollections BitSet.Counted.swift
[518/603] Compiling BitCollections BitArray._UnsafeHandle.swift
[519/603] Compiling BitCollections BitArray.swift
[588/604] Emitting module BitCollections
[597/604] Compiling BitCollections BitSet.Index.swift
[598/604] Compiling BitCollections BitSet._UnsafeHandle.swift
[599/604] Compiling BitCollections BitSet.swift
[600/604] Compiling BitCollections Range+Utilities.swift
[601/604] Compiling BitCollections Slice+Utilities.swift
[602/604] Compiling BitCollections UInt+Tricks.swift
[603/604] Compiling BitCollections _Word.swift
[605/686] Emitting module ConsoleKitCommands
[606/686] Compiling ConsoleKitCommands CommandSignature.swift
[607/686] Compiling ConsoleKitCommands Flag.swift
[608/686] Compiling ConsoleKitCommands Option.swift
[609/688] Compiling ConsoleKitCommands AsyncCommands.swift
[610/688] Compiling ConsoleKitCommands GenerateAsyncAutocompleteCommand.swift
[611/688] Compiling ConsoleKitCommands AnyCommand.swift
[612/688] Compiling ConsoleKitCommands GenerateAutocompleteCommand.swift
[613/688] Compiling ConsoleKitCommands MergedAsyncCommandGroup.swift
[614/688] Compiling ConsoleKitCommands Argument.swift
[615/688] Compiling ConsoleKitCommands AnyAsyncCommand.swift
[616/688] Compiling ConsoleKitCommands AsyncCommand.swift
[617/688] Compiling ConsoleKitCommands AsyncCommandGroup.swift
[618/688] Compiling NIOCore MarkedCircularBuffer.swift
[619/688] Compiling NIOCore MulticastChannel.swift
[620/688] Compiling NIOCore NIOAny.swift
[621/688] Compiling NIOCore NIOCloseOnErrorHandler.swift
[622/688] Compiling NIOCore NIOLoopBound.swift
[623/688] Compiling NIOCore NIOScheduledCallback.swift
[624/688] Compiling NIOCore NIOSendable.swift
[625/688] Compiling NIOCore RecvByteBufferAllocator.swift
[626/696] Emitting module HashTreeCollections
[627/697] Compiling ConsoleKitCommands String+LevenshteinDistance.swift
[628/697] Compiling ConsoleKitCommands Utilities.swift
[630/699] Compiling ConsoleKitCommands CommandGroup.swift
[631/699] Compiling ConsoleKitCommands CommandInput.swift
[632/699] Compiling ConsoleKitCommands Commands.swift
[633/699] Compiling ConsoleKitCommands Command.swift
[634/699] Compiling ConsoleKitCommands CommandContext.swift
[635/699] Compiling ConsoleKitCommands CommandError.swift
[636/699] Compiling ConsoleKitCommands Console+Run.swift
[637/699] Compiling ConsoleKitCommands ConsoleError.swift
[638/699] Compiling ConsoleKitCommands Completion.swift
[639/700] Emitting module Collections
[640/700] Compiling Collections Collections.swift
[643/701] Compiling NIOCore AddressedEnvelope.swift
[644/701] Compiling NIOCore AsyncAwaitSupport.swift
[645/701] Compiling NIOCore AsyncChannel.swift
[646/701] Compiling NIOCore AsyncChannelHandler.swift
[647/701] Compiling NIOCore AsyncChannelInboundStream.swift
[648/701] Compiling NIOCore AsyncChannelOutboundWriter.swift
[649/701] Compiling NIOCore NIOAsyncSequenceProducer.swift
[650/701] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[651/701] Compiling NIOCore NIOAsyncWriter.swift
[660/703] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[661/703] Compiling NIOCore SocketAddresses.swift
[662/703] Compiling NIOCore SocketOptionProvider.swift
[663/703] Compiling NIOCore SystemCallHelpers.swift
[664/703] Compiling NIOCore TimeAmount+Duration.swift
[665/703] Compiling NIOCore TypeAssistedChannelHandler.swift
[666/703] Compiling NIOCore UniversalBootstrapSupport.swift
[667/703] Compiling NIOCore Utilities.swift
[668/703] Compiling NIOCore GlobalSingletons.swift
[669/703] Compiling NIOCore IO.swift
[670/703] Compiling NIOCore IOData.swift
[671/703] Compiling NIOCore IPProtocol.swift
[672/703] Compiling NIOCore IntegerBitPacking.swift
[673/703] Compiling NIOCore IntegerTypes.swift
[674/703] Compiling NIOCore Interfaces.swift
[675/703] Compiling NIOCore Linux.swift
[676/703] Compiling NIOCore EventLoop.swift
[677/703] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[678/703] Compiling NIOCore EventLoopFuture+Deprecated.swift
[679/703] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[680/703] Compiling NIOCore EventLoopFuture.swift
[681/703] Compiling NIOCore FileDescriptor.swift
[682/703] Compiling NIOCore FileHandle.swift
[683/703] Compiling NIOCore FileRegion.swift
[684/703] Compiling ConsoleKit Exports.swift
[685/703] Emitting module ConsoleKit
[702/704] Compiling NIOCore ChannelInvoker.swift
[703/704] Compiling NIOCore ChannelOption.swift
[704/704] Emitting module NIOCore
[706/756] Emitting module NIOEmbedded
[707/756] Compiling NIOEmbedded AsyncTestingChannel.swift
[708/756] Compiling NIOEmbedded Embedded.swift
[709/756] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[711/757] Compiling NIOPosix PooledRecvBufferAllocator.swift
[712/757] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[713/757] Compiling NIOPosix PosixSingletons.swift
[714/757] Compiling NIOPosix RawSocketBootstrap.swift
[715/757] Compiling NIOPosix Resolver.swift
[716/757] Compiling NIOPosix Selectable.swift
[717/757] Compiling NIOPosix ServerSocket.swift
[718/757] Compiling NIOPosix Socket.swift
[719/757] Compiling NIOPosix SocketChannel.swift
[720/757] Compiling NIOPosix SocketProtocols.swift
[721/757] Compiling NIOPosix System.swift
[722/757] Compiling NIOPosix Thread.swift
[723/763] Emitting module NIOPosix
[724/763] Compiling NIOPosix BSDSocketAPICommon.swift
[725/763] Compiling NIOPosix BSDSocketAPIPosix.swift
[726/763] Compiling NIOPosix BSDSocketAPIWindows.swift
[727/763] Compiling NIOPosix BaseSocket.swift
[728/763] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[729/763] Compiling NIOPosix BaseSocketChannel.swift
[730/763] Compiling NIOPosix BaseStreamSocketChannel.swift
[731/763] Compiling NIOPosix Bootstrap.swift
[732/763] Compiling NIOPosix ControlMessage.swift
[733/763] Compiling NIOPosix DatagramVectorReadManager.swift
[734/763] Compiling NIOPosix Errors+Any.swift
[735/763] Compiling NIOPosix FileDescriptor.swift
[736/763] Compiling NIOPosix GetaddrinfoResolver.swift
[737/763] Compiling NIOPosix HappyEyeballs.swift
[738/763] Compiling NIOPosix IO.swift
[739/763] Compiling NIOPosix IntegerBitPacking.swift
[740/763] Compiling NIOPosix IntegerTypes.swift
[741/763] Compiling NIOPosix Linux.swift
[742/763] Compiling NIOPosix LinuxCPUSet.swift
[743/763] Compiling NIOPosix LinuxUring.swift
[744/763] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[745/763] Compiling NIOPosix SelectableChannel.swift
[746/763] Compiling NIOPosix SelectableEventLoop.swift
[747/763] Compiling NIOPosix SelectorEpoll.swift
[748/763] Compiling NIOPosix SelectorGeneric.swift
[749/763] Compiling NIOPosix SelectorKqueue.swift
[750/763] Compiling NIOPosix SelectorUring.swift
[751/763] Compiling NIOPosix NIOThreadPool.swift
[752/763] Compiling NIOPosix NonBlockingFileIO.swift
[753/763] Compiling NIOPosix PendingDatagramWritesManager.swift
[754/763] Compiling NIOPosix PendingWritesManager.swift
[755/763] Compiling NIOPosix PipeChannel.swift
[756/763] Compiling NIOPosix PipePair.swift
[757/763] Compiling NIOPosix Pool.swift
[758/763] Compiling NIOPosix ThreadPosix.swift
[759/763] Compiling NIOPosix ThreadWindows.swift
[760/763] Compiling NIOPosix UnsafeTransfer.swift
[761/763] Compiling NIOPosix Utilities.swift
[762/763] Compiling NIOPosix VsockAddress.swift
[763/763] Compiling NIOPosix VsockChannelEvents.swift
[765/789] Emitting module NIO
[766/789] Compiling NIO Exports.swift
[768/824] Compiling _NIOFileSystem BufferedWriter.swift
[769/824] Compiling _NIOFileSystem ByteBuffer+FileSystem.swift
[770/824] Compiling _NIOFileSystem FileChunks.swift
[771/824] Compiling _NIOFileSystem Array+FileSystem.swift
[772/824] Compiling _NIOFileSystem ArraySlice+FileSystem.swift
[773/824] Compiling _NIOFileSystem BufferedReader.swift
[774/826] Compiling _NIOFileSystem ParallelDirCopy.swift
[775/826] Compiling _NIOFileSystem ParallelRemoval.swift
[776/826] Compiling _NIOFileSystem String+UnsafeUnititializedCapacity.swift
[777/826] Compiling _NIOFileSystem CInterop.swift
[778/826] Compiling _NIOFileSystem Errno.swift
[779/830] Compiling _NIOFileSystem BufferedOrAnyStream.swift
[780/830] Compiling AsyncKit Optional+StrictMap.swift
[781/830] Compiling AsyncKit Exports.swift
[782/830] Compiling _NIOFileSystem TokenBucket.swift
[783/830] Compiling _NIOFileSystem UnsafeTransfer.swift
[784/869] Compiling NIOHTTP1 ByteCollectionUtils.swift
[785/869] Compiling NIOHTTP1 HTTPDecoder.swift
[786/869] Compiling NIOHTTP1 HTTPEncoder.swift
[787/869] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[788/869] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[789/869] Compiling _NIOFileSystem FileDescriptor+Syscalls.swift
[790/869] Compiling _NIOFileSystem Mocking.swift
[791/869] Compiling _NIOFileSystem Syscall.swift
[792/869] Compiling _NIOFileSystem Syscalls.swift
[793/869] Compiling NIOTLS TLSEvents.swift
[794/869] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[797/869] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[798/869] Emitting module NIOTLS
[799/869] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[800/869] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[801/869] Compiling NIOSOCKS SelectedAuthenticationMethod.swift
[802/870] Compiling NIOSOCKS ClientStateMachine.swift
[803/870] Compiling NIOSOCKS SOCKSResponse.swift
[804/870] Emitting module _NIOFileSystem
[805/870] Emitting module NIOSOCKS
[808/870] Emitting module NIOFoundationCompat
[812/870] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[813/870] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[814/870] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[817/872] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[818/872] Compiling NIOSOCKS ServerStateMachine.swift
[819/872] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[820/872] Compiling NIOTLS SNIHandler.swift
[821/874] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[822/874] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[823/874] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[824/874] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[825/874] Emitting module NIOHTTP1
[826/874] Compiling NIOHTTP1 HTTPTypes.swift
[833/874] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[835/874] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[837/875] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[841/875] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[842/875] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[843/897] Emitting module AsyncKit
[844/917] Compiling NIOSSL SSLCertificateExtensions.swift
[845/917] Compiling NIOSSL SSLConnection.swift
[846/917] Compiling NIOSSL SSLContext.swift
[847/928] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[848/928] Compiling NIOSSL NIOSSLHandler.swift
[849/928] Compiling NIOSSL SSLCertificate.swift
[850/928] Compiling NIOSSL SSLErrors.swift
[851/928] Compiling NIOSSL SSLInit.swift
[852/928] Compiling NIOSSL SSLPKCS12Bundle.swift
[853/928] Compiling NIOSSL AndroidCABundle.swift
[854/928] Compiling NIOSSL ByteBufferBIO.swift
[855/928] Compiling NIOSSL CustomPrivateKey.swift
[856/929] Compiling NIOSSL SSLPrivateKey.swift
[857/929] Compiling NIOSSL NIOSSLServerHandler.swift
[858/929] Compiling NIOSSL ObjectIdentifier.swift
[859/929] Compiling NIOSSL PosixPort.swift
[860/929] Compiling NIOSSL SSLCallbacks.swift
[861/929] Compiling NIOSSL SSLPublicKey.swift
[862/929] Compiling NIOSSL IdentityVerification.swift
[863/929] Compiling NIOSSL LinuxCABundle.swift
[864/929] Compiling NIOSSL NIOSSLClientHandler.swift
[865/929] Emitting module NIOTransportServices
[869/929] Compiling _NIOFileSystem SystemFileHandle.swift
[870/929] Compiling _NIOFileSystem Utilities.swift
[871/929] Compiling _NIOFileSystem OpenOptions.swift
[872/929] Compiling _NIOFileSystem String+FileSystem.swift
[874/929] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[875/929] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[881/933] Compiling NIOSSL NIOSSLSecureBytes.swift
[882/933] Compiling NIOSSL RNG.swift
[883/933] Compiling NIOSSL SafeCompare.swift
[884/933] Compiling NIOSSL Zeroization.swift
[888/933] Compiling NIOSSL SubjectAlternativeName.swift
[899/980] Emitting module NIOSSL
[900/980] Compiling NIOExtras DebugInboundEventsHandler.swift
[901/980] Compiling NIOExtras DebugOutboundEventsHandler.swift
[902/980] Compiling NIOExtras FixedLengthFrameDecoder.swift
[903/980] Compiling NIOExtras HTTP1ProxyConnectHandler.swift
[905/999] Compiling MultipartKit MultipartFormData.swift
[906/999] Compiling MultipartKit MultipartParser.swift
[907/999] Compiling MultipartKit FormDataEncoder.swift
[908/999] Compiling MultipartKit Storage.swift
[909/999] Compiling NIOWebSocket WebSocketOpcode.swift
[910/1000] Compiling MultipartKit FormDataDecoder.UnkeyedContainer.swift
[911/1000] Compiling MultipartKit FormDataDecoder.swift
[912/1000] Compiling MultipartKit FormDataEncoder.Encoder.swift
[913/1005] Compiling NIOHTTPCompression HTTPRequestCompressor.swift
[914/1005] Compiling NIOHTTPCompression HTTPResponseDecompressor.swift
[915/1005] Compiling NIOHTTPCompression HTTPRequestDecompressor.swift
[916/1005] Compiling NIOHTTPCompression HTTPResponseCompressor.swift
[917/1005] Compiling NIOHPACK HuffmanTables.swift
[918/1006] Compiling MultipartKit FormDataEncoder.KeyedContainer.swift
[919/1006] Compiling MultipartKit FormDataEncoder.SingleValueContainer.swift
[920/1006] Compiling MultipartKit FormDataEncoder.UnkeyedContainer.swift
[921/1006] Compiling MultipartKit FormDataDecoder.Decoder.swift
[922/1006] Compiling MultipartKit FormDataDecoder.KeyedContainer.swift
[923/1006] Emitting module MultipartKit
[924/1006] Compiling MultipartKit MultipartPart.swift
[925/1006] Compiling MultipartKit MultipartPartConvertible.swift
[926/1006] Compiling NIOHPACK IndexedHeaderTable.swift
[927/1006] Compiling NIOHPACK IntegerCoding.swift
[928/1006] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[931/1008] Compiling MultipartKit FormDataDecoder.SingleValueContainer.swift
[933/1008] Compiling NIOExtras WritePCAPHandler.swift
[934/1008] Compiling MultipartKit Utilities.swift
[935/1008] Compiling NIOHPACK StaticHeaderTable.swift
[936/1008] Compiling MultipartKit BasicCodingKey.swift
[937/1008] Compiling MultipartKit MultipartError.swift
[938/1008] Compiling MultipartKit Exports.swift
[948/1008] Compiling NIOHTTPCompression HTTPDecompression.swift
[949/1008] Compiling NIOHTTPCompression HTTPCompression.swift
[950/1008] Emitting module NIOHTTPCompression
[951/1008] Emitting module _NIOFileSystemFoundationCompat
[952/1008] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[953/1009] Compiling _NIOFileSystemFoundationCompat Data+FileSystem.swift
[954/1009] Compiling _NIOFileSystemFoundationCompat Date+FileInfo.swift
[955/1009] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[956/1009] Compiling NIOHPACK HuffmanCoding.swift
[957/1009] Emitting module NIOWebSocket
[967/1010] Compiling NIOWebSocket WebSocketErrorCodes.swift
[968/1010] Compiling NIOWebSocket WebSocketFrame.swift
[972/1011] Emitting module NIOHPACK
[981/1011] Compiling NIOExtras UnsafeTransfer.swift
[988/1013] Emitting module NIOExtras
[989/1013] Compiling NIOSSL TLSConfiguration.swift
[990/1013] Compiling NIOSSL UniversalBootstrapSupport.swift
[991/1013] Compiling NIOSSL UnsafeKeyAndChainTarget.swift
[998/1016] Emitting module NIOFileSystem
[999/1016] Compiling NIOFileSystem Exports.swift
[1004/1076] Compiling NIOHTTP2 ConnectionStreamsState.swift
[1005/1076] Compiling NIOHTTP2 MayReceiveFrames.swift
[1006/1076] Compiling NIOHTTP2 ReceivingDataState.swift
[1007/1076] Compiling NIOHTTP2 OutboundFlowControlBuffer.swift
[1008/1076] Compiling NIOHTTP2 OutboundFrameBuffer.swift
[1009/1076] Compiling NIOHTTP2 ConnectionStateMachine.swift
[1010/1076] Compiling NIOHTTP2 ReceivingRstStreamState.swift
[1011/1076] Compiling NIOHTTP2 ReceivingWindowUpdateState.swift
[1012/1076] Compiling NIOHTTP2 HTTP2FlowControlWindow.swift
[1013/1076] Compiling NIOHTTP2 ReceivingGoAwayState.swift
[1014/1076] Compiling NIOHTTP2 ReceivingHeadersState.swift
[1015/1076] Compiling NIOHTTP2 ReceivingPushPromiseState.swift
[1016/1076] Compiling NIOHTTP2 HTTP2Frame.swift
[1017/1076] Compiling NIOHTTP2 HTTP2FrameEncoder.swift
[1018/1076] Compiling NIOHTTP2 HTTP2FrameParser.swift
[1020/1085] Compiling WebSocketKit WebSocketHandler.swift
[1021/1085] Compiling WebSocketKit Exports.swift
[1022/1085] Compiling WebSocketKit HTTPUpgradeRequestHandler.swift
[1023/1085] Compiling WebSocketKit WebSocket+Concurrency.swift
[1024/1085] Emitting module WebSocketKit
[1025/1085] Compiling WebSocketKit WebSocket.swift
[1026/1085] Compiling WebSocketKit WebSocketClient.swift
[1027/1085] Compiling WebSocketKit WebSocket+Connect.swift
[1029/1086] Emitting module NIOHTTP2
[1030/1094] Compiling NIOHTTP2 HasExtendedConnectSettings.swift
[1031/1094] Compiling NIOHTTP2 HasFlowControlWindows.swift
[1032/1094] Compiling NIOHTTP2 HasLocalSettings.swift
[1033/1094] Compiling NIOHTTP2 HasRemoteSettings.swift
[1034/1094] Compiling NIOHTTP2 LocallyQuiescingState.swift
[1035/1094] Compiling NIOHTTP2 QuiescingState.swift
[1036/1094] Compiling NIOHTTP2 RemotelyQuiescingState.swift
[1037/1094] Compiling NIOHTTP2 SendAndReceiveGoawayState.swift
[1038/1094] Compiling NIOHTTP2 HTTP2StreamChannel+OutboundStreamMultiplexer.swift
[1039/1094] Compiling NIOHTTP2 HTTP2StreamChannel.swift
[1040/1094] Compiling NIOHTTP2 HTTP2StreamDelegate.swift
[1041/1094] Compiling NIOHTTP2 HTTP2StreamID.swift
[1042/1094] Compiling NIOHTTP2 HTTP2StreamMultiplexer.swift
[1043/1094] Compiling NIOHTTP2 HTTP2ToHTTP1Codec.swift
[1044/1094] Compiling NIOHTTP2 HTTP2UserEvents.swift
[1045/1094] Compiling NIOHTTP2 InboundEventBuffer.swift
[1046/1094] Compiling NIOHTTP2 StateMachineResult.swift
[1047/1094] Compiling NIOHTTP2 ContentLengthVerifier.swift
[1048/1094] Compiling NIOHTTP2 DOSHeuristics.swift
[1049/1094] Compiling NIOHTTP2 Error+Any.swift
[1050/1094] Compiling NIOHTTP2 ConcurrentStreamBuffer.swift
[1051/1094] Compiling NIOHTTP2 ControlFrameBuffer.swift
[1063/1094] Compiling NIOHTTP2 InboundWindowManager.swift
[1064/1094] Compiling NIOHTTP2 MultiplexerAbstractChannel.swift
[1065/1094] Compiling NIOHTTP2 StreamChannelFlowController.swift
[1066/1094] Compiling NIOHTTP2 StreamChannelList.swift
[1067/1094] Compiling NIOHTTP2 StreamMap.swift
[1068/1094] Compiling NIOHTTP2 StreamStateMachine.swift
[1069/1094] Compiling NIOHTTP2 UnsafeTransfer.swift
[1070/1094] Compiling NIOHTTP2 WatermarkedFlowController.swift
[1071/1094] Compiling NIOHTTP2 MaySendFrames.swift
[1072/1094] Compiling NIOHTTP2 SendingDataState.swift
[1073/1094] Compiling NIOHTTP2 SendingGoawayState.swift
[1074/1094] Compiling NIOHTTP2 SendingHeadersState.swift
[1075/1094] Compiling NIOHTTP2 SendingPushPromiseState.swift
[1076/1094] Compiling NIOHTTP2 SendingRstStreamState.swift
[1077/1094] Compiling NIOHTTP2 SendingWindowUpdateState.swift
[1078/1094] Compiling NIOHTTP2 HTTP2SettingsState.swift
[1083/1094] Compiling NIOHTTP2 HTTP2PingData.swift
[1084/1094] Compiling NIOHTTP2 HTTP2PipelineHelpers.swift
[1085/1094] Compiling NIOHTTP2 HTTP2Settings.swift
[1086/1094] Compiling NIOHTTP2 HTTP2Stream.swift
[1087/1094] Compiling NIOHTTP2 HPACKHeaders+Validation.swift
[1088/1094] Compiling NIOHTTP2 HTTP2ChannelHandler+InboundStreamMultiplexer.swift
[1089/1094] Compiling NIOHTTP2 HTTP2ChannelHandler+InlineStreamMultiplexer.swift
[1090/1094] Compiling NIOHTTP2 HTTP2ChannelHandler.swift
[1091/1094] Compiling NIOHTTP2 HTTP2CommonInboundStreamMultiplexer.swift
[1092/1094] Compiling NIOHTTP2 HTTP2ConnectionStateChange.swift
[1093/1094] Compiling NIOHTTP2 HTTP2Error.swift
[1094/1094] Compiling NIOHTTP2 HTTP2ErrorCode.swift
[1096/1154] Compiling AsyncHTTPClient AnyAsyncSequence.swift
[1097/1154] Compiling AsyncHTTPClient AnyAsyncSequenceProucerDelete.swift
[1098/1154] Compiling AsyncHTTPClient AsyncLazySequence.swift
[1099/1154] Compiling AsyncHTTPClient HTTPClient+execute.swift
[1100/1154] Compiling AsyncHTTPClient HTTPClient+shutdown.swift
[1101/1154] Compiling AsyncHTTPClient HTTPClientRequest+Prepared.swift
[1102/1154] Compiling AsyncHTTPClient HTTPClientRequest+auth.swift
[1103/1154] Compiling AsyncHTTPClient HTTPClientRequest.swift
[1104/1154] Compiling AsyncHTTPClient HTTPClientResponse.swift
[1105/1162] Emitting module AsyncHTTPClient
[1106/1162] Compiling AsyncHTTPClient HTTPConnectionPool+StateMachine.swift
[1107/1162] Compiling AsyncHTTPClient ConnectionTarget.swift
[1108/1162] Compiling AsyncHTTPClient DeconstructedURL.swift
[1109/1162] Compiling AsyncHTTPClient FileDownloadDelegate.swift
[1110/1162] Compiling AsyncHTTPClient FoundationExtensions.swift
[1111/1162] Compiling AsyncHTTPClient HTTPClient+HTTPCookie.swift
[1112/1162] Compiling AsyncHTTPClient HTTPClient+Proxy.swift
[1113/1162] Compiling AsyncHTTPClient HTTPClient+StructuredConcurrency.swift
[1114/1162] Compiling AsyncHTTPClient RequestBag.swift
[1115/1162] Compiling AsyncHTTPClient RequestValidation.swift
[1116/1162] Compiling AsyncHTTPClient SSLContextCache.swift
[1117/1162] Compiling AsyncHTTPClient Scheme.swift
[1118/1162] Compiling AsyncHTTPClient Singleton.swift
[1119/1162] Compiling AsyncHTTPClient StringConvertibleInstances.swift
[1120/1162] Compiling AsyncHTTPClient StructuredConcurrencyHelpers.swift
[1121/1162] Compiling AsyncHTTPClient Utils.swift
[1122/1162] Compiling AsyncHTTPClient HTTPConnectionEvent.swift
[1123/1162] Compiling AsyncHTTPClient HTTPConnectionPool+Factory.swift
[1124/1162] Compiling AsyncHTTPClient HTTPConnectionPool+Manager.swift
[1125/1162] Compiling AsyncHTTPClient HTTPConnectionPool.swift
[1126/1162] Compiling AsyncHTTPClient HTTPExecutableRequest.swift
[1127/1162] Compiling AsyncHTTPClient HTTPRequestStateMachine+Demand.swift
[1128/1162] Compiling AsyncHTTPClient HTTPRequestStateMachine.swift
[1129/1162] Compiling AsyncHTTPClient RequestBodyLength.swift
[1130/1162] Compiling AsyncHTTPClient SingleIteratorPrecondition.swift
[1131/1162] Compiling AsyncHTTPClient Transaction+StateMachine.swift
[1132/1162] Compiling AsyncHTTPClient Transaction.swift
[1133/1162] Compiling AsyncHTTPClient Base64.swift
[1134/1162] Compiling AsyncHTTPClient BasicAuth.swift
[1135/1162] Compiling AsyncHTTPClient BestEffortHashableTLSConfiguration.swift
[1136/1162] Compiling AsyncHTTPClient Configuration+BrowserLike.swift
[1137/1162] Compiling AsyncHTTPClient ConnectionPool.swift
[1138/1162] Compiling AsyncHTTPClient HTTP1ProxyConnectHandler.swift
[1139/1162] Compiling AsyncHTTPClient SOCKSEventsHandler.swift
[1140/1162] Compiling AsyncHTTPClient TLSEventsHandler.swift
[1141/1162] Compiling AsyncHTTPClient HTTP1ClientChannelHandler.swift
[1142/1162] Compiling AsyncHTTPClient HTTP1Connection.swift
[1143/1162] Compiling AsyncHTTPClient HTTP1ConnectionStateMachine.swift
[1144/1162] Compiling AsyncHTTPClient HTTP2ClientRequestHandler.swift
[1145/1162] Compiling AsyncHTTPClient HTTP2Connection.swift
[1146/1162] Compiling AsyncHTTPClient HTTP2IdleHandler.swift
[1147/1162] Compiling AsyncHTTPClient RequestFramingMetadata.swift
[1148/1162] Compiling AsyncHTTPClient RequestOptions.swift
[1149/1162] Compiling AsyncHTTPClient HTTPConnectionPool+Backoff.swift
[1150/1162] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1Connections.swift
[1151/1162] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1StateMachine.swift
[1152/1162] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2Connections.swift
[1153/1162] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2StateMachine.swift
[1154/1162] Compiling AsyncHTTPClient HTTPConnectionPool+RequestQueue.swift
[1155/1162] Compiling AsyncHTTPClient HTTPClient.swift
[1156/1162] Compiling AsyncHTTPClient HTTPHandler.swift
[1157/1162] Compiling AsyncHTTPClient LRUCache.swift
[1158/1162] Compiling AsyncHTTPClient NWErrorHandler.swift
[1159/1162] Compiling AsyncHTTPClient NWWaitingHandler.swift
[1160/1162] Compiling AsyncHTTPClient TLSConfiguration.swift
[1161/1162] Compiling AsyncHTTPClient RedirectState.swift
[1162/1162] Compiling AsyncHTTPClient RequestBag+StateMachine.swift
[1164/1332] Compiling Vapor HTTPServerResponseEncoder.swift
[1165/1332] Compiling Vapor HTTPServerUpgradeHandler.swift
[1166/1332] Compiling Vapor Logger+Report.swift
[1167/1332] Compiling Vapor LoggingSystem+Environment.swift
[1168/1332] Compiling Vapor Application+Middleware.swift
[1169/1332] Compiling Vapor CORSMiddleware.swift
[1170/1332] Compiling Vapor ErrorMiddleware.swift
[1171/1332] Compiling Vapor FileMiddleware.swift
[1172/1332] Compiling Vapor Middleware.swift
[1173/1332] Compiling Vapor MiddlewareConfiguration.swift
[1174/1332] Compiling Vapor ResponseCompressionMiddleware.swift
[1175/1332] Compiling Vapor RouteLoggingMiddleware.swift
[1176/1332] Compiling Vapor TracingMiddleware.swift
[1177/1332] Compiling Vapor File+Multipart.swift
[1178/1332] Compiling Vapor FormDataDecoder+Content.swift
[1179/1332] Compiling Vapor FormDataEncoder+Content.swift
[1180/1332] Compiling Vapor Application+Password.swift
[1181/1332] Compiling Vapor Application+Passwords.swift
[1182/1332] Compiling Vapor AsyncPasswordHasher.swift
[1183/1332] Compiling Vapor BcryptHasher.swift
[1184/1332] Compiling Vapor PasswordHasher.swift
[1185/1332] Compiling Vapor PlaintextHasher.swift
[1186/1332] Compiling Vapor Request+Password.swift
[1187/1332] Compiling Vapor Redirect.swift
[1188/1356] Compiling Vapor Application.swift
[1189/1356] Compiling Vapor AuthenticationCache.swift
[1190/1356] Compiling Vapor Authenticator.swift
[1191/1356] Compiling Vapor BasicAuthorization.swift
[1192/1356] Compiling Vapor BearerAuthorization.swift
[1193/1356] Compiling Vapor GuardMiddleware.swift
[1194/1356] Compiling Vapor RedirectMiddleware.swift
[1195/1356] Compiling Vapor SessionAuthenticatable.swift
[1196/1356] Compiling Vapor Bcrypt.swift
[1197/1356] Compiling Vapor Application+Cache.swift
[1198/1356] Compiling Vapor Cache.swift
[1199/1356] Compiling Vapor CacheExpirationTime.swift
[1200/1356] Compiling Vapor MemoryCache.swift
[1201/1356] Compiling Vapor Request+Cache.swift
[1202/1356] Compiling Vapor Application+Clients.swift
[1203/1356] Compiling Vapor Client.swift
[1204/1356] Compiling Vapor ClientRequest.swift
[1205/1356] Compiling Vapor ClientResponse.swift
[1206/1356] Compiling Vapor Request+Client.swift
[1207/1356] Compiling Vapor BootCommand.swift
[1208/1356] Compiling Vapor CommandContext+Application.swift
[1209/1356] Compiling Vapor RoutesCommand.swift
[1210/1356] Compiling Vapor ServeCommand.swift
[1211/1356] Compiling Vapor AnyResponse+Concurrency.swift
[1212/1380] Compiling Vapor Request+Body.swift
[1213/1380] Compiling Vapor Request+BodyStream.swift
[1214/1380] Compiling Vapor Request.swift
[1215/1380] Compiling Vapor Application+Responder.swift
[1216/1380] Compiling Vapor DefaultResponder.swift
[1217/1380] Compiling Vapor Response+Body.swift
[1218/1380] Compiling Vapor Response.swift
[1219/1380] Compiling Vapor ResponseCodable.swift
[1220/1380] Compiling Vapor Application+Routes.swift
[1221/1380] Compiling Vapor Parameters+Require.swift
[1222/1380] Compiling Vapor Request+WebSocket.swift
[1223/1380] Compiling Vapor Route.swift
[1224/1380] Compiling Vapor RouteCollection.swift
[1225/1380] Compiling Vapor Routes.swift
[1226/1380] Compiling Vapor RoutesBuilder+Group.swift
[1227/1380] Compiling Vapor RoutesBuilder+Method.swift
[1228/1380] Compiling Vapor RoutesBuilder+Middleware.swift
[1229/1380] Compiling Vapor RoutesBuilder+WebSocket.swift
[1230/1380] Compiling Vapor RoutesBuilder.swift
[1231/1380] Compiling Vapor OTP.swift
[1232/1380] Compiling Vapor Application+Servers.swift
[1233/1380] Compiling Vapor Server.swift
[1234/1380] Compiling Vapor App+Service.swift
[1235/1380] Compiling Vapor Req+Service.swift
[1236/1380] Compiling Vapor Validator.swift
[1237/1380] Compiling Vapor ValidatorResult.swift
[1238/1380] Compiling Vapor And.swift
[1239/1380] Compiling Vapor Case.swift
[1240/1380] Compiling Vapor CharacterSet.swift
[1241/1380] Compiling Vapor Count.swift
[1242/1380] Compiling Vapor Custom.swift
[1243/1380] Compiling Vapor Email.swift
[1244/1380] Compiling Vapor Empty.swift
[1245/1380] Compiling Vapor In.swift
[1246/1380] Compiling Vapor Nil.swift
[1247/1380] Compiling Vapor NilIgnoring.swift
[1248/1380] Compiling Vapor Not.swift
[1249/1380] Compiling Vapor Or.swift
[1250/1380] Compiling Vapor Pattern.swift
[1251/1380] Compiling Vapor Range.swift
[1252/1380] Compiling Vapor URL.swift
[1253/1380] Compiling Vapor Valid.swift
[1254/1380] Compiling Vapor Application+Views.swift
[1255/1380] Compiling Vapor PlaintextRenderer.swift
[1256/1380] Compiling Vapor Request+View.swift
[1257/1380] Compiling Vapor View.swift
[1258/1380] Compiling Vapor ViewRenderer.swift
[1259/1380] Compiling Vapor _Deprecations.swift
[1260/1380] Compiling Vapor Bytes+Hex.swift
[1261/1380] Compiling Vapor Bytes+SecureCompare.swift
[1262/1380] Compiling Vapor Collection+Safe.swift
[1263/1380] Compiling Vapor DataProtocol+Copy.swift
[1264/1380] Compiling Vapor DecoderUnwrapper.swift
[1265/1380] Compiling Vapor DirectoryConfiguration.swift
[1266/1380] Compiling Vapor DotEnv.swift
[1267/1380] Compiling Vapor Extendable.swift
[1268/1380] Compiling Vapor File.swift
[1269/1380] Compiling Vapor FileIO.swift
[1270/1380] Compiling Vapor LifecycleHandler.swift
[1271/1380] Compiling Vapor OptionalType.swift
[1272/1380] Compiling Vapor RFC1123.swift
[1273/1380] Compiling Vapor SocketAddress+Hostname.swift
[1274/1380] Compiling Vapor Storage.swift
[1275/1380] Compiling Vapor String+IsIPAddress.swift
[1276/1380] Compiling Vapor Thread.swift
[1277/1380] Compiling Vapor URI.swift
[1278/1380] Compiling Vapor RangeResult.swift
[1279/1380] Compiling Vapor Validatable.swift
[1280/1380] Compiling Vapor Validation.swift
[1281/1380] Compiling Vapor ValidationKey.swift
[1282/1380] Compiling Vapor Validations.swift
[1283/1380] Compiling Vapor ValidationsError.swift
[1284/1380] Emitting module Vapor
[1285/1380] Compiling Vapor Core.swift
[1286/1380] Compiling Vapor Running.swift
[1287/1380] Compiling Vapor CORSMiddleware+AllowOriginSetting.swift
[1288/1380] Compiling Vapor CORSMiddleware+Configuration+exposedHeaders.swift
[1289/1380] Compiling Vapor DotEnvFile+load.swift
[1290/1380] Compiling Vapor Routes+caseInsenstive.swift
[1291/1380] Compiling Vapor Validatable+validate.swift
[1292/1380] Compiling Vapor Environment+Process.swift
[1293/1380] Compiling Vapor Environment+Secret.swift
[1294/1380] Compiling Vapor Environment.swift
[1295/1380] Compiling Vapor Abort.swift
[1296/1380] Compiling Vapor AbortError.swift
[1297/1380] Compiling Vapor DebuggableError.swift
[1298/1380] Compiling Vapor Demangler.swift
[1299/1380] Compiling Vapor ErrorSource.swift
[1300/1380] Compiling Vapor StackTrace.swift
[1301/1380] Compiling Vapor Exports.swift
[1302/1380] Compiling Vapor Application+HTTP.swift
[1303/1380] Compiling Vapor BasicResponder.swift
[1304/1380] Compiling Vapor BodyStream.swift
[1305/1380] Compiling Vapor Application+HTTP+Client.swift
[1306/1380] Compiling Vapor EventLoopHTTPClient.swift
[1307/1380] Compiling Vapor EndpointCache.swift
[1308/1380] Compiling Vapor HTTPMethod+String.swift
[1309/1380] Compiling Vapor AsyncBasicResponder.swift
[1310/1380] Compiling Vapor AsyncMiddleware.swift
[1311/1380] Compiling Vapor AsyncPasswordHasher+Concurrency.swift
[1312/1380] Compiling Vapor AsyncSessionDriver.swift
[1313/1380] Compiling Vapor Authentication+Concurrency.swift
[1314/1380] Compiling Vapor Cache+Concurrency.swift
[1315/1380] Compiling Vapor Client+Concurrency.swift
[1316/1380] Compiling Vapor RequestBody+Concurrency.swift
[1317/1380] Compiling Vapor Responder+Concurrency.swift
[1318/1380] Compiling Vapor ResponseCodable+Concurrency.swift
[1319/1380] Compiling Vapor RoutesBuilder+Concurrency.swift
[1320/1380] Compiling Vapor ViewRenderer+Concurrency.swift
[1321/1380] Compiling Vapor WebSocket+Concurrency.swift
[1322/1380] Compiling Vapor ContainerGetPathExecutor.swift
[1323/1380] Compiling Vapor Content.swift
[1324/1380] Compiling Vapor ContentCoders.swift
[1325/1380] Compiling Vapor ContentConfiguration.swift
[1326/1380] Compiling Vapor ContentContainer.swift
[1327/1380] Compiling Vapor JSONCoder+Custom.swift
[1328/1380] Compiling Vapor JSONCoders+Content.swift
[1329/1380] Compiling Vapor PlaintextDecoder.swift
[1330/1380] Compiling Vapor PlaintextEncoder.swift
[1331/1380] Compiling Vapor URLQueryCoders.swift
[1332/1380] Compiling Vapor URLQueryContainer.swift
[1333/1380] Compiling Vapor Service.swift
[1334/1380] Compiling Vapor Application+Sessions.swift
[1335/1380] Compiling Vapor MemorySessions.swift
[1336/1380] Compiling Vapor Request+Session.swift
[1337/1380] Compiling Vapor Session.swift
[1338/1380] Compiling Vapor SessionCache.swift
[1339/1380] Compiling Vapor SessionData.swift
[1340/1380] Compiling Vapor SessionDriver.swift
[1341/1380] Compiling Vapor SessionsConfiguration.swift
[1342/1380] Compiling Vapor SessionsMiddleware.swift
[1343/1380] Compiling Vapor URLEncodedFormData.swift
[1344/1380] Compiling Vapor URLEncodedFormDecoder.swift
[1345/1380] Compiling Vapor URLEncodedFormEncoder.swift
[1346/1380] Compiling Vapor URLEncodedFormError.swift
[1347/1380] Compiling Vapor URLEncodedFormParser.swift
[1348/1380] Compiling Vapor URLEncodedFormSerializer.swift
[1349/1380] Compiling Vapor URLQueryFragmentConvertible.swift
[1350/1380] Compiling Vapor AnyResponse.swift
[1351/1380] Compiling Vapor Array+Random.swift
[1352/1380] Compiling Vapor Base32.swift
[1353/1380] Compiling Vapor Base64.swift
[1354/1380] Compiling Vapor BaseN.swift
[1355/1380] Compiling Vapor BasicCodingKey.swift
[1356/1380] Compiling Vapor ByteCount.swift
[1357/1380] Compiling Vapor HTTPStatus.swift
[1358/1380] Compiling Vapor HTTPCookies.swift
[1359/1380] Compiling Vapor HTTPHeaderCacheControl.swift
[1360/1380] Compiling Vapor HTTPHeaderExpires.swift
[1361/1380] Compiling Vapor HTTPHeaderLastModified.swift
[1362/1380] Compiling Vapor HTTPHeaders+Cache.swift
[1363/1380] Compiling Vapor HTTPHeaders+Connection.swift
[1364/1380] Compiling Vapor HTTPHeaders+ContentDisposition.swift
[1365/1380] Compiling Vapor HTTPHeaders+ContentRange.swift
[1366/1380] Compiling Vapor HTTPHeaders+Directive.swift
[1367/1380] Compiling Vapor HTTPHeaders+Forwarded.swift
[1368/1380] Compiling Vapor HTTPHeaders+Link.swift
[1369/1380] Compiling Vapor HTTPHeaders+Name.swift
[1370/1380] Compiling Vapor HTTPHeaders+ResponseCompression.swift
[1371/1380] Compiling Vapor HTTPHeaders.swift
[1372/1380] Compiling Vapor HTTPMediaType.swift
[1373/1380] Compiling Vapor HTTPMediaTypePreference.swift
[1374/1380] Compiling Vapor Responder.swift
[1375/1380] Compiling Vapor Application+HTTP+Server.swift
[1376/1380] Compiling Vapor HTTPServer.swift
[1377/1380] Compiling Vapor HTTPServerConfiguration+RequestDecompressionConfiguration.swift
[1378/1380] Compiling Vapor HTTPServerConfiguration+ResponseCompressionConfiguration.swift
[1379/1380] Compiling Vapor HTTPServerHandler.swift
[1380/1380] Compiling Vapor HTTPServerRequestDecoder.swift
[1382/1417] Compiling VaporOAuth EmptyAuthorizationHandler.swift
[1383/1417] Compiling VaporOAuth EmptyCodeManager.swift
[1384/1417] Compiling VaporOAuth EmptyResourceServerRetriever.swift
[1385/1417] Compiling VaporOAuth EmptyUserManager.swift
[1386/1417] Compiling VaporOAuth StaticClientRetriever.swift
[1387/1422] Compiling VaporOAuth TokenIntrospectionAuthenticationMiddleware.swift
[1388/1422] Compiling VaporOAuth OAuthClient.swift
[1389/1422] Compiling VaporOAuth OAuthCode.swift
[1390/1422] Compiling VaporOAuth OAuthResourceServer.swift
[1391/1422] Compiling VaporOAuth OAuthUser.swift
[1392/1422] Compiling VaporOAuth AuthorizePostHandler.swift
[1393/1422] Compiling VaporOAuth TokenHandler.swift
[1394/1422] Compiling VaporOAuth AuthCodeTokenHandler.swift
[1395/1422] Compiling VaporOAuth ClientCredentialsTokenHandler.swift
[1396/1422] Compiling VaporOAuth PasswordTokenHandler.swift
[1397/1422] Compiling VaporOAuth CodeManager.swift
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:22: error: cannot find 'SecRandomCopyBytes' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:41: error: cannot find 'kSecRandomDefault' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'kSecRandomDefault' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:57:25: error: cannot find 'errSecSuccess' in scope
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
56 |
57 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
58 | throw Abort(.internalServerError)
59 | }
[1398/1422] Compiling VaporOAuth ResourceServerRetriever.swift
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:22: error: cannot find 'SecRandomCopyBytes' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:41: error: cannot find 'kSecRandomDefault' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'kSecRandomDefault' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:57:25: error: cannot find 'errSecSuccess' in scope
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
56 |
57 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
58 | throw Abort(.internalServerError)
59 | }
[1399/1422] Compiling VaporOAuth TokenManager.swift
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:22: error: cannot find 'SecRandomCopyBytes' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:41: error: cannot find 'kSecRandomDefault' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'kSecRandomDefault' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:57:25: error: cannot find 'errSecSuccess' in scope
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
56 |
57 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
58 | throw Abort(.internalServerError)
59 | }
[1400/1422] Compiling VaporOAuth UserManager.swift
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:22: error: cannot find 'SecRandomCopyBytes' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:41: error: cannot find 'kSecRandomDefault' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'kSecRandomDefault' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:57:25: error: cannot find 'errSecSuccess' in scope
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
56 |
57 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
58 | throw Abort(.internalServerError)
59 | }
[1401/1422] Compiling VaporOAuth AuthorizeGetHandler.swift
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:22: error: cannot find 'SecRandomCopyBytes' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:55:41: error: cannot find 'kSecRandomDefault' in scope
53 | let numberOfBytes = 32
54 | var bytes = [Int8](repeating: 0, count: 32)
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
| `- error: cannot find 'kSecRandomDefault' in scope
56 |
57 | guard status == errSecSuccess else {
/host/spi-builder-workspace/Sources/VaporOAuth/RouteHandlers/AuthorizeGetHandler.swift:57:25: error: cannot find 'errSecSuccess' in scope
55 | let status = SecRandomCopyBytes(kSecRandomDefault, 32, &bytes)
56 |
57 | guard status == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
58 | throw Abort(.internalServerError)
59 | }
[1402/1422] Compiling VaporOAuth OAuthHelper+local.swift
[1403/1422] Compiling VaporOAuth OAuthHelper+remote.swift
[1404/1422] Compiling VaporOAuth OAuthHelper.swift
[1405/1422] Compiling VaporOAuth OAuth2ScopeMiddleware.swift
[1406/1422] Compiling VaporOAuth OAuth2TokenIntrospectionMiddleware.swift
[1407/1422] Emitting module VaporOAuth
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:4:9: warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
2 |
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
| `- warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/CodeManager.swift:2:17: note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
1 | /// Responsible for generating and managing OAuth Codes
2 | public protocol CodeManager {
| `- note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
3 | func generateCode(userID: String, clientID: String, redirectURI: String, scopes: [String]?) async throws -> String
4 | func getCode(_ code: String) async throws -> OAuthCode?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:5:9: warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
| `- warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/TokenManager.swift:3:17: note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol TokenManager {
| `- note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
4 | func generateAccessRefreshTokens(
5 | clientID: String,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:6:9: warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
| `- warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ClientRetriever.swift:1:17: note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ClientRetriever {
| `- note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
2 | func getClient(clientID: String) -> OAuthClient?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:7:9: warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
| `- warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/AuthorizeHandler.swift:3:17: note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol AuthorizeHandler {
| `- note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
4 | func handleAuthorizationRequest(
5 | _ request: Request,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:8:9: warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
| `- warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/UserManager.swift:1:17: note: protocol 'UserManager' does not conform to the 'Sendable' protocol
1 | public protocol UserManager {
| `- note: protocol 'UserManager' does not conform to the 'Sendable' protocol
2 | func authenticateUser(username: String, password: String) async throws -> String?
3 | func getUser(userID: String) async throws -> OAuthUser?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:10:9: warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
| `- warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
11 | let oAuthHelper: OAuthHelper
12 |
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ResourceServerRetriever.swift:1:17: note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ResourceServerRetriever {
| `- note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
2 | func getServer(_ username: String) -> OAuthResourceServer?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:11:9: warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
11 | let oAuthHelper: OAuthHelper
| `- warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
12 |
13 | public init(
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:3:15: note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
[1408/1422] Compiling VaporOAuth AccessToken.swift
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:4:9: warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
2 |
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
| `- warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/CodeManager.swift:2:17: note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
1 | /// Responsible for generating and managing OAuth Codes
2 | public protocol CodeManager {
| `- note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
3 | func generateCode(userID: String, clientID: String, redirectURI: String, scopes: [String]?) async throws -> String
4 | func getCode(_ code: String) async throws -> OAuthCode?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:5:9: warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
| `- warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/TokenManager.swift:3:17: note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol TokenManager {
| `- note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
4 | func generateAccessRefreshTokens(
5 | clientID: String,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:6:9: warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
| `- warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ClientRetriever.swift:1:17: note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ClientRetriever {
| `- note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
2 | func getClient(clientID: String) -> OAuthClient?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:7:9: warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
| `- warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/AuthorizeHandler.swift:3:17: note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol AuthorizeHandler {
| `- note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
4 | func handleAuthorizationRequest(
5 | _ request: Request,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:8:9: warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
| `- warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/UserManager.swift:1:17: note: protocol 'UserManager' does not conform to the 'Sendable' protocol
1 | public protocol UserManager {
| `- note: protocol 'UserManager' does not conform to the 'Sendable' protocol
2 | func authenticateUser(username: String, password: String) async throws -> String?
3 | func getUser(userID: String) async throws -> OAuthUser?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:10:9: warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
| `- warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
11 | let oAuthHelper: OAuthHelper
12 |
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ResourceServerRetriever.swift:1:17: note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ResourceServerRetriever {
| `- note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
2 | func getServer(_ username: String) -> OAuthResourceServer?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:11:9: warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
11 | let oAuthHelper: OAuthHelper
| `- warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
12 |
13 | public init(
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:3:15: note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
[1409/1422] Compiling VaporOAuth RefreshToken.swift
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:4:9: warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
2 |
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
| `- warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/CodeManager.swift:2:17: note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
1 | /// Responsible for generating and managing OAuth Codes
2 | public protocol CodeManager {
| `- note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
3 | func generateCode(userID: String, clientID: String, redirectURI: String, scopes: [String]?) async throws -> String
4 | func getCode(_ code: String) async throws -> OAuthCode?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:5:9: warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
| `- warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/TokenManager.swift:3:17: note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol TokenManager {
| `- note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
4 | func generateAccessRefreshTokens(
5 | clientID: String,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:6:9: warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
| `- warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ClientRetriever.swift:1:17: note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ClientRetriever {
| `- note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
2 | func getClient(clientID: String) -> OAuthClient?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:7:9: warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
| `- warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/AuthorizeHandler.swift:3:17: note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol AuthorizeHandler {
| `- note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
4 | func handleAuthorizationRequest(
5 | _ request: Request,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:8:9: warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
| `- warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/UserManager.swift:1:17: note: protocol 'UserManager' does not conform to the 'Sendable' protocol
1 | public protocol UserManager {
| `- note: protocol 'UserManager' does not conform to the 'Sendable' protocol
2 | func authenticateUser(username: String, password: String) async throws -> String?
3 | func getUser(userID: String) async throws -> OAuthUser?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:10:9: warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
| `- warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
11 | let oAuthHelper: OAuthHelper
12 |
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ResourceServerRetriever.swift:1:17: note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ResourceServerRetriever {
| `- note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
2 | func getServer(_ username: String) -> OAuthResourceServer?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:11:9: warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
11 | let oAuthHelper: OAuthHelper
| `- warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
12 |
13 | public init(
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:3:15: note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
[1410/1422] Compiling VaporOAuth OAuth2.swift
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:4:9: warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
2 |
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
| `- warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/CodeManager.swift:2:17: note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
1 | /// Responsible for generating and managing OAuth Codes
2 | public protocol CodeManager {
| `- note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
3 | func generateCode(userID: String, clientID: String, redirectURI: String, scopes: [String]?) async throws -> String
4 | func getCode(_ code: String) async throws -> OAuthCode?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:5:9: warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
| `- warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/TokenManager.swift:3:17: note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol TokenManager {
| `- note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
4 | func generateAccessRefreshTokens(
5 | clientID: String,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:6:9: warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
| `- warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ClientRetriever.swift:1:17: note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ClientRetriever {
| `- note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
2 | func getClient(clientID: String) -> OAuthClient?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:7:9: warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
| `- warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/AuthorizeHandler.swift:3:17: note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol AuthorizeHandler {
| `- note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
4 | func handleAuthorizationRequest(
5 | _ request: Request,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:8:9: warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
| `- warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/UserManager.swift:1:17: note: protocol 'UserManager' does not conform to the 'Sendable' protocol
1 | public protocol UserManager {
| `- note: protocol 'UserManager' does not conform to the 'Sendable' protocol
2 | func authenticateUser(username: String, password: String) async throws -> String?
3 | func getUser(userID: String) async throws -> OAuthUser?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:10:9: warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
| `- warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
11 | let oAuthHelper: OAuthHelper
12 |
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ResourceServerRetriever.swift:1:17: note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ResourceServerRetriever {
| `- note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
2 | func getServer(_ username: String) -> OAuthResourceServer?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:11:9: warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
11 | let oAuthHelper: OAuthHelper
| `- warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
12 |
13 | public init(
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:3:15: note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
[1411/1422] Compiling VaporOAuth AuthorizeHandler.swift
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:4:9: warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
2 |
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
| `- warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/CodeManager.swift:2:17: note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
1 | /// Responsible for generating and managing OAuth Codes
2 | public protocol CodeManager {
| `- note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
3 | func generateCode(userID: String, clientID: String, redirectURI: String, scopes: [String]?) async throws -> String
4 | func getCode(_ code: String) async throws -> OAuthCode?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:5:9: warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
| `- warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/TokenManager.swift:3:17: note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol TokenManager {
| `- note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
4 | func generateAccessRefreshTokens(
5 | clientID: String,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:6:9: warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
| `- warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ClientRetriever.swift:1:17: note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ClientRetriever {
| `- note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
2 | func getClient(clientID: String) -> OAuthClient?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:7:9: warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
| `- warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/AuthorizeHandler.swift:3:17: note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol AuthorizeHandler {
| `- note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
4 | func handleAuthorizationRequest(
5 | _ request: Request,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:8:9: warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
| `- warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/UserManager.swift:1:17: note: protocol 'UserManager' does not conform to the 'Sendable' protocol
1 | public protocol UserManager {
| `- note: protocol 'UserManager' does not conform to the 'Sendable' protocol
2 | func authenticateUser(username: String, password: String) async throws -> String?
3 | func getUser(userID: String) async throws -> OAuthUser?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:10:9: warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
| `- warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
11 | let oAuthHelper: OAuthHelper
12 |
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ResourceServerRetriever.swift:1:17: note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ResourceServerRetriever {
| `- note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
2 | func getServer(_ username: String) -> OAuthResourceServer?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:11:9: warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
11 | let oAuthHelper: OAuthHelper
| `- warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
12 |
13 | public init(
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:3:15: note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
[1412/1422] Compiling VaporOAuth ClientRetriever.swift
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:4:9: warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
2 |
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
| `- warning: stored property 'codeManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any CodeManager'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/CodeManager.swift:2:17: note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
1 | /// Responsible for generating and managing OAuth Codes
2 | public protocol CodeManager {
| `- note: protocol 'CodeManager' does not conform to the 'Sendable' protocol
3 | func generateCode(userID: String, clientID: String, redirectURI: String, scopes: [String]?) async throws -> String
4 | func getCode(_ code: String) async throws -> OAuthCode?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:5:9: warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
3 | public struct OAuth2: LifecycleHandler {
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
| `- warning: stored property 'tokenManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any TokenManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/TokenManager.swift:3:17: note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol TokenManager {
| `- note: protocol 'TokenManager' does not conform to the 'Sendable' protocol
4 | func generateAccessRefreshTokens(
5 | clientID: String,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:6:9: warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
4 | let codeManager: CodeManager
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
| `- warning: stored property 'clientRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ClientRetriever'; this is an error in the Swift 6 language mode
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ClientRetriever.swift:1:17: note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ClientRetriever {
| `- note: protocol 'ClientRetriever' does not conform to the 'Sendable' protocol
2 | func getClient(clientID: String) -> OAuthClient?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:7:9: warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
5 | let tokenManager: TokenManager
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
| `- warning: stored property 'authorizeHandler' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any AuthorizeHandler'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/AuthorizeHandler.swift:3:17: note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public protocol AuthorizeHandler {
| `- note: protocol 'AuthorizeHandler' does not conform to the 'Sendable' protocol
4 | func handleAuthorizationRequest(
5 | _ request: Request,
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:8:9: warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
6 | let clientRetriever: ClientRetriever
7 | let authorizeHandler: AuthorizeHandler
8 | let userManager: UserManager
| `- warning: stored property 'userManager' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any UserManager'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/UserManager.swift:1:17: note: protocol 'UserManager' does not conform to the 'Sendable' protocol
1 | public protocol UserManager {
| `- note: protocol 'UserManager' does not conform to the 'Sendable' protocol
2 | func authenticateUser(username: String, password: String) async throws -> String?
3 | func getUser(userID: String) async throws -> OAuthUser?
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:10:9: warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
8 | let userManager: UserManager
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
| `- warning: stored property 'resourceServerRetriever' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'any ResourceServerRetriever'; this is an error in the Swift 6 language mode
11 | let oAuthHelper: OAuthHelper
12 |
/host/spi-builder-workspace/Sources/VaporOAuth/Protocols/ResourceServerRetriever.swift:1:17: note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
1 | public protocol ResourceServerRetriever {
| `- note: protocol 'ResourceServerRetriever' does not conform to the 'Sendable' protocol
2 | func getServer(_ username: String) -> OAuthResourceServer?
3 | }
/host/spi-builder-workspace/Sources/VaporOAuth/OAuth2.swift:11:9: warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
9 | let validScopes: [String]?
10 | let resourceServerRetriever: ResourceServerRetriever
11 | let oAuthHelper: OAuthHelper
| `- warning: stored property 'oAuthHelper' of 'Sendable'-conforming struct 'OAuth2' has non-sendable type 'OAuthHelper'; this is an error in the Swift 6 language mode
12 |
13 | public init(
/host/spi-builder-workspace/Sources/VaporOAuth/Helper/OAuthHelper.swift:3:15: note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
1 | import Vapor
2 |
3 | public struct OAuthHelper {
| `- note: consider making struct 'OAuthHelper' conform to the 'Sendable' protocol
4 | public var assertScopes: ([String]?, Request) async throws -> Void
5 | public var user: (Request) async throws -> OAuthUser
[1413/1422] Compiling VaporOAuth RefreshTokenHandler.swift
[1414/1422] Compiling VaporOAuth TokenResponseGenerator.swift
[1415/1422] Compiling VaporOAuth TokenIntrospectionHandler.swift
[1416/1422] Compiling VaporOAuth OAuthFlowType.swift
[1417/1422] Compiling VaporOAuth StringDefines.swift
[1418/1422] Compiling VaporOAuth TokenAuthenticator.swift
[1419/1422] Compiling VaporOAuth ClientValidator.swift
[1420/1422] Compiling VaporOAuth CodeValidator.swift
[1421/1422] Compiling VaporOAuth ResourceServerAuthenticator.swift
[1422/1422] Compiling VaporOAuth ScopeValidator.swift
BUILD FAILURE 6.1 linux