The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ANEEmbed, reference main (c38a3f), with Swift 6.1 for macOS (SPM) on 4 Sep 2026 01:58:30 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Rezarys/ane-embed-pipeline.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Rezarys/ane-embed-pipeline
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c38a3f5 Translate remaining comments and messages to English
Cloned https://github.com/Rezarys/ane-embed-pipeline.git
Revision (git rev-parse @):
c38a3f593759c0ab57531599e53e57975aca906a
SUCCESS checkout https://github.com/Rezarys/ane-embed-pipeline.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Rezarys/ane-embed-pipeline.git
https://github.com/Rezarys/ane-embed-pipeline.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ANEEmbed",
  "name" : "ANEEmbed",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "ANEEmbed",
      "targets" : [
        "ANEEmbed"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ane-embed-demo",
      "targets" : [
        "ane-embed-demo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ane_embed_demo",
      "module_type" : "SwiftTarget",
      "name" : "ane-embed-demo",
      "path" : "Sources/ane-embed-demo",
      "product_memberships" : [
        "ane-embed-demo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ANEEmbed"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ANEEmbed",
      "module_type" : "SwiftTarget",
      "name" : "ANEEmbed",
      "path" : "Sources/ANEEmbed",
      "product_memberships" : [
        "ANEEmbed",
        "ane-embed-demo"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/ANEEmbed/Resources/all-MiniLM-L6-v2-quant8.mlpackage",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/ANEEmbed/Resources/vocab.txt",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BertTokenizer.swift",
        "Embedder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/9] Copying vocab.txt
[0/9] Write ane-embed-demo-entitlement.plist
[0/9] Write sources
[4/9] Copying all-MiniLM-L6-v2-quant8.mlpackage
[5/9] Write swift-version-2F0A5646E1D333AE.txt
[7/13] Compiling ANEEmbed resource_bundle_accessor.swift
[8/13] Emitting module ANEEmbed
[9/13] Compiling ANEEmbed Embedder.swift
/Users/admin/builder/spi-builder-workspace/Sources/ANEEmbed/Embedder.swift:64:32: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 |         ])
63 |
64 |         let output = try await Task.detached(priority: .userInitiated) { [model] in
   |                                `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 |             try model.prediction(from: featureProvider)
66 |         }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h:17:11: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
15 |  */
16 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
17 | @protocol MLFeatureProvider
   |           `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
18 |
19 | @property (readonly, nonatomic) NSSet<NSString *> *featureNames;
/Users/admin/builder/spi-builder-workspace/Sources/ANEEmbed/Embedder.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
 1 | import CoreML
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreML'
 2 | import Foundation
 3 |
/Users/admin/builder/spi-builder-workspace/Sources/ANEEmbed/Embedder.swift:64:37: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 |         ])
63 |
64 |         let output = try await Task.detached(priority: .userInitiated) { [model] in
   |                                     `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 |             try model.prediction(from: featureProvider)
66 |         }.value
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h:17:11: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
15 |  */
16 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
17 | @protocol MLFeatureProvider
   |           `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
18 |
19 | @property (readonly, nonatomic) NSSet<NSString *> *featureNames;
/Users/admin/builder/spi-builder-workspace/Sources/ANEEmbed/Embedder.swift:66:11: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
64 |         let output = try await Task.detached(priority: .userInitiated) { [model] in
65 |             try model.prediction(from: featureProvider)
66 |         }.value
   |           `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
67 |
68 |         guard let embeddingValue = output.featureValue(for: "embedding")?.multiArrayValue else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreML.framework/Headers/MLFeatureProvider.h:17:11: note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
15 |  */
16 | API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0))
17 | @protocol MLFeatureProvider
   |           `- note: protocol 'MLFeatureProvider' does not conform to the 'Sendable' protocol
18 |
19 | @property (readonly, nonatomic) NSSet<NSString *> *featureNames;
/Users/admin/builder/spi-builder-workspace/Sources/ANEEmbed/Embedder.swift:64:72: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
62 |         ])
63 |
64 |         let output = try await Task.detached(priority: .userInitiated) { [model] in
   |                                                                        `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
65 |             try model.prediction(from: featureProvider)
   |                 |                      `- note: closure captures non-Sendable 'featureProvider'
   |                 `- note: closure captures non-Sendable 'model'
66 |         }.value
67 |
[10/13] Compiling ANEEmbed BertTokenizer.swift
[11/15] Compiling ane_embed_demo main.swift
[12/15] Emitting module ane_embed_demo
[12/15] Write Objects.LinkFileList
[13/15] Linking ane-embed-demo
[14/15] Applying ane-embed-demo
Build complete! (6.68s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ANEEmbed",
  "name" : "ANEEmbed",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "ANEEmbed",
      "targets" : [
        "ANEEmbed"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ane-embed-demo",
      "targets" : [
        "ane-embed-demo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ane_embed_demo",
      "module_type" : "SwiftTarget",
      "name" : "ane-embed-demo",
      "path" : "Sources/ane-embed-demo",
      "product_memberships" : [
        "ane-embed-demo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ANEEmbed"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ANEEmbed",
      "module_type" : "SwiftTarget",
      "name" : "ANEEmbed",
      "path" : "Sources/ANEEmbed",
      "product_memberships" : [
        "ANEEmbed",
        "ane-embed-demo"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/ANEEmbed/Resources/all-MiniLM-L6-v2-quant8.mlpackage",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/ANEEmbed/Resources/vocab.txt",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BertTokenizer.swift",
        "Embedder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.