The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NotionSwift with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.21.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chojnac/NotionSwift.git
Reference: main
Cloned https://github.com/chojnac/NotionSwift.git into spi-builder-workspace
SUCCESS checkout https://github.com/chojnac/NotionSwift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/55] Emitting module NotionSwift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:60:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:62:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(sessionConfiguration: URLSessionConfiguration) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:176:10: error: cannot find type 'URLRequest' in scope
    ) -> URLRequest {
         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:187:18: error: cannot find type 'URLRequest' in scope
        request: URLRequest,
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:8:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?, error: Error?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        sessionConfiguration: URLSessionConfiguration = .default
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        sessionConfiguration: URLSessionConfiguration = .default
                                                        ~^~~~~~~
[2/62] Compiling NotionSwift User.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:60:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:62:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(sessionConfiguration: URLSessionConfiguration) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:176:10: error: cannot find type 'URLRequest' in scope
    ) -> URLRequest {
         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:187:18: error: cannot find type 'URLRequest' in scope
        request: URLRequest,
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:69:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = .init(configuration: sessionConfiguration)
                  ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:78:45: error: cannot infer contextual base in reference to member 'GET'
        let request = buildRequest(method: .GET, url: url, headers: headers)
                                           ~^~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:88:45: error: cannot infer contextual base in reference to member 'POST'
        var request = buildRequest(method: .POST, url: url, headers: headers)
                                           ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:110:45: error: cannot infer contextual base in reference to member 'PATCH'
        var request = buildRequest(method: .PATCH, url: url, headers: headers)
                                           ~^~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:152:45: error: cannot infer contextual base in reference to member 'DELETE'
        var request = buildRequest(method: .DELETE, url: url, headers: headers)
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:177:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = session.dataTask(with: request) { data, response, error in
                   ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:68: error: cannot convert value of type '_' to expected argument type 'Data?'
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:84: error: argument type '_' expected to be an instance of a class or class-constrained type
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:8:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?, error: Error?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:39: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = response as? HTTPURLResponse else {
                             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
                                     
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:21:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if (400..<503).contains(response.statusCode) {
                                ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:26:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                    return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                        ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:29:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                    ~~~~~~~~ ^~~~~~~~~~
[3/62] Compiling NotionSwift DateFormatter+ISO8601Full.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:60:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:62:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(sessionConfiguration: URLSessionConfiguration) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:176:10: error: cannot find type 'URLRequest' in scope
    ) -> URLRequest {
         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:187:18: error: cannot find type 'URLRequest' in scope
        request: URLRequest,
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:69:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = .init(configuration: sessionConfiguration)
                  ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:78:45: error: cannot infer contextual base in reference to member 'GET'
        let request = buildRequest(method: .GET, url: url, headers: headers)
                                           ~^~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:88:45: error: cannot infer contextual base in reference to member 'POST'
        var request = buildRequest(method: .POST, url: url, headers: headers)
                                           ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:110:45: error: cannot infer contextual base in reference to member 'PATCH'
        var request = buildRequest(method: .PATCH, url: url, headers: headers)
                                           ~^~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:152:45: error: cannot infer contextual base in reference to member 'DELETE'
        var request = buildRequest(method: .DELETE, url: url, headers: headers)
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:177:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = session.dataTask(with: request) { data, response, error in
                   ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:68: error: cannot convert value of type '_' to expected argument type 'Data?'
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:84: error: argument type '_' expected to be an instance of a class or class-constrained type
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:8:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?, error: Error?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:39: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = response as? HTTPURLResponse else {
                             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
                                     
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:21:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if (400..<503).contains(response.statusCode) {
                                ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:26:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                    return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                        ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:29:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                    ~~~~~~~~ ^~~~~~~~~~
[4/62] Compiling NotionSwift NetworkClient.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:60:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:62:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(sessionConfiguration: URLSessionConfiguration) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:176:10: error: cannot find type 'URLRequest' in scope
    ) -> URLRequest {
         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:187:18: error: cannot find type 'URLRequest' in scope
        request: URLRequest,
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:69:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = .init(configuration: sessionConfiguration)
                  ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:78:45: error: cannot infer contextual base in reference to member 'GET'
        let request = buildRequest(method: .GET, url: url, headers: headers)
                                           ~^~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:88:45: error: cannot infer contextual base in reference to member 'POST'
        var request = buildRequest(method: .POST, url: url, headers: headers)
                                           ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:110:45: error: cannot infer contextual base in reference to member 'PATCH'
        var request = buildRequest(method: .PATCH, url: url, headers: headers)
                                           ~^~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:152:45: error: cannot infer contextual base in reference to member 'DELETE'
        var request = buildRequest(method: .DELETE, url: url, headers: headers)
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:177:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = session.dataTask(with: request) { data, response, error in
                   ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:68: error: cannot convert value of type '_' to expected argument type 'Data?'
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:84: error: argument type '_' expected to be an instance of a class or class-constrained type
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:8:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?, error: Error?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:39: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = response as? HTTPURLResponse else {
                             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
                                     
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:21:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if (400..<503).contains(response.statusCode) {
                                ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:26:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                    return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                        ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:29:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                    ~~~~~~~~ ^~~~~~~~~~
[5/62] Compiling NotionSwift NetworkClientHelpers.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:60:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:62:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(sessionConfiguration: URLSessionConfiguration) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:176:10: error: cannot find type 'URLRequest' in scope
    ) -> URLRequest {
         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:187:18: error: cannot find type 'URLRequest' in scope
        request: URLRequest,
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:69:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = .init(configuration: sessionConfiguration)
                  ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:78:45: error: cannot infer contextual base in reference to member 'GET'
        let request = buildRequest(method: .GET, url: url, headers: headers)
                                           ~^~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:88:45: error: cannot infer contextual base in reference to member 'POST'
        var request = buildRequest(method: .POST, url: url, headers: headers)
                                           ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:110:45: error: cannot infer contextual base in reference to member 'PATCH'
        var request = buildRequest(method: .PATCH, url: url, headers: headers)
                                           ~^~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:152:45: error: cannot infer contextual base in reference to member 'DELETE'
        var request = buildRequest(method: .DELETE, url: url, headers: headers)
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:177:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = session.dataTask(with: request) { data, response, error in
                   ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:68: error: cannot convert value of type '_' to expected argument type 'Data?'
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:84: error: argument type '_' expected to be an instance of a class or class-constrained type
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:8:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?, error: Error?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:39: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = response as? HTTPURLResponse else {
                             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
                                     
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:21:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if (400..<503).contains(response.statusCode) {
                                ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:26:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                    return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                        ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:29:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                    ~~~~~~~~ ^~~~~~~~~~
[6/62] Compiling NotionSwift URLBuilder.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:60:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:62:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(sessionConfiguration: URLSessionConfiguration) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:176:10: error: cannot find type 'URLRequest' in scope
    ) -> URLRequest {
         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:187:18: error: cannot find type 'URLRequest' in scope
        request: URLRequest,
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:69:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = .init(configuration: sessionConfiguration)
                  ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:78:45: error: cannot infer contextual base in reference to member 'GET'
        let request = buildRequest(method: .GET, url: url, headers: headers)
                                           ~^~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:88:45: error: cannot infer contextual base in reference to member 'POST'
        var request = buildRequest(method: .POST, url: url, headers: headers)
                                           ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:110:45: error: cannot infer contextual base in reference to member 'PATCH'
        var request = buildRequest(method: .PATCH, url: url, headers: headers)
                                           ~^~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:152:45: error: cannot infer contextual base in reference to member 'DELETE'
        var request = buildRequest(method: .DELETE, url: url, headers: headers)
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:177:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = session.dataTask(with: request) { data, response, error in
                   ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:68: error: cannot convert value of type '_' to expected argument type 'Data?'
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:84: error: argument type '_' expected to be an instance of a class or class-constrained type
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:8:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?, error: Error?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:39: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = response as? HTTPURLResponse else {
                             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
                                     
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:21:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if (400..<503).contains(response.statusCode) {
                                ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:26:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                    return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                        ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:29:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                    ~~~~~~~~ ^~~~~~~~~~
[7/62] Compiling NotionSwift NotionClient+Blocks.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:60:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:62:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(sessionConfiguration: URLSessionConfiguration) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:176:10: error: cannot find type 'URLRequest' in scope
    ) -> URLRequest {
         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:187:18: error: cannot find type 'URLRequest' in scope
        request: URLRequest,
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:69:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = .init(configuration: sessionConfiguration)
                  ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:78:45: error: cannot infer contextual base in reference to member 'GET'
        let request = buildRequest(method: .GET, url: url, headers: headers)
                                           ~^~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:88:45: error: cannot infer contextual base in reference to member 'POST'
        var request = buildRequest(method: .POST, url: url, headers: headers)
                                           ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:110:45: error: cannot infer contextual base in reference to member 'PATCH'
        var request = buildRequest(method: .PATCH, url: url, headers: headers)
                                           ~^~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:152:45: error: cannot infer contextual base in reference to member 'DELETE'
        var request = buildRequest(method: .DELETE, url: url, headers: headers)
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:177:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = session.dataTask(with: request) { data, response, error in
                   ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:68: error: cannot convert value of type '_' to expected argument type 'Data?'
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:84: error: argument type '_' expected to be an instance of a class or class-constrained type
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:8:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?, error: Error?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:39: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = response as? HTTPURLResponse else {
                             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
                                     
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:21:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if (400..<503).contains(response.statusCode) {
                                ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:26:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                    return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                        ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:29:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                    ~~~~~~~~ ^~~~~~~~~~
[8/62] Compiling NotionSwift NotionClient+Database.swift
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:60:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:62:39: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(sessionConfiguration: URLSessionConfiguration) {
                                      ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:176:10: error: cannot find type 'URLRequest' in scope
    ) -> URLRequest {
         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:187:18: error: cannot find type 'URLRequest' in scope
        request: URLRequest,
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:69:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = .init(configuration: sessionConfiguration)
                  ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:78:45: error: cannot infer contextual base in reference to member 'GET'
        let request = buildRequest(method: .GET, url: url, headers: headers)
                                           ~^~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:88:45: error: cannot infer contextual base in reference to member 'POST'
        var request = buildRequest(method: .POST, url: url, headers: headers)
                                           ~^~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:110:45: error: cannot infer contextual base in reference to member 'PATCH'
        var request = buildRequest(method: .PATCH, url: url, headers: headers)
                                           ~^~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:152:45: error: cannot infer contextual base in reference to member 'DELETE'
        var request = buildRequest(method: .DELETE, url: url, headers: headers)
                                           ~^~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:177:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:191:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = session.dataTask(with: request) { data, response, error in
                   ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:68: error: cannot convert value of type '_' to expected argument type 'Data?'
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClient.swift:194:84: error: argument type '_' expected to be an instance of a class or class-constrained type
            if let error = NetworkClientHelpers.extractError(data: data, response: response, error: error) {
                                                                                   ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:8:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?, error: Error?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:16:60: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public static func extractError(data: Data?, response: URLResponse?) -> NotionClientError? {
                                                           ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:39: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        guard let response = response as? HTTPURLResponse else {
                             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~
                                     
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:17:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:21:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if (400..<503).contains(response.statusCode) {
                                ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:26:82: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                    return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                        ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NotionSwift/Network/NetworkClientHelpers.swift:29:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                return .genericError(Network.Errors.HTTPError(code: response.statusCode))
                                                                    ~~~~~~~~ ^~~~~~~~~~
[9/62] Compiling NotionSwift NotionClient+Pages.swift
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        sessionConfiguration: URLSessionConfiguration = .default
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        sessionConfiguration: URLSessionConfiguration = .default
                                                        ~^~~~~~~
[10/62] Compiling NotionSwift NotionClient+Search.swift
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        sessionConfiguration: URLSessionConfiguration = .default
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        sessionConfiguration: URLSessionConfiguration = .default
                                                        ~^~~~~~~
[11/62] Compiling NotionSwift NotionClient+Users.swift
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        sessionConfiguration: URLSessionConfiguration = .default
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        sessionConfiguration: URLSessionConfiguration = .default
                                                        ~^~~~~~~
[12/62] Compiling NotionSwift NotionClient.swift
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        sessionConfiguration: URLSessionConfiguration = .default
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        sessionConfiguration: URLSessionConfiguration = .default
                                                        ~^~~~~~~
[13/62] Compiling NotionSwift NotionClientError.swift
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        sessionConfiguration: URLSessionConfiguration = .default
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        sessionConfiguration: URLSessionConfiguration = .default
                                                        ~^~~~~~~
[14/62] Compiling NotionSwift NotionClientType+Combine.swift
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        sessionConfiguration: URLSessionConfiguration = .default
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        sessionConfiguration: URLSessionConfiguration = .default
                                                        ~^~~~~~~
[15/62] Compiling NotionSwift NotionClientType.swift
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        sessionConfiguration: URLSessionConfiguration = .default
                              ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/NotionSwift/NotionClient.swift:16:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        sessionConfiguration: URLSessionConfiguration = .default
                                                        ~^~~~~~~
[16/62] Compiling NotionSwift DatabaseQueryParams.swift
[17/62] Compiling NotionSwift DatabaseSort.swift
[18/62] Compiling NotionSwift DatabaseUpdateRequest.swift
[19/62] Compiling NotionSwift CompountFilterType.swift
[20/62] Compiling NotionSwift DatabaseFilter.swift
[21/62] Compiling NotionSwift DatabaseFilterType.swift
[22/62] Compiling NotionSwift DatabasePropertyFilter+Encodable.swift
[23/62] Compiling NotionSwift DatabasePropertyFilter.swift
[24/62] Compiling NotionSwift PageCreateRequest.swift
[25/62] Compiling NotionSwift PageProperiesUpdateRequest.swift
[26/62] Compiling NotionSwift SearchRequest.swift
[27/62] Compiling NotionSwift ListResponse.swift
[28/62] Compiling NotionSwift SearchResponse.swift
[29/62] Compiling NotionSwift RichText+extensions.swift
[30/62] Compiling NotionSwift RichText.swift
[31/62] Compiling NotionSwift DatabaseParent.swift
[32/62] Compiling NotionSwift DatabaseProperty.swift
[33/62] Compiling NotionSwift DatabasePropertyType.swift
[34/62] Compiling NotionSwift DateRange.swift
[35/62] Compiling NotionSwift DateValue.swift
[36/62] Compiling NotionSwift ErrorResponse.swift
[37/62] Compiling NotionSwift FileFile.swift
[38/62] Compiling NotionSwift IconFile.swift
[39/62] Compiling NotionSwift Mention.swift
[40/62] Compiling NotionSwift NotionLink.swift
[41/62] Compiling NotionSwift Page.swift
[42/62] Compiling NotionSwift PageParentType.swift
[43/62] Compiling NotionSwift PageProperty.swift
[44/62] Compiling NotionSwift PartialUser.swift
[45/62] Compiling NotionSwift BaseQueryParams.swift
[46/62] Compiling NotionSwift DatabaseCreateRequest.swift
[47/62] Compiling NotionSwift AccessKeyProvider.swift
[48/62] Compiling NotionSwift EntityIdentifier.swift
[49/62] Compiling NotionSwift Logger.swift
[50/62] Compiling NotionSwift Types.swift
[51/62] Compiling NotionSwift Environment.swift
[52/62] Compiling NotionSwift Block.swift
[53/62] Compiling NotionSwift BlockColor.swift
[54/62] Compiling NotionSwift BlockType+Builders.swift
[55/62] Compiling NotionSwift BlockType+Values.swift
[56/62] Compiling NotionSwift BlockType.swift
[57/62] Compiling NotionSwift ReadBlock.swift
[58/62] Compiling NotionSwift UpdateBlock.swift
[59/62] Compiling NotionSwift WriteBlock+Builders.swift
[60/62] Compiling NotionSwift WriteBlock.swift
[61/62] Compiling NotionSwift CoverFile.swift
[62/62] Compiling NotionSwift Database.swift
BUILD FAILURE 5.7 linux

Build Machine: Linux 2