Build Information
Failed to build swift-authentication-grpc, reference main (db6658), with Swift 6.4 for watchOS using Xcode 27.0 on 5 Oct 2026 17:52:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-authentication-grpc -destination generic/platform=watchOSBuild Log
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
49 | next:
50 | @concurrent @Sendable (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:51:28: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
49 | next:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:52:28: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:53:31: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
54 | ) async throws -> StreamingServerResponse<Output> {
55 | guard let token = request.metadata.bearer else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:54:23: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
55 | guard let token = request.metadata.bearer else {
56 | return try await next(request, context)
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:73:19: error: 'RPCError' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
67 | }
68 |
69 | private func authenticate(_ token: String) async throws -> Identity {
| `- note: add '@available' attribute to enclosing instance method
70 | do {
71 | return try await authenticator.authenticate(token)
72 | } catch {
73 | throw RPCError(code: .unauthenticated, message: "Invalid or expired token.")
| |- error: 'RPCError' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:73:35: error: 'unauthenticated' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
67 | }
68 |
69 | private func authenticate(_ token: String) async throws -> Identity {
| `- note: add '@available' attribute to enclosing instance method
70 | do {
71 | return try await authenticator.authenticate(token)
72 | } catch {
73 | throw RPCError(code: .unauthenticated, message: "Invalid or expired token.")
| |- error: 'unauthenticated' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
74 | }
75 | }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BearerAuthenticationInterceptor.swift
SwiftCompile normal arm64_32 Compiling\ BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:31:18: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
32 | context: ClientContext,
33 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:32:18: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
33 | next:
34 | @concurrent (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:35:28: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
33 | next:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:36:28: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:37:31: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
38 | ) async throws -> StreamingClientResponse<Output> {
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:38:23: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
40 | return try await next(request, context)
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerPropagationInterceptor.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerPropagationInterceptor.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerPropagationInterceptor.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerPropagationInterceptor.dia -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AuthenticationGRPC -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerPropagationInterceptor.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC.swiftmodule -index-unit-output-path /swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerPropagationInterceptor.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BearerPropagationInterceptor.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ AuthenticationGRPC (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:47:18: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
48 | context: ServerContext,
49 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:48:18: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
49 | next:
50 | @concurrent @Sendable (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:51:28: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
49 | next:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:52:28: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:53:31: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
54 | ) async throws -> StreamingServerResponse<Output> {
55 | guard let token = request.metadata.bearer else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:54:23: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
55 | guard let token = request.metadata.bearer else {
56 | return try await next(request, context)
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:31:18: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
32 | context: ClientContext,
33 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:32:18: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
33 | next:
34 | @concurrent (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:35:28: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
33 | next:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:36:28: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:37:31: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
38 | ) async throws -> StreamingClientResponse<Output> {
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:38:23: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
40 | return try await next(request, context)
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift:7:11: error: 'Metadata' is only available in watchOS 11.0 or newer
5 | public import GRPCCore
6 |
7 | extension Metadata {
| | `- error: 'Metadata' is only available in watchOS 11.0 or newer
| `- note: add '@available' attribute to enclosing extension
8 | /// The credential from the first `authorization` entry, or `nil` when there is none, or when
9 | /// it is not a bearer credential.
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AuthenticationGRPC -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC.abi.json
SwiftCompile normal arm64 (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ BearerAuthenticationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:47:18: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
48 | context: ServerContext,
49 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:48:18: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
49 | next:
50 | @concurrent @Sendable (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:51:28: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
49 | next:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:52:28: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:53:31: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
54 | ) async throws -> StreamingServerResponse<Output> {
55 | guard let token = request.metadata.bearer else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:54:23: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
55 | guard let token = request.metadata.bearer else {
56 | return try await next(request, context)
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:73:19: error: 'RPCError' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
67 | }
68 |
69 | private func authenticate(_ token: String) async throws -> Identity {
| `- note: add '@available' attribute to enclosing instance method
70 | do {
71 | return try await authenticator.authenticate(token)
72 | } catch {
73 | throw RPCError(code: .unauthenticated, message: "Invalid or expired token.")
| |- error: 'RPCError' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:73:35: error: 'unauthenticated' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
67 | }
68 |
69 | private func authenticate(_ token: String) async throws -> Identity {
| `- note: add '@available' attribute to enclosing instance method
70 | do {
71 | return try await authenticator.authenticate(token)
72 | } catch {
73 | throw RPCError(code: .unauthenticated, message: "Invalid or expired token.")
| |- error: 'unauthenticated' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
74 | }
75 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BearerAuthenticationInterceptor.swift
SwiftCompile normal arm64 Compiling\ BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:31:18: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
32 | context: ClientContext,
33 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:32:18: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
33 | next:
34 | @concurrent (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:35:28: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
33 | next:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:36:28: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:37:31: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
38 | ) async throws -> StreamingClientResponse<Output> {
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:38:23: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
40 | return try await next(request, context)
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/BearerPropagationInterceptor.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/BearerPropagationInterceptor.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/BearerPropagationInterceptor.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/BearerPropagationInterceptor.dia -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AuthenticationGRPC -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/BearerPropagationInterceptor.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC.swiftmodule -index-unit-output-path /swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/BearerPropagationInterceptor.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BearerPropagationInterceptor.swift
SwiftDriverJobDiscovery normal arm64 Compiling Metadata.swift, MethodDescriptor.swift, RPCError.swift, RuntimeError.swift, ServiceDescriptor.swift, Status.swift (in target 'GRPCCore' from project 'grpc-swift-2')
SwiftCompile normal arm64 Compiling\ Metadata+bearer.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Metadata+bearer.swift
SwiftDriverJobDiscovery normal arm64 Compiling AsyncSequenceOfOne.swift, BroadcastAsyncSequence+RPCWriter.swift, BroadcastAsyncSequence.swift, GRPCAsyncThrowingStream.swift, RPCWriter+Map.swift, RPCWriter+MessageToRPCResponsePart.swift (in target 'GRPCCore' from project 'grpc-swift-2')
SwiftDriverJobDiscovery normal arm64 Compiling CallOptions.swift, ClientContext.swift, ClientInterceptor.swift, ClientRequest.swift, ClientResponse.swift, ClientRPCExecutor+HedgingExecutor.swift, ClientRPCExecutor+OneShotExecutor.swift (in target 'GRPCCore' from project 'grpc-swift-2')
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-10-05 13:52:07.242 xcodebuild[828:4712] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AuthenticationGRPC (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64_32 (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64_32 Compiling\ BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftEmitModule normal arm64 Emitting\ module\ for\ AuthenticationGRPC (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64 (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64 Compiling\ BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
Building workspace swift-authentication-grpc with scheme swift-authentication-grpc
(9 failures)
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.3.0
grpc-swift-2: https://github.com/grpc/grpc-swift-2.git @ 2.4.3
swift-collections: https://github.com/apple/swift-collections.git @ 1.7.1
swift-authentication-grpc: /Users/admin/builder/spi-builder-workspace
swift-authentication: https://github.com/swift-microservices/swift-authentication.git @ 0.3.1
resolved source packages: swift-service-context, grpc-swift-2, swift-collections, swift-authentication-grpc, swift-authentication
2026-10-05 13:52:16.606 xcodebuild[1045:5907] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "swift-authentication",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-microservices/swift-authentication.git"
},
{
"identity" : "swift-service-context",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-service-context.git"
},
{
"identity" : "grpc-swift-2",
"requirement" : {
"range" : [
{
"lower_bound" : "2.4.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift-2.git"
}
],
"manifest_display_name" : "swift-authentication-grpc",
"name" : "swift-authentication-grpc",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "AuthenticationGRPC",
"targets" : [
"AuthenticationGRPC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "AuthenticationGRPCTests",
"module_type" : "SwiftTarget",
"name" : "AuthenticationGRPCTests",
"path" : "Tests/AuthenticationGRPCTests",
"product_dependencies" : [
"Authentication",
"GRPCCore",
"ServiceContextModule"
],
"sources" : [
"BearerAuthenticationInterceptorTests.swift",
"BearerPropagationInterceptorTests.swift",
"MetadataBearerTests.swift",
"TableAuthenticator.swift"
],
"target_dependencies" : [
"AuthenticationGRPC"
],
"type" : "test"
},
{
"c99name" : "AuthenticationGRPC",
"module_type" : "SwiftTarget",
"name" : "AuthenticationGRPC",
"path" : "Sources/AuthenticationGRPC",
"product_dependencies" : [
"Authentication",
"GRPCCore",
"ServiceContextModule"
],
"product_memberships" : [
"AuthenticationGRPC"
],
"sources" : [
"BearerAuthenticationInterceptor.swift",
"BearerPropagationInterceptor.swift",
"Metadata+bearer.swift"
],
"type" : "library"
}
],
"tools_version" : "6.3"
}
{
"workspace" : {
"name" : "swift-authentication-grpc",
"schemes" : [
"swift-authentication-grpc"
]
}
}
2026-10-05 13:52:18.108 xcodebuild[1053:5975] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swift-authentication-grpc -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme swift-authentication-grpc -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
swift-authentication: https://github.com/swift-microservices/swift-authentication.git @ 0.3.1
grpc-swift-2: https://github.com/grpc/grpc-swift-2.git @ 2.4.3
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.3.0
swift-collections: https://github.com/apple/swift-collections.git @ 1.7.1
swift-authentication-grpc: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (12 targets)
Target 'AuthenticationGRPC-product' in project 'swift-authentication-grpc'
➜ Explicit dependency on target 'AuthenticationGRPC' in project 'swift-authentication-grpc'
➜ Explicit dependency on target 'Authentication-product' in project 'swift-authentication'
➜ Explicit dependency on target 'GRPCCore-product' in project 'grpc-swift-2'
➜ Explicit dependency on target 'ServiceContextModule-product' in project 'swift-service-context'
Target 'AuthenticationGRPC' in project 'swift-authentication-grpc'
➜ Explicit dependency on target 'Authentication-product' in project 'swift-authentication'
➜ Explicit dependency on target 'GRPCCore-product' in project 'grpc-swift-2'
➜ Explicit dependency on target 'ServiceContextModule-product' in project 'swift-service-context'
Target 'GRPCCore-product' in project 'grpc-swift-2'
➜ Explicit dependency on target 'GRPCCore' in project 'grpc-swift-2'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
Target 'GRPCCore' in project 'grpc-swift-2'
➜ Explicit dependency on target 'DequeModule-product' in project 'swift-collections'
Target 'DequeModule-product' in project 'swift-collections'
➜ Explicit dependency on target 'DequeModule' in project 'swift-collections'
➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
➜ Explicit dependency on target 'SpanPreview' in project 'swift-collections'
Target 'DequeModule' in project 'swift-collections'
➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
➜ Explicit dependency on target 'SpanPreview' in project 'swift-collections'
Target 'SpanPreview' in project 'swift-collections'
➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
Target 'InternalCollectionsUtilities' in project 'swift-collections' (no dependencies)
Target 'Authentication-product' in project 'swift-authentication'
➜ Explicit dependency on target 'Authentication' in project 'swift-authentication'
➜ Explicit dependency on target 'ServiceContextModule-product' in project 'swift-service-context'
Target 'Authentication' in project 'swift-authentication'
➜ Explicit dependency on target 'ServiceContextModule-product' in project 'swift-service-context'
Target 'ServiceContextModule-product' in project 'swift-service-context'
➜ Explicit dependency on target 'ServiceContextModule' in project 'swift-service-context'
Target 'ServiceContextModule' in project 'swift-service-context' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache
SwiftDriver AuthenticationGRPC normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name AuthenticationGRPC -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature NonisolatedNonsendingByDefault -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver GRPCCore normal arm64 com.apple.xcode.tools.swift.compiler (in target 'GRPCCore' from project 'grpc-swift-2')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name GRPCCore -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/grpc-swift-2.build/Debug-watchos/GRPCCore-t.build/Objects-normal/arm64/GRPCCore.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -enable-experimental-feature AvailabilityMacro\=gRPCSwift\ 2.0:macOS\ 15.0,\ iOS\ 18.0,\ watchOS\ 11.0,\ tvOS\ 18.0,\ visionOS\ 2.0 -enable-experimental-feature AvailabilityMacro\=gRPCSwift\ 2.1:macOS\ 15.0,\ iOS\ 18.0,\ watchOS\ 11.0,\ tvOS\ 18.0,\ visionOS\ 2.0 -enable-experimental-feature AvailabilityMacro\=gRPCSwift\ 2.2:macOS\ 15.0,\ iOS\ 18.0,\ watchOS\ 11.0,\ tvOS\ 18.0,\ visionOS\ 2.0 -enable-experimental-feature AvailabilityMacro\=gRPCSwift\ 2.3:macOS\ 15.0,\ iOS\ 18.0,\ watchOS\ 11.0,\ tvOS\ 18.0,\ visionOS\ 2.0 -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/grpc-swift-2.build/Debug-watchos/GRPCCore-t.build/Objects-normal/arm64/GRPCCore-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/grpc-swift-2.build/Debug-watchos/GRPCCore-t.build/Objects-normal/arm64/GRPCCore.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/grpc-swift-2.build/Debug-watchos/GRPCCore-t.build/Objects-normal/arm64/GRPCCore-dependency-scan.dia -user-module-version 2.4.3 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name grpc_swift_2 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/grpc-swift-2.build/Debug-watchos/GRPCCore-t.build/Objects-normal/arm64/GRPCCore_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/grpc-swift-2.build/Debug-watchos/GRPCCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/grpc-swift-2.build/Debug-watchos/GRPCCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/grpc-swift-2.build/Debug-watchos/GRPCCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/grpc-swift-2.build/Debug-watchos/GRPCCore-t.build/Objects-normal/arm64/GRPCCore-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver AuthenticationGRPC normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name AuthenticationGRPC -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature NonisolatedNonsendingByDefault -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AuthenticationGRPC (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:47:18: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
48 | context: ServerContext,
49 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:48:18: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
49 | next:
50 | @concurrent @Sendable (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:51:28: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
49 | next:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:52:28: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:53:31: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
54 | ) async throws -> StreamingServerResponse<Output> {
55 | guard let token = request.metadata.bearer else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:54:23: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
55 | guard let token = request.metadata.bearer else {
56 | return try await next(request, context)
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:31:18: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
32 | context: ClientContext,
33 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:32:18: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
33 | next:
34 | @concurrent (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:35:28: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
33 | next:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:36:28: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:37:31: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
38 | ) async throws -> StreamingClientResponse<Output> {
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:38:23: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
40 | return try await next(request, context)
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift:7:11: error: 'Metadata' is only available in watchOS 11.0 or newer
5 | public import GRPCCore
6 |
7 | extension Metadata {
| | `- error: 'Metadata' is only available in watchOS 11.0 or newer
| `- note: add '@available' attribute to enclosing extension
8 | /// The credential from the first `authorization` entry, or `nil` when there is none, or when
9 | /// it is not a bearer credential.
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AuthenticationGRPC -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC.abi.json
SwiftCompile normal arm64_32 Compiling\ Metadata+bearer.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Metadata+bearer.swift
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift:7:11: error: 'Metadata' is only available in watchOS 11.0 or newer
5 | public import GRPCCore
6 |
7 | extension Metadata {
| | `- error: 'Metadata' is only available in watchOS 11.0 or newer
| `- note: add '@available' attribute to enclosing extension
8 | /// The credential from the first `authorization` entry, or `nil` when there is none, or when
9 | /// it is not a bearer credential.
SwiftCompile normal arm64_32 Compiling\ BearerAuthenticationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:47:18: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
48 | context: ServerContext,
49 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:48:18: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
49 | next:
50 | @concurrent @Sendable (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:51:28: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
49 | next:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:52:28: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:53:31: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
54 | ) async throws -> StreamingServerResponse<Output> {
55 | guard let token = request.metadata.bearer else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:54:23: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
55 | guard let token = request.metadata.bearer else {
56 | return try await next(request, context)
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:73:19: error: 'RPCError' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
67 | }
68 |
69 | private func authenticate(_ token: String) async throws -> Identity {
| `- note: add '@available' attribute to enclosing instance method
70 | do {
71 | return try await authenticator.authenticate(token)
72 | } catch {
73 | throw RPCError(code: .unauthenticated, message: "Invalid or expired token.")
| |- error: 'RPCError' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:73:35: error: 'unauthenticated' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
67 | }
68 |
69 | private func authenticate(_ token: String) async throws -> Identity {
| `- note: add '@available' attribute to enclosing instance method
70 | do {
71 | return try await authenticator.authenticate(token)
72 | } catch {
73 | throw RPCError(code: .unauthenticated, message: "Invalid or expired token.")
| |- error: 'unauthenticated' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
74 | }
75 | }
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerAuthenticationInterceptor.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerAuthenticationInterceptor.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerAuthenticationInterceptor.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerAuthenticationInterceptor.dia -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AuthenticationGRPC -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerAuthenticationInterceptor.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC.swiftmodule -index-unit-output-path /swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerAuthenticationInterceptor.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BearerAuthenticationInterceptor.swift
SwiftCompile normal arm64_32 Compiling\ BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:31:18: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
32 | context: ClientContext,
33 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:32:18: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
33 | next:
34 | @concurrent (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:35:28: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
33 | next:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:36:28: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:37:31: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
38 | ) async throws -> StreamingClientResponse<Output> {
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:38:23: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
40 | return try await next(request, context)
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerPropagationInterceptor.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerPropagationInterceptor.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerPropagationInterceptor.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerPropagationInterceptor.dia -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AuthenticationGRPC -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerPropagationInterceptor.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/AuthenticationGRPC.swiftmodule -index-unit-output-path /swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64_32/BearerPropagationInterceptor.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BearerPropagationInterceptor.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ AuthenticationGRPC (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:47:18: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
48 | context: ServerContext,
49 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:48:18: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
49 | next:
50 | @concurrent @Sendable (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:51:28: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
49 | next:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:52:28: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:53:31: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
54 | ) async throws -> StreamingServerResponse<Output> {
55 | guard let token = request.metadata.bearer else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:54:23: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
55 | guard let token = request.metadata.bearer else {
56 | return try await next(request, context)
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:31:18: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
32 | context: ClientContext,
33 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:32:18: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
33 | next:
34 | @concurrent (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:35:28: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
33 | next:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:36:28: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:37:31: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
38 | ) async throws -> StreamingClientResponse<Output> {
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:38:23: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
40 | return try await next(request, context)
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift:7:11: error: 'Metadata' is only available in watchOS 11.0 or newer
5 | public import GRPCCore
6 |
7 | extension Metadata {
| | `- error: 'Metadata' is only available in watchOS 11.0 or newer
| `- note: add '@available' attribute to enclosing extension
8 | /// The credential from the first `authorization` entry, or `nil` when there is none, or when
9 | /// it is not a bearer credential.
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AuthenticationGRPC -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC.abi.json
SwiftCompile normal arm64 (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ BearerAuthenticationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:47:18: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
48 | context: ServerContext,
49 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:48:18: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
49 | next:
50 | @concurrent @Sendable (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:51:28: error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
49 | next:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
| `- error: 'StreamingServerRequest' is only available in watchOS 11.0 or newer
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:52:28: error: 'ServerContext' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
50 | @concurrent @Sendable (
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
| `- error: 'ServerContext' is only available in watchOS 11.0 or newer
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:53:31: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
51 | _ request: StreamingServerRequest<Input>,
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
54 | ) async throws -> StreamingServerResponse<Output> {
55 | guard let token = request.metadata.bearer else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:54:23: error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
44 |
45 | /// Authenticates the call's bearer token, if it has one, and runs `next` with the principal bound.
46 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
47 | request: StreamingServerRequest<Input>,
48 | context: ServerContext,
:
52 | _ context: ServerContext
53 | ) async throws -> StreamingServerResponse<Output>
54 | ) async throws -> StreamingServerResponse<Output> {
| `- error: 'StreamingServerResponse' is only available in watchOS 11.0 or newer
55 | guard let token = request.metadata.bearer else {
56 | return try await next(request, context)
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift:73:19: error: 'RPCError' is only available in watchOS 11.0 or newer
33 | /// }
34 | /// ```
35 | public struct BearerAuthenticationInterceptor<Identity: Sendable>: ServerInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
36 | private let authenticator: any Authenticator<String, Identity>
37 |
:
67 | }
68 |
69 | private func authenticate(_ token: String) async throws -> Identity {
| `- note: add '@available' attribute to enclosing instance method
70 | do {
71 | return try await authenticator.authenticate(token)
72 | } catch {
73 | throw RPCError(code: .unauthenticated, message: "Invalid or expired token.")
| |- error: 'RPCError' is only available in watchOS 11.0 or newer
| `- note: add 'if #available' version check
74 | }
75 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BearerAuthenticationInterceptor.swift
SwiftCompile normal arm64 Compiling\ BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:31:18: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
32 | context: ClientContext,
33 | next:
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:32:18: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
33 | next:
34 | @concurrent (
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:35:28: error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
33 | next:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
| `- error: 'StreamingClientRequest' is only available in watchOS 11.0 or newer
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:36:28: error: 'ClientContext' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
34 | @concurrent (
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
| `- error: 'ClientContext' is only available in watchOS 11.0 or newer
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:37:31: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
35 | _ request: StreamingClientRequest<Input>,
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
38 | ) async throws -> StreamingClientResponse<Output> {
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift:38:23: error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
23 | /// worker clients use mandatory mTLS, with the transport presenting their certificate at the
24 | /// handshake. Public operations supply their operation-specific proofs.
25 | public struct BearerPropagationInterceptor<Identity: Sendable>: ClientInterceptor {
| `- note: add '@available' attribute to enclosing generic struct
26 | /// An interceptor that forwards the bound principal's credential.
27 | public init() {}
28 |
29 | /// Presents the bound principal's original token on the outgoing request, if one is bound.
30 | public func intercept<Input: Sendable, Output: Sendable>(
| `- note: add '@available' attribute to enclosing instance method
31 | request: StreamingClientRequest<Input>,
32 | context: ClientContext,
:
36 | _ context: ClientContext
37 | ) async throws -> StreamingClientResponse<Output>
38 | ) async throws -> StreamingClientResponse<Output> {
| `- error: 'StreamingClientResponse' is only available in watchOS 11.0 or newer
39 | guard let principal = ServiceContext.current?[PrincipalKey<Identity, String>.self] else {
40 | return try await next(request, context)
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/BearerPropagationInterceptor.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/BearerPropagationInterceptor.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/BearerPropagationInterceptor.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/BearerPropagationInterceptor.dia -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c044b9db9bc9c079ee3c7b5f3373b13d10bc.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AuthenticationGRPC -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/BearerPropagationInterceptor.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/AuthenticationGRPC.swiftmodule -index-unit-output-path /swift-authentication-grpc.build/Debug-watchos/AuthenticationGRPC-t.build/Objects-normal/arm64/BearerPropagationInterceptor.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BearerPropagationInterceptor.swift
SwiftCompile normal arm64 Compiling\ Metadata+bearer.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/Metadata+bearer.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Metadata+bearer.swift
SwiftCompile normal arm64 Compiling\ GRPCClient.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/grpc-swift-2/Sources/GRPCCore/GRPCClient.swift (in target 'GRPCCore' from project 'grpc-swift-2')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/grpc-swift-2/Sources/GRPCCore/GRPCClient.swift (in target 'GRPCCore' from project 'grpc-swift-2')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GRPCClient.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ GRPCCore (in target 'GRPCCore' from project 'grpc-swift-2')
SwiftCompile normal arm64 (in target 'GRPCCore' from project 'grpc-swift-2')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ ServiceConfig.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/grpc-swift-2/Sources/GRPCCore/Configuration/ServiceConfig.swift (in target 'GRPCCore' from project 'grpc-swift-2')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/grpc-swift-2/Sources/GRPCCore/Configuration/ServiceConfig.swift (in target 'GRPCCore' from project 'grpc-swift-2')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ServiceConfig.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-10-05 13:52:19.343 xcodebuild[1054:6001] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ AuthenticationGRPC (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64_32 Compiling\ BearerAuthenticationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerAuthenticationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64_32 Compiling\ BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftEmitModule normal arm64 Emitting\ module\ for\ AuthenticationGRPC (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64 (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64 Compiling\ BearerPropagationInterceptor.swift /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AuthenticationGRPC/BearerPropagationInterceptor.swift (in target 'AuthenticationGRPC' from project 'swift-authentication-grpc')
Building workspace swift-authentication-grpc with scheme swift-authentication-grpc
(11 failures)
BUILD FAILURE 6.4 watchOS