The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SimpleMDM-Swift, reference 0.10.0 (f5557f), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 12:07:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guillaumealgis/SimpleMDM-Swift.git
Reference: 0.10.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/guillaumealgis/SimpleMDM-Swift
 * tag               0.10.0     -> FETCH_HEAD
HEAD is now at f5557fb Bump version 0.9.0 -> 0.10.0
Cloned https://github.com/guillaumealgis/SimpleMDM-Swift.git
Revision (git rev-parse @):
f5557fb43306c33e2537aec76d35c47ca97b607d
SUCCESS checkout https://github.com/guillaumealgis/SimpleMDM-Swift.git at 0.10.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/guillaumealgis/SimpleMDM-Swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/20] Compiling PromiseKit Resolver.swift
[5/20] Compiling PromiseKit Thenable.swift
[6/20] Compiling PromiseKit Configuration.swift
[7/20] Compiling PromiseKit CustomStringConvertible.swift
[8/21] Compiling PromiseKit race.swift
[9/21] Compiling PromiseKit after.swift
[10/21] Compiling PromiseKit firstly.swift
[11/21] Compiling PromiseKit hang.swift
[12/21] Compiling PromiseKit LogEvent.swift
[13/21] Compiling PromiseKit Promise.swift
[14/21] Compiling PromiseKit Catchable.swift
[15/21] Compiling PromiseKit Combine.swift
[16/21] Compiling PromiseKit Async.swift
[17/21] Compiling PromiseKit Box.swift
[18/21] Compiling PromiseKit Error.swift
[19/21] Compiling PromiseKit Guarantee.swift
[20/21] Emitting module PromiseKit
[21/21] Compiling PromiseKit when.swift
[22/44] Compiling SimpleMDM CustomAttributeValue.swift
[23/44] Compiling SimpleMDM CustomConfigurationProfile.swift
[24/46] Compiling SimpleMDM InstalledApp.swift
[25/46] Compiling SimpleMDM ManagedConfig.swift
[26/46] Compiling SimpleMDM Resource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Resources/Resource.swift:9:18: warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
  7 |
  8 | /// A completion clusure used to return a Result type asynchronously.
  9 | public typealias CompletionClosure<Value> = (Result<Value>) -> Void
    |                  `- warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
 10 |
 11 | /// A protocol adopted by all resources types of the library.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Resolver.swift:97:13: note: generic enum declared here
 95 | #endif
 96 |
 97 | public enum Result<T> {
    |             `- note: generic enum declared here
 98 |     case fulfilled(T)
 99 |     case rejected(Error)
[27/46] Compiling SimpleMDM SimpleMDM.swift
/Users/admin/builder/spi-builder-workspace/Sources/Resources/Resource.swift:9:18: warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
  7 |
  8 | /// A completion clusure used to return a Result type asynchronously.
  9 | public typealias CompletionClosure<Value> = (Result<Value>) -> Void
    |                  `- warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
 10 |
 11 | /// A protocol adopted by all resources types of the library.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Resolver.swift:97:13: note: generic enum declared here
 95 | #endif
 96 |
 97 | public enum Result<T> {
    |             `- note: generic enum declared here
 98 |     case fulfilled(T)
 99 |     case rejected(Error)
