Build Information
Successful build of EagleNet, reference main (e419f6
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 20:51:34 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AnbalaganD/EagleNet.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AnbalaganD/EagleNet
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e419f61 Update README.md
Cloned https://github.com/AnbalaganD/EagleNet.git
Revision (git rev-parse @):
e419f6123f7192ea14ecad2492efef6608d5a4b6
SUCCESS checkout https://github.com/AnbalaganD/EagleNet.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "eaglenet",
"name": "EagleNet",
"url": "https://github.com/AnbalaganD/EagleNet.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EagleNet",
"dependencies": [
]
}
]
}
Fetching https://github.com/AnbalaganD/EagleNet.git
[1/107] Fetching eaglenet
Fetched https://github.com/AnbalaganD/EagleNet.git from cache (0.67s)
Creating working copy for https://github.com/AnbalaganD/EagleNet.git
Working copy of https://github.com/AnbalaganD/EagleNet.git resolved at main (e419f61)
warning: '.resolve-product-dependencies': dependency 'eaglenet' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/AnbalaganD/EagleNet.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/17] Compiling EagleNet NetworkRequestable.swift
[4/18] Compiling EagleNet URLConvertible.swift
[5/18] Compiling EagleNet BodyConvertible.swift
[6/18] Compiling EagleNet NetworkError.swift
[7/18] Compiling EagleNet NetworkService.swift
[8/18] Compiling EagleNet ResponseInterceptor.swift
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
[9/18] Compiling EagleNet MultipartRequest.swift
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
[10/18] Compiling EagleNet HTTPMethod.swift
[11/18] Compiling EagleNet RequestInterceptor.swift
[12/18] Compiling EagleNet ArrayExtension.swift
[13/18] Compiling EagleNet DataExtension.swift
[14/18] Compiling EagleNet DataRequest.swift
/Users/admin/builder/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"
[15/18] Compiling EagleNet EagleNet.swift
/Users/admin/builder/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"
[16/18] Emitting module EagleNet
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[17/18] Compiling EagleNet HTTPURLResponseExtension.swift
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[18/18] Compiling EagleNet HTTPContentType.swift
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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"
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
Build complete! (18.05s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "EagleNet",
"name" : "EagleNet",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "EagleNet",
"targets" : [
"EagleNet"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EagleNetTests",
"module_type" : "SwiftTarget",
"name" : "EagleNetTests",
"path" : "Tests/EagleNetTests",
"sources" : [
"EagleNetTests.swift"
],
"target_dependencies" : [
"EagleNet"
],
"type" : "test"
},
{
"c99name" : "EagleNet",
"module_type" : "SwiftTarget",
"name" : "EagleNet",
"path" : "Sources/EagleNet",
"product_memberships" : [
"EagleNet"
],
"sources" : [
"DataRequest.swift",
"EagleNet.swift",
"Extensions/ArrayExtension.swift",
"Extensions/DataExtension.swift",
"Extensions/HTTPURLResponseExtension.swift",
"HTTPContentType.swift",
"HTTPMethod.swift",
"Interceptor/RequestInterceptor.swift",
"Interceptor/ResponseInterceptor.swift",
"MultipartRequest.swift",
"NetworkError.swift",
"NetworkService.swift",
"Protocol/BodyConvertible.swift",
"Protocol/NetworkRequestable.swift",
"Protocol/URLConvertible.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.