The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build EagleNet, reference 1.0.0 (ba22bd), with Swift 6.0 for Linux on 5 Nov 2024 20:40:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AnbalaganD/EagleNet.git
Reference: 1.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/AnbalaganD/EagleNet
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at ba22bdf Fix file upload issue
Cloned https://github.com/AnbalaganD/EagleNet.git
Revision (git rev-parse @):
ba22bdf15663c58ed0a612d1dd54f164d891770c
SUCCESS checkout https://github.com/AnbalaganD/EagleNet.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/AnbalaganD/EagleNet.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling EagleNet HTTPMethod.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:54: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol RequestInterceptor: Sendable {
11 |     func modify(request: URLRequest) async throws -> URLRequest
   |                                                      `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:26: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol RequestInterceptor: Sendable {
11 |     func modify(request: URLRequest) async throws -> URLRequest
   |                          `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
[4/17] Compiling EagleNet RequestInterceptor.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:54: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol RequestInterceptor: Sendable {
11 |     func modify(request: URLRequest) async throws -> URLRequest
   |                                                      `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:26: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol RequestInterceptor: Sendable {
11 |     func modify(request: URLRequest) async throws -> URLRequest
   |                          `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
[5/18] Compiling EagleNet NetworkError.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:12:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | public protocol NetworkService: Sendable {
 11 |     init(
 12 |         urlSession: URLSession,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |         jsonEncoder: JSONEncoder,
 14 |         jsonDecoder: JSONDecoder
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:54: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol RequestInterceptor: Sendable {
11 |     func modify(request: URLRequest) async throws -> URLRequest
   |                                                      `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:26: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol RequestInterceptor: Sendable {
11 |     func modify(request: URLRequest) async throws -> URLRequest
   |                          `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:24:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |
 23 | final class NetworkServiceImpl: NetworkService, @unchecked Sendable {
 24 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     private let jsonEncoder: JSONEncoder
 26 |     private let jsonDecoder: JSONDecoder
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:32:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |
 31 |     required init(
 32 |         urlSession: URLSession = .shared,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |         jsonEncoder: JSONEncoder = .init(),
 34 |         jsonDecoder: JSONDecoder = .init()
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:32:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 30 |
 31 |     required init(
 32 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 33 |         jsonEncoder: JSONEncoder = .init(),
 34 |         jsonDecoder: JSONDecoder = .init()
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:44:26: error: cannot find 'URLRequest' in scope
 42 |         let url = try getRequestURL(request)
 43 |
 44 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 45 |         urlRequest.httpMethod = request.httpMethod.rawValue
 46 |
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:66:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 64 |         }
 65 |
 66 |         let result = try await urlSession.data(for: urlRequest)
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 67 |
 68 |         let (data, urlResponse) = try await responseInterceptors.reduce(result) { result, interceptor in
[6/18] Compiling EagleNet NetworkService.swift
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:12:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | public protocol NetworkService: Sendable {
 11 |     init(
 12 |         urlSession: URLSession,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |         jsonEncoder: JSONEncoder,
 14 |         jsonDecoder: JSONDecoder
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:54: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol RequestInterceptor: Sendable {
11 |     func modify(request: URLRequest) async throws -> URLRequest
   |                                                      `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:26: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol RequestInterceptor: Sendable {
11 |     func modify(request: URLRequest) async throws -> URLRequest
   |                          `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:24:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |
 23 | final class NetworkServiceImpl: NetworkService, @unchecked Sendable {
 24 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     private let jsonEncoder: JSONEncoder
 26 |     private let jsonDecoder: JSONDecoder
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:32:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |
 31 |     required init(
 32 |         urlSession: URLSession = .shared,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |         jsonEncoder: JSONEncoder = .init(),
 34 |         jsonDecoder: JSONDecoder = .init()
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:32:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 30 |
 31 |     required init(
 32 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 33 |         jsonEncoder: JSONEncoder = .init(),
 34 |         jsonDecoder: JSONDecoder = .init()
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:44:26: error: cannot find 'URLRequest' in scope
 42 |         let url = try getRequestURL(request)
 43 |
 44 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
 45 |         urlRequest.httpMethod = request.httpMethod.rawValue
 46 |
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:66:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 64 |         }
 65 |
 66 |         let result = try await urlSession.data(for: urlRequest)
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 67 |
 68 |         let (data, urlResponse) = try await responseInterceptors.reduce(result) { result, interceptor in
[7/18] Compiling EagleNet HTTPURLResponseExtension.swift
/host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift:10:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
 8 | import Foundation
 9 |
10 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
11 |     /// Convenience property for checking if an `HTTPURLResponse` is successful.
12 |     ///
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:27:16: warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
25 |
26 | public extension ContentType {
27 |     static let textPlain: ContentType = "text/plain"
   |                |- warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'textPlain' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:28:16: warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
26 | public extension ContentType {
27 |     static let textPlain: ContentType = "text/plain"
28 |     static let applicationJSON: ContentType = "application/json"
   |                |- warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'applicationJSON' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:29:16: warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
27 |     static let textPlain: ContentType = "text/plain"
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
   |                |- warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'multipartFormData' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
31 |     static let pngImage: ContentType = "image/png"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:30:16: warning: static property 'applicationOctetStream' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
   |                |- warning: static property 'applicationOctetStream' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'applicationOctetStream' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     static let pngImage: ContentType = "image/png"
32 |     static let jpegImage: ContentType = "image/jpeg"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:31:16: warning: static property 'pngImage' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
31 |     static let pngImage: ContentType = "image/png"
   |                |- warning: static property 'pngImage' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'pngImage' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |     static let jpegImage: ContentType = "image/jpeg"
33 | }
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:32:16: warning: static property 'jpegImage' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
31 |     static let pngImage: ContentType = "image/png"
32 |     static let jpegImage: ContentType = "image/jpeg"
   |                |- warning: static property 'jpegImage' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'jpegImage' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[8/18] Compiling EagleNet HTTPContentType.swift
/host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift:10:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
 8 | import Foundation
 9 |
10 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
11 |     /// Convenience property for checking if an `HTTPURLResponse` is successful.
12 |     ///
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:27:16: warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
25 |
26 | public extension ContentType {
27 |     static let textPlain: ContentType = "text/plain"
   |                |- warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'textPlain' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:28:16: warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
26 | public extension ContentType {
27 |     static let textPlain: ContentType = "text/plain"
28 |     static let applicationJSON: ContentType = "application/json"
   |                |- warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'applicationJSON' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:29:16: warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
27 |     static let textPlain: ContentType = "text/plain"
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
   |                |- warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'multipartFormData' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
31 |     static let pngImage: ContentType = "image/png"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:30:16: warning: static property 'applicationOctetStream' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
   |                |- warning: static property 'applicationOctetStream' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'applicationOctetStream' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     static let pngImage: ContentType = "image/png"
32 |     static let jpegImage: ContentType = "image/jpeg"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:31:16: warning: static property 'pngImage' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
31 |     static let pngImage: ContentType = "image/png"
   |                |- warning: static property 'pngImage' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'pngImage' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |     static let jpegImage: ContentType = "image/jpeg"
33 | }
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:32:16: warning: static property 'jpegImage' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
31 |     static let pngImage: ContentType = "image/png"
32 |     static let jpegImage: ContentType = "image/jpeg"
   |                |- warning: static property 'jpegImage' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'jpegImage' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/18] Emitting module EagleNet
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:32:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 30 |
 31 |     required init(
 32 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 33 |         jsonEncoder: JSONEncoder = .init(),
 34 |         jsonDecoder: JSONDecoder = .init()
/host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift:10:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
 8 | import Foundation
 9 |
10 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
11 |     /// Convenience property for checking if an `HTTPURLResponse` is successful.
12 |     ///
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:27:16: warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
25 |
26 | public extension ContentType {
27 |     static let textPlain: ContentType = "text/plain"
   |                |- warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'textPlain' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:28:16: warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
26 | public extension ContentType {
27 |     static let textPlain: ContentType = "text/plain"
28 |     static let applicationJSON: ContentType = "application/json"
   |                |- warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'applicationJSON' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:29:16: warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
27 |     static let textPlain: ContentType = "text/plain"
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
   |                |- warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'multipartFormData' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
31 |     static let pngImage: ContentType = "image/png"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:30:16: warning: static property 'applicationOctetStream' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
   |                |- warning: static property 'applicationOctetStream' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'applicationOctetStream' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     static let pngImage: ContentType = "image/png"
32 |     static let jpegImage: ContentType = "image/jpeg"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:31:16: warning: static property 'pngImage' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
31 |     static let pngImage: ContentType = "image/png"
   |                |- warning: static property 'pngImage' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'pngImage' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |     static let jpegImage: ContentType = "image/jpeg"
33 | }
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:32:16: warning: static property 'jpegImage' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
31 |     static let pngImage: ContentType = "image/png"
32 |     static let jpegImage: ContentType = "image/jpeg"
   |                |- warning: static property 'jpegImage' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'jpegImage' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:54: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol RequestInterceptor: Sendable {
11 |     func modify(request: URLRequest) async throws -> URLRequest
   |                                                      `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:11:26: error: cannot find type 'URLRequest' in scope
 9 |
10 | public protocol RequestInterceptor: Sendable {
11 |     func modify(request: URLRequest) async throws -> URLRequest
   |                          `- error: cannot find type 'URLRequest' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:13:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     func modify(
12 |         data: Data,
13 |         urlResponse: URLResponse
   |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     ) async throws -> (Data, URLResponse)
15 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:14:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         data: Data,
13 |         urlResponse: URLResponse
14 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:12:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | public protocol NetworkService: Sendable {
 11 |     init(
 12 |         urlSession: URLSession,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |         jsonEncoder: JSONEncoder,
 14 |         jsonDecoder: JSONDecoder
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:24:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |
 23 | final class NetworkServiceImpl: NetworkService, @unchecked Sendable {
 24 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     private let jsonEncoder: JSONEncoder
 26 |     private let jsonDecoder: JSONDecoder
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:32:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |
 31 |     required init(
 32 |         urlSession: URLSession = .shared,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 33 |         jsonEncoder: JSONEncoder = .init(),
 34 |         jsonDecoder: JSONDecoder = .init()
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
[10/18] Compiling EagleNet ArrayExtension.swift
[11/18] Compiling EagleNet DataExtension.swift
[12/18] Compiling EagleNet DataRequest.swift
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:28:16: warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
26 | public extension ContentType {
27 |     static let textPlain: ContentType = "text/plain"
28 |     static let applicationJSON: ContentType = "application/json"
   |                |- warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'applicationJSON' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:32:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 30 |
 31 |     required init(
 32 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 33 |         jsonEncoder: JSONEncoder = .init(),
 34 |         jsonDecoder: JSONDecoder = .init()
[13/18] Compiling EagleNet EagleNet.swift
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:28:16: warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
26 | public extension ContentType {
27 |     static let textPlain: ContentType = "text/plain"
28 |     static let applicationJSON: ContentType = "application/json"
   |                |- warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'applicationJSON' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:32:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 30 |
 31 |     required init(
 32 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 33 |         jsonEncoder: JSONEncoder = .init(),
 34 |         jsonDecoder: JSONDecoder = .init()
[14/18] Compiling EagleNet ResponseInterceptor.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:13:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     func modify(
12 |         data: Data,
13 |         urlResponse: URLResponse
   |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     ) async throws -> (Data, URLResponse)
15 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:14:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         data: Data,
13 |         urlResponse: URLResponse
14 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:30:16: warning: static property 'applicationOctetStream' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
   |                |- warning: static property 'applicationOctetStream' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'applicationOctetStream' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     static let pngImage: ContentType = "image/png"
32 |     static let jpegImage: ContentType = "image/jpeg"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:27:16: warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
25 |
26 | public extension ContentType {
27 |     static let textPlain: ContentType = "text/plain"
   |                |- warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'textPlain' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:29:16: warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
27 |     static let textPlain: ContentType = "text/plain"
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
   |                |- warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'multipartFormData' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
31 |     static let pngImage: ContentType = "image/png"
[15/18] Compiling EagleNet MultipartRequest.swift
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:13:22: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     func modify(
12 |         data: Data,
13 |         urlResponse: URLResponse
   |                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     ) async throws -> (Data, URLResponse)
15 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:14:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |         data: Data,
13 |         urlResponse: URLResponse
14 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | }
16 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:30:16: warning: static property 'applicationOctetStream' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
   |                |- warning: static property 'applicationOctetStream' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'applicationOctetStream' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     static let pngImage: ContentType = "image/png"
32 |     static let jpegImage: ContentType = "image/jpeg"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:27:16: warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
25 |
26 | public extension ContentType {
27 |     static let textPlain: ContentType = "text/plain"
   |                |- warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'textPlain' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
/host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift:29:16: warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct ContentType: CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
11 |     let rawValue: String
12 |
   :
27 |     static let textPlain: ContentType = "text/plain"
28 |     static let applicationJSON: ContentType = "application/json"
29 |     static let multipartFormData: ContentType = "multipart/form-data"
   |                |- warning: static property 'multipartFormData' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'multipartFormData' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     static let applicationOctetStream: ContentType = "application/octet-stream"
31 |     static let pngImage: ContentType = "image/png"
[16/18] Compiling EagleNet URLConvertible.swift
[17/18] Compiling EagleNet BodyConvertible.swift
[18/18] Compiling EagleNet NetworkRequestable.swift
BUILD FAILURE 6.0 linux