The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-android-native, reference 2.1.0 (5f71c1), with Swift 6.4 for macOS (SPM) on 26 Sep 2026 08:00:39 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-android-sdk/swift-android-native.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-android-sdk/swift-android-native
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 5f71c15 Merge pull request #36 from swift-android-sdk/remove-dead-foundation-imports
Cloned https://github.com/swift-android-sdk/swift-android-native.git
Revision (git rev-parse @):
5f71c1584b3cbe3842d335ebb4d7b545205d9945
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-android-sdk/swift-android-native.git at 2.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/swift-android-sdk/swift-android-native.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 737]
[Planning deferred tasks]
[110 / 217]
[119 / 220] ConcurrencyRuntimeC
[122 / 220] AndroidManifest
[131 / 248] AndroidSystem
[133 / 260] SwiftJavaJNICore
[139 / 298]
[147 / 298]
[150 / 298]
[156 / 298]
[167 / 298]
[170 / 298]
[173 / 298]
[177 / 298] AndroidManifest
[186 / 298]
[187 / 298]
[188 / 298]
[190 / 298] AndroidSystem
[194 / 298]
[197 / 298] AndroidSystem
[204 / 299] AndroidSystem
[210 / 304] AndroidLogging
[219 / 306] AndroidChoreographer
[229 / 321] SwiftJavaJNICore
[232 / 321] AndroidChoreographer
[249 / 321] AndroidLooper
[251 / 321] AndroidLooper
[259 / 321] AndroidLooper
[260 / 321] SwiftJavaJNICore
[273 / 324] AndroidChoreographer
[276 / 324] AndroidLooper
[277 / 324] AndroidInput
[285 / 338] AndroidHardware
[289 / 349] AndroidHardware
[297 / 349] AndroidHardware-product
[316 / 349] AndroidInput-product
[318 / 349] AndroidHardware
[324 / 350] AndroidInput
[330 / 351] SwiftJavaJNICore
[333 / 351] AndroidFileManager-product
[333 / 351] AndroidNative
[346 / 356]
[347 / 356] AndroidContext
[355 / 356] AndroidContext
Build complete! (9.35 sec)
Fetching https://github.com/swiftlang/swift-java-jni-core
[1/607] Fetching swift-java-jni-core
Fetched https://github.com/swiftlang/swift-java-jni-core (0.96s)
Computing version for https://github.com/swiftlang/swift-java-jni-core
Computed https://github.com/swiftlang/swift-java-jni-core at 0.5.1 (1.52s)
Creating working copy for https://github.com/swiftlang/swift-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at 0.5.1
/Users/admin/builder/spi-builder-workspace/Sources/AndroidSystem/Internals/Exports.swift:156:14: warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
154 |
155 |         #else
156 |         self.init(validatingUTF8: platformString)
    |              |- warning: 'init(validatingUTF8:)' is deprecated: replaced by 'String.init(validatingCString:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |              `- note: use 'String.init(validatingCString:)' instead
