Build Information
Successful build of SimpleMDM-Swift, reference main (6de0dc
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 10:18:16 UTC.
Swift 6 data race errors: 1
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/guillaumealgis/SimpleMDM-Swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/guillaumealgis/SimpleMDM-Swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6de0dcf [WIP] async / await
Cloned https://github.com/guillaumealgis/SimpleMDM-Swift.git
Revision (git rev-parse @):
6de0dcf72d30406d0e2366bc65518e8723560b2a
SUCCESS checkout https://github.com/guillaumealgis/SimpleMDM-Swift.git at main
========================================
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": "simplemdm-swift",
"name": "SimpleMDM-Swift",
"url": "https://github.com/guillaumealgis/SimpleMDM-Swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SimpleMDM-Swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/guillaumealgis/SimpleMDM-Swift.git
[1/3514] Fetching simplemdm-swift
Fetched https://github.com/guillaumealgis/SimpleMDM-Swift.git from cache (2.27s)
Creating working copy for https://github.com/guillaumealgis/SimpleMDM-Swift.git
Working copy of https://github.com/guillaumealgis/SimpleMDM-Swift.git resolved at main (6de0dcf)
warning: '.resolve-product-dependencies': dependency 'simplemdm-swift' 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/guillaumealgis/SimpleMDM-Swift.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/30] Emitting module SimpleMDM
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:8:10: warning: FIXME: Guillaume: Useful ?
6 | import Foundation
7 |
8 | #warning("FIXME: Guillaume: Useful ?")
| `- warning: FIXME: Guillaume: Useful ?
9 | #warning("FIXME: Guillaume: documentation in whole file")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:9:10: warning: FIXME: Guillaume: documentation in whole file
7 |
8 | #warning("FIXME: Guillaume: Useful ?")
9 | #warning("FIXME: Guillaume: documentation in whole file")
| `- warning: FIXME: Guillaume: documentation in whole file
10 |
11 | /// The bounds of the number of elements one can get when requesting a paginated list of resources.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncResources.swift:8:10: warning: FIXME: Guillaume: documentation in whole file
6 | import Foundation
7 |
8 | #warning("FIXME: Guillaume: documentation in whole file")
| `- warning: FIXME: Guillaume: documentation in whole file
9 |
10 | /// A type that provides async access to a paginated list of resources.
/Users/admin/builder/spi-builder-workspace/Sources/Payload.swift:44:14: warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
42 | let hasMore: Bool
43 |
44 | #warning("FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed")
| `- warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Relationship/RelatedToManyNested.swift:8:10: warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
6 | import Foundation
7 |
8 | #warning("FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?")
| `- warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
9 |
10 | /// A type defining an attribute of a resource having a "link" to its parent resource.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
[4/32] Compiling SimpleMDM AsyncPaginatedResources.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:8:10: warning: FIXME: Guillaume: Useful ?
6 | import Foundation
7 |
8 | #warning("FIXME: Guillaume: Useful ?")
| `- warning: FIXME: Guillaume: Useful ?
9 | #warning("FIXME: Guillaume: documentation in whole file")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:9:10: warning: FIXME: Guillaume: documentation in whole file
7 |
8 | #warning("FIXME: Guillaume: Useful ?")
9 | #warning("FIXME: Guillaume: documentation in whole file")
| `- warning: FIXME: Guillaume: documentation in whole file
10 |
11 | /// The bounds of the number of elements one can get when requesting a paginated list of resources.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncResources.swift:8:10: warning: FIXME: Guillaume: documentation in whole file
6 | import Foundation
7 |
8 | #warning("FIXME: Guillaume: documentation in whole file")
| `- warning: FIXME: Guillaume: documentation in whole file
9 |
10 | /// A type that provides async access to a paginated list of resources.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
[5/32] Compiling SimpleMDM AsyncResources.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:8:10: warning: FIXME: Guillaume: Useful ?
6 | import Foundation
7 |
8 | #warning("FIXME: Guillaume: Useful ?")
| `- warning: FIXME: Guillaume: Useful ?
9 | #warning("FIXME: Guillaume: documentation in whole file")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:9:10: warning: FIXME: Guillaume: documentation in whole file
7 |
8 | #warning("FIXME: Guillaume: Useful ?")
9 | #warning("FIXME: Guillaume: documentation in whole file")
| `- warning: FIXME: Guillaume: documentation in whole file
10 |
11 | /// The bounds of the number of elements one can get when requesting a paginated list of resources.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncResources.swift:8:10: warning: FIXME: Guillaume: documentation in whole file
6 | import Foundation
7 |
8 | #warning("FIXME: Guillaume: documentation in whole file")
| `- warning: FIXME: Guillaume: documentation in whole file
9 |
10 | /// A type that provides async access to a paginated list of resources.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
[6/32] Compiling SimpleMDM AsyncSequence+Collect.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:8:10: warning: FIXME: Guillaume: Useful ?
6 | import Foundation
7 |
8 | #warning("FIXME: Guillaume: Useful ?")
| `- warning: FIXME: Guillaume: Useful ?
9 | #warning("FIXME: Guillaume: documentation in whole file")
10 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPaginatedResources.swift:9:10: warning: FIXME: Guillaume: documentation in whole file
7 |
8 | #warning("FIXME: Guillaume: Useful ?")
9 | #warning("FIXME: Guillaume: documentation in whole file")
| `- warning: FIXME: Guillaume: documentation in whole file
10 |
11 | /// The bounds of the number of elements one can get when requesting a paginated list of resources.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncResources.swift:8:10: warning: FIXME: Guillaume: documentation in whole file
6 | import Foundation
7 |
8 | #warning("FIXME: Guillaume: documentation in whole file")
| `- warning: FIXME: Guillaume: documentation in whole file
9 |
10 | /// A type that provides async access to a paginated list of resources.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
[7/32] Compiling SimpleMDM Relation.swift
[8/32] Compiling SimpleMDM Account.swift
[9/32] Compiling SimpleMDM App.swift
[10/32] Compiling SimpleMDM URL+CustomInit.swift
[11/32] Compiling SimpleMDM URLSession.swift
[12/32] Compiling SimpleMDM Cursor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Decoding.swift:16:48: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
14 | init() {
15 | decoder.keyDecodingStrategy = .convertFromSnakeCase
16 | decoder.dateDecodingStrategy = .custom(decodeRFC3339Date)
| `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
17 | }
18 |
[13/32] Compiling SimpleMDM Decoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Decoding.swift:16:48: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
14 | init() {
15 | decoder.keyDecodingStrategy = .convertFromSnakeCase
16 | decoder.dateDecodingStrategy = .custom(decodeRFC3339Date)
| `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
17 | }
18 |
[14/32] Compiling SimpleMDM Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Decoding.swift:16:48: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
14 | init() {
15 | decoder.keyDecodingStrategy = .convertFromSnakeCase
16 | decoder.dateDecodingStrategy = .custom(decodeRFC3339Date)
| `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
17 | }
18 |
[15/32] Compiling SimpleMDM CustomConfigurationProfile.swift
[16/32] Compiling SimpleMDM Device.swift
[17/32] Compiling SimpleMDM DeviceGroup.swift
[18/32] Compiling SimpleMDM Resource.generated.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
[19/32] Compiling SimpleMDM Resource.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
[20/32] Compiling SimpleMDM SimpleMDM.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
[21/32] Compiling SimpleMDM AppGroup.swift
[22/32] Compiling SimpleMDM CustomAttribute.swift
[23/32] Compiling SimpleMDM CustomAttributeValue.swift
[24/32] Compiling SimpleMDM InstalledApp.swift
[25/32] Compiling SimpleMDM ManagedConfig.swift
[26/32] Compiling SimpleMDM PushCertificate.swift
[27/32] Compiling SimpleMDM RelatedToMany.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relationship/RelatedToManyNested.swift:8:10: warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
6 | import Foundation
7 |
8 | #warning("FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?")
| `- warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
9 |
10 | /// A type defining an attribute of a resource having a "link" to its parent resource.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
[28/32] Compiling SimpleMDM RelatedToManyNested.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relationship/RelatedToManyNested.swift:8:10: warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
6 | import Foundation
7 |
8 | #warning("FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?")
| `- warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
9 |
10 | /// A type defining an attribute of a resource having a "link" to its parent resource.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
[29/32] Compiling SimpleMDM RelatedToOne.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relationship/RelatedToManyNested.swift:8:10: warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
6 | import Foundation
7 |
8 | #warning("FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?")
| `- warning: FIXME: Guillaume: Same implementation as AsyncResources, but with parendId. Do we need this ?
9 |
10 | /// A type defining an attribute of a resource having a "link" to its parent resource.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
[30/32] Compiling SimpleMDM Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
/Users/admin/builder/spi-builder-workspace/Sources/Payload.swift:44:14: warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
42 | let hasMore: Bool
43 |
44 | #warning("FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed")
| `- warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
45 | }
46 |
[31/32] Compiling SimpleMDM Networking.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
/Users/admin/builder/spi-builder-workspace/Sources/Payload.swift:44:14: warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
42 | let hasMore: Bool
43 |
44 | #warning("FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed")
| `- warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
45 | }
46 |
[32/32] Compiling SimpleMDM Payload.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleMDM.swift:29:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | // This is only kept mutable for tests so we can replace the shared instance with a custom one with mocked
28 | // sub-components (e.g. Networking).
29 | static var shared = SimpleMDM()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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 |
31 | // MARK: - Sub-components
/Users/admin/builder/spi-builder-workspace/Sources/Payload.swift:44:14: warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
42 | let hasMore: Bool
43 |
44 | #warning("FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed")
| `- warning: FIXME: Guillaume: Nested resource custom_attribute_values of device seems to not include has_more when listed
45 | }
46 |
Build complete! (18.18s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SimpleMDM-Swift",
"name" : "SimpleMDM-Swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "SimpleMDM",
"targets" : [
"SimpleMDM"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SimpleMDM_Tests",
"module_type" : "SwiftTarget",
"name" : "SimpleMDM-Tests",
"path" : "Tests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/Account.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/AppGroup_ProductivityApps.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/AppGroups.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/App_Evernote.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/App_GoogleCalendar.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/App_SimpleMDM.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/App_Trello.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/Apps.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/CustomAttribute_EmailAddress.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/CustomAttributes.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/CustomConfigurationProfile_MunkiConfiguration.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/CustomConfigurationProfiles.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/DeviceGroup_Executives.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/DeviceGroup_Interns.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/DeviceGroups.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/Device_MikesiPhone.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/Device_MikesiPhone_CustomAttributeValues.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/Devices.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/Generic/ResourceMock_326.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/Generic/ResourceMock_37.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/Generic/ResourceMock_78.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/Generic/ResourceWithRelationsMock_42.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/Generic/ResourcesMock.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/Generic/UniqueResourceMock.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/InstalledApp_Dropbox.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/ManagedConfigs.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Fixtures/PushCertificate.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"APIKeyTests.swift",
"AsyncPaginatedResourcesTests.swift",
"AsyncResourcesTests.swift",
"DecodingTests.swift",
"FieldTypes/VersionTests.swift",
"NetworkingTests.swift",
"Resources/AccountTests.swift",
"Resources/AppGroupTests.swift",
"Resources/AppTests.swift",
"Resources/CustomAttributeTests.swift",
"Resources/CustomConfigurationProfileTests.swift",
"Resources/DeviceGroupTests.swift",
"Resources/DeviceTests.swift",
"Resources/InstalledAppTests.swift",
"Resources/PushCertificateTests.swift",
"Resources/ResourcesTests.swift",
"SimpleMDMSingletonTests.swift",
"Tools/ResourceMock.swift",
"Tools/TimeInterval+Milliseconds.swift",
"Tools/URLSessionMock.swift",
"Tools/Utils.swift",
"Tools/XCTest+Async.swift"
],
"target_dependencies" : [
"SimpleMDM"
],
"type" : "test"
},
{
"c99name" : "SimpleMDM",
"module_type" : "SwiftTarget",
"name" : "SimpleMDM",
"path" : "Sources",
"product_memberships" : [
"SimpleMDM"
],
"sources" : [
"AsyncPaginatedResources.swift",
"AsyncResources.swift",
"AsyncSequence+Collect.swift",
"Cursor.swift",
"Decoding.swift",
"Error.swift",
"FieldTypes/Version.swift",
"Networking.swift",
"Payload.swift",
"Relationship/RelatedToMany.swift",
"Relationship/RelatedToManyNested.swift",
"Relationship/RelatedToOne.swift",
"Relationship/Relation.swift",
"Resources/Account.swift",
"Resources/App.swift",
"Resources/AppGroup.swift",
"Resources/CustomAttribute.swift",
"Resources/CustomAttributeValue.swift",
"Resources/CustomConfigurationProfile.swift",
"Resources/Device.swift",
"Resources/DeviceGroup.swift",
"Resources/InstalledApp.swift",
"Resources/ManagedConfig.swift",
"Resources/PushCertificate.swift",
"Resources/Resource.generated.swift",
"Resources/Resource.swift",
"SimpleMDM.swift",
"URL+CustomInit.swift",
"URLSession.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.