The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NotionKit, reference v0.2.0 (4a4adc), with Swift 6.1 for Android on 7 Nov 2025 15:45:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elvisperlika/notion-kit.git
Reference: v0.2.0
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/elvisperlika/notion-kit
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at 4a4adc0 Merge pull request #11 from elvisperlika/search
Cloned https://github.com/elvisperlika/notion-kit.git
Revision (git rev-parse @):
4a4adc01166d5c5072f60320f199b9c20ee067a4
SUCCESS checkout https://github.com/elvisperlika/notion-kit.git at v0.2.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elvisperlika/notion-kit.git
https://github.com/elvisperlika/notion-kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-dotenv",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/thebarndog/swift-dotenv.git"
    }
  ],
  "manifest_display_name" : "NotionKit",
  "name" : "NotionKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "NotionKit",
      "targets" : [
        "NotionKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NotionKitTests",
      "module_type" : "SwiftTarget",
      "name" : "NotionKitTests",
      "path" : "Tests/NotionKitTests",
      "product_dependencies" : [
        "SwiftDotenv"
      ],
      "sources" : [
        "Pagination/PaginationTests.swift",
        "Search/SearchTests.swift",
        "Users/UsersTests.swift",
        "Utility.swift"
      ],
      "target_dependencies" : [
        "NotionKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NotionKit",
      "module_type" : "SwiftTarget",
      "name" : "NotionKit",
      "path" : "Sources/NotionKit",
      "product_memberships" : [
        "NotionKit"
      ],
      "sources" : [
        "Config.swift",
        "NotionClient.swift",
        "NotionError.swift",
        "NotionProtocol.swift",
        "Pages/PageModels.swift",
        "Pagination/Pagination.swift",
        "Search/Client+Search.swift",
        "Search/SearchModels.swift",
        "Users/Client+Users.swift",
        "Users/UserModels.swift",
        "Utility/HTTPUtilty.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/thebarndog/swift-dotenv.git
[1/471] Fetching swift-dotenv
Fetched https://github.com/thebarndog/swift-dotenv.git from cache (0.22s)
Computing version for https://github.com/thebarndog/swift-dotenv.git
Computed https://github.com/thebarndog/swift-dotenv.git at 2.1.0 (0.76s)
Creating working copy for https://github.com/thebarndog/swift-dotenv.git
Working copy of https://github.com/thebarndog/swift-dotenv.git resolved at 2.1.0
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling NotionKit SearchModels.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[4/14] Compiling NotionKit Config.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/14] Compiling NotionKit NotionClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/14] Emitting module NotionKit
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:14:6: error: cannot find type 'URLRequest' in scope
12 |   url: URL,
13 |   method: String
14 | ) -> URLRequest {
   |      `- error: cannot find type 'URLRequest' in scope
15 |   var request = URLRequest(url: url)
16 |   request.httpMethod = method
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:27:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | /// - Parameter response: The URLResponse to validate.
26 | /// - Throws: An error if the response status code is not in the 200-299 range.
27 | func validateResponse(_ response: URLResponse) throws {
   |                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |   guard let httpResponse = response as? HTTPURLResponse,
29 |     (200...299).contains(httpResponse.statusCode)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[7/14] Compiling NotionKit NotionError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/14] Compiling NotionKit NotionProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/14] Compiling NotionKit PageModels.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/14] Compiling NotionKit Pagination.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/14] Compiling NotionKit Client+Search.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:14:6: error: cannot find type 'URLRequest' in scope
12 |   url: URL,
13 |   method: String
14 | ) -> URLRequest {
   |      `- error: cannot find type 'URLRequest' in scope
15 |   var request = URLRequest(url: url)
16 |   request.httpMethod = method
/host/spi-builder-workspace/Sources/NotionKit/Search/Client+Search.swift:39:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 |     )
38 |
39 |     let (data, response) = try await URLSession.shared.data(for: request)
   |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 |     try validateResponse(response)
