Build Information
Failed to build AgoraInfra_macOS, reference 1.2.13 (b10a9e
), with Swift 6.0 for macOS (SPM) on 3 Dec 2024 06:16:58 UTC.
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 -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: 4.58.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AgoraIO/AgoraInfra_macOS.git
Reference: 1.2.13
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AgoraIO/AgoraInfra_macOS
* tag 1.2.13 -> FETCH_HEAD
HEAD is now at b10a9ed 1.2.13
Cloned https://github.com/AgoraIO/AgoraInfra_macOS.git
Revision (git rev-parse @):
b10a9ed08c73774ccb6569777034c70acab1656b
SUCCESS checkout https://github.com/AgoraIO/AgoraInfra_macOS.git at 1.2.13
[80344/297775] Downloading https://download.agora.io/swiftpm/AgoraInfra_macOS/1.2.13/aosl.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraInfra_macOS/1.2.13/aosl.xcframework.zip
Downloaded https://download.agora.io/swiftpm/AgoraInfra_macOS/1.2.13/aosl.xcframework.zip (0.51s)
========================================
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": "agorainfra_macos",
"name": "AgoraInfra_macOS",
"url": "https://github.com/AgoraIO/AgoraInfra_macOS.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AgoraInfra_macOS",
"dependencies": [
]
}
]
}
Fetching https://github.com/AgoraIO/AgoraInfra_macOS.git
[1/11] Fetching agorainfra_macos
Fetched https://github.com/AgoraIO/AgoraInfra_macOS.git from cache (0.55s)
Creating working copy for https://github.com/AgoraIO/AgoraInfra_macOS.git
Working copy of https://github.com/AgoraIO/AgoraInfra_macOS.git resolved at 1.2.13 (b10a9ed)
Fetching binary artifact https://download.agora.io/swiftpm/AgoraInfra_macOS/1.2.13/aosl.xcframework.zip from cache
Fetched https://download.agora.io/swiftpm/AgoraInfra_macOS/1.2.13/aosl.xcframework.zip from cache (0.03s)
warning: '.resolve-product-dependencies': dependency 'agorainfra_macos' 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/AgoraIO/AgoraInfra_macOS.git
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "AgoraInfra_macOS",
"name" : "AgoraInfra_macOS",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
}
],
"products" : [
{
"name" : "AgoraInfra_macOS",
"targets" : [
"aosl"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "aosl",
"module_type" : "BinaryTarget",
"name" : "aosl",
"path" : "remote/archive/aosl.xcframework.zip",
"product_memberships" : [
"AgoraInfra_macOS"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.3"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.0 macosSpm