[28/46] Emitting module SimpleMDM
/Users/admin/builder/spi-builder-workspace/Sources/Relationship.swift:251:17: warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
249 |     ///   - index: The index of the resource to fetch in the collection.
250 |     ///   - completion: A completion handler called with the fetched resource, or an error.
251 |     public func get(id: Element.ID, completion: @escaping (Result<Element>) -> Void) {
    |                 `- warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
252 |         get(SimpleMDM.shared.networking, id: id, completion: completion)
253 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Resolver.swift:97:13: note: generic enum declared here
 95 | #endif
 96 |
 97 | public enum Result<T> {
    |             `- note: generic enum declared here
 98 |     case fulfilled(T)
 99 |     case rejected(Error)
/Users/admin/builder/spi-builder-workspace/Sources/Resources/Resource.swift:9:18: warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
  7 |
  8 | /// A completion clusure used to return a Result type asynchronously.
  9 | public typealias CompletionClosure<Value> = (Result<Value>) -> Void
    |                  `- warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
 10 |
 11 | /// A protocol adopted by all resources types of the library.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Resolver.swift:97:13: note: generic enum declared here
 95 | #endif
 96 |
 97 | public enum Result<T> {
    |             `- note: generic enum declared here
 98 |     case fulfilled(T)
 99 |     case rejected(Error)
[29/46] Compiling SimpleMDM URL+CustomInit.swift
[30/46] Compiling SimpleMDM URLSession.swift
[31/46] Compiling SimpleMDM App.swift
[32/46] Compiling SimpleMDM AppGroup.swift
[33/46] Compiling SimpleMDM CustomAttribute.swift
[34/46] Compiling SimpleMDM SimpleMDM+PromiseKit.swift
[35/46] Compiling SimpleMDM Version.swift
[36/46] Compiling SimpleMDM Networking.swift
[37/46] Compiling SimpleMDM Payload.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relationship.swift:251:17: warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
249 |     ///   - index: The index of the resource to fetch in the collection.
250 |     ///   - completion: A completion handler called with the fetched resource, or an error.
251 |     public func get(id: Element.ID, completion: @escaping (Result<Element>) -> Void) {
    |                 `- warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
252 |         get(SimpleMDM.shared.networking, id: id, completion: completion)
253 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Resolver.swift:97:13: note: generic enum declared here
 95 | #endif
 96 |
 97 | public enum Result<T> {
    |             `- note: generic enum declared here
 98 |     case fulfilled(T)
 99 |     case rejected(Error)
[38/46] Compiling SimpleMDM Relationship.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relationship.swift:251:17: warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
249 |     ///   - index: The index of the resource to fetch in the collection.
250 |     ///   - completion: A completion handler called with the fetched resource, or an error.
251 |     public func get(id: Element.ID, completion: @escaping (Result<Element>) -> Void) {
    |                 `- warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
252 |         get(SimpleMDM.shared.networking, id: id, completion: completion)
253 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Resolver.swift:97:13: note: generic enum declared here
 95 | #endif
 96 |
 97 | public enum Result<T> {
    |             `- note: generic enum declared here
 98 |     case fulfilled(T)
 99 |     case rejected(Error)
[39/46] Compiling SimpleMDM Account.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relationship.swift:251:17: warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
249 |     ///   - index: The index of the resource to fetch in the collection.
250 |     ///   - completion: A completion handler called with the fetched resource, or an error.
251 |     public func get(id: Element.ID, completion: @escaping (Result<Element>) -> Void) {
    |                 `- warning: cannot use generic enum 'Result' here; 'PromiseKit' was not imported by this file
252 |         get(SimpleMDM.shared.networking, id: id, completion: completion)
253 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Resolver.swift:97:13: note: generic enum declared here
 95 | #endif
 96 |
 97 | public enum Result<T> {
    |             `- note: generic enum declared here
 98 |     case fulfilled(T)
 99 |     case rejected(Error)
[40/46] Compiling SimpleMDM Cursor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cursor.swift:66:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |
 65 |         serialQueue.async {
 66 |             self.fetchNextData(networking, limit: limit, completion: completion)
    |                  `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Cursor.swift:57:19: warning: capture of non-sendable type 'T.Type' in an isolated closure
 55 |
 56 |     /// Actual implementation of the `next(_:completion:)` method, with a injectable `Networking` parameter.
 57 |     internal func next(_ networking: Networking, _ limit: Int? = nil, completion: @escaping CompletionClosure<[T]>) {
    |                   `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 58 |         if let limit = limit {
 59 |             guard limit >= CursorLimit.min.rawValue, limit <= CursorLimit.max.rawValue else {
[41/46] Compiling SimpleMDM Decoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cursor.swift:66:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |
 65 |         serialQueue.async {
 66 |             self.fetchNextData(networking, limit: limit, completion: completion)
    |                  `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Cursor.swift:57:19: warning: capture of non-sendable type 'T.Type' in an isolated closure
 55 |
 56 |     /// Actual implementation of the `next(_:completion:)` method, with a injectable `Networking` parameter.
 57 |     internal func next(_ networking: Networking, _ limit: Int? = nil, completion: @escaping CompletionClosure<[T]>) {
    |                   `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 58 |         if let limit = limit {
 59 |             guard limit >= CursorLimit.min.rawValue, limit <= CursorLimit.max.rawValue else {
[42/46] Compiling SimpleMDM Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Cursor.swift:66:18: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |
 65 |         serialQueue.async {
 66 |             self.fetchNextData(networking, limit: limit, completion: completion)
    |                  `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Cursor.swift:57:19: warning: capture of non-sendable type 'T.Type' in an isolated closure
 55 |
 56 |     /// Actual implementation of the `next(_:completion:)` method, with a injectable `Networking` parameter.
 57 |     internal func next(_ networking: Networking, _ limit: Int? = nil, completion: @escaping CompletionClosure<[T]>) {
    |                   `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 58 |         if let limit = limit {
 59 |             guard limit >= CursorLimit.min.rawValue, limit <= CursorLimit.max.rawValue else {
[43/46] Compiling SimpleMDM Device.swift
[44/46] Compiling SimpleMDM DeviceGroup.swift
[45/46] Compiling SimpleMDM PushCertificate.swift
[46/46] Compiling SimpleMDM Resource.generated.swift
Build complete! (23.94s)
Fetching https://github.com/mxcl/PromiseKit.git
[1/17186] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git from cache (1.66s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (2.21s)
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "promisekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.8.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/PromiseKit.git"
    }
  ],
  "manifest_display_name" : "SimpleMDM-Swift",
  "name" : "SimpleMDM-Swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.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",
      "sources" : [
        "APIKeyTests.swift",
        "CursorTests.swift",
        "DecodingTests.swift",
        "FieldTypes/VersionTests.swift",
        "NetworkingTests.swift",
        "PromiseKit/SimpleMDM+PromiseKitTests.swift",
        "PromiseKit/SimpleMDMSingleton+PromiseKitTests.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/URLSessionMock.swift",
        "Tools/Utils.swift"
      ],
      "target_dependencies" : [
        "SimpleMDM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SimpleMDM",
      "module_type" : "SwiftTarget",
      "name" : "SimpleMDM",
      "path" : "Sources",
      "product_dependencies" : [
        "PromiseKit"
      ],
      "product_memberships" : [
        "SimpleMDM"
      ],
      "sources" : [
        "Cursor.swift",
        "Decoding.swift",
        "Error.swift",
        "Extensions/SimpleMDM+PromiseKit.swift",
        "FieldTypes/Version.swift",
        "Networking.swift",
        "Payload.swift",
        "Relationship.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.0"
}
Done.