Build Information
Successful build of Imperial, reference 1.2.0 (aaa23b
), with Swift 6.0 for Linux on 29 Nov 2024 15:38:53 UTC.
Swift 6 data race errors: 50
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
[2323/2389] Compiling WebSocketKit WebSocketHandler.swift
[2324/2389] Compiling WebSocketKit WebSocket+Concurrency.swift
[2325/2389] Emitting module WebSocketKit
[2326/2389] Compiling WebSocketKit WebSocket.swift
[2327/2389] Compiling WebSocketKit WebSocketClient.swift
[2328/2389] Compiling WebSocketKit HTTPUpgradeRequestHandler.swift
[2330/2390] Emitting module NIOHTTP2
[2331/2398] Compiling NIOHTTP2 HTTP2StreamChannel+OutboundStreamMultiplexer.swift
[2332/2398] Compiling NIOHTTP2 HTTP2StreamChannel.swift
[2333/2398] Compiling NIOHTTP2 HTTP2StreamDelegate.swift
[2334/2398] Compiling NIOHTTP2 HTTP2StreamID.swift
[2335/2398] Compiling NIOHTTP2 HTTP2StreamMultiplexer.swift
[2336/2398] Compiling NIOHTTP2 HTTP2ToHTTP1Codec.swift
[2337/2398] Compiling NIOHTTP2 HTTP2UserEvents.swift
[2338/2398] Compiling NIOHTTP2 InboundEventBuffer.swift
[2339/2398] Compiling NIOHTTP2 ConnectionStateMachine.swift
[2340/2398] Compiling NIOHTTP2 ConnectionStreamsState.swift
[2341/2398] Compiling NIOHTTP2 MayReceiveFrames.swift
[2342/2398] Compiling NIOHTTP2 ReceivingDataState.swift
[2343/2398] Compiling NIOHTTP2 ReceivingGoAwayState.swift
[2344/2398] Compiling NIOHTTP2 ReceivingHeadersState.swift
[2345/2398] Compiling NIOHTTP2 ReceivingPushPromiseState.swift
[2346/2398] Compiling NIOHTTP2 ReceivingRstStreamState.swift
[2347/2398] Compiling NIOHTTP2 ReceivingWindowUpdateState.swift
[2348/2398] Compiling NIOHTTP2 InboundWindowManager.swift
[2349/2398] Compiling NIOHTTP2 MultiplexerAbstractChannel.swift
[2350/2398] Compiling NIOHTTP2 StreamChannelFlowController.swift
[2351/2398] Compiling NIOHTTP2 StreamChannelList.swift
[2352/2398] Compiling NIOHTTP2 StreamMap.swift
[2353/2398] Compiling NIOHTTP2 StreamStateMachine.swift
[2354/2398] Compiling NIOHTTP2 UnsafeTransfer.swift
[2355/2398] Compiling NIOHTTP2 WatermarkedFlowController.swift
[2356/2398] Compiling NIOHTTP2 HTTP2FlowControlWindow.swift
[2357/2398] Compiling NIOHTTP2 HTTP2Frame.swift
[2358/2398] Compiling NIOHTTP2 HTTP2FrameEncoder.swift
[2359/2398] Compiling NIOHTTP2 HTTP2FrameParser.swift
[2360/2398] Compiling NIOHTTP2 HTTP2PingData.swift
[2361/2398] Compiling NIOHTTP2 HTTP2PipelineHelpers.swift
[2362/2398] Compiling NIOHTTP2 HTTP2Settings.swift
[2363/2398] Compiling NIOHTTP2 HTTP2Stream.swift
[2364/2398] Compiling NIOHTTP2 HasExtendedConnectSettings.swift
[2365/2398] Compiling NIOHTTP2 HasFlowControlWindows.swift
[2366/2398] Compiling NIOHTTP2 HasLocalSettings.swift
[2367/2398] Compiling NIOHTTP2 HasRemoteSettings.swift
[2368/2398] Compiling NIOHTTP2 LocallyQuiescingState.swift
[2369/2398] Compiling NIOHTTP2 QuiescingState.swift
[2370/2398] Compiling NIOHTTP2 RemotelyQuiescingState.swift
[2371/2398] Compiling NIOHTTP2 SendAndReceiveGoawayState.swift
[2372/2398] Compiling NIOHTTP2 StateMachineResult.swift
[2373/2398] Compiling NIOHTTP2 ContentLengthVerifier.swift
[2374/2398] Compiling NIOHTTP2 DOSHeuristics.swift
[2375/2398] Compiling NIOHTTP2 Error+Any.swift
[2376/2398] Compiling NIOHTTP2 ConcurrentStreamBuffer.swift
[2377/2398] Compiling NIOHTTP2 ControlFrameBuffer.swift
[2378/2398] Compiling NIOHTTP2 OutboundFlowControlBuffer.swift
[2379/2398] Compiling NIOHTTP2 OutboundFrameBuffer.swift
[2381/2398] Compiling NIOHTTP2 SendingDataState.swift
[2382/2398] Compiling NIOHTTP2 SendingGoawayState.swift
[2383/2398] Compiling NIOHTTP2 SendingHeadersState.swift
[2384/2398] Compiling NIOHTTP2 SendingPushPromiseState.swift
[2385/2398] Compiling NIOHTTP2 SendingRstStreamState.swift
[2386/2398] Compiling NIOHTTP2 SendingWindowUpdateState.swift
[2387/2398] Compiling NIOHTTP2 HTTP2SettingsState.swift
[2388/2398] Compiling NIOHTTP2 HPACKHeaders+Validation.swift
[2389/2398] Compiling NIOHTTP2 HTTP2ChannelHandler+InboundStreamMultiplexer.swift
[2390/2398] Compiling NIOHTTP2 HTTP2ChannelHandler+InlineStreamMultiplexer.swift
[2391/2398] Compiling NIOHTTP2 HTTP2ChannelHandler.swift
[2392/2398] Compiling NIOHTTP2 HTTP2CommonInboundStreamMultiplexer.swift
[2393/2398] Compiling NIOHTTP2 HTTP2ConnectionStateChange.swift
[2394/2398] Compiling NIOHTTP2 HTTP2Error.swift
[2397/2456] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2StateMachine.swift
[2398/2456] Compiling AsyncHTTPClient HTTPConnectionPool+RequestQueue.swift
[2399/2456] Compiling AsyncHTTPClient HTTPConnectionPool+StateMachine.swift
[2400/2456] Compiling AsyncHTTPClient ConnectionTarget.swift
[2401/2456] Compiling AsyncHTTPClient DeconstructedURL.swift
[2402/2456] Compiling AsyncHTTPClient FileDownloadDelegate.swift
[2403/2456] Compiling AsyncHTTPClient FoundationExtensions.swift
[2404/2456] Compiling AsyncHTTPClient HTTPClient+HTTPCookie.swift
[2405/2464] Emitting module AsyncHTTPClient
[2406/2464] Compiling AsyncHTTPClient HTTPClient+Proxy.swift
[2407/2464] Compiling AsyncHTTPClient HTTPClient.swift
[2408/2464] Compiling AsyncHTTPClient HTTPHandler.swift
[2409/2464] Compiling AsyncHTTPClient LRUCache.swift
[2410/2464] Compiling AsyncHTTPClient NWErrorHandler.swift
[2411/2464] Compiling AsyncHTTPClient NWWaitingHandler.swift
[2412/2464] Compiling AsyncHTTPClient TLSConfiguration.swift
[2413/2464] Compiling AsyncHTTPClient RedirectState.swift
[2414/2464] Compiling AsyncHTTPClient HTTP2Connection.swift
[2415/2464] Compiling AsyncHTTPClient HTTP2IdleHandler.swift
[2416/2464] Compiling AsyncHTTPClient HTTPConnectionEvent.swift
[2417/2464] Compiling AsyncHTTPClient HTTPConnectionPool+Factory.swift
[2418/2464] Compiling AsyncHTTPClient HTTPConnectionPool+Manager.swift
[2419/2464] Compiling AsyncHTTPClient HTTPConnectionPool.swift
[2420/2464] Compiling AsyncHTTPClient HTTPExecutableRequest.swift
[2421/2464] Compiling AsyncHTTPClient HTTPRequestStateMachine+Demand.swift
[2422/2464] Compiling AsyncHTTPClient HTTPClientResponse.swift
[2423/2464] Compiling AsyncHTTPClient SingleIteratorPrecondition.swift
[2424/2464] Compiling AsyncHTTPClient Transaction+StateMachine.swift
[2425/2464] Compiling AsyncHTTPClient Transaction.swift
[2426/2464] Compiling AsyncHTTPClient Base64.swift
[2427/2464] Compiling AsyncHTTPClient BasicAuth.swift
[2428/2464] Compiling AsyncHTTPClient BestEffortHashableTLSConfiguration.swift
[2429/2464] Compiling AsyncHTTPClient Configuration+BrowserLike.swift
[2430/2464] Compiling AsyncHTTPClient AnyAsyncSequence.swift
[2431/2464] Compiling AsyncHTTPClient AnyAsyncSequenceProucerDelete.swift
[2432/2464] Compiling AsyncHTTPClient AsyncLazySequence.swift
[2433/2464] Compiling AsyncHTTPClient HTTPClient+execute.swift
[2434/2464] Compiling AsyncHTTPClient HTTPClient+shutdown.swift
[2435/2464] Compiling AsyncHTTPClient HTTPClientRequest+Prepared.swift
[2436/2464] Compiling AsyncHTTPClient HTTPClientRequest+auth.swift
[2437/2464] Compiling AsyncHTTPClient HTTPClientRequest.swift
[2438/2464] Compiling AsyncHTTPClient ConnectionPool.swift
[2439/2464] Compiling AsyncHTTPClient HTTP1ProxyConnectHandler.swift
[2440/2464] Compiling AsyncHTTPClient SOCKSEventsHandler.swift
[2441/2464] Compiling AsyncHTTPClient TLSEventsHandler.swift
[2442/2464] Compiling AsyncHTTPClient HTTP1ClientChannelHandler.swift
[2443/2464] Compiling AsyncHTTPClient HTTP1Connection.swift
[2444/2464] Compiling AsyncHTTPClient HTTP1ConnectionStateMachine.swift
[2445/2464] Compiling AsyncHTTPClient HTTP2ClientRequestHandler.swift
[2446/2464] Compiling AsyncHTTPClient HTTPRequestStateMachine.swift
[2447/2464] Compiling AsyncHTTPClient RequestBodyLength.swift
[2448/2464] Compiling AsyncHTTPClient RequestFramingMetadata.swift
[2449/2464] Compiling AsyncHTTPClient RequestOptions.swift
[2450/2464] Compiling AsyncHTTPClient HTTPConnectionPool+Backoff.swift
[2451/2464] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1Connections.swift
[2452/2464] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1StateMachine.swift
[2453/2464] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2Connections.swift
[2454/2464] Compiling AsyncHTTPClient RequestBag+StateMachine.swift
[2455/2464] Compiling AsyncHTTPClient RequestBag.swift
[2456/2464] Compiling AsyncHTTPClient RequestValidation.swift
[2457/2464] Compiling AsyncHTTPClient SSLContextCache.swift
[2458/2464] Compiling AsyncHTTPClient Scheme.swift
[2459/2464] Compiling AsyncHTTPClient Singleton.swift
[2460/2464] Compiling AsyncHTTPClient StringConvertibleInstances.swift
[2461/2464] Compiling AsyncHTTPClient Utils.swift
[2467/2632] Compiling Vapor HTTPServerResponseEncoder.swift
[2468/2632] Compiling Vapor HTTPServerUpgradeHandler.swift
[2469/2632] Compiling Vapor Logger+Report.swift
[2470/2632] Compiling Vapor LoggingSystem+Environment.swift
[2471/2632] Compiling Vapor Application+Middleware.swift
[2472/2632] Compiling Vapor CORSMiddleware.swift
[2473/2632] Compiling Vapor ErrorMiddleware.swift
[2474/2632] Compiling Vapor FileMiddleware.swift
[2475/2632] Compiling Vapor Middleware.swift
[2476/2632] Compiling Vapor MiddlewareConfiguration.swift
[2477/2632] Compiling Vapor ResponseCompressionMiddleware.swift
[2478/2632] Compiling Vapor RouteLoggingMiddleware.swift
[2479/2632] Compiling Vapor File+Multipart.swift
[2480/2632] Compiling Vapor FormDataDecoder+Content.swift
[2481/2632] Compiling Vapor FormDataEncoder+Content.swift
[2482/2632] Compiling Vapor Application+Password.swift
[2483/2632] Compiling Vapor Application+Passwords.swift
[2484/2632] Compiling Vapor AsyncPasswordHasher.swift
[2485/2632] Compiling Vapor BcryptHasher.swift
[2486/2632] Compiling Vapor PasswordHasher.swift
[2487/2632] Compiling Vapor PlaintextHasher.swift
[2488/2632] Compiling Vapor Request+Password.swift
[2489/2632] Compiling Vapor Redirect.swift
[2490/2655] Compiling Vapor Application.swift
[2491/2655] Compiling Vapor AuthenticationCache.swift
[2492/2655] Compiling Vapor Authenticator.swift
[2493/2655] Compiling Vapor BasicAuthorization.swift
[2494/2655] Compiling Vapor BearerAuthorization.swift
[2495/2655] Compiling Vapor GuardMiddleware.swift
[2496/2655] Compiling Vapor RedirectMiddleware.swift
[2497/2655] Compiling Vapor SessionAuthenticatable.swift
[2498/2655] Compiling Vapor Bcrypt.swift
[2499/2655] Compiling Vapor Application+Cache.swift
[2500/2655] Compiling Vapor Cache.swift
[2501/2655] Compiling Vapor CacheExpirationTime.swift
[2502/2655] Compiling Vapor MemoryCache.swift
[2503/2655] Compiling Vapor Request+Cache.swift
[2504/2655] Compiling Vapor Application+Clients.swift
[2505/2655] Compiling Vapor Client.swift
[2506/2655] Compiling Vapor ClientRequest.swift
[2507/2655] Compiling Vapor ClientResponse.swift
[2508/2655] Compiling Vapor Request+Client.swift
[2509/2655] Compiling Vapor BootCommand.swift
[2510/2655] Compiling Vapor CommandContext+Application.swift
[2511/2655] Compiling Vapor RoutesCommand.swift
[2512/2655] Compiling Vapor ServeCommand.swift
[2513/2655] Compiling Vapor AnyResponse+Concurrency.swift
[2514/2655] Compiling Vapor MemorySessions.swift
[2515/2655] Compiling Vapor Request+Session.swift
[2516/2655] Compiling Vapor Session.swift
[2517/2655] Compiling Vapor SessionCache.swift
[2518/2655] Compiling Vapor SessionData.swift
[2519/2655] Compiling Vapor SessionDriver.swift
[2520/2655] Compiling Vapor SessionsConfiguration.swift
[2521/2655] Compiling Vapor SessionsMiddleware.swift
[2522/2655] Compiling Vapor URLEncodedFormData.swift
[2523/2655] Compiling Vapor URLEncodedFormDecoder.swift
[2524/2655] Compiling Vapor URLEncodedFormEncoder.swift
[2525/2655] Compiling Vapor URLEncodedFormError.swift
[2526/2655] Compiling Vapor URLEncodedFormParser.swift
[2527/2655] Compiling Vapor URLEncodedFormSerializer.swift
[2528/2655] Compiling Vapor URLQueryFragmentConvertible.swift
[2529/2655] Compiling Vapor AnyResponse.swift
[2530/2655] Compiling Vapor Array+Random.swift
[2531/2655] Compiling Vapor Base32.swift
[2532/2655] Compiling Vapor Base64.swift
[2533/2655] Compiling Vapor BaseN.swift
[2534/2655] Compiling Vapor BasicCodingKey.swift
[2535/2655] Compiling Vapor ByteCount.swift
[2536/2655] Compiling Vapor Bytes+Hex.swift
[2537/2678] Compiling Vapor Bytes+SecureCompare.swift
[2538/2678] Compiling Vapor Collection+Safe.swift
[2539/2678] Compiling Vapor DataProtocol+Copy.swift
[2540/2678] Compiling Vapor DecoderUnwrapper.swift
[2541/2678] Compiling Vapor DirectoryConfiguration.swift
[2542/2678] Compiling Vapor DotEnv.swift
[2543/2678] Compiling Vapor Extendable.swift
[2544/2678] Compiling Vapor File.swift
[2545/2678] Compiling Vapor FileIO.swift
[2546/2678] Compiling Vapor LifecycleHandler.swift
[2547/2678] Compiling Vapor OptionalType.swift
[2548/2678] Compiling Vapor RFC1123.swift
[2549/2678] Compiling Vapor SocketAddress+Hostname.swift
[2550/2678] Compiling Vapor Storage.swift
[2551/2678] Compiling Vapor String+IsIPAddress.swift
[2552/2678] Compiling Vapor Thread.swift
[2553/2678] Compiling Vapor URI.swift
[2554/2678] Compiling Vapor RangeResult.swift
[2555/2678] Compiling Vapor Validatable.swift
[2556/2678] Compiling Vapor Validation.swift
[2557/2678] Compiling Vapor ValidationKey.swift
[2558/2678] Compiling Vapor Validations.swift
[2559/2678] Compiling Vapor ValidationsError.swift
[2560/2678] Emitting module Vapor
[2561/2678] Compiling Vapor AsyncBasicResponder.swift
[2562/2678] Compiling Vapor AsyncMiddleware.swift
[2563/2678] Compiling Vapor AsyncPasswordHasher+Concurrency.swift
[2564/2678] Compiling Vapor AsyncSessionDriver.swift
[2565/2678] Compiling Vapor Authentication+Concurrency.swift
[2566/2678] Compiling Vapor Cache+Concurrency.swift
[2567/2678] Compiling Vapor Client+Concurrency.swift
[2568/2678] Compiling Vapor RequestBody+Concurrency.swift
[2569/2678] Compiling Vapor Responder+Concurrency.swift
[2570/2678] Compiling Vapor ResponseCodable+Concurrency.swift
[2571/2678] Compiling Vapor RoutesBuilder+Concurrency.swift
[2572/2678] Compiling Vapor ViewRenderer+Concurrency.swift
[2573/2678] Compiling Vapor WebSocket+Concurrency.swift
[2574/2678] Compiling Vapor ContainerGetPathExecutor.swift
[2575/2678] Compiling Vapor Content.swift
[2576/2678] Compiling Vapor ContentCoders.swift
[2577/2678] Compiling Vapor ContentConfiguration.swift
[2578/2678] Compiling Vapor ContentContainer.swift
[2579/2678] Compiling Vapor JSONCoder+Custom.swift
[2580/2678] Compiling Vapor JSONCoders+Content.swift
[2581/2678] Compiling Vapor PlaintextDecoder.swift
[2582/2678] Compiling Vapor PlaintextEncoder.swift
[2583/2678] Compiling Vapor URLQueryCoders.swift
[2584/2678] Compiling Vapor URLQueryContainer.swift
[2585/2678] Compiling Vapor Request+Body.swift
[2586/2678] Compiling Vapor Request+BodyStream.swift
[2587/2678] Compiling Vapor Request.swift
[2588/2678] Compiling Vapor Application+Responder.swift
[2589/2678] Compiling Vapor DefaultResponder.swift
[2590/2678] Compiling Vapor Response+Body.swift
[2591/2678] Compiling Vapor Response.swift
[2592/2678] Compiling Vapor ResponseCodable.swift
[2593/2678] Compiling Vapor Application+Routes.swift
[2594/2678] Compiling Vapor Parameters+Require.swift
[2595/2678] Compiling Vapor Request+WebSocket.swift
[2596/2678] Compiling Vapor Route.swift
[2597/2678] Compiling Vapor RouteCollection.swift
[2598/2678] Compiling Vapor Routes.swift
[2599/2678] Compiling Vapor RoutesBuilder+Group.swift
[2600/2678] Compiling Vapor RoutesBuilder+Method.swift
[2601/2678] Compiling Vapor RoutesBuilder+Middleware.swift
[2602/2678] Compiling Vapor RoutesBuilder+WebSocket.swift
[2603/2678] Compiling Vapor RoutesBuilder.swift
[2604/2678] Compiling Vapor OTP.swift
[2605/2678] Compiling Vapor Application+Servers.swift
[2606/2678] Compiling Vapor Server.swift
[2607/2678] Compiling Vapor Application+Sessions.swift
[2608/2678] Compiling Vapor Core.swift
[2609/2678] Compiling Vapor Running.swift
[2610/2678] Compiling Vapor CORSMiddleware+AllowOriginSetting.swift
[2611/2678] Compiling Vapor CORSMiddleware+Configuration+exposedHeaders.swift
[2612/2678] Compiling Vapor DotEnvFile+load.swift
[2613/2678] Compiling Vapor Routes+caseInsenstive.swift
[2614/2678] Compiling Vapor Validatable+validate.swift
[2615/2678] Compiling Vapor Environment+Process.swift
[2616/2678] Compiling Vapor Environment+Secret.swift
[2617/2678] Compiling Vapor Environment.swift
[2618/2678] Compiling Vapor Abort.swift
[2619/2678] Compiling Vapor AbortError.swift
[2620/2678] Compiling Vapor DebuggableError.swift
[2621/2678] Compiling Vapor Demangler.swift
[2622/2678] Compiling Vapor ErrorSource.swift
[2623/2678] Compiling Vapor StackTrace.swift
[2624/2678] Compiling Vapor Exports.swift
[2625/2678] Compiling Vapor Application+HTTP.swift
[2626/2678] Compiling Vapor BasicResponder.swift
[2627/2678] Compiling Vapor BodyStream.swift
[2628/2678] Compiling Vapor Application+HTTP+Client.swift
[2629/2678] Compiling Vapor EventLoopHTTPClient.swift
[2630/2678] Compiling Vapor EndpointCache.swift
[2631/2678] Compiling Vapor HTTPMethod+String.swift
[2632/2678] Compiling Vapor HTTPStatus.swift
[2633/2678] Compiling Vapor HTTPCookies.swift
[2634/2678] Compiling Vapor HTTPHeaderCacheControl.swift
[2635/2678] Compiling Vapor HTTPHeaderExpires.swift
[2636/2678] Compiling Vapor HTTPHeaderLastModified.swift
[2637/2678] Compiling Vapor HTTPHeaders+Cache.swift
[2638/2678] Compiling Vapor HTTPHeaders+Connection.swift
[2639/2678] Compiling Vapor HTTPHeaders+ContentDisposition.swift
[2640/2678] Compiling Vapor HTTPHeaders+ContentRange.swift
[2641/2678] Compiling Vapor HTTPHeaders+Directive.swift
[2642/2678] Compiling Vapor HTTPHeaders+Forwarded.swift
[2643/2678] Compiling Vapor HTTPHeaders+Link.swift
[2644/2678] Compiling Vapor HTTPHeaders+Name.swift
[2645/2678] Compiling Vapor HTTPHeaders+ResponseCompression.swift
[2646/2678] Compiling Vapor HTTPHeaders.swift
[2647/2678] Compiling Vapor HTTPMediaType.swift
[2648/2678] Compiling Vapor HTTPMediaTypePreference.swift
[2649/2678] Compiling Vapor Responder.swift
[2650/2678] Compiling Vapor Application+HTTP+Server.swift
[2651/2678] Compiling Vapor HTTPServer.swift
[2652/2678] Compiling Vapor HTTPServerConfiguration+RequestDecompressionConfiguration.swift
[2653/2678] Compiling Vapor HTTPServerConfiguration+ResponseCompressionConfiguration.swift
[2654/2678] Compiling Vapor HTTPServerHandler.swift
[2655/2678] Compiling Vapor HTTPServerRequestDecoder.swift
[2656/2678] Compiling Vapor Validator.swift
[2657/2678] Compiling Vapor ValidatorResult.swift
[2658/2678] Compiling Vapor And.swift
[2659/2678] Compiling Vapor Case.swift
[2660/2678] Compiling Vapor CharacterSet.swift
[2661/2678] Compiling Vapor Count.swift
[2662/2678] Compiling Vapor Email.swift
[2663/2678] Compiling Vapor Empty.swift
[2664/2678] Compiling Vapor In.swift
[2665/2678] Compiling Vapor Nil.swift
[2666/2678] Compiling Vapor NilIgnoring.swift
[2667/2678] Compiling Vapor Not.swift
[2668/2678] Compiling Vapor Or.swift
[2669/2678] Compiling Vapor Pattern.swift
[2670/2678] Compiling Vapor Range.swift
[2671/2678] Compiling Vapor URL.swift
[2672/2678] Compiling Vapor Valid.swift
[2673/2678] Compiling Vapor Application+Views.swift
[2674/2678] Compiling Vapor PlaintextRenderer.swift
[2675/2678] Compiling Vapor Request+View.swift
[2676/2678] Compiling Vapor View.swift
[2677/2678] Compiling Vapor ViewRenderer.swift
[2678/2678] Compiling Vapor _Deprecations.swift
[2680/2692] Compiling ImperialCore FederatedService.swift
[2681/2693] Compiling ImperialCore FederatedServiceTokens.swift
[2682/2693] Compiling ImperialCore ImperialError.swift
[2683/2693] Compiling ImperialCore ServiceRegister.swift
/host/spi-builder-workspace/Sources/ImperialCore/ServiceRegister.swift:56:38: warning: type 'any ResponseEncodable' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | try self.oAuth(from: OAuthProvider.self, authenticate: authUrl, authenticateCallback: authenticateCallback, callback: callback, scope: scope) { (request, _) in
55 | let redirect: Response = request.redirect(to: redirectURL)
56 | return request.eventLoop.makeSucceededFuture(redirect)
| `- warning: type 'any ResponseEncodable' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
57 | }
58 | }
/host/spi-builder-workspace/.build/checkouts/vapor/Sources/Vapor/Response/ResponseCodable.swift:7:17: note: protocol 'ResponseEncodable' does not conform to the 'Sendable' protocol
5 | ///
6 | /// Types that conform to this protocol can be returned in route closures.
7 | public protocol ResponseEncodable {
| `- note: protocol 'ResponseEncodable' does not conform to the 'Sendable' protocol
8 | /// Encodes an instance of `Self` to a `Response`.
9 | ///
/host/spi-builder-workspace/Sources/ImperialCore/ServiceRegister.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
1 | import Vapor
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Vapor'
2 |
3 | extension RoutesBuilder {
[2684/2693] Emitting module ImperialCore
/host/spi-builder-workspace/Sources/ImperialCore/Helpers/String+Tools.swift:17:1: warning: extension declares a conformance of imported type 'UTF8View' to imported protocols 'DataProtocol', 'RandomAccessCollection'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
15 | }
16 |
17 | extension String.UTF8View: DataProtocol {
| |- warning: extension declares a conformance of imported type 'UTF8View' to imported protocols 'DataProtocol', 'RandomAccessCollection'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
18 | public var regions: CollectionOfOne<Array<UInt8>> { Array(self).regions }
19 | }
/host/spi-builder-workspace/Sources/ImperialCore/Helpers/String+Tools.swift:21:1: warning: extension declares a conformance of imported type 'UTF8View' to imported protocols 'DataProtocol', 'RandomAccessCollection'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
19 | }
20 |
21 | extension Substring.UTF8View: DataProtocol {
| |- warning: extension declares a conformance of imported type 'UTF8View' to imported protocols 'DataProtocol', 'RandomAccessCollection'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
22 | public var regions: CollectionOfOne<Array<UInt8>> { Array(self).regions }
23 | }
/host/spi-builder-workspace/Sources/ImperialCore/Middleware/ImperialMiddleware.swift:4:14: warning: non-final class 'ImperialMiddleware' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
2 |
3 | /// Protects routes from users without an access token.
4 | public class ImperialMiddleware: Middleware {
| `- warning: non-final class 'ImperialMiddleware' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
5 |
6 | /// The path to redirect the user to if they are not authenticated.
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:4:17: warning: var 'services' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | import Vapor
3 |
4 | fileprivate var services: ThreadSpecificVariable<OAuthServiceContainer> = .init(value: .init())
| |- warning: var 'services' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'services' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'services' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | /// Represents a service that interacts with an OAuth provider.
[2685/2693] Compiling ImperialCore String+Tools.swift
/host/spi-builder-workspace/Sources/ImperialCore/Helpers/String+Tools.swift:17:1: warning: extension declares a conformance of imported type 'UTF8View' to imported protocols 'DataProtocol', 'RandomAccessCollection'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
15 | }
16 |
17 | extension String.UTF8View: DataProtocol {
| |- warning: extension declares a conformance of imported type 'UTF8View' to imported protocols 'DataProtocol', 'RandomAccessCollection'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
18 | public var regions: CollectionOfOne<Array<UInt8>> { Array(self).regions }
19 | }
/host/spi-builder-workspace/Sources/ImperialCore/Helpers/String+Tools.swift:21:1: warning: extension declares a conformance of imported type 'UTF8View' to imported protocols 'DataProtocol', 'RandomAccessCollection'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
19 | }
20 |
21 | extension Substring.UTF8View: DataProtocol {
| |- warning: extension declares a conformance of imported type 'UTF8View' to imported protocols 'DataProtocol', 'RandomAccessCollection'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
22 | public var regions: CollectionOfOne<Array<UInt8>> { Array(self).regions }
23 | }
/host/spi-builder-workspace/Sources/ImperialCore/Middleware/ImperialMiddleware.swift:4:14: warning: non-final class 'ImperialMiddleware' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
2 |
3 | /// Protects routes from users without an access token.
4 | public class ImperialMiddleware: Middleware {
| `- warning: non-final class 'ImperialMiddleware' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
5 |
6 | /// The path to redirect the user to if they are not authenticated.
[2686/2693] Compiling ImperialCore ImperialMiddleware.swift
/host/spi-builder-workspace/Sources/ImperialCore/Helpers/String+Tools.swift:17:1: warning: extension declares a conformance of imported type 'UTF8View' to imported protocols 'DataProtocol', 'RandomAccessCollection'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
15 | }
16 |
17 | extension String.UTF8View: DataProtocol {
| |- warning: extension declares a conformance of imported type 'UTF8View' to imported protocols 'DataProtocol', 'RandomAccessCollection'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
18 | public var regions: CollectionOfOne<Array<UInt8>> { Array(self).regions }
19 | }
/host/spi-builder-workspace/Sources/ImperialCore/Helpers/String+Tools.swift:21:1: warning: extension declares a conformance of imported type 'UTF8View' to imported protocols 'DataProtocol', 'RandomAccessCollection'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
19 | }
20 |
21 | extension Substring.UTF8View: DataProtocol {
| |- warning: extension declares a conformance of imported type 'UTF8View' to imported protocols 'DataProtocol', 'RandomAccessCollection'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
22 | public var regions: CollectionOfOne<Array<UInt8>> { Array(self).regions }
23 | }
/host/spi-builder-workspace/Sources/ImperialCore/Middleware/ImperialMiddleware.swift:4:14: warning: non-final class 'ImperialMiddleware' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
2 |
3 | /// Protects routes from users without an access token.
4 | public class ImperialMiddleware: Middleware {
| `- warning: non-final class 'ImperialMiddleware' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
5 |
6 | /// The path to redirect the user to if they are not authenticated.
[2687/2693] Compiling ImperialCore FederatedCreatable.swift
/host/spi-builder-workspace/Sources/ImperialCore/Routing/FederatedServiceRouter.swift:81:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
79 |
80 | public func configureRoutes(withAuthURL authURL: String, authenticateCallback: ((Request) throws -> (EventLoopFuture<Void>))?, on router: RoutesBuilder) throws {
81 | router.get(callbackURL.pathComponents, use: callback)
| `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
82 | router.get(authURL.pathComponents) { req -> EventLoopFuture<Response> in
83 | let redirect: Response = req.redirect(to: try self.authURL(req))
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/spi-builder-workspace/Sources/ImperialCore/Routing/FederatedServiceRouter.swift:83:59: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
81 | router.get(callbackURL.pathComponents, use: callback)
82 | router.get(authURL.pathComponents) { req -> EventLoopFuture<Response> in
83 | let redirect: Response = req.redirect(to: try self.authURL(req))
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | guard let authenticateCallback = authenticateCallback else {
85 | return req.eventLoop.makeSucceededFuture(redirect)
/host/spi-builder-workspace/Sources/ImperialCore/Routing/FederatedServiceRouter.swift:84:46: warning: capture of 'authenticateCallback' with non-sendable type '((Request) throws -> (EventLoopFuture<Void>))?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | router.get(authURL.pathComponents) { req -> EventLoopFuture<Response> in
83 | let redirect: Response = req.redirect(to: try self.authURL(req))
84 | guard let authenticateCallback = authenticateCallback else {
| |- warning: capture of 'authenticateCallback' with non-sendable type '((Request) throws -> (EventLoopFuture<Void>))?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
85 | return req.eventLoop.makeSucceededFuture(redirect)
86 | }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/spi-builder-workspace/Sources/ImperialCore/Routing/FederatedServiceRouter.swift:109:58: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | .map { $0.body.buffer }
108 | .flatMap { buffer in
109 | return request.client.post(url, headers: self.callbackHeaders) { $0.body = buffer }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 | }.flatMapThrowing { response in
111 | return try response.content.get(String.self, at: ["access_token"])
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/spi-builder-workspace/Sources/ImperialCore/Routing/FederatedServiceRouter.swift:120:61: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | do {
119 | try session.setAccessToken(accessToken)
120 | try session.set("access_token_service", to: self.service)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 | return try self.callbackCompletion(request, accessToken).flatMap { response in
122 | return response.encodeResponse(for: request)
[2688/2693] Compiling ImperialCore FederatedServiceRouter.swift
/host/spi-builder-workspace/Sources/ImperialCore/Routing/FederatedServiceRouter.swift:81:47: warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
79 |
80 | public func configureRoutes(withAuthURL authURL: String, authenticateCallback: ((Request) throws -> (EventLoopFuture<Void>))?, on router: RoutesBuilder) throws {
81 | router.get(callbackURL.pathComponents, use: callback)
| `- warning: converting non-sendable function value to '@Sendable (Request) throws -> EventLoopFuture<Response>' may introduce data races
82 | router.get(authURL.pathComponents) { req -> EventLoopFuture<Response> in
83 | let redirect: Response = req.redirect(to: try self.authURL(req))
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/spi-builder-workspace/Sources/ImperialCore/Routing/FederatedServiceRouter.swift:83:59: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
81 | router.get(callbackURL.pathComponents, use: callback)
82 | router.get(authURL.pathComponents) { req -> EventLoopFuture<Response> in
83 | let redirect: Response = req.redirect(to: try self.authURL(req))
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | guard let authenticateCallback = authenticateCallback else {
85 | return req.eventLoop.makeSucceededFuture(redirect)
/host/spi-builder-workspace/Sources/ImperialCore/Routing/FederatedServiceRouter.swift:84:46: warning: capture of 'authenticateCallback' with non-sendable type '((Request) throws -> (EventLoopFuture<Void>))?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | router.get(authURL.pathComponents) { req -> EventLoopFuture<Response> in
83 | let redirect: Response = req.redirect(to: try self.authURL(req))
84 | guard let authenticateCallback = authenticateCallback else {
| |- warning: capture of 'authenticateCallback' with non-sendable type '((Request) throws -> (EventLoopFuture<Void>))?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
85 | return req.eventLoop.makeSucceededFuture(redirect)
86 | }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/spi-builder-workspace/Sources/ImperialCore/Routing/FederatedServiceRouter.swift:109:58: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 | .map { $0.body.buffer }
108 | .flatMap { buffer in
109 | return request.client.post(url, headers: self.callbackHeaders) { $0.body = buffer }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 | }.flatMapThrowing { response in
111 | return try response.content.get(String.self, at: ["access_token"])
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/host/spi-builder-workspace/Sources/ImperialCore/Routing/FederatedServiceRouter.swift:120:61: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | do {
119 | try session.setAccessToken(accessToken)
120 | try session.set("access_token_service", to: self.service)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 | return try self.callbackCompletion(request, accessToken).flatMap { response in
122 | return response.encodeResponse(for: request)
[2689/2693] Compiling ImperialCore ServiceError.swift
[2690/2693] Compiling ImperialCore Optional+Imperial.swift
[2691/2693] Compiling ImperialCore Request+Imperial.swift
/host/spi-builder-workspace/Sources/ImperialCore/Helpers/Request+Imperial.swift:19:84: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | /// - Returns: An instance of the type passed in.
12 | /// - Throws: Errors from trying to get the access token from the request.
13 | func create<Model: FederatedCreatable>(_ model: Model.Type, with service: OAuthService, on req: Request) throws -> EventLoopFuture<Model> {
| `- note: consider making generic parameter 'Model' conform to the 'Sendable' protocol
14 | let url = try service[model.serviceKey].value(or: ServiceError.noServiceEndpoint(model.serviceKey))
15 |
:
17 | .accessToken()
18 |
19 | return req.client.get(URI(string: url), headers: ["Authorization": token]).flatMap { response in
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 | return try! model.create(from: response).flatMapThrowing { instance in
21 | try self.session.set("imperial-\(model)", to: instance)
[2692/2693] Compiling ImperialCore Sessions+Imperial.swift
/host/spi-builder-workspace/Sources/ImperialCore/Helpers/Request+Imperial.swift:19:84: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | /// - Returns: An instance of the type passed in.
12 | /// - Throws: Errors from trying to get the access token from the request.
13 | func create<Model: FederatedCreatable>(_ model: Model.Type, with service: OAuthService, on req: Request) throws -> EventLoopFuture<Model> {
| `- note: consider making generic parameter 'Model' conform to the 'Sendable' protocol
14 | let url = try service[model.serviceKey].value(or: ServiceError.noServiceEndpoint(model.serviceKey))
15 |
:
17 | .accessToken()
18 |
19 | return req.client.get(URI(string: url), headers: ["Authorization": token]).flatMap { response in
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 | return try! model.create(from: response).flatMapThrowing { instance in
21 | try self.session.set("imperial-\(model)", to: instance)
[2693/2693] Compiling ImperialCore OAuthService.swift
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:4:17: warning: var 'services' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | import Vapor
3 |
4 | fileprivate var services: ThreadSpecificVariable<OAuthServiceContainer> = .init(value: .init())
| |- warning: var 'services' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'services' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'services' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | /// Represents a service that interacts with an OAuth provider.
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:59:18: warning: It would be nice if this method could be internal
57 | /// - Parameter service: The service to register.
58 | public static func register(_ service: OAuthService) {
59 | #warning("It would be nice if this method could be internal")
| `- warning: It would be nice if this method could be internal
60 | self.services[service.name] = service
61 | }
[2695/2737] Compiling ImperialMicrosoft Microsoft.swift
/host/spi-builder-workspace/Sources/ImperialMicrosoft/Service+Microsoft.swift:2:23: warning: static property 'microsoft' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let microsoft = OAuthService.init(
| |- warning: static property 'microsoft' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'microsoft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "microsoft",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2696/2749] Compiling ImperialMicrosoft Service+Microsoft.swift
/host/spi-builder-workspace/Sources/ImperialMicrosoft/Service+Microsoft.swift:2:23: warning: static property 'microsoft' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let microsoft = OAuthService.init(
| |- warning: static property 'microsoft' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'microsoft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "microsoft",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2697/2749] Compiling ImperialGitHub GitHubAuth.swift
/host/spi-builder-workspace/Sources/ImperialGitHub/GitHubAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class GitHubAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GITHUB_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "GITHUB_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialGitHub/GitHubAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class GitHubAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GITHUB_CLIENT_ID"
5 | public static var secretEnvKey: String = "GITHUB_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
[2698/2749] Compiling ImperialGitHub Service+GitHub.swift
/host/spi-builder-workspace/Sources/ImperialGitHub/Service+GitHub.swift:2:23: warning: static property 'github' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let github = OAuthService.init(
| |- warning: static property 'github' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'github' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "github",
4 | endpoints: [
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2699/2749] Compiling ImperialDropbox Service+Dropbox.swift
/host/spi-builder-workspace/Sources/ImperialDropbox/Service+Dropbox.swift:2:23: warning: static property 'dropbox' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let dropbox = OAuthService(
| |- warning: static property 'dropbox' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dropbox' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "dropbox",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2700/2749] Emitting module ImperialDropbox
/host/spi-builder-workspace/Sources/ImperialDropbox/DropboxAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class DropboxAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "DROPBOX_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "DROPBOX_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialDropbox/DropboxAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class DropboxAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "DROPBOX_CLIENT_ID"
5 | public static var secretEnvKey: String = "DROPBOX_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
/host/spi-builder-workspace/Sources/ImperialDropbox/DropboxCallbackBody.swift:8:16: warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | let grantType: String = "authorization_code"
7 |
8 | static var defaultContentType: HTTPMediaType = .urlEncodedForm
| |- warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/ImperialDropbox/Service+Dropbox.swift:2:23: warning: static property 'dropbox' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let dropbox = OAuthService(
| |- warning: static property 'dropbox' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dropbox' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "dropbox",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2701/2749] Compiling ImperialDropbox Dropbox.swift
/host/spi-builder-workspace/Sources/ImperialDropbox/Service+Dropbox.swift:2:23: warning: static property 'dropbox' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let dropbox = OAuthService(
| |- warning: static property 'dropbox' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dropbox' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "dropbox",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2702/2749] Compiling ImperialGitlab Gitlab.swift
/host/spi-builder-workspace/Sources/ImperialGitlab/Service+Gitlab.swift:2:23: warning: static property 'gitlab' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let gitlab = OAuthService.init(
| |- warning: static property 'gitlab' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitlab' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "gitlab",
4 | endpoints: [
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2703/2749] Compiling ImperialShopify Service+Shopify.swift
/host/spi-builder-workspace/Sources/ImperialShopify/Service+Shopify.swift:2:20: warning: static property 'shopify' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let shopify = OAuthService.init(name: "shopify", endpoints: [:])
| |- warning: static property 'shopify' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shopify' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2704/2749] Compiling ImperialGitlab Service+Gitlab.swift
/host/spi-builder-workspace/Sources/ImperialGitlab/Service+Gitlab.swift:2:23: warning: static property 'gitlab' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let gitlab = OAuthService.init(
| |- warning: static property 'gitlab' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitlab' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "gitlab",
4 | endpoints: [
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2705/2749] Compiling ImperialGitHub GitHubRouter.swift
/host/spi-builder-workspace/Sources/ImperialGitHub/GitHubRouter.swift:6:23: warning: static property 'baseURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class GitHubRouter: FederatedServiceRouter {
5 |
6 | public static var baseURL: String = "https://github.com/"
| |- warning: static property 'baseURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'baseURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'baseURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | public let tokens: FederatedServiceTokens
8 | public let callbackCompletion: (Request, String) throws -> (EventLoopFuture<ResponseEncodable>)
/host/spi-builder-workspace/Sources/ImperialGitHub/Service+GitHub.swift:2:23: warning: static property 'github' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let github = OAuthService.init(
| |- warning: static property 'github' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'github' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "github",
4 | endpoints: [
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2706/2749] Emitting module ImperialMicrosoft
/host/spi-builder-workspace/Sources/ImperialMicrosoft/MicrosoftAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class MicrosoftAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "MICROSOFT_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "MICROSOFT_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialMicrosoft/MicrosoftAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class MicrosoftAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "MICROSOFT_CLIENT_ID"
5 | public static var secretEnvKey: String = "MICROSOFT_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
/host/spi-builder-workspace/Sources/ImperialMicrosoft/MicrosoftCallbackBody.swift:11:16: warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | let grantType: String = "authorization_code"
10 |
11 | static var defaultContentType: HTTPMediaType = .urlEncodedForm
| |- warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/ImperialMicrosoft/MicrosoftRouter.swift:6:23: warning: static property 'tenantIDEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class MicrosoftRouter: FederatedServiceRouter {
5 |
6 | public static var tenantIDEnvKey: String = "MICROSOFT_TENANT_ID"
| |- warning: static property 'tenantIDEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tenantIDEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tenantIDEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public let tokens: FederatedServiceTokens
/host/spi-builder-workspace/Sources/ImperialMicrosoft/Service+Microsoft.swift:2:23: warning: static property 'microsoft' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let microsoft = OAuthService.init(
| |- warning: static property 'microsoft' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'microsoft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "microsoft",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2707/2749] Compiling ImperialFacebook Service+Facebook.swift
/host/spi-builder-workspace/Sources/ImperialFacebook/Service+Facebook.swift:2:23: warning: static property 'facebook' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let facebook = OAuthService.init(
| |- warning: static property 'facebook' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'facebook' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "facebook",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2708/2749] Emitting module ImperialShopify
/host/spi-builder-workspace/Sources/ImperialShopify/Service+Shopify.swift:2:20: warning: static property 'shopify' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let shopify = OAuthService.init(name: "shopify", endpoints: [:])
| |- warning: static property 'shopify' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shopify' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
/host/spi-builder-workspace/Sources/ImperialShopify/ShopifyAuth.swift:4:20: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class ShopifyAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "SHOPIFY_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "SHOPIFY_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialShopify/ShopifyAuth.swift:5:20: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class ShopifyAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "SHOPIFY_CLIENT_ID"
5 | public static var secretEnvKey: String = "SHOPIFY_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
[2709/2749] Compiling ImperialFacebook FacebookAuth.swift
/host/spi-builder-workspace/Sources/ImperialFacebook/FacebookAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FacebookAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "FACEBOOK_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "FACEBOOK_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialFacebook/FacebookAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class FacebookAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "FACEBOOK_CLIENT_ID"
5 | public static var secretEnvKey: String = "FACEBOOK_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
[2710/2749] Compiling ImperialKeycloak Service+Keycloak.swift
/host/spi-builder-workspace/Sources/ImperialKeycloak/Service+Keycloak.swift:2:23: warning: static property 'keycloak' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let keycloak = OAuthService.init(
| |- warning: static property 'keycloak' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keycloak' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "keycloak",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2711/2749] Compiling ImperialShopify Session+Shopify.swift
[2712/2749] Compiling ImperialShopify Shopify.swift
/host/spi-builder-workspace/Sources/ImperialShopify/Service+Shopify.swift:2:20: warning: static property 'shopify' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let shopify = OAuthService.init(name: "shopify", endpoints: [:])
| |- warning: static property 'shopify' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shopify' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2713/2749] Compiling ImperialGitHub GitHubCallbackBody.swift
[2714/2749] Compiling ImperialGitHub GitHub.swift
/host/spi-builder-workspace/Sources/ImperialGitHub/Service+GitHub.swift:2:23: warning: static property 'github' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let github = OAuthService.init(
| |- warning: static property 'github' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'github' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "github",
4 | endpoints: [
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2715/2749] Emitting module ImperialGitHub
/host/spi-builder-workspace/Sources/ImperialGitHub/GitHubAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class GitHubAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GITHUB_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "GITHUB_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialGitHub/GitHubAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class GitHubAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GITHUB_CLIENT_ID"
5 | public static var secretEnvKey: String = "GITHUB_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
/host/spi-builder-workspace/Sources/ImperialGitHub/GitHubRouter.swift:6:23: warning: static property 'baseURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class GitHubRouter: FederatedServiceRouter {
5 |
6 | public static var baseURL: String = "https://github.com/"
| |- warning: static property 'baseURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'baseURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'baseURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | public let tokens: FederatedServiceTokens
8 | public let callbackCompletion: (Request, String) throws -> (EventLoopFuture<ResponseEncodable>)
/host/spi-builder-workspace/Sources/ImperialGitHub/Service+GitHub.swift:2:23: warning: static property 'github' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let github = OAuthService.init(
| |- warning: static property 'github' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'github' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "github",
4 | endpoints: [
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2716/2749] Emitting module ImperialFacebook
/host/spi-builder-workspace/Sources/ImperialFacebook/FacebookAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FacebookAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "FACEBOOK_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "FACEBOOK_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialFacebook/FacebookAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class FacebookAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "FACEBOOK_CLIENT_ID"
5 | public static var secretEnvKey: String = "FACEBOOK_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
/host/spi-builder-workspace/Sources/ImperialFacebook/FacebookCallbackBody.swift:10:16: warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | let grantType: String = "authorization_code"
9 |
10 | static var defaultContentType: HTTPMediaType = .urlEncodedForm
| |- warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/ImperialFacebook/Service+Facebook.swift:2:23: warning: static property 'facebook' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let facebook = OAuthService.init(
| |- warning: static property 'facebook' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'facebook' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "facebook",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2717/2749] Compiling ImperialFacebook Facebook.swift
/host/spi-builder-workspace/Sources/ImperialFacebook/Service+Facebook.swift:2:23: warning: static property 'facebook' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let facebook = OAuthService.init(
| |- warning: static property 'facebook' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'facebook' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "facebook",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2718/2749] Compiling ImperialKeycloak KeycloakRouter.swift
/host/spi-builder-workspace/Sources/ImperialKeycloak/Service+Keycloak.swift:2:23: warning: static property 'keycloak' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let keycloak = OAuthService.init(
| |- warning: static property 'keycloak' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keycloak' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "keycloak",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2719/2749] Compiling ImperialFacebook FacebookCallbackBody.swift
/host/spi-builder-workspace/Sources/ImperialFacebook/FacebookCallbackBody.swift:10:16: warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | let grantType: String = "authorization_code"
9 |
10 | static var defaultContentType: HTTPMediaType = .urlEncodedForm
| |- warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | enum CodingKeys: String, CodingKey {
[2720/2749] Compiling ImperialFacebook FacebookRouter.swift
/host/spi-builder-workspace/Sources/ImperialFacebook/Service+Facebook.swift:2:23: warning: static property 'facebook' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let facebook = OAuthService.init(
| |- warning: static property 'facebook' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'facebook' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "facebook",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2721/2749] Emitting module ImperialGoogle
/host/spi-builder-workspace/Sources/ImperialGoogle/JWT/GoogleJWTAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class GoogleJWTAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GOOGLEJWT_CLIENT_EMAIL"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "GOOGLEJWT_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialGoogle/JWT/GoogleJWTAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class GoogleJWTAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GOOGLEJWT_CLIENT_EMAIL"
5 | public static var secretEnvKey: String = "GOOGLEJWT_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
/host/spi-builder-workspace/Sources/ImperialGoogle/JWT/Service+GoogleJWT.swift:2:23: warning: static property 'googleJWT' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let googleJWT = OAuthService(
| |- warning: static property 'googleJWT' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'googleJWT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "googleJWT",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
/host/spi-builder-workspace/Sources/ImperialGoogle/Standard/GoogleAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class GoogleAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GOOGLE_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "GOOGLE_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialGoogle/Standard/GoogleAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class GoogleAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GOOGLE_CLIENT_ID"
5 | public static var secretEnvKey: String = "GOOGLE_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
/host/spi-builder-workspace/Sources/ImperialGoogle/Standard/GoogleCallbackBody.swift:10:16: warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | let grantType: String = "authorization_code"
9 |
10 | static var defaultContentType: HTTPMediaType = .urlEncodedForm
| |- warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/ImperialGoogle/Standard/Service+Google.swift:2:23: warning: static property 'google' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let google = OAuthService.init(
| |- warning: static property 'google' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'google' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "google",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2722/2750] Compiling ImperialMicrosoft MicrosoftRouter.swift
/host/spi-builder-workspace/Sources/ImperialMicrosoft/MicrosoftRouter.swift:6:23: warning: static property 'tenantIDEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class MicrosoftRouter: FederatedServiceRouter {
5 |
6 | public static var tenantIDEnvKey: String = "MICROSOFT_TENANT_ID"
| |- warning: static property 'tenantIDEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tenantIDEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'tenantIDEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public let tokens: FederatedServiceTokens
/host/spi-builder-workspace/Sources/ImperialMicrosoft/Service+Microsoft.swift:2:23: warning: static property 'microsoft' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let microsoft = OAuthService.init(
| |- warning: static property 'microsoft' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'microsoft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "microsoft",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2723/2750] Compiling ImperialKeycloak Keycloak.swift
/host/spi-builder-workspace/Sources/ImperialKeycloak/Service+Keycloak.swift:2:23: warning: static property 'keycloak' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let keycloak = OAuthService.init(
| |- warning: static property 'keycloak' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keycloak' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "keycloak",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2724/2750] Compiling ImperialDropbox DropboxRouter.swift
/host/spi-builder-workspace/Sources/ImperialDropbox/Service+Dropbox.swift:2:23: warning: static property 'dropbox' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let dropbox = OAuthService(
| |- warning: static property 'dropbox' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dropbox' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "dropbox",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2725/2751] Compiling ImperialGitlab GitlabAuth.swift
/host/spi-builder-workspace/Sources/ImperialGitlab/GitlabAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class GitlabAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GITLAB_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "GITLAB_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialGitlab/GitlabAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class GitlabAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GITLAB_CLIENT_ID"
5 | public static var secretEnvKey: String = "GITLAB_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
[2726/2751] Compiling ImperialGoogle GoogleCallbackBody.swift
/host/spi-builder-workspace/Sources/ImperialGoogle/Standard/GoogleCallbackBody.swift:10:16: warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | let grantType: String = "authorization_code"
9 |
10 | static var defaultContentType: HTTPMediaType = .urlEncodedForm
| |- warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | enum CodingKeys: String, CodingKey {
[2727/2751] Compiling ImperialGoogle Google.swift
/host/spi-builder-workspace/Sources/ImperialGoogle/Standard/Service+Google.swift:2:23: warning: static property 'google' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let google = OAuthService.init(
| |- warning: static property 'google' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'google' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "google",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2728/2751] Compiling ImperialGoogle GoogleAuth.swift
/host/spi-builder-workspace/Sources/ImperialGoogle/Standard/GoogleAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class GoogleAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GOOGLE_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "GOOGLE_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialGoogle/Standard/GoogleAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class GoogleAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GOOGLE_CLIENT_ID"
5 | public static var secretEnvKey: String = "GOOGLE_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
[2729/2751] Compiling ImperialGoogle GoogleRouter.swift
/host/spi-builder-workspace/Sources/ImperialGoogle/Standard/Service+Google.swift:2:23: warning: static property 'google' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let google = OAuthService.init(
| |- warning: static property 'google' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'google' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "google",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2730/2751] Emitting module ImperialKeycloak
/host/spi-builder-workspace/Sources/ImperialKeycloak/KeycloakAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class KeycloakAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "KEYCLOAK_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "KEYCLOAK_CLIENT_SECRET"
6 | public static var accessTokenEnvURL: String = "KEYCLOAK_ACCESS_TOKEN_URL"
/host/spi-builder-workspace/Sources/ImperialKeycloak/KeycloakAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class KeycloakAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "KEYCLOAK_CLIENT_ID"
5 | public static var secretEnvKey: String = "KEYCLOAK_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public static var accessTokenEnvURL: String = "KEYCLOAK_ACCESS_TOKEN_URL"
7 | public static var authEnvURL: String = "KEYCLOAK_AUTH_URL"
/host/spi-builder-workspace/Sources/ImperialKeycloak/KeycloakAuth.swift:6:23: warning: static property 'accessTokenEnvURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static var idEnvKey: String = "KEYCLOAK_CLIENT_ID"
5 | public static var secretEnvKey: String = "KEYCLOAK_CLIENT_SECRET"
6 | public static var accessTokenEnvURL: String = "KEYCLOAK_ACCESS_TOKEN_URL"
| |- warning: static property 'accessTokenEnvURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accessTokenEnvURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'accessTokenEnvURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | public static var authEnvURL: String = "KEYCLOAK_AUTH_URL"
8 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialKeycloak/KeycloakAuth.swift:7:23: warning: static property 'authEnvURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public static var secretEnvKey: String = "KEYCLOAK_CLIENT_SECRET"
6 | public static var accessTokenEnvURL: String = "KEYCLOAK_ACCESS_TOKEN_URL"
7 | public static var authEnvURL: String = "KEYCLOAK_AUTH_URL"
| |- warning: static property 'authEnvURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'authEnvURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'authEnvURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public var clientID: String
9 | public var clientSecret: String
/host/spi-builder-workspace/Sources/ImperialKeycloak/KeycloakCallbackBody.swift:10:16: warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | let grantType: String = "authorization_code"
9 |
10 | static var defaultContentType: HTTPMediaType = .urlEncodedForm
| |- warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/ImperialKeycloak/Service+Keycloak.swift:2:23: warning: static property 'keycloak' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let keycloak = OAuthService.init(
| |- warning: static property 'keycloak' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keycloak' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "keycloak",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2731/2751] Compiling ImperialShopify ShopifyAuth.swift
/host/spi-builder-workspace/Sources/ImperialShopify/ShopifyAuth.swift:4:20: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class ShopifyAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "SHOPIFY_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "SHOPIFY_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialShopify/ShopifyAuth.swift:5:20: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class ShopifyAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "SHOPIFY_CLIENT_ID"
5 | public static var secretEnvKey: String = "SHOPIFY_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
[2732/2751] Compiling ImperialKeycloak KeycloakAuth.swift
/host/spi-builder-workspace/Sources/ImperialKeycloak/KeycloakAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class KeycloakAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "KEYCLOAK_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "KEYCLOAK_CLIENT_SECRET"
6 | public static var accessTokenEnvURL: String = "KEYCLOAK_ACCESS_TOKEN_URL"
/host/spi-builder-workspace/Sources/ImperialKeycloak/KeycloakAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class KeycloakAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "KEYCLOAK_CLIENT_ID"
5 | public static var secretEnvKey: String = "KEYCLOAK_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public static var accessTokenEnvURL: String = "KEYCLOAK_ACCESS_TOKEN_URL"
7 | public static var authEnvURL: String = "KEYCLOAK_AUTH_URL"
/host/spi-builder-workspace/Sources/ImperialKeycloak/KeycloakAuth.swift:6:23: warning: static property 'accessTokenEnvURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static var idEnvKey: String = "KEYCLOAK_CLIENT_ID"
5 | public static var secretEnvKey: String = "KEYCLOAK_CLIENT_SECRET"
6 | public static var accessTokenEnvURL: String = "KEYCLOAK_ACCESS_TOKEN_URL"
| |- warning: static property 'accessTokenEnvURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accessTokenEnvURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'accessTokenEnvURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | public static var authEnvURL: String = "KEYCLOAK_AUTH_URL"
8 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialKeycloak/KeycloakAuth.swift:7:23: warning: static property 'authEnvURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public static var secretEnvKey: String = "KEYCLOAK_CLIENT_SECRET"
6 | public static var accessTokenEnvURL: String = "KEYCLOAK_ACCESS_TOKEN_URL"
7 | public static var authEnvURL: String = "KEYCLOAK_AUTH_URL"
| |- warning: static property 'authEnvURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'authEnvURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'authEnvURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public var clientID: String
9 | public var clientSecret: String
[2733/2751] Compiling ImperialKeycloak KeycloakCallbackBody.swift
/host/spi-builder-workspace/Sources/ImperialKeycloak/KeycloakCallbackBody.swift:10:16: warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | let grantType: String = "authorization_code"
9 |
10 | static var defaultContentType: HTTPMediaType = .urlEncodedForm
| |- warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | enum CodingKeys: String, CodingKey {
[2734/2751] Compiling ImperialMicrosoft MicrosoftCallbackBody.swift
/host/spi-builder-workspace/Sources/ImperialMicrosoft/MicrosoftCallbackBody.swift:11:16: warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | let grantType: String = "authorization_code"
10 |
11 | static var defaultContentType: HTTPMediaType = .urlEncodedForm
| |- warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | enum CodingKeys: String, CodingKey {
[2735/2751] Compiling ImperialMicrosoft MicrosoftAuth.swift
/host/spi-builder-workspace/Sources/ImperialMicrosoft/MicrosoftAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class MicrosoftAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "MICROSOFT_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "MICROSOFT_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialMicrosoft/MicrosoftAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class MicrosoftAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "MICROSOFT_CLIENT_ID"
5 | public static var secretEnvKey: String = "MICROSOFT_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
[2736/2751] Compiling ImperialDropbox DropboxCallbackBody.swift
/host/spi-builder-workspace/Sources/ImperialDropbox/DropboxCallbackBody.swift:8:16: warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | let grantType: String = "authorization_code"
7 |
8 | static var defaultContentType: HTTPMediaType = .urlEncodedForm
| |- warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | enum CodingKeys: String, CodingKey {
[2737/2751] Compiling ImperialDropbox DropboxAuth.swift
/host/spi-builder-workspace/Sources/ImperialDropbox/DropboxAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class DropboxAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "DROPBOX_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "DROPBOX_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialDropbox/DropboxAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class DropboxAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "DROPBOX_CLIENT_ID"
5 | public static var secretEnvKey: String = "DROPBOX_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
[2738/2752] Emitting module ImperialGitlab
/host/spi-builder-workspace/Sources/ImperialGitlab/GitlabAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class GitlabAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GITLAB_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "GITLAB_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialGitlab/GitlabAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class GitlabAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GITLAB_CLIENT_ID"
5 | public static var secretEnvKey: String = "GITLAB_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
/host/spi-builder-workspace/Sources/ImperialGitlab/GitlabRouter.swift:6:23: warning: static property 'baseURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class GitlabRouter: FederatedServiceRouter {
5 |
6 | public static var baseURL: String = "https://gitlab.com/"
| |- warning: static property 'baseURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'baseURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'baseURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | public static var callbackURL: String = "callback"
8 | public let tokens: FederatedServiceTokens
/host/spi-builder-workspace/Sources/ImperialGitlab/GitlabRouter.swift:7:23: warning: static property 'callbackURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public static var baseURL: String = "https://gitlab.com/"
7 | public static var callbackURL: String = "callback"
| |- warning: static property 'callbackURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'callbackURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'callbackURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public let tokens: FederatedServiceTokens
9 | public let callbackCompletion: (Request, String) throws -> (EventLoopFuture<ResponseEncodable>)
/host/spi-builder-workspace/Sources/ImperialGitlab/Service+Gitlab.swift:2:23: warning: static property 'gitlab' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let gitlab = OAuthService.init(
| |- warning: static property 'gitlab' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitlab' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "gitlab",
4 | endpoints: [
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2739/2753] Compiling ImperialGitlab GitlabRouter.swift
/host/spi-builder-workspace/Sources/ImperialGitlab/GitlabRouter.swift:6:23: warning: static property 'baseURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class GitlabRouter: FederatedServiceRouter {
5 |
6 | public static var baseURL: String = "https://gitlab.com/"
| |- warning: static property 'baseURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'baseURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'baseURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | public static var callbackURL: String = "callback"
8 | public let tokens: FederatedServiceTokens
/host/spi-builder-workspace/Sources/ImperialGitlab/GitlabRouter.swift:7:23: warning: static property 'callbackURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public static var baseURL: String = "https://gitlab.com/"
7 | public static var callbackURL: String = "callback"
| |- warning: static property 'callbackURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'callbackURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'callbackURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public let tokens: FederatedServiceTokens
9 | public let callbackCompletion: (Request, String) throws -> (EventLoopFuture<ResponseEncodable>)
/host/spi-builder-workspace/Sources/ImperialGitlab/Service+Gitlab.swift:2:23: warning: static property 'gitlab' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let gitlab = OAuthService.init(
| |- warning: static property 'gitlab' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gitlab' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "gitlab",
4 | endpoints: [
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2740/2753] Compiling ImperialGitlab GitlabCallbackBody.swift
[2744/2755] Compiling ImperialShopify URL+Shopify.swift
[2748/2756] Compiling ImperialGoogle GoogleJWT.swift
/host/spi-builder-workspace/Sources/ImperialGoogle/Standard/Service+Google.swift:2:23: warning: static property 'google' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let google = OAuthService.init(
| |- warning: static property 'google' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'google' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "google",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
/host/spi-builder-workspace/Sources/ImperialGoogle/JWT/GoogleJWTAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class GoogleJWTAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GOOGLEJWT_CLIENT_EMAIL"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "GOOGLEJWT_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialGoogle/JWT/GoogleJWTAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class GoogleJWTAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GOOGLEJWT_CLIENT_EMAIL"
5 | public static var secretEnvKey: String = "GOOGLEJWT_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
[2749/2756] Compiling ImperialGoogle GoogleJWTAuth.swift
/host/spi-builder-workspace/Sources/ImperialGoogle/Standard/Service+Google.swift:2:23: warning: static property 'google' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let google = OAuthService.init(
| |- warning: static property 'google' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'google' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "google",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
/host/spi-builder-workspace/Sources/ImperialGoogle/JWT/GoogleJWTAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class GoogleJWTAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GOOGLEJWT_CLIENT_EMAIL"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "GOOGLEJWT_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialGoogle/JWT/GoogleJWTAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class GoogleJWTAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "GOOGLEJWT_CLIENT_EMAIL"
5 | public static var secretEnvKey: String = "GOOGLEJWT_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
[2750/2756] Compiling ImperialGoogle GoogleJWTPayload.swift
[2751/2756] Compiling ImperialGoogle GoogleJWTResponse.swift
[2752/2756] Compiling ImperialGoogle GoogleJWTRouter.swift
/host/spi-builder-workspace/Sources/ImperialGoogle/JWT/Service+GoogleJWT.swift:2:23: warning: static property 'googleJWT' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let googleJWT = OAuthService(
| |- warning: static property 'googleJWT' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'googleJWT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "googleJWT",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
/host/spi-builder-workspace/Sources/ImperialGoogle/JWT/GoogleJWTRouter.swift:44:58: warning: capture of 'self' with non-sendable type 'GoogleJWTRouter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
4 | import JWTKit
5 |
6 | public final class GoogleJWTRouter: FederatedServiceRouter {
| `- note: class 'GoogleJWTRouter' does not conform to the 'Sendable' protocol
7 |
8 | public var tokens: FederatedServiceTokens
:
42 | .map { $0.body.buffer }
43 | .flatMap { buffer in
44 | return request.client.post(url, headers: self.callbackHeaders) { $0.body = buffer }
| `- warning: capture of 'self' with non-sendable type 'GoogleJWTRouter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | }.flatMapThrowing { response in
46 | return try response.content.get(GoogleJWTResponse.self)
[2753/2756] Compiling ImperialGoogle Service+GoogleJWT.swift
/host/spi-builder-workspace/Sources/ImperialGoogle/JWT/Service+GoogleJWT.swift:2:23: warning: static property 'googleJWT' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let googleJWT = OAuthService(
| |- warning: static property 'googleJWT' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'googleJWT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "googleJWT",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
/host/spi-builder-workspace/Sources/ImperialGoogle/JWT/GoogleJWTRouter.swift:44:58: warning: capture of 'self' with non-sendable type 'GoogleJWTRouter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
4 | import JWTKit
5 |
6 | public final class GoogleJWTRouter: FederatedServiceRouter {
| `- note: class 'GoogleJWTRouter' does not conform to the 'Sendable' protocol
7 |
8 | public var tokens: FederatedServiceTokens
:
42 | .map { $0.body.buffer }
43 | .flatMap { buffer in
44 | return request.client.post(url, headers: self.callbackHeaders) { $0.body = buffer }
| `- warning: capture of 'self' with non-sendable type 'GoogleJWTRouter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | }.flatMapThrowing { response in
46 | return try response.content.get(GoogleJWTResponse.self)
[2754/2756] Compiling ImperialGoogle Service+Google.swift
/host/spi-builder-workspace/Sources/ImperialGoogle/Standard/Service+Google.swift:2:23: warning: static property 'google' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let google = OAuthService.init(
| |- warning: static property 'google' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'google' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "google",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2755/2757] Compiling ImperialShopify ShopifyCallbackBody.swift
[2756/2757] Compiling ImperialShopify ShopifyRouter.swift
/host/spi-builder-workspace/Sources/ImperialShopify/Service+Shopify.swift:2:20: warning: static property 'shopify' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let shopify = OAuthService.init(name: "shopify", endpoints: [:])
| |- warning: static property 'shopify' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shopify' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
/host/spi-builder-workspace/Sources/ImperialShopify/ShopifyRouter.swift:78:28: warning: capture of 'self' with non-sendable type 'ShopifyRouter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1 | import Vapor
2 |
3 | public class ShopifyRouter: FederatedServiceRouter {
| `- note: class 'ShopifyRouter' does not conform to the 'Sendable' protocol
4 |
5 | public let tokens: FederatedServiceTokens
:
76 | try session.setShopDomain(domain)
77 | try session.setNonce(nil)
78 | return try self.callbackCompletion(request, accessToken).flatMap { response in
| `- warning: capture of 'self' with non-sendable type 'ShopifyRouter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 | return response.encodeResponse(for: request)
80 | }
[2759/2770] Compiling ImperialAuth0 Auth0.swift
/host/spi-builder-workspace/Sources/ImperialAuth0/Service+Auth0.swift:2:23: warning: static property 'auth0' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let auth0 = OAuthService(
| |- warning: static property 'auth0' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auth0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "auth0",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2760/2770] Emitting module ImperialDiscord
/host/spi-builder-workspace/Sources/ImperialDiscord/DiscordAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class DiscordAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "DISCORD_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "DISCORD_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialDiscord/DiscordAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class DiscordAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "DISCORD_CLIENT_ID"
5 | public static var secretEnvKey: String = "DISCORD_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
/host/spi-builder-workspace/Sources/ImperialDiscord/DiscordRouter.swift:6:23: warning: static property 'baseURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class DiscordRouter: FederatedServiceRouter {
5 |
6 | public static var baseURL: String = "https://discord.com/"
| |- warning: static property 'baseURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'baseURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'baseURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | public static var callbackURL: String = "callback"
8 | public let tokens: FederatedServiceTokens
/host/spi-builder-workspace/Sources/ImperialDiscord/DiscordRouter.swift:7:23: warning: static property 'callbackURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public static var baseURL: String = "https://discord.com/"
7 | public static var callbackURL: String = "callback"
| |- warning: static property 'callbackURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'callbackURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'callbackURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public let tokens: FederatedServiceTokens
9 | public let callbackCompletion: (Request, String) throws -> (EventLoopFuture<ResponseEncodable>)
/host/spi-builder-workspace/Sources/ImperialDiscord/Service+Discord.swift:2:23: warning: static property 'discord' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let discord = OAuthService.init(
| |- warning: static property 'discord' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'discord' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "discord",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2761/2770] Compiling ImperialDiscord Service+Discord.swift
/host/spi-builder-workspace/Sources/ImperialDiscord/Service+Discord.swift:2:23: warning: static property 'discord' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let discord = OAuthService.init(
| |- warning: static property 'discord' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'discord' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "discord",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2762/2770] Compiling ImperialDiscord Discord.swift
/host/spi-builder-workspace/Sources/ImperialDiscord/Service+Discord.swift:2:23: warning: static property 'discord' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let discord = OAuthService.init(
| |- warning: static property 'discord' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'discord' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "discord",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2763/2770] Compiling ImperialAuth0 Service+Auth0.swift
/host/spi-builder-workspace/Sources/ImperialAuth0/Service+Auth0.swift:2:23: warning: static property 'auth0' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let auth0 = OAuthService(
| |- warning: static property 'auth0' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auth0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "auth0",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2764/2770] Compiling ImperialAuth0 Auth0Router.swift
/host/spi-builder-workspace/Sources/ImperialAuth0/Service+Auth0.swift:2:23: warning: static property 'auth0' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let auth0 = OAuthService(
| |- warning: static property 'auth0' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auth0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "auth0",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2765/2770] Compiling ImperialAuth0 Auth0Auth.swift
/host/spi-builder-workspace/Sources/ImperialAuth0/Auth0Auth.swift:4:23: warning: static property 'domain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class Auth0Auth: FederatedServiceTokens {
4 | public static var domain: String = "AUTH0_DOMAIN"
| |- warning: static property 'domain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'domain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var idEnvKey: String = "AUTH0_CLIENT_ID"
6 | public static var secretEnvKey: String = "AUTH0_CLIENT_SECRET"
/host/spi-builder-workspace/Sources/ImperialAuth0/Auth0Auth.swift:5:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class Auth0Auth: FederatedServiceTokens {
4 | public static var domain: String = "AUTH0_DOMAIN"
5 | public static var idEnvKey: String = "AUTH0_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public static var secretEnvKey: String = "AUTH0_CLIENT_SECRET"
7 | public var domain: String
/host/spi-builder-workspace/Sources/ImperialAuth0/Auth0Auth.swift:6:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static var domain: String = "AUTH0_DOMAIN"
5 | public static var idEnvKey: String = "AUTH0_CLIENT_ID"
6 | public static var secretEnvKey: String = "AUTH0_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | public var domain: String
8 | public var clientID: String
[2766/2770] Compiling ImperialDiscord DiscordAuth.swift
/host/spi-builder-workspace/Sources/ImperialDiscord/DiscordAuth.swift:4:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class DiscordAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "DISCORD_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var secretEnvKey: String = "DISCORD_CLIENT_SECRET"
6 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialDiscord/DiscordAuth.swift:5:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class DiscordAuth: FederatedServiceTokens {
4 | public static var idEnvKey: String = "DISCORD_CLIENT_ID"
5 | public static var secretEnvKey: String = "DISCORD_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public var clientID: String
7 | public var clientSecret: String
[2767/2770] Emitting module ImperialAuth0
/host/spi-builder-workspace/Sources/ImperialAuth0/Auth0Auth.swift:4:23: warning: static property 'domain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class Auth0Auth: FederatedServiceTokens {
4 | public static var domain: String = "AUTH0_DOMAIN"
| |- warning: static property 'domain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'domain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static var idEnvKey: String = "AUTH0_CLIENT_ID"
6 | public static var secretEnvKey: String = "AUTH0_CLIENT_SECRET"
/host/spi-builder-workspace/Sources/ImperialAuth0/Auth0Auth.swift:5:23: warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public class Auth0Auth: FederatedServiceTokens {
4 | public static var domain: String = "AUTH0_DOMAIN"
5 | public static var idEnvKey: String = "AUTH0_CLIENT_ID"
| |- warning: static property 'idEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'idEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'idEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | public static var secretEnvKey: String = "AUTH0_CLIENT_SECRET"
7 | public var domain: String
/host/spi-builder-workspace/Sources/ImperialAuth0/Auth0Auth.swift:6:23: warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public static var domain: String = "AUTH0_DOMAIN"
5 | public static var idEnvKey: String = "AUTH0_CLIENT_ID"
6 | public static var secretEnvKey: String = "AUTH0_CLIENT_SECRET"
| |- warning: static property 'secretEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'secretEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'secretEnvKey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | public var domain: String
8 | public var clientID: String
/host/spi-builder-workspace/Sources/ImperialAuth0/Auth0CallbackBody.swift:10:16: warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | let grantType: String = "authorization_code"
9 |
10 | static var defaultContentType: HTTPMediaType = .urlEncodedForm
| |- warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/ImperialAuth0/Service+Auth0.swift:2:23: warning: static property 'auth0' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let auth0 = OAuthService(
| |- warning: static property 'auth0' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'auth0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "auth0",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2768/2770] Compiling ImperialAuth0 Auth0CallbackBody.swift
/host/spi-builder-workspace/Sources/ImperialAuth0/Auth0CallbackBody.swift:10:16: warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | let grantType: String = "authorization_code"
9 |
10 | static var defaultContentType: HTTPMediaType = .urlEncodedForm
| |- warning: static property 'defaultContentType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultContentType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultContentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | enum CodingKeys: String, CodingKey {
[2769/2770] Compiling ImperialDiscord DiscordRouter.swift
/host/spi-builder-workspace/Sources/ImperialDiscord/DiscordRouter.swift:6:23: warning: static property 'baseURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class DiscordRouter: FederatedServiceRouter {
5 |
6 | public static var baseURL: String = "https://discord.com/"
| |- warning: static property 'baseURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'baseURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'baseURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | public static var callbackURL: String = "callback"
8 | public let tokens: FederatedServiceTokens
/host/spi-builder-workspace/Sources/ImperialDiscord/DiscordRouter.swift:7:23: warning: static property 'callbackURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public static var baseURL: String = "https://discord.com/"
7 | public static var callbackURL: String = "callback"
| |- warning: static property 'callbackURL' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'callbackURL' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'callbackURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | public let tokens: FederatedServiceTokens
9 | public let callbackCompletion: (Request, String) throws -> (EventLoopFuture<ResponseEncodable>)
/host/spi-builder-workspace/Sources/ImperialDiscord/Service+Discord.swift:2:23: warning: static property 'discord' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension OAuthService {
2 | public static let discord = OAuthService.init(
| |- warning: static property 'discord' is not concurrency-safe because non-'Sendable' type 'OAuthService' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'discord' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | name: "discord",
4 | endpoints: [:]
/host/spi-builder-workspace/Sources/ImperialCore/Services/OAuthService.swift:7:15: note: struct 'OAuthService' does not conform to the 'Sendable' protocol
5 |
6 | /// Represents a service that interacts with an OAuth provider.
7 | public struct OAuthService: Codable, Content {
| `- note: struct 'OAuthService' does not conform to the 'Sendable' protocol
8 |
9 | /// The services that are available for use in the application.
[2770/2771] Compiling ImperialDiscord DiscordCallbackBody.swift
Build complete! (198.50s)
Build complete.
{
"dependencies" : [
{
"identity" : "vapor",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/vapor.git"
},
{
"identity" : "jwt-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/jwt-kit.git"
}
],
"manifest_display_name" : "Imperial",
"name" : "Imperial",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "ImperialCore",
"targets" : [
"ImperialCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ImperialAuth0",
"targets" : [
"ImperialCore",
"ImperialAuth0"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ImperialDiscord",
"targets" : [
"ImperialCore",
"ImperialDiscord"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ImperialDropbox",
"targets" : [
"ImperialCore",
"ImperialDropbox"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ImperialFacebook",
"targets" : [
"ImperialCore",
"ImperialFacebook"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ImperialGitHub",
"targets" : [
"ImperialCore",
"ImperialGitHub"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ImperialGitlab",
"targets" : [
"ImperialCore",
"ImperialGitlab"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ImperialGoogle",
"targets" : [
"ImperialCore",
"ImperialGoogle"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ImperialKeycloak",
"targets" : [
"ImperialCore",
"ImperialKeycloak"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ImperialMicrosoft",
"targets" : [
"ImperialCore",
"ImperialMicrosoft"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ImperialShopify",
"targets" : [
"ImperialCore",
"ImperialShopify"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Imperial",
"targets" : [
"ImperialCore",
"ImperialAuth0",
"ImperialDiscord",
"ImperialDropbox",
"ImperialFacebook",
"ImperialGitHub",
"ImperialGitlab",
"ImperialGoogle",
"ImperialKeycloak",
"ImperialMicrosoft",
"ImperialShopify"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ImperialTests",
"module_type" : "SwiftTarget",
"name" : "ImperialTests",
"path" : "Tests/ImperialTests",
"sources" : [
"ImperialTests.swift",
"ShopifyTests.swift"
],
"target_dependencies" : [
"ImperialCore",
"ImperialShopify"
],
"type" : "test"
},
{
"c99name" : "ImperialShopify",
"module_type" : "SwiftTarget",
"name" : "ImperialShopify",
"path" : "Sources/ImperialShopify",
"product_memberships" : [
"ImperialShopify",
"Imperial"
],
"sources" : [
"Service+Shopify.swift",
"Session+Shopify.swift",
"Shopify.swift",
"ShopifyAuth.swift",
"ShopifyCallbackBody.swift",
"ShopifyRouter.swift",
"URL+Shopify.swift"
],
"target_dependencies" : [
"ImperialCore"
],
"type" : "library"
},
{
"c99name" : "ImperialMicrosoft",
"module_type" : "SwiftTarget",
"name" : "ImperialMicrosoft",
"path" : "Sources/ImperialMicrosoft",
"product_memberships" : [
"ImperialMicrosoft",
"Imperial"
],
"sources" : [
"Microsoft.swift",
"MicrosoftAuth.swift",
"MicrosoftCallbackBody.swift",
"MicrosoftRouter.swift",
"Service+Microsoft.swift"
],
"target_dependencies" : [
"ImperialCore"
],
"type" : "library"
},
{
"c99name" : "ImperialKeycloak",
"module_type" : "SwiftTarget",
"name" : "ImperialKeycloak",
"path" : "Sources/ImperialKeycloak",
"product_memberships" : [
"ImperialKeycloak",
"Imperial"
],
"sources" : [
"Keycloak.swift",
"KeycloakAuth.swift",
"KeycloakCallbackBody.swift",
"KeycloakRouter.swift",
"Service+Keycloak.swift"
],
"target_dependencies" : [
"ImperialCore"
],
"type" : "library"
},
{
"c99name" : "ImperialGoogle",
"module_type" : "SwiftTarget",
"name" : "ImperialGoogle",
"path" : "Sources/ImperialGoogle",
"product_memberships" : [
"ImperialGoogle",
"Imperial"
],
"sources" : [
"JWT/GoogleJWT.swift",
"JWT/GoogleJWTAuth.swift",
"JWT/GoogleJWTPayload.swift",
"JWT/GoogleJWTResponse.swift",
"JWT/GoogleJWTRouter.swift",
"JWT/Service+GoogleJWT.swift",
"Standard/Google.swift",
"Standard/GoogleAuth.swift",
"Standard/GoogleCallbackBody.swift",
"Standard/GoogleRouter.swift",
"Standard/Service+Google.swift"
],
"target_dependencies" : [
"ImperialCore"
],
"type" : "library"
},
{
"c99name" : "ImperialGitlab",
"module_type" : "SwiftTarget",
"name" : "ImperialGitlab",
"path" : "Sources/ImperialGitlab",
"product_memberships" : [
"ImperialGitlab",
"Imperial"
],
"sources" : [
"Gitlab.swift",
"GitlabAuth.swift",
"GitlabCallbackBody.swift",
"GitlabRouter.swift",
"Service+Gitlab.swift"
],
"target_dependencies" : [
"ImperialCore"
],
"type" : "library"
},
{
"c99name" : "ImperialGitHub",
"module_type" : "SwiftTarget",
"name" : "ImperialGitHub",
"path" : "Sources/ImperialGitHub",
"product_memberships" : [
"ImperialGitHub",
"Imperial"
],
"sources" : [
"GitHub.swift",
"GitHubAuth.swift",
"GitHubCallbackBody.swift",
"GitHubRouter.swift",
"Service+GitHub.swift"
],
"target_dependencies" : [
"ImperialCore"
],
"type" : "library"
},
{
"c99name" : "ImperialFacebook",
"module_type" : "SwiftTarget",
"name" : "ImperialFacebook",
"path" : "Sources/ImperialFacebook",
"product_memberships" : [
"ImperialFacebook",
"Imperial"
],
"sources" : [
"Facebook.swift",
"FacebookAuth.swift",
"FacebookCallbackBody.swift",
"FacebookRouter.swift",
"Service+Facebook.swift"
],
"target_dependencies" : [
"ImperialCore"
],
"type" : "library"
},
{
"c99name" : "ImperialDropbox",
"module_type" : "SwiftTarget",
"name" : "ImperialDropbox",
"path" : "Sources/ImperialDropbox",
"product_memberships" : [
"ImperialDropbox",
"Imperial"
],
"sources" : [
"Dropbox.swift",
"DropboxAuth.swift",
"DropboxCallbackBody.swift",
"DropboxRouter.swift",
"Service+Dropbox.swift"
],
"target_dependencies" : [
"ImperialCore"
],
"type" : "library"
},
{
"c99name" : "ImperialDiscord",
"module_type" : "SwiftTarget",
"name" : "ImperialDiscord",
"path" : "Sources/ImperialDiscord",
"product_memberships" : [
"ImperialDiscord",
"Imperial"
],
"sources" : [
"Discord.swift",
"DiscordAuth.swift",
"DiscordCallbackBody.swift",
"DiscordRouter.swift",
"Service+Discord.swift"
],
"target_dependencies" : [
"ImperialCore"
],
"type" : "library"
},
{
"c99name" : "ImperialCore",
"module_type" : "SwiftTarget",
"name" : "ImperialCore",
"path" : "Sources/ImperialCore",
"product_dependencies" : [
"Vapor",
"JWTKit"
],
"product_memberships" : [
"ImperialCore",
"ImperialAuth0",
"ImperialDiscord",
"ImperialDropbox",
"ImperialFacebook",
"ImperialGitHub",
"ImperialGitlab",
"ImperialGoogle",
"ImperialKeycloak",
"ImperialMicrosoft",
"ImperialShopify",
"Imperial"
],
"sources" : [
"Authenticatable/FederatedServiceTokens.swift",
"Errors/ImperialError.swift",
"Errors/ServiceError.swift",
"Helpers/Optional+Imperial.swift",
"Helpers/Request+Imperial.swift",
"Helpers/Sessions+Imperial.swift",
"Helpers/String+Tools.swift",
"Middleware/ImperialMiddleware.swift",
"Model/FederatedCreatable.swift",
"Routing/FederatedServiceRouter.swift",
"ServiceRegister.swift",
"Services/FederatedService.swift",
"Services/OAuthService.swift"
],
"type" : "library"
},
{
"c99name" : "ImperialAuth0",
"module_type" : "SwiftTarget",
"name" : "ImperialAuth0",
"path" : "Sources/ImperialAuth0",
"product_memberships" : [
"ImperialAuth0",
"Imperial"
],
"sources" : [
"Auth0.swift",
"Auth0Auth.swift",
"Auth0CallbackBody.swift",
"Auth0Router.swift",
"Service+Auth0.swift"
],
"target_dependencies" : [
"ImperialCore"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.