41 |     let searchResponse = try JSONDecoder().decode(SearchResponse.self, from: data)
[12/14] Compiling NotionKit UserModels.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/14] Compiling NotionKit Client+Users.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:14:6: error: cannot find type 'URLRequest' in scope
12 |   url: URL,
13 |   method: String
14 | ) -> URLRequest {
   |      `- error: cannot find type 'URLRequest' in scope
15 |   var request = URLRequest(url: url)
16 |   request.httpMethod = method
/host/spi-builder-workspace/Sources/NotionKit/Users/Client+Users.swift:15:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
13 |     let url = URL(string: "\(baseURL)/users")!
14 |     let request = createRequest(baseHeader: self.baseHeader, url: url, method: "GET")
15 |     let (data, response) = try await URLSession.shared.data(for: request)
   |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
16 |     try validateResponse(response)
17 |     let usersResponse = try JSONDecoder().decode(UserListResponse.self, from: data)
/host/spi-builder-workspace/Sources/NotionKit/Users/Client+Users.swift:31:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
29 |     let url = URL(string: "\(baseURL)/users/\(userId)")!
30 |     let request = createRequest(baseHeader: self.baseHeader, url: url, method: "GET")
31 |     let (data, response) = try await URLSession.shared.data(for: request)
   |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
32 |     try validateResponse(response)
33 |     let user = try JSONDecoder().decode(NotionUser.self, from: data)
/host/spi-builder-workspace/Sources/NotionKit/Users/Client+Users.swift:46:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |     let url = URL(string: "\(baseURL)/users/me")!
45 |     let request = createRequest(baseHeader: self.baseHeader, url: url, method: "GET")
46 |     let (data, response) = try await URLSession.shared.data(for: request)
   |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |     try validateResponse(response)
48 |     let user = try JSONDecoder().decode(NotionUser.self, from: data)
[14/14] Compiling NotionKit HTTPUtilty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:14:6: error: cannot find type 'URLRequest' in scope
12 |   url: URL,
13 |   method: String
14 | ) -> URLRequest {
   |      `- error: cannot find type 'URLRequest' in scope
15 |   var request = URLRequest(url: url)
16 |   request.httpMethod = method
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:27:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | /// - Parameter response: The URLResponse to validate.
26 | /// - Throws: An error if the response status code is not in the 200-299 range.
27 | func validateResponse(_ response: URLResponse) throws {
   |                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |   guard let httpResponse = response as? HTTPURLResponse,
29 |     (200...299).contains(httpResponse.statusCode)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:15:17: error: cannot find 'URLRequest' in scope
13 |   method: String
14 | ) -> URLRequest {
15 |   var request = URLRequest(url: url)
   |                 `- error: cannot find 'URLRequest' in scope
16 |   request.httpMethod = method
17 |   for (headerField, value) in baseHeader {
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:28:37: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
26 | /// - Throws: An error if the response status code is not in the 200-299 range.
27 | func validateResponse(_ response: URLResponse) throws {
28 |   guard let httpResponse = response as? HTTPURLResponse,
   |                                     `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
29 |     (200...299).contains(httpResponse.statusCode)
30 |   else {
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:28:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | /// - Throws: An error if the response status code is not in the 200-299 range.
27 | func validateResponse(_ response: URLResponse) throws {
28 |   guard let httpResponse = response as? HTTPURLResponse,
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     (200...299).contains(httpResponse.statusCode)
30 |   else {
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/NotionKit/Utility/HTTPUtilty.swift:29:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | func validateResponse(_ response: URLResponse) throws {
28 |   guard let httpResponse = response as? HTTPURLResponse,
29 |     (200...299).contains(httpResponse.statusCode)
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
30 |   else {
31 |     throw URLError(.badServerResponse)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling NotionKit Client+Search.swift
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:14:6: error: cannot find type 'URLRequest' in scope
12 |   url: URL,
13 |   method: String
14 | ) -> URLRequest {
   |      `- error: cannot find type 'URLRequest' in scope
15 |   var request = URLRequest(url: url)
16 |   request.httpMethod = method
/host/spi-builder-workspace/Sources/NotionKit/Search/Client+Search.swift:39:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
37 |     )
38 |
39 |     let (data, response) = try await URLSession.shared.data(for: request)
   |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
40 |     try validateResponse(response)
41 |     let searchResponse = try JSONDecoder().decode(SearchResponse.self, from: data)
[3/13] Compiling NotionKit HTTPUtilty.swift
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:14:6: error: cannot find type 'URLRequest' in scope
12 |   url: URL,
13 |   method: String
14 | ) -> URLRequest {
   |      `- error: cannot find type 'URLRequest' in scope
15 |   var request = URLRequest(url: url)
16 |   request.httpMethod = method
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:27:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | /// - Parameter response: The URLResponse to validate.
26 | /// - Throws: An error if the response status code is not in the 200-299 range.
27 | func validateResponse(_ response: URLResponse) throws {
   |                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |   guard let httpResponse = response as? HTTPURLResponse,
29 |     (200...299).contains(httpResponse.statusCode)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:15:17: error: cannot find 'URLRequest' in scope
13 |   method: String
14 | ) -> URLRequest {
15 |   var request = URLRequest(url: url)
   |                 `- error: cannot find 'URLRequest' in scope
16 |   request.httpMethod = method
17 |   for (headerField, value) in baseHeader {
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:28:37: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
26 | /// - Throws: An error if the response status code is not in the 200-299 range.
27 | func validateResponse(_ response: URLResponse) throws {
28 |   guard let httpResponse = response as? HTTPURLResponse,
   |                                     `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
29 |     (200...299).contains(httpResponse.statusCode)
30 |   else {
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:28:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | /// - Throws: An error if the response status code is not in the 200-299 range.
27 | func validateResponse(_ response: URLResponse) throws {
28 |   guard let httpResponse = response as? HTTPURLResponse,
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     (200...299).contains(httpResponse.statusCode)
30 |   else {
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/NotionKit/Utility/HTTPUtilty.swift:29:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
27 | func validateResponse(_ response: URLResponse) throws {
28 |   guard let httpResponse = response as? HTTPURLResponse,
29 |     (200...299).contains(httpResponse.statusCode)
   |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
30 |   else {
31 |     throw URLError(.badServerResponse)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/13] Emitting module NotionKit
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:14:6: error: cannot find type 'URLRequest' in scope
12 |   url: URL,
13 |   method: String
14 | ) -> URLRequest {
   |      `- error: cannot find type 'URLRequest' in scope
15 |   var request = URLRequest(url: url)
16 |   request.httpMethod = method
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:27:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 | /// - Parameter response: The URLResponse to validate.
26 | /// - Throws: An error if the response status code is not in the 200-299 range.
27 | func validateResponse(_ response: URLResponse) throws {
   |                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |   guard let httpResponse = response as? HTTPURLResponse,
29 |     (200...299).contains(httpResponse.statusCode)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[5/13] Compiling NotionKit SearchModels.swift
[6/13] Compiling NotionKit UserModels.swift
[7/13] Compiling NotionKit Client+Users.swift
/host/spi-builder-workspace/Sources/NotionKit/Utility/HTTPUtilty.swift:14:6: error: cannot find type 'URLRequest' in scope
12 |   url: URL,
13 |   method: String
14 | ) -> URLRequest {
   |      `- error: cannot find type 'URLRequest' in scope
15 |   var request = URLRequest(url: url)
16 |   request.httpMethod = method
/host/spi-builder-workspace/Sources/NotionKit/Users/Client+Users.swift:15:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
13 |     let url = URL(string: "\(baseURL)/users")!
14 |     let request = createRequest(baseHeader: self.baseHeader, url: url, method: "GET")
15 |     let (data, response) = try await URLSession.shared.data(for: request)
   |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
16 |     try validateResponse(response)
17 |     let usersResponse = try JSONDecoder().decode(UserListResponse.self, from: data)
/host/spi-builder-workspace/Sources/NotionKit/Users/Client+Users.swift:31:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
29 |     let url = URL(string: "\(baseURL)/users/\(userId)")!
30 |     let request = createRequest(baseHeader: self.baseHeader, url: url, method: "GET")
31 |     let (data, response) = try await URLSession.shared.data(for: request)
   |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
32 |     try validateResponse(response)
33 |     let user = try JSONDecoder().decode(NotionUser.self, from: data)
/host/spi-builder-workspace/Sources/NotionKit/Users/Client+Users.swift:46:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |     let url = URL(string: "\(baseURL)/users/me")!
45 |     let request = createRequest(baseHeader: self.baseHeader, url: url, method: "GET")
46 |     let (data, response) = try await URLSession.shared.data(for: request)
   |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |     try validateResponse(response)
48 |     let user = try JSONDecoder().decode(NotionUser.self, from: data)
[8/13] Compiling NotionKit NotionError.swift
[9/13] Compiling NotionKit NotionProtocol.swift
[10/13] Compiling NotionKit PageModels.swift
[11/13] Compiling NotionKit Pagination.swift
[12/13] Compiling NotionKit Config.swift
[13/13] Compiling NotionKit NotionClient.swift
BUILD FAILURE 6.1 android