The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SimpleMDM-Swift with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guillaumealgis/SimpleMDM-Swift.git
Reference: main
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/guillaumealgis/SimpleMDM-Swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6de0dcf [WIP] async / await
Cloned https://github.com/guillaumealgis/SimpleMDM-Swift.git
Revision (git rev-parse @):
6de0dcf72d30406d0e2366bc65518e8723560b2a
SUCCESS checkout https://github.com/guillaumealgis/SimpleMDM-Swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/guillaumealgis/SimpleMDM-Swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/29] 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
                 ^
[4/32] 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")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5/32] 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")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6/32] 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")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[7/32] 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")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[8/32] Compiling SimpleMDM Relation.swift
[9/32] Compiling SimpleMDM Account.swift
[10/32] Compiling SimpleMDM App.swift
[11/32] Compiling SimpleMDM AppGroup.swift
[12/32] 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 ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[13/32] 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 ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[14/32] 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 ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[15/32] 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 ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[16/32] Compiling SimpleMDM PushCertificate.swift
[17/32] Compiling SimpleMDM Resource.generated.swift
[18/32] Compiling SimpleMDM Resource.swift
[19/32] Compiling SimpleMDM CustomAttribute.swift
[20/32] Compiling SimpleMDM CustomAttributeValue.swift
[21/32] Compiling SimpleMDM CustomConfigurationProfile.swift
[22/32] Compiling SimpleMDM Device.swift
[23/32] Compiling SimpleMDM DeviceGroup.swift
[24/32] Compiling SimpleMDM InstalledApp.swift
[25/32] Compiling SimpleMDM ManagedConfig.swift
[26/32] 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) {
                           ^~~~~~~~~~
[27/32] 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) {
                           ^~~~~~~~~~
[28/32] 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) {
                           ^~~~~~~~~~
[29/32] 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) {
                           ^~~~~~~~~~
[30/32] 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)
                                               ^
[31/32] 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)
                                               ^
[32/32] 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)
                                               ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] 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)
                                               ^
[3/9] 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) {
                           ^~~~~~~~~~
[4/9] Compiling SimpleMDM Version.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] 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
                 ^
[6/18] Compiling SimpleMDM Decoding.swift
[7/18] Compiling SimpleMDM Error.swift
[8/22] Compiling SimpleMDM SimpleMDM.swift
[9/22] Compiling SimpleMDM URL+CustomInit.swift
[10/26] Compiling SimpleMDM DeviceGroup.swift
[11/26] Compiling SimpleMDM InstalledApp.swift
[12/27] Compiling SimpleMDM CustomAttribute.swift
[13/27] Compiling SimpleMDM CustomAttributeValue.swift
[14/27] Compiling SimpleMDM App.swift
[15/27] Compiling SimpleMDM AppGroup.swift
[16/27] Compiling SimpleMDM RelatedToOne.swift
[17/27] Compiling SimpleMDM Relation.swift
[18/27] Compiling SimpleMDM CustomConfigurationProfile.swift
[19/27] Compiling SimpleMDM Device.swift
[20/27] Compiling SimpleMDM RelatedToManyNested.swift
/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 ?")
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[21/27] Compiling SimpleMDM AsyncResources.swift
/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/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")
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[22/27] Compiling SimpleMDM Payload.swift
/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/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")
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[23/27] Compiling SimpleMDM RelatedToMany.swift
/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/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")
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[24/27] Compiling SimpleMDM ManagedConfig.swift
[25/27] Compiling SimpleMDM PushCertificate.swift
[26/27] Compiling SimpleMDM Resource.generated.swift
[27/27] Compiling SimpleMDM Resource.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2