Build Information
Successful build of onnxruntime, reference main (2821ca), with Swift 6.1 for macOS (SPM) on 8 Nov 2025 07:40:37 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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/microsoft/onnxruntime-swift-package-manager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/microsoft/onnxruntime-swift-package-manager
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2821ca3 Create codeql.yml (#33)
Cloned https://github.com/microsoft/onnxruntime-swift-package-manager.git
Revision (git rev-parse @):
2821ca3c4d47964ef970d3fa2ba2e30fb85cdfaa
SUCCESS checkout https://github.com/microsoft/onnxruntime-swift-package-manager.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/microsoft/onnxruntime-swift-package-manager.git
https://github.com/microsoft/onnxruntime-swift-package-manager.git
{
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "onnxruntime",
"name" : "onnxruntime",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "onnxruntime",
"targets" : [
"OnnxRuntimeBindings"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "onnxruntime_extensions",
"targets" : [
"OnnxRuntimeExtensions"
],
"type" : {
"library" : [
"static"
]
}
}
],
"targets" : [
{
"c99name" : "onnxruntime_extensions",
"module_type" : "BinaryTarget",
"name" : "onnxruntime_extensions",
"path" : "remote/archive/pod-archive-onnxruntime-extensions-c-0.13.0.zip",
"product_memberships" : [
"onnxruntime_extensions"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "onnxruntime",
"module_type" : "BinaryTarget",
"name" : "onnxruntime",
"path" : "remote/archive/pod-archive-onnxruntime-c-1.20.0.zip",
"product_memberships" : [
"onnxruntime",
"onnxruntime_extensions"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "OnnxRuntimeExtensionsTests",
"module_type" : "SwiftTarget",
"name" : "OnnxRuntimeExtensionsTests",
"path" : "swift/OnnxRuntimeExtensionsTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/swift/OnnxRuntimeExtensionsTests/Resources/decode_image.onnx",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"SwiftOnnxRuntimeExtensionsTests.swift"
],
"target_dependencies" : [
"OnnxRuntimeExtensions",
"OnnxRuntimeBindings"
],
"type" : "test"
},
{
"c99name" : "OnnxRuntimeExtensions",
"module_type" : "ClangTarget",
"name" : "OnnxRuntimeExtensions",
"path" : "extensions",
"product_memberships" : [
"onnxruntime_extensions"
],
"sources" : [
"OrtExt.mm"
],
"target_dependencies" : [
"onnxruntime_extensions",
"onnxruntime"
],
"type" : "library"
},
{
"c99name" : "OnnxRuntimeBindingsTests",
"module_type" : "SwiftTarget",
"name" : "OnnxRuntimeBindingsTests",
"path" : "swift/OnnxRuntimeBindingsTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/swift/OnnxRuntimeBindingsTests/Resources/single_add.basic.ort",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"SwiftOnnxRuntimeBindingsTests.swift"
],
"target_dependencies" : [
"OnnxRuntimeBindings"
],
"type" : "test"
},
{
"c99name" : "OnnxRuntimeBindings",
"module_type" : "ClangTarget",
"name" : "OnnxRuntimeBindings",
"path" : "objectivec",
"product_memberships" : [
"onnxruntime"
],
"sources" : [
"assert_arc_enabled.mm",
"cxx_utils.mm",
"error_utils.mm",
"ort_coreml_execution_provider.mm",
"ort_enums.mm",
"ort_env.mm",
"ort_session.mm",
"ort_value.mm",
"ort_xnnpack_execution_provider.mm"
],
"target_dependencies" : [
"onnxruntime"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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/16] Copying onnxruntime_extensions.framework
[1/16] Copying onnxruntime.framework
[2/16] Compiling OnnxRuntimeBindings assert_arc_enabled.mm
In file included from /Users/admin/builder/spi-builder-workspace/extensions/OrtExt.mm:4:
/Users/admin/builder/spi-builder-workspace/extensions/include/OrtExt.h:8:84: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
8 | typedef struct OrtStatus* (*ORTCAPIRegisterCustomOpsFnPtr)(struct OrtSessionOptions* /*options*/,
| ^
/Users/admin/builder/spi-builder-workspace/extensions/include/OrtExt.h:8:84: note: insert '_Nullable' if the pointer may be null
8 | typedef struct OrtStatus* (*ORTCAPIRegisterCustomOpsFnPtr)(struct OrtSessionOptions* /*options*/,
| ^
| _Nullable
/Users/admin/builder/spi-builder-workspace/extensions/include/OrtExt.h:8:84: note: insert '_Nonnull' if the pointer should never be null
8 | typedef struct OrtStatus* (*ORTCAPIRegisterCustomOpsFnPtr)(struct OrtSessionOptions* /*options*/,
| ^
| _Nonnull
1 warning generated.
[3/16] Compiling OnnxRuntimeExtensions OrtExt.mm
[4/16] Write Objects.LinkFileList
[5/16] Archiving libonnxruntime_extensions.a
[6/16] Compiling OnnxRuntimeBindings ort_value.mm
[7/16] Compiling OnnxRuntimeBindings error_utils.mm
[8/16] Compiling OnnxRuntimeBindings cxx_utils.mm
[9/16] Compiling OnnxRuntimeBindings ort_xnnpack_execution_provider.mm
[10/16] Compiling OnnxRuntimeBindings ort_env.mm
[11/16] Compiling OnnxRuntimeBindings ort_enums.mm
[11/16] Compiling OnnxRuntimeBindings ort_coreml_execution_provider.mm
[12/16] Compiling OnnxRuntimeBindings ort_session.mm
[14/16] Write Objects.LinkFileList
[15/16] Archiving libonnxruntime.a
Build complete! (5.44s)
Downloading binary artifact https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip
Downloading binary artifact https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip
[16065/44218716] Downloading https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip
[80246/63577769] Downloading https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip, https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip
Downloaded https://download.onnxruntime.ai/pod-archive-onnxruntime-extensions-c-0.13.0.zip (1.26s)
Downloaded https://download.onnxruntime.ai/pod-archive-onnxruntime-c-1.20.0.zip (3.24s)
Build complete.
{
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "onnxruntime",
"name" : "onnxruntime",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "onnxruntime",
"targets" : [
"OnnxRuntimeBindings"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "onnxruntime_extensions",
"targets" : [
"OnnxRuntimeExtensions"
],
"type" : {
"library" : [
"static"
]
}
}
],
"targets" : [
{
"c99name" : "onnxruntime_extensions",
"module_type" : "BinaryTarget",
"name" : "onnxruntime_extensions",
"path" : "remote/archive/pod-archive-onnxruntime-extensions-c-0.13.0.zip",
"product_memberships" : [
"onnxruntime_extensions"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "onnxruntime",
"module_type" : "BinaryTarget",
"name" : "onnxruntime",
"path" : "remote/archive/pod-archive-onnxruntime-c-1.20.0.zip",
"product_memberships" : [
"onnxruntime",
"onnxruntime_extensions"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "OnnxRuntimeExtensionsTests",
"module_type" : "SwiftTarget",
"name" : "OnnxRuntimeExtensionsTests",
"path" : "swift/OnnxRuntimeExtensionsTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/swift/OnnxRuntimeExtensionsTests/Resources/decode_image.onnx",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"SwiftOnnxRuntimeExtensionsTests.swift"
],
"target_dependencies" : [
"OnnxRuntimeExtensions",
"OnnxRuntimeBindings"
],
"type" : "test"
},
{
"c99name" : "OnnxRuntimeExtensions",
"module_type" : "ClangTarget",
"name" : "OnnxRuntimeExtensions",
"path" : "extensions",
"product_memberships" : [
"onnxruntime_extensions"
],
"sources" : [
"OrtExt.mm"
],
"target_dependencies" : [
"onnxruntime_extensions",
"onnxruntime"
],
"type" : "library"
},
{
"c99name" : "OnnxRuntimeBindingsTests",
"module_type" : "SwiftTarget",
"name" : "OnnxRuntimeBindingsTests",
"path" : "swift/OnnxRuntimeBindingsTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/swift/OnnxRuntimeBindingsTests/Resources/single_add.basic.ort",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"SwiftOnnxRuntimeBindingsTests.swift"
],
"target_dependencies" : [
"OnnxRuntimeBindings"
],
"type" : "test"
},
{
"c99name" : "OnnxRuntimeBindings",
"module_type" : "ClangTarget",
"name" : "OnnxRuntimeBindings",
"path" : "objectivec",
"product_memberships" : [
"onnxruntime"
],
"sources" : [
"assert_arc_enabled.mm",
"cxx_utils.mm",
"error_utils.mm",
"ort_coreml_execution_provider.mm",
"ort_enums.mm",
"ort_env.mm",
"ort_session.mm",
"ort_value.mm",
"ort_xnnpack_execution_provider.mm"
],
"target_dependencies" : [
"onnxruntime"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.