The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ANEEmbed, reference v1.0.0 (2ba823), with Swift 6.1 for macOS (SPM) on 4 Sep 2026 01:49:11 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: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Rezarys/ane-embed-pipeline
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 2ba8233 v1.0.0 : paquet ANEEmbed, all-MiniLM-L6-v2 quantifie ANE, pipeline CI
Cloned https://github.com/Rezarys/ane-embed-pipeline.git
Revision (git rev-parse @):
2ba8233b26940ae17c39c044b8ec4641418c438c
SUCCESS checkout https://github.com/Rezarys/ane-embed-pipeline.git at v1.0.0
========================================
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] Write sources
[1/9] Copying vocab.txt
[1/9] Write sources
[1/9] Write ane-embed-demo-entitlement.plist
[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 BertTokenizer.swift
[10/13] Compiling ANEEmbed Embedder.swift
/Users/admin/builder/spi-builder-workspace/Sources/ANEEmbed/Embedder.swift:65:32: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 |         ])
64 |
65 |         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
66 |             try model.prediction(from: featureProvider)
67 |         }.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:65:37: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 |         ])
64 |
65 |         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
66 |             try model.prediction(from: featureProvider)
67 |         }.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:67:11: warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 |         let output = try await Task.detached(priority: .userInitiated) { [model] in
66 |             try model.prediction(from: featureProvider)
67 |         }.value
   |           `- warning: type 'any MLFeatureProvider' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 |         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:65: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
63 |         ])
64 |
65 |         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
66 |             try model.prediction(from: featureProvider)
   |                 |                      `- note: closure captures non-Sendable 'featureProvider'
   |                 `- note: closure captures non-Sendable 'model'
67 |         }.value
68 |
[11/15] Emitting module ane_embed_demo
[12/15] Compiling ane_embed_demo main.swift
[12/15] Write Objects.LinkFileList
[13/15] Linking ane-embed-demo
[14/15] Applying ane-embed-demo
Build complete! (6.18s)
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.