The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build AgoraInfra_iOS, reference 0.0.17-test (1063b2), with Swift 6.0 for macOS (SPM) on 15 Nov 2024 12:07:11 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

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AgoraIO/AgoraInfra_iOS.git
Reference: 0.0.17-test
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AgoraIO/AgoraInfra_iOS
 * tag               0.0.17-test -> FETCH_HEAD
HEAD is now at 1063b20 0.0.17-test
Cloned https://github.com/AgoraIO/AgoraInfra_iOS.git
Revision (git rev-parse @):
1063b20b8d67f05ebc6d513c218681ca2b71da1d
SUCCESS checkout https://github.com/AgoraIO/AgoraInfra_iOS.git at 0.0.17-test
[81242/563384] Downloading https://download.agora.io/swiftpm/AgoraInfra_iOS/0.0.17-test/aosl.xcframework.zip
Downloading binary artifact https://download.agora.io/swiftpm/AgoraInfra_iOS/0.0.17-test/aosl.xcframework.zip
Downloaded https://download.agora.io/swiftpm/AgoraInfra_iOS/0.0.17-test/aosl.xcframework.zip (0.96s)
========================================
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_ios",
      "name": "AgoraInfra_iOS",
      "url": "https://github.com/AgoraIO/AgoraInfra_iOS.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AgoraInfra_iOS",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/AgoraIO/AgoraInfra_iOS.git
[1/14] Fetching agorainfra_ios
Fetched https://github.com/AgoraIO/AgoraInfra_iOS.git from cache (0.58s)
Creating working copy for https://github.com/AgoraIO/AgoraInfra_iOS.git
Working copy of https://github.com/AgoraIO/AgoraInfra_iOS.git resolved at 0.0.17-test (1063b20)
Fetching binary artifact https://download.agora.io/swiftpm/AgoraInfra_iOS/0.0.17-test/aosl.xcframework.zip from cache
Fetched https://download.agora.io/swiftpm/AgoraInfra_iOS/0.0.17-test/aosl.xcframework.zip from cache (0.04s)
warning: '.resolve-product-dependencies': dependency 'agorainfra_ios' 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_iOS.git
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
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