The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BrainFlow, reference 0.0.1-dev.20260608.1 (56cbdc), with Swift 6.3 for Android on 29 Jun 2026 15:17:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tsvvladimir/brainflow-swift.git
Reference: 0.0.1-dev.20260608.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/tsvvladimir/brainflow-swift
 * tag               0.0.1-dev.20260608.1 -> FETCH_HEAD
HEAD is now at 56cbdc6 Release BrainFlow Swift dev package
Cloned https://github.com/tsvvladimir/brainflow-swift.git
Revision (git rev-parse @):
56cbdc6651427f12c20e5a2ab750eb7903d04581
SUCCESS checkout https://github.com/tsvvladimir/brainflow-swift.git at 0.0.1-dev.20260608.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/tsvvladimir/brainflow-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:451958f7df55f9af673f8b0851dc526f2aee3222db374ae53b89fa21ad564bc8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Downloading binary artifact https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/BoardController.xcframework.zip
Downloading binary artifact https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/DataHandler.xcframework.zip
Downloading binary artifact https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/MLModule.xcframework.zip
[791/2325922] Downloading https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/BoardController.xcframework.zip
[11235/2778235] Downloading https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/BoardController.xcframework.zip, https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/MLModule.xcframework.zip
[33803/4386609] Downloading https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/BoardController.xcframework.zip, https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/MLModule.xcframework.zip, https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/DataHandler.xcframework.zip
Downloaded https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/MLModule.xcframework.zip (0.31s)
[1997322/3934296] Downloading https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/BoardController.xcframework.zip, https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/DataHandler.xcframework.zip
Downloaded https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/DataHandler.xcframework.zip (0.43s)
Downloaded https://github.com/tsvvladimir/brainflow-swift/releases/download/0.0.1-dev.20260608.1/BoardController.xcframework.zip (0.47s)
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-272D24FF697CF451.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Emitting module BrainFlow
/host/spi-builder-workspace/Sources/BrainFlow/BrainFlowNative.swift:6:8: error: no such module 'Darwin'
  4 | import Glibc
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[4/11] Compiling BrainFlow BrainFlowTypes.swift
/host/spi-builder-workspace/Sources/BrainFlow/BrainFlowNative.swift:6:8: error: no such module 'Darwin'
  4 | import Glibc
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[5/11] Compiling BrainFlow BrainFlowNative.swift
/host/spi-builder-workspace/Sources/BrainFlow/BrainFlowNative.swift:6:8: error: no such module 'Darwin'
  4 | import Glibc
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[6/11] Compiling BrainFlow MLModel.swift
/host/spi-builder-workspace/Sources/BrainFlow/BrainFlowNative.swift:6:8: error: no such module 'Darwin'
  4 | import Glibc
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[7/11] Compiling BrainFlow DataFilter.swift
/host/spi-builder-workspace/Sources/BrainFlow/BrainFlowNative.swift:6:8: error: no such module 'Darwin'
  4 | import Glibc
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[8/11] Compiling BrainFlow BrainFlowParams.swift
/host/spi-builder-workspace/Sources/BrainFlow/BrainFlowNative.swift:6:8: error: no such module 'Darwin'
  4 | import Glibc
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[9/11] Compiling BrainFlow BrainFlowError.swift
/host/spi-builder-workspace/Sources/BrainFlow/BrainFlowNative.swift:6:8: error: no such module 'Darwin'
  4 | import Glibc
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[10/11] Compiling BrainFlow BoardShim.swift
/host/spi-builder-workspace/Sources/BrainFlow/BrainFlowNative.swift:6:8: error: no such module 'Darwin'
  4 | import Glibc
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[11/11] Compiling BrainFlow BrainFlowEnums.swift
/host/spi-builder-workspace/Sources/BrainFlow/BrainFlowNative.swift:6:8: error: no such module 'Darwin'
  4 | import Glibc
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
BUILD FAILURE 6.3 android