Build Information
Failed to build RemoteConfigStore, reference 0.6.1 (132b66), with Swift 6.3 for Linux on 5 May 2026 03:07:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AltiAntonov/RemoteConfigStore.git
Reference: 0.6.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/AltiAntonov/RemoteConfigStore
* tag 0.6.1 -> FETCH_HEAD
HEAD is now at 132b660 chore: prepare 0.6.1 release
Cloned https://github.com/AltiAntonov/RemoteConfigStore.git
Revision (git rev-parse @):
132b660804c9a05563143567b0b78a79a18336b5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AltiAntonov/RemoteConfigStore.git at 0.6.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/AltiAntonov/RemoteConfigStore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/22] Emitting module RemoteConfigStore
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:16:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// The request configuration used for fetching remote config.
15 | public let request: HTTPRemoteConfigRequest
16 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// Creates a built-in HTTP fetcher for remote config.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:25:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | public init(
24 | request: HTTPRemoteConfigRequest,
25 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | ) {
27 | self.request = request
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:25:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 | public init(
24 | request: HTTPRemoteConfigRequest,
25 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | ) {
27 | self.request = request
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:25:32: error: value of type '_' expected to be instance of class or class-constrained type
23 | public init(
24 | request: HTTPRemoteConfigRequest,
25 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
26 | ) {
27 | self.request = request
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:103:24: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |
102 | private func responseValidationMetadata(
103 | from response: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 | ) -> HTTPRemoteConfigValidationMetadata? {
105 | let metadata = HTTPRemoteConfigValidationMetadata(
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:16:17: error: stored property 'session' of 'Sendable'-conforming struct 'HTTPRemoteConfigFetcher' has non-Sendable type 'AnyObject'
14 | /// The request configuration used for fetching remote config.
15 | public let request: HTTPRemoteConfigRequest
16 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'HTTPRemoteConfigFetcher' has non-Sendable type 'AnyObject'
17 |
18 | /// Creates a built-in HTTP fetcher for remote config.
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:40:40: error: cannot find type 'URLRequest' in scope
38 | ///
39 | /// - Returns: A GET request configured with the current URL, headers, and timeout.
40 | public func urlRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
41 | try urlRequest(validationMetadata: nil)
42 | }
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:52:17: error: cannot find type 'URLRequest' in scope
50 | public func urlRequest(
51 | validationMetadata: HTTPRemoteConfigValidationMetadata?
52 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
53 | var request = URLRequest(url: url)
54 | request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/RemoteConfigStore/RemoteConfigStore.swift:65:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 | ttl: TimeInterval,
64 | maxStaleAge: TimeInterval? = nil,
65 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | logger: any Logger = NoopLogger(),
67 | onUpdate: (@Sendable (RemoteConfigUpdate) -> Void)? = nil
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/RemoteConfigStore.swift:65:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
63 | ttl: TimeInterval,
64 | maxStaleAge: TimeInterval? = nil,
65 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
66 | logger: any Logger = NoopLogger(),
67 | onUpdate: (@Sendable (RemoteConfigUpdate) -> Void)? = nil
/host/spi-builder-workspace/Sources/RemoteConfigStore/RemoteConfigStore.swift:65:32: error: value of type '_' expected to be instance of class or class-constrained type
63 | ttl: TimeInterval,
64 | maxStaleAge: TimeInterval? = nil,
65 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
66 | logger: any Logger = NoopLogger(),
67 | onUpdate: (@Sendable (RemoteConfigUpdate) -> Void)? = nil
[4/24] Compiling RemoteConfigStore HTTPRemoteConfigValidationMetadata.swift
[5/24] Compiling RemoteConfigStore RemoteConfigFetcher.swift
[6/24] Compiling RemoteConfigStore RemoteConfigStoreError.swift
[7/24] Compiling RemoteConfigStore RemoteConfigStoreInspectionState.swift
[8/24] Compiling RemoteConfigStore RemoteConfigUpdate.swift
[9/24] Compiling RemoteConfigStore RemoteConfigStore.swift
/host/spi-builder-workspace/Sources/RemoteConfigStore/RemoteConfigStore.swift:65:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 | ttl: TimeInterval,
64 | maxStaleAge: TimeInterval? = nil,
65 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | logger: any Logger = NoopLogger(),
67 | onUpdate: (@Sendable (RemoteConfigUpdate) -> Void)? = nil
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/RemoteConfigStore.swift:65:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
63 | ttl: TimeInterval,
64 | maxStaleAge: TimeInterval? = nil,
65 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
66 | logger: any Logger = NoopLogger(),
67 | onUpdate: (@Sendable (RemoteConfigUpdate) -> Void)? = nil
/host/spi-builder-workspace/Sources/RemoteConfigStore/RemoteConfigStore.swift:65:32: error: value of type '_' expected to be instance of class or class-constrained type
63 | ttl: TimeInterval,
64 | maxStaleAge: TimeInterval? = nil,
65 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
66 | logger: any Logger = NoopLogger(),
67 | onUpdate: (@Sendable (RemoteConfigUpdate) -> Void)? = nil
[10/24] Compiling RemoteConfigStore Logger.swift
/host/spi-builder-workspace/Sources/RemoteConfigStore/RemoteConfigStore.swift:65:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 | ttl: TimeInterval,
64 | maxStaleAge: TimeInterval? = nil,
65 | session: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | logger: any Logger = NoopLogger(),
67 | onUpdate: (@Sendable (RemoteConfigUpdate) -> Void)? = nil
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/RemoteConfigStore.swift:65:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
63 | ttl: TimeInterval,
64 | maxStaleAge: TimeInterval? = nil,
65 | session: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
66 | logger: any Logger = NoopLogger(),
67 | onUpdate: (@Sendable (RemoteConfigUpdate) -> Void)? = nil
/host/spi-builder-workspace/Sources/RemoteConfigStore/RemoteConfigStore.swift:65:32: error: value of type '_' expected to be instance of class or class-constrained type
63 | ttl: TimeInterval,
64 | maxStaleAge: TimeInterval? = nil,
65 | session: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
66 | logger: any Logger = NoopLogger(),
67 | onUpdate: (@Sendable (RemoteConfigUpdate) -> Void)? = nil
[11/24] Compiling RemoteConfigStore CacheEntry.swift
[12/24] Compiling RemoteConfigStore DiskCache.swift
[13/24] Compiling RemoteConfigStore MemoryCache.swift
[14/24] Compiling RemoteConfigStore RemoteConfigKey.swift
[15/24] Compiling RemoteConfigStore RemoteConfigRefreshResult.swift
[16/24] Compiling RemoteConfigStore RemoteConfigSnapshot.swift
[17/24] Compiling RemoteConfigStore TTLPolicy.swift
[18/24] Compiling RemoteConfigStore ReadPolicy.swift
[19/24] Compiling RemoteConfigStore RemoteConfigDecodingError.swift
[20/24] Compiling RemoteConfigStore RemoteConfigValue.swift
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:16:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// The request configuration used for fetching remote config.
15 | public let request: HTTPRemoteConfigRequest
16 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// Creates a built-in HTTP fetcher for remote config.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:25:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | public init(
24 | request: HTTPRemoteConfigRequest,
25 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | ) {
27 | self.request = request
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:25:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 | public init(
24 | request: HTTPRemoteConfigRequest,
25 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | ) {
27 | self.request = request
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:25:32: error: value of type '_' expected to be instance of class or class-constrained type
23 | public init(
24 | request: HTTPRemoteConfigRequest,
25 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
26 | ) {
27 | self.request = request
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:103:24: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |
102 | private func responseValidationMetadata(
103 | from response: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 | ) -> HTTPRemoteConfigValidationMetadata? {
105 | let metadata = HTTPRemoteConfigValidationMetadata(
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:16:17: error: stored property 'session' of 'Sendable'-conforming struct 'HTTPRemoteConfigFetcher' has non-Sendable type 'AnyObject'
14 | /// The request configuration used for fetching remote config.
15 | public let request: HTTPRemoteConfigRequest
16 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'HTTPRemoteConfigFetcher' has non-Sendable type 'AnyObject'
17 |
18 | /// Creates a built-in HTTP fetcher for remote config.
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:40:40: error: cannot find type 'URLRequest' in scope
38 | ///
39 | /// - Returns: A GET request configured with the current URL, headers, and timeout.
40 | public func urlRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
41 | try urlRequest(validationMetadata: nil)
42 | }
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:52:17: error: cannot find type 'URLRequest' in scope
50 | public func urlRequest(
51 | validationMetadata: HTTPRemoteConfigValidationMetadata?
52 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
53 | var request = URLRequest(url: url)
54 | request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:49:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
47 | ) async throws -> RemoteConfigSnapshot {
48 | let urlRequest = try request.urlRequest(validationMetadata: validationMetadata)
49 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
50 |
51 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:106:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
104 | ) -> HTTPRemoteConfigValidationMetadata? {
105 | let metadata = HTTPRemoteConfigValidationMetadata(
106 | entityTag: response.value(forHTTPHeaderField: "ETag"),
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
107 | lastModified: response.value(forHTTPHeaderField: "Last-Modified")
108 | )
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:107:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
105 | let metadata = HTTPRemoteConfigValidationMetadata(
106 | entityTag: response.value(forHTTPHeaderField: "ETag"),
107 | lastModified: response.value(forHTTPHeaderField: "Last-Modified")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
108 | )
109 |
[21/24] Compiling RemoteConfigStore SnapshotFreshness.swift
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:16:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// The request configuration used for fetching remote config.
15 | public let request: HTTPRemoteConfigRequest
16 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// Creates a built-in HTTP fetcher for remote config.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:25:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | public init(
24 | request: HTTPRemoteConfigRequest,
25 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | ) {
27 | self.request = request
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:25:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 | public init(
24 | request: HTTPRemoteConfigRequest,
25 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | ) {
27 | self.request = request
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:25:32: error: value of type '_' expected to be instance of class or class-constrained type
23 | public init(
24 | request: HTTPRemoteConfigRequest,
25 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
26 | ) {
27 | self.request = request
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:103:24: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |
102 | private func responseValidationMetadata(
103 | from response: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 | ) -> HTTPRemoteConfigValidationMetadata? {
105 | let metadata = HTTPRemoteConfigValidationMetadata(
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:16:17: error: stored property 'session' of 'Sendable'-conforming struct 'HTTPRemoteConfigFetcher' has non-Sendable type 'AnyObject'
14 | /// The request configuration used for fetching remote config.
15 | public let request: HTTPRemoteConfigRequest
16 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'HTTPRemoteConfigFetcher' has non-Sendable type 'AnyObject'
17 |
18 | /// Creates a built-in HTTP fetcher for remote config.
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:40:40: error: cannot find type 'URLRequest' in scope
38 | ///
39 | /// - Returns: A GET request configured with the current URL, headers, and timeout.
40 | public func urlRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
41 | try urlRequest(validationMetadata: nil)
42 | }
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:52:17: error: cannot find type 'URLRequest' in scope
50 | public func urlRequest(
51 | validationMetadata: HTTPRemoteConfigValidationMetadata?
52 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
53 | var request = URLRequest(url: url)
54 | request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:49:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
47 | ) async throws -> RemoteConfigSnapshot {
48 | let urlRequest = try request.urlRequest(validationMetadata: validationMetadata)
49 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
50 |
51 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:106:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
104 | ) -> HTTPRemoteConfigValidationMetadata? {
105 | let metadata = HTTPRemoteConfigValidationMetadata(
106 | entityTag: response.value(forHTTPHeaderField: "ETag"),
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
107 | lastModified: response.value(forHTTPHeaderField: "Last-Modified")
108 | )
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:107:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
105 | let metadata = HTTPRemoteConfigValidationMetadata(
106 | entityTag: response.value(forHTTPHeaderField: "ETag"),
107 | lastModified: response.value(forHTTPHeaderField: "Last-Modified")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
108 | )
109 |
[22/24] Compiling RemoteConfigStore HTTPRemoteConfigFetcher.swift
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:16:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// The request configuration used for fetching remote config.
15 | public let request: HTTPRemoteConfigRequest
16 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// Creates a built-in HTTP fetcher for remote config.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:25:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | public init(
24 | request: HTTPRemoteConfigRequest,
25 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | ) {
27 | self.request = request
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:25:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 | public init(
24 | request: HTTPRemoteConfigRequest,
25 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
26 | ) {
27 | self.request = request
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:25:32: error: value of type '_' expected to be instance of class or class-constrained type
23 | public init(
24 | request: HTTPRemoteConfigRequest,
25 | session: URLSession = .shared
| `- error: value of type '_' expected to be instance of class or class-constrained type
26 | ) {
27 | self.request = request
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:103:24: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |
102 | private func responseValidationMetadata(
103 | from response: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 | ) -> HTTPRemoteConfigValidationMetadata? {
105 | let metadata = HTTPRemoteConfigValidationMetadata(
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:16:17: error: stored property 'session' of 'Sendable'-conforming struct 'HTTPRemoteConfigFetcher' has non-Sendable type 'AnyObject'
14 | /// The request configuration used for fetching remote config.
15 | public let request: HTTPRemoteConfigRequest
16 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'HTTPRemoteConfigFetcher' has non-Sendable type 'AnyObject'
17 |
18 | /// Creates a built-in HTTP fetcher for remote config.
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:40:40: error: cannot find type 'URLRequest' in scope
38 | ///
39 | /// - Returns: A GET request configured with the current URL, headers, and timeout.
40 | public func urlRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
41 | try urlRequest(validationMetadata: nil)
42 | }
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:52:17: error: cannot find type 'URLRequest' in scope
50 | public func urlRequest(
51 | validationMetadata: HTTPRemoteConfigValidationMetadata?
52 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
53 | var request = URLRequest(url: url)
54 | request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:49:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
47 | ) async throws -> RemoteConfigSnapshot {
48 | let urlRequest = try request.urlRequest(validationMetadata: validationMetadata)
49 | let (data, response) = try await session.data(for: urlRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
50 |
51 | guard let httpResponse = response as? HTTPURLResponse else {
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:106:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
104 | ) -> HTTPRemoteConfigValidationMetadata? {
105 | let metadata = HTTPRemoteConfigValidationMetadata(
106 | entityTag: response.value(forHTTPHeaderField: "ETag"),
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
107 | lastModified: response.value(forHTTPHeaderField: "Last-Modified")
108 | )
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigFetcher.swift:107:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
105 | let metadata = HTTPRemoteConfigValidationMetadata(
106 | entityTag: response.value(forHTTPHeaderField: "ETag"),
107 | lastModified: response.value(forHTTPHeaderField: "Last-Modified")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
108 | )
109 |
[23/24] Compiling RemoteConfigStore HTTPRemoteConfigFetcherError.swift
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:40:40: error: cannot find type 'URLRequest' in scope
38 | ///
39 | /// - Returns: A GET request configured with the current URL, headers, and timeout.
40 | public func urlRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
41 | try urlRequest(validationMetadata: nil)
42 | }
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:52:17: error: cannot find type 'URLRequest' in scope
50 | public func urlRequest(
51 | validationMetadata: HTTPRemoteConfigValidationMetadata?
52 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
53 | var request = URLRequest(url: url)
54 | request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:41:44: error: 'nil' requires a contextual type
39 | /// - Returns: A GET request configured with the current URL, headers, and timeout.
40 | public func urlRequest() throws -> URLRequest {
41 | try urlRequest(validationMetadata: nil)
| `- error: 'nil' requires a contextual type
42 | }
43 |
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:53:23: error: cannot find 'URLRequest' in scope
51 | validationMetadata: HTTPRemoteConfigValidationMetadata?
52 | ) throws -> URLRequest {
53 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
54 | request.httpMethod = "GET"
55 |
[24/24] Compiling RemoteConfigStore HTTPRemoteConfigRequest.swift
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:40:40: error: cannot find type 'URLRequest' in scope
38 | ///
39 | /// - Returns: A GET request configured with the current URL, headers, and timeout.
40 | public func urlRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
41 | try urlRequest(validationMetadata: nil)
42 | }
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:52:17: error: cannot find type 'URLRequest' in scope
50 | public func urlRequest(
51 | validationMetadata: HTTPRemoteConfigValidationMetadata?
52 | ) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
53 | var request = URLRequest(url: url)
54 | request.httpMethod = "GET"
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:41:44: error: 'nil' requires a contextual type
39 | /// - Returns: A GET request configured with the current URL, headers, and timeout.
40 | public func urlRequest() throws -> URLRequest {
41 | try urlRequest(validationMetadata: nil)
| `- error: 'nil' requires a contextual type
42 | }
43 |
/host/spi-builder-workspace/Sources/RemoteConfigStore/Networking/HTTPRemoteConfigRequest.swift:53:23: error: cannot find 'URLRequest' in scope
51 | validationMetadata: HTTPRemoteConfigValidationMetadata?
52 | ) throws -> URLRequest {
53 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
54 | request.httpMethod = "GET"
55 |
BUILD FAILURE 6.3 linux