157 |         #endif
158 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/AndroidSystem/MachPort.swift:200:9: warning: 'discard' statement cannot be used in an '@inlinable' function inside of type 'Mach.Port<Mach.ReceiveRight>', which is not '@frozen'; this will become an error
198 |     public consuming func relinquish() -> (name: mach_port_name_t, context: mach_port_context_t) {
199 |         let destructured = (name: _name, context: _context)
200 |         discard self
    |         `- warning: 'discard' statement cannot be used in an '@inlinable' function inside of type 'Mach.Port<Mach.ReceiveRight>', which is not '@frozen'; this will become an error
201 |         return destructured
202 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AndroidSystem/MachPort.swift:340:9: warning: 'discard' statement cannot be used in an '@inlinable' function inside of type 'Mach.Port<Mach.SendRight>', which is not '@frozen'; this will become an error
338 |     public consuming func relinquish() -> mach_port_name_t {
339 |         let name = _name
340 |         discard self
    |         `- warning: 'discard' statement cannot be used in an '@inlinable' function inside of type 'Mach.Port<Mach.SendRight>', which is not '@frozen'; this will become an error
341 |         return name
342 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AndroidSystem/MachPort.swift:384:9: warning: 'discard' statement cannot be used in an '@inlinable' function inside of type 'Mach.Port<Mach.SendOnceRight>', which is not '@frozen'; this will become an error
382 |     public consuming func relinquish() -> mach_port_name_t {
383 |         let name = _name
384 |         discard self
    |         `- warning: 'discard' statement cannot be used in an '@inlinable' function inside of type 'Mach.Port<Mach.SendOnceRight>', which is not '@frozen'; this will become an error
385 |         return name
386 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AndroidSystem/MachPort.swift:200:9: warning: 'discard' statement cannot be used in an '@inlinable' function inside of type 'Mach.Port<Mach.ReceiveRight>', which is not '@frozen'; this will become an error
198 |     public consuming func relinquish() -> (name: mach_port_name_t, context: mach_port_context_t) {
199 |         let destructured = (name: _name, context: _context)
200 |         discard self
    |         `- warning: 'discard' statement cannot be used in an '@inlinable' function inside of type 'Mach.Port<Mach.ReceiveRight>', which is not '@frozen'; this will become an error
201 |         return destructured
202 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AndroidSystem/MachPort.swift:340:9: warning: 'discard' statement cannot be used in an '@inlinable' function inside of type 'Mach.Port<Mach.SendRight>', which is not '@frozen'; this will become an error
338 |     public consuming func relinquish() -> mach_port_name_t {
339 |         let name = _name
340 |         discard self
    |         `- warning: 'discard' statement cannot be used in an '@inlinable' function inside of type 'Mach.Port<Mach.SendRight>', which is not '@frozen'; this will become an error
341 |         return name
342 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AndroidSystem/MachPort.swift:384:9: warning: 'discard' statement cannot be used in an '@inlinable' function inside of type 'Mach.Port<Mach.SendOnceRight>', which is not '@frozen'; this will become an error
382 |     public consuming func relinquish() -> mach_port_name_t {
383 |         let name = _name
384 |         discard self
    |         `- warning: 'discard' statement cannot be used in an '@inlinable' function inside of type 'Mach.Port<Mach.SendOnceRight>', which is not '@frozen'; this will become an error
385 |         return name
386 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AndroidSystem/AndroidAPI.swift:44:17: warning: will never be executed
39 |         let value: Int32 = -1
40 |         #endif
41 |         guard value != -1 else {
   |                     `- note: condition always evaluates to false
42 |             return nil
43 |         }
44 |         return .init(rawValue: value)
   |                 `- warning: will never be executed
45 |     }
46 | }
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-java-jni-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-java-jni-core"
    }
  ],
  "manifest_display_name" : "swift-android-native",
  "name" : "swift-android-native",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "AndroidSystem",
      "targets" : [
        "AndroidSystem"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidNative",
      "targets" : [
        "AndroidNative"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidContext",
      "targets" : [
        "AndroidContext"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidFileManager",
      "targets" : [
        "AndroidFileManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidLogging",
      "targets" : [
        "AndroidLogging"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidLooper",
      "targets" : [
        "AndroidLooper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidChoreographer",
      "targets" : [
        "AndroidChoreographer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidManifest",
      "targets" : [
        "AndroidManifest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidInput",
      "targets" : [
        "AndroidInput"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AndroidHardware",
      "targets" : [
        "AndroidHardware"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ConcurrencyRuntimeC",
      "module_type" : "ClangTarget",
      "name" : "ConcurrencyRuntimeC",
      "path" : "Sources/ConcurrencyRuntimeC",
      "product_memberships" : [
        "AndroidNative",
        "AndroidLooper",
        "AndroidInput",
        "AndroidHardware"
      ],
      "sources" : [
        "src.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CAndroidNDK",
      "module_type" : "ClangTarget",
      "name" : "CAndroidNDK",
      "path" : "Sources/CAndroidNDK",
      "product_memberships" : [
        "AndroidSystem",
        "AndroidNative",
        "AndroidContext",
        "AndroidFileManager",
        "AndroidLogging",
        "AndroidLooper",
        "AndroidChoreographer",
        "AndroidManifest",
        "AndroidInput",
        "AndroidHardware"
      ],
      "sources" : [
        "dummy.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidSystemTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidSystemTests",
      "path" : "Tests/AndroidSystemTests",
      "sources" : [
        "AndroidSystemTests.swift"
      ],
      "target_dependencies" : [
        "AndroidSystem"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidSystem",
      "module_type" : "SwiftTarget",
      "name" : "AndroidSystem",
      "path" : "Sources/AndroidSystem",
      "product_memberships" : [
        "AndroidSystem",
        "AndroidNative",
        "AndroidContext",
        "AndroidFileManager",
        "AndroidLogging",
        "AndroidLooper",
        "AndroidChoreographer",
        "AndroidInput",
        "AndroidHardware"
      ],
      "sources" : [
        "AndroidAPI.swift",
        "Errno.swift",
        "ErrnoWindows.swift",
        "FileDescriptor.swift",
        "FileHelpers.swift",
        "FileOperations.swift",
        "FilePath/FilePath.swift",
        "FilePath/FilePathComponentView.swift",
        "FilePath/FilePathComponents.swift",
        "FilePath/FilePathParsing.swift",
        "FilePath/FilePathString.swift",
        "FilePath/FilePathSyntax.swift",
        "FilePath/FilePathTemp.swift",
        "FilePath/FilePathTempPosix.swift",
        "FilePath/FilePathTempWindows.swift",
        "FilePath/FilePathWindows.swift",
        "FilePermissions.swift",
        "Internals/Backcompat.swift",
        "Internals/CInterop.swift",
        "Internals/Constants.swift",
        "Internals/Exports.swift",
        "Internals/Mocking.swift",
        "Internals/RawBuffer.swift",
        "Internals/Syscalls.swift",
        "Internals/WindowsSyscallAdapters.swift",
        "LockedState.swift",
        "MachPort.swift",
        "PlatformString.swift",
        "SocketDescriptor.swift",
        "SocketEvent.swift",
        "SystemString.swift",
        "Util+StringArray.swift",
        "Util.swift",
        "UtilConsumers.swift"
      ],
      "target_dependencies" : [
        "CAndroidNDK"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidNativeTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidNativeTests",
      "path" : "Tests/AndroidNativeTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/AndroidNativeTests/Resources/sample_resource.txt",
          "rule" : {
            "embed_in_code" : {
            }
          }
        }
      ],
      "sources" : [
        "AndroidNativeTests.swift"
      ],
      "target_dependencies" : [
        "AndroidNative"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidNative",
      "module_type" : "SwiftTarget",
      "name" : "AndroidNative",
      "path" : "Sources/AndroidNative",
      "product_dependencies" : [
        "SwiftJavaJNICore"
      ],
      "product_memberships" : [
        "AndroidNative"
      ],
      "sources" : [
        "AndroidNative.swift"
      ],
      "target_dependencies" : [
        "AndroidFileManager",
        "AndroidLogging",
        "AndroidLooper",
        "AndroidChoreographer"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidManifest",
      "module_type" : "SwiftTarget",
      "name" : "AndroidManifest",
      "path" : "Sources/AndroidManifest",
      "product_memberships" : [
        "AndroidManifest"
      ],
      "sources" : [
        "Permission.swift",
        "PermissionCheck.swift",
        "PermissionGroup.swift"
      ],
      "target_dependencies" : [
        "CAndroidNDK"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidLooperTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidLooperTests",
      "path" : "Tests/AndroidLooperTests",
      "sources" : [
        "AndroidLooperTests.swift"
      ],
      "target_dependencies" : [
        "AndroidLooper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidLooper",
      "module_type" : "SwiftTarget",
      "name" : "AndroidLooper",
      "path" : "Sources/AndroidLooper",
      "product_memberships" : [
        "AndroidNative",
        "AndroidLooper",
        "AndroidInput",
        "AndroidHardware"
      ],
      "sources" : [
        "AndroidMainActor.swift",
        "Constants.swift",
        "Error.swift",
        "Extensions/Duration.swift",
        "Extensions/OptionSet.swift",
        "Extensions/Thread.swift",
        "Looper.swift",
        "LooperEvents.swift",
        "LooperPrepareOptions.swift",
        "SerialExecutor.swift",
        "Syscalls.swift"
      ],
      "target_dependencies" : [
        "AndroidSystem",
        "AndroidLogging",
        "ConcurrencyRuntimeC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidLoggingTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidLoggingTests",
      "path" : "Tests/AndroidLoggingTests",
      "sources" : [
        "AndroidLoggingTests.swift"
      ],
      "target_dependencies" : [
        "AndroidLogging"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidLogging",
      "module_type" : "SwiftTarget",
      "name" : "AndroidLogging",
      "path" : "Sources/AndroidLogging",
      "product_memberships" : [
        "AndroidNative",
        "AndroidLogging",
        "AndroidLooper",
        "AndroidChoreographer",
        "AndroidInput",
        "AndroidHardware"
      ],
      "sources" : [
        "AndroidLogging.swift",
        "LogPriority.swift",
        "LogTag.swift",
        "Syscalls.swift"
      ],
      "target_dependencies" : [
        "AndroidSystem"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidInput",
      "module_type" : "SwiftTarget",
      "name" : "AndroidInput",
      "path" : "Sources/AndroidInput",
      "product_memberships" : [
        "AndroidInput"
      ],
      "sources" : [
        "GameController.swift",
        "InputEvent.swift",
        "InputQueue.swift",
        "Keycodes.swift",
        "Syscalls.swift"
      ],
      "target_dependencies" : [
        "CAndroidNDK",
        "AndroidLooper"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidHardwareTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidHardwareTests",
      "path" : "Tests/AndroidHardwareTests",
      "sources" : [
        "AndroidHardwareTests.swift"
      ],
      "target_dependencies" : [
        "AndroidHardware"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidHardware",
      "module_type" : "SwiftTarget",
      "name" : "AndroidHardware",
      "path" : "Sources/AndroidHardware",
      "product_memberships" : [
        "AndroidHardware"
      ],
      "sources" : [
        "Error.swift",
        "Sensor.swift",
        "SensorEvent.swift",
        "SensorEventQueue.swift",
        "SensorManager.swift",
        "SensorType.swift",
        "Syscalls.swift"
      ],
      "target_dependencies" : [
        "CAndroidNDK",
        "AndroidLooper"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidFileManager",
      "module_type" : "SwiftTarget",
      "name" : "AndroidFileManager",
      "path" : "Sources/AndroidFileManager",
      "product_dependencies" : [
        "SwiftJavaJNICore"
      ],
      "product_memberships" : [
        "AndroidNative",
        "AndroidContext",
        "AndroidFileManager"
      ],
      "sources" : [
        "Asset.swift",
        "AssetDirectory.swift",
        "AssetManager.swift",
        "Configuration+Constants.swift",
        "Configuration.swift",
        "Error.swift",
        "ObbFile.swift",
        "ObbInfo.swift",
        "StorageManager.swift",
        "Syscalls.swift"
      ],
      "target_dependencies" : [
        "AndroidSystem",
        "CAndroidNDK"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidContextTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidContextTests",
      "path" : "Tests/AndroidContextTests",
      "sources" : [
        "AndroidContextTests.swift"
      ],
      "target_dependencies" : [
        "AndroidContext"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidContext",
      "module_type" : "SwiftTarget",
      "name" : "AndroidContext",
      "path" : "Sources/AndroidContext",
      "product_dependencies" : [
        "SwiftJavaJNICore"
      ],
      "product_memberships" : [
        "AndroidContext"
      ],
      "sources" : [
        "AndroidContext.swift",
        "Error.swift"
      ],
      "target_dependencies" : [
        "AndroidFileManager"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidConfigurationTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidConfigurationTests",
      "path" : "Tests/AndroidConfigurationTests",
      "sources" : [
        "AndroidConfigurationTests.swift"
      ],
      "target_dependencies" : [
        "AndroidFileManager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidChoreographerTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidChoreographerTests",
      "path" : "Tests/AndroidChoreographerTests",
      "sources" : [
        "AndroidChoreographerTests.swift"
      ],
      "target_dependencies" : [
        "AndroidChoreographer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AndroidChoreographer",
      "module_type" : "SwiftTarget",
      "name" : "AndroidChoreographer",
      "path" : "Sources/AndroidChoreographer",
      "product_memberships" : [
        "AndroidNative",
        "AndroidChoreographer"
      ],
      "sources" : [
        "AndroidChoreographer.swift",
        "Constants.swift",
        "Syscalls.swift"
      ],
      "target_dependencies" : [
        "AndroidSystem",
        "AndroidLogging"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AndroidAssetManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "AndroidAssetManagerTests",
      "path" : "Tests/AndroidAssetManagerTests",
      "sources" : [
        "AndroidAssetManagerTests.swift"
      ],
      "target_dependencies" : [
        "AndroidFileManager"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "6.1"
}
Done.