The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SimpleMDM-Swift with Swift 5.9 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.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guillaumealgis/SimpleMDM-Swift.git
Reference: main
Cloned https://github.com/guillaumealgis/SimpleMDM-Swift.git into spi-builder-workspace
SUCCESS checkout https://github.com/guillaumealgis/SimpleMDM-Swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/27] Emitting module SimpleMDM
/host/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:8:10: warning: FIXME: Guillaume: Useful ?
#warning("FIXME: Guillaume: Useful ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:9:10: warning: FIXME: Guillaume: documentation in whole file
#warning("FIXME: Guillaume: documentation in whole file")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AsyncResources.swift:8:10: warning: FIXME: Guillaume: documentation in whole file
#warning("FIXME: Guillaume: documentation in whole file")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:12:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:50: error: cannot find type 'URLSessionTaskDelegate' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:153:62: error: cannot find type 'URLRequest' in scope
    private func buildURLRequest(withURL url: URL) throws -> URLRequest {
                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Payload.swift:44:14: warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
    #warning("FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed")
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Relationship/RelatedToManyNested.swift:8:10: warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
#warning("FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:22:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:12:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data(for request: URLRequest) async throws -> (Data, URLResponse)
                                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession.swift:13:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession.swift:17:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse) {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:17:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data(for request: URLRequest) async throws -> (Data, URLResponse) {
                                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[2/30] Compiling SimpleMDM Decoding.swift
/host/spi-builder-workspace/Sources/URLSession.swift:12:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:50: error: cannot find type 'URLSessionTaskDelegate' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:153:62: error: cannot find type 'URLRequest' in scope
    private func buildURLRequest(withURL url: URL) throws -> URLRequest {
                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:27:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .default)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:27:50: error: cannot infer contextual base in reference to member 'default'
        let session = URLSession(configuration: .default)
                                                ~^~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:154:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:17:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse) {
                           ^~~~~~~~~~
[3/30] Compiling SimpleMDM Error.swift
/host/spi-builder-workspace/Sources/URLSession.swift:12:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:50: error: cannot find type 'URLSessionTaskDelegate' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:153:62: error: cannot find type 'URLRequest' in scope
    private func buildURLRequest(withURL url: URL) throws -> URLRequest {
                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:27:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .default)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:27:50: error: cannot infer contextual base in reference to member 'default'
        let session = URLSession(configuration: .default)
                                                ~^~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:154:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:17:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse) {
                           ^~~~~~~~~~
[4/30] Compiling SimpleMDM Version.swift
/host/spi-builder-workspace/Sources/URLSession.swift:12:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:50: error: cannot find type 'URLSessionTaskDelegate' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:153:62: error: cannot find type 'URLRequest' in scope
    private func buildURLRequest(withURL url: URL) throws -> URLRequest {
                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:27:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .default)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:27:50: error: cannot infer contextual base in reference to member 'default'
        let session = URLSession(configuration: .default)
                                                ~^~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:154:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:17:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse) {
                           ^~~~~~~~~~
[5/30] Compiling SimpleMDM Networking.swift
/host/spi-builder-workspace/Sources/URLSession.swift:12:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:50: error: cannot find type 'URLSessionTaskDelegate' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:153:62: error: cannot find type 'URLRequest' in scope
    private func buildURLRequest(withURL url: URL) throws -> URLRequest {
                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:27:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        let session = URLSession(configuration: .default)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:27:50: error: cannot infer contextual base in reference to member 'default'
        let session = URLSession(configuration: .default)
                                                ~^~~~~~~
/host/spi-builder-workspace/Sources/Networking.swift:154:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:17:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse) {
                           ^~~~~~~~~~
[6/30] Compiling SimpleMDM DeviceGroup.swift
[7/30] Compiling SimpleMDM InstalledApp.swift
[8/30] Compiling SimpleMDM ManagedConfig.swift
[9/30] Compiling SimpleMDM PushCertificate.swift
[10/30] Compiling SimpleMDM Resource.generated.swift
[11/30] Compiling SimpleMDM Resource.swift
[12/30] Compiling SimpleMDM CustomAttribute.swift
[13/30] Compiling SimpleMDM CustomAttributeValue.swift
[14/30] Compiling SimpleMDM CustomConfigurationProfile.swift
[15/30] Compiling SimpleMDM Device.swift
[16/30] Compiling SimpleMDM Relation.swift
[17/30] Compiling SimpleMDM Account.swift
[18/30] Compiling SimpleMDM App.swift
[19/30] Compiling SimpleMDM AppGroup.swift
[20/30] Compiling SimpleMDM AsyncPaginatedResources.swift
/host/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:8:10: warning: FIXME: Guillaume: Useful ?
#warning("FIXME: Guillaume: Useful ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:9:10: warning: FIXME: Guillaume: documentation in whole file
#warning("FIXME: Guillaume: documentation in whole file")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AsyncResources.swift:8:10: warning: FIXME: Guillaume: documentation in whole file
#warning("FIXME: Guillaume: documentation in whole file")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[21/30] Compiling SimpleMDM AsyncResources.swift
/host/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:8:10: warning: FIXME: Guillaume: Useful ?
#warning("FIXME: Guillaume: Useful ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:9:10: warning: FIXME: Guillaume: documentation in whole file
#warning("FIXME: Guillaume: documentation in whole file")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AsyncResources.swift:8:10: warning: FIXME: Guillaume: documentation in whole file
#warning("FIXME: Guillaume: documentation in whole file")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[22/30] Compiling SimpleMDM AsyncSequence+Collect.swift
/host/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:8:10: warning: FIXME: Guillaume: Useful ?
#warning("FIXME: Guillaume: Useful ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:9:10: warning: FIXME: Guillaume: documentation in whole file
#warning("FIXME: Guillaume: documentation in whole file")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AsyncResources.swift:8:10: warning: FIXME: Guillaume: documentation in whole file
#warning("FIXME: Guillaume: documentation in whole file")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[23/30] Compiling SimpleMDM Cursor.swift
/host/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:8:10: warning: FIXME: Guillaume: Useful ?
#warning("FIXME: Guillaume: Useful ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:9:10: warning: FIXME: Guillaume: documentation in whole file
#warning("FIXME: Guillaume: documentation in whole file")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/AsyncResources.swift:8:10: warning: FIXME: Guillaume: documentation in whole file
#warning("FIXME: Guillaume: documentation in whole file")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[24/30] Compiling SimpleMDM SimpleMDM.swift
/host/spi-builder-workspace/Sources/URLSession.swift:22:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:12:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:12:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data(for request: URLRequest) async throws -> (Data, URLResponse)
                                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession.swift:13:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:50: error: cannot find type 'URLSessionTaskDelegate' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession.swift:17:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse) {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:17:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data(for request: URLRequest) async throws -> (Data, URLResponse) {
                                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession.swift:18:48: error: 'nil' requires a contextual type
        try await data(for: request, delegate: nil)
                                               ^
[25/30] Compiling SimpleMDM URL+CustomInit.swift
/host/spi-builder-workspace/Sources/URLSession.swift:22:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:12:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:12:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data(for request: URLRequest) async throws -> (Data, URLResponse)
                                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession.swift:13:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:50: error: cannot find type 'URLSessionTaskDelegate' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession.swift:17:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse) {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:17:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data(for request: URLRequest) async throws -> (Data, URLResponse) {
                                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession.swift:18:48: error: 'nil' requires a contextual type
        try await data(for: request, delegate: nil)
                                               ^
[26/30] Compiling SimpleMDM URLSession.swift
/host/spi-builder-workspace/Sources/URLSession.swift:22:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: URLSessionProtocol {}
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:12:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:12:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data(for request: URLRequest) async throws -> (Data, URLResponse)
                                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession.swift:13:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:50: error: cannot find type 'URLSessionTaskDelegate' in scope
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                                                 ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:13:98: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data(for request: URLRequest, delegate: URLSessionTaskDelegate?) async throws -> (Data, URLResponse)
                                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession.swift:17:28: error: cannot find type 'URLRequest' in scope
    func data(for request: URLRequest) async throws -> (Data, URLResponse) {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/URLSession.swift:17:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data(for request: URLRequest) async throws -> (Data, URLResponse) {
                                                              ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSession.swift:18:48: error: 'nil' requires a contextual type
        try await data(for: request, delegate: nil)
                                               ^
[27/30] Compiling SimpleMDM Payload.swift
/host/spi-builder-workspace/Sources/Payload.swift:44:14: warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
    #warning("FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed")
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Relationship/RelatedToManyNested.swift:8:10: warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
#warning("FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[28/30] Compiling SimpleMDM RelatedToMany.swift
/host/spi-builder-workspace/Sources/Payload.swift:44:14: warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
    #warning("FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed")
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Relationship/RelatedToManyNested.swift:8:10: warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
#warning("FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[29/30] Compiling SimpleMDM RelatedToManyNested.swift
/host/spi-builder-workspace/Sources/Payload.swift:44:14: warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
    #warning("FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed")
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Relationship/RelatedToManyNested.swift:8:10: warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
#warning("FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[30/30] Compiling SimpleMDM RelatedToOne.swift
/host/spi-builder-workspace/Sources/Payload.swift:44:14: warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
    #warning("FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed")
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Relationship/RelatedToManyNested.swift:8:10: warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
#warning("FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2