The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build BerkananSDK, reference master (7bcbad), with Swift 6.1 for Android on 27 May 2025 10:51:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zssz/BerkananSDK.git
Reference: master
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/zssz/BerkananSDK
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7bcbad7 Update README.md
Cloned https://github.com/zssz/BerkananSDK.git
Revision (git rev-parse @):
7bcbad726aa451e09860a0a9ae77414ded9a0f4f
SUCCESS checkout https://github.com/zssz/BerkananSDK.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/zssz/BerkananSDK.git
https://github.com/zssz/BerkananSDK.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-protobuf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-protobuf.git"
    },
    {
      "identity" : "berkananfoundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/zssz/BerkananFoundation"
    },
    {
      "identity" : "berkanancompression",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/zssz/BerkananCompression"
    }
  ],
  "manifest_display_name" : "BerkananSDK",
  "name" : "BerkananSDK",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "BerkananSDK",
      "targets" : [
        "BerkananSDK"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CBerkananSDK",
      "module_type" : "ClangTarget",
      "name" : "CBerkananSDK",
      "path" : "Sources/CBerkananSDK",
      "product_memberships" : [
        "BerkananSDK"
      ],
      "sources" : [
        "CBMutableCharacteristic+Init.m",
        "CBMutableService+Init.m",
        "CBPeripheralManager+Init.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BerkananSDKTests",
      "module_type" : "SwiftTarget",
      "name" : "BerkananSDKTests",
      "path" : "Tests/BerkananSDKTests",
      "sources" : [
        "BerkananSDKTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "BerkananSDK"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BerkananSDK",
      "module_type" : "SwiftTarget",
      "name" : "BerkananSDK",
      "path" : "Sources/BerkananSDK",
      "product_dependencies" : [
        "SwiftProtobuf",
        "BerkananFoundation",
        "BerkananCompression"
      ],
      "product_memberships" : [
        "BerkananSDK"
      ],
      "sources" : [
        "BerkananBluetoothService.swift",
        "Bluetooth/BluetoothController.swift",
        "Bluetooth/BluetoothService+CoreBluetooth.swift",
        "Bluetooth/BluetoothService.swift",
        "Bluetooth/CBPeripheral+Notifications.swift",
        "Foundation/UUID+Protobuf.swift",
        "Protobuf/Configuration+Additions.swift",
        "Protobuf/Configuration+PDU.swift",
        "Protobuf/Configuration.pb.swift",
        "Protobuf/Message+Additions.swift",
        "Protobuf/Message+PDU.swift",
        "Protobuf/Message.pb.swift",
        "Protobuf/PBUUID+Additions.swift",
        "Protobuf/PBUUID+PayloadTypes.swift",
        "Protobuf/PBUUID.pb.swift",
        "Protobuf/PublicMessage+Additions.swift",
        "Protobuf/PublicMessage.pb.swift",
        "Protobuf/User+Additions.swift",
        "Protobuf/User.pb.swift"
      ],
      "target_dependencies" : [
        "CBerkananSDK"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/zssz/BerkananCompression
Fetching https://github.com/zssz/BerkananFoundation
[1/45] Fetching berkanancompression
[19/68] Fetching berkanancompression, berkananfoundation
Fetched https://github.com/zssz/BerkananCompression from cache (0.35s)
Fetched https://github.com/zssz/BerkananFoundation from cache (0.35s)
[1/38954] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (6.28s)
Computing version for https://github.com/zssz/BerkananFoundation
Computed https://github.com/zssz/BerkananFoundation at 1.0.0 (7.98s)
Computing version for https://github.com/zssz/BerkananCompression
Computed https://github.com/zssz/BerkananCompression at 1.0.3 (0.67s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.29.0 (1.02s)
Creating working copy for https://github.com/zssz/BerkananCompression
Working copy of https://github.com/zssz/BerkananCompression resolved at 1.0.3
Creating working copy for https://github.com/zssz/BerkananFoundation
Working copy of https://github.com/zssz/BerkananFoundation resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.29.0
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/16] Write sources
[1/16] Copying PrivacyInfo.xcprivacy
[1/16] Write sources
In file included from /host/spi-builder-workspace/Sources/CBerkananSDK/CBMutableService+Init.m:8:
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableService+Init.h:8:1: error: use of '@import' when modules are disabled
    8 | @import CoreBluetooth.CBService;
      | ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableService+Init.h:10:12: error: cannot find interface declaration for 'CBMutableService'
   10 | @interface CBMutableService (Init)
      |            ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableService+Init.h:12:58: error: expected a type
   12 | - (nonnull instancetype)initBerkananSDKWithType:(nonnull CBUUID *)UUID
      |                                                          ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableService+Init.h:13:50: error: expected a type
   13 |                                         primary:(BOOL)isPrimary;
      |                                                  ^
/host/spi-builder-workspace/Sources/CBerkananSDK/CBMutableService+Init.m:9:10: fatal error: 'objc/message.h' file not found
    9 | #include <objc/message.h>
      |          ^~~~~~~~~~~~~~~~
5 errors generated.
[6/16] Compiling CBerkananSDK CBMutableService+Init.m
In file included from /host/spi-builder-workspace/Sources/CBerkananSDK/CBPeripheralManager+Init.m:8:
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBPeripheralManager+Init.h:8:1: error: use of '@import' when modules are disabled
    8 | @import CoreBluetooth.CBPeripheralManager;
      | ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBPeripheralManager+Init.h:10:12: error: cannot find interface declaration for 'CBPeripheralManager'
   10 | @interface CBPeripheralManager (Init)
      |            ^
[6/16] Compiling CBerkananSDK CBPeripheralManager+Init.m
In file included from /host/spi-builder-workspace/Sources/CBerkananSDK/CBMutableCharacteristic+Init.m:8:
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:8:1: error: use of '@import' when modules are disabled
    8 | @import CoreBluetooth.CBCharacteristic;
      | ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:10:12: error: cannot find interface declaration for 'CBMutableCharacteristic'
   10 | @interface CBMutableCharacteristic (Init)
      |            ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:12:58: error: expected a type
   12 | - (nonnull instancetype)initBerkananSDKWithType:(nonnull CBUUID *)UUID
      |                                                          ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:13:50: error: expected a type
   13 |                                      properties:(CBCharacteristicProperties)properties
      |                                                  ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:14:59: error: expected a type
   14 |                                           value:(nullable NSData *)value
      |                                                           ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:15:50: error: expected a type
   15 |                                     permissions:(CBAttributePermissions)permissions;
      |                                                  ^
/host/spi-builder-workspace/Sources/CBerkananSDK/CBMutableCharacteristic+Init.m:9:10: fatal error: 'objc/message.h' file not found
    9 | #include <objc/message.h>
      |          ^~~~~~~~~~~~~~~~
[6/16] Compiling CBerkananSDK CBMutableCharacteristic+Init.m
[6/16] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CBerkananSDK/CBPeripheralManager+Init.m:8:
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBPeripheralManager+Init.h:8:1: error: use of '@import' when modules are disabled
    8 | @import CoreBluetooth.CBPeripheralManager;
      | ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBPeripheralManager+Init.h:10:12: error: cannot find interface declaration for 'CBPeripheralManager'
   10 | @interface CBPeripheralManager (Init)
      |            ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBPeripheralManager+Init.h:12:66: error: no type or protocol named 'CBPeripheralManagerDelegate'
   12 | - (nonnull instancetype)initBerkananSDKWithDelegate:(nullable id<CBPeripheralManagerDelegate>)delegate
      |                                                                  ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBPeripheralManager+Init.h:13:63: error: expected a type
   13 |                                               queue:(nullable dispatch_queue_t)queue
      |                                                               ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBPeripheralManager+Init.h:14:63: error: expected a type
   14 |                                             options:(nullable NSDictionary<NSString *, id> *)options;
      |                                                               ^
/host/spi-builder-workspace/Sources/CBerkananSDK/CBPeripheralManager+Init.m:9:10: fatal error: 'objc/message.h' file not found
    9 | #include <objc/message.h>
      |          ^~~~~~~~~~~~~~~~
6 errors generated.
[1/11] Compiling CBerkananSDK CBPeripheralManager+Init.m
In file included from /host/spi-builder-workspace/Sources/CBerkananSDK/CBMutableCharacteristic+Init.m:8:
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:8:1: error: use of '@import' when modules are disabled
    8 | @import CoreBluetooth.CBCharacteristic;
      | ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:10:12: error: cannot find interface declaration for 'CBMutableCharacteristic'
   10 | @interface CBMutableCharacteristic (Init)
      |            ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:12:58: error: expected a type
   12 | - (nonnull instancetype)initBerkananSDKWithType:(nonnull CBUUID *)UUID
      |                                                          ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:13:50: error: expected a type
   13 |                                      properties:(CBCharacteristicProperties)properties
      |                                                  ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:14:59: error: expected a type
   14 |     [1/11] Compiling CBerkananSDK CBMutableCharacteristic+Init.m
In file included from /host/spi-builder-workspace/Sources/CBerkananSDK/CBMutableService+Init.m:8:
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableService+Init.h:8:1: error: use of '@import' when modules are disabled
    8 | @import CoreBluetooth.CBService;
      | ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableService+Init.h:10:12: error: cannot find interface declaration for 'CBMutableService'
   10 | @interface CBMutableService (Init)
      |            ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableService+Init.h:12:58: error: expected a type
   12 | - (nonnull instancetype)initBerkananSDKWithType:(nonnull CBUUID *)UUID
      |                                                          ^
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableService+Init.h:13:50: error: expected a type
   13 |                                         primary:(BOOL)isPrimary;
      |                                                  ^
/host/spi-builder-workspace/Sources/CBerkananSDK/CBMutableService+Init.m:9:10: fatal error: 'objc/message.h' file not found
    9 | #include <objc/message.h>
      |          ^~~~~~~~~~~~~~~~
5 errors generated.
[1/11] Compiling CBerkananSDK CBMutableService+Init.m
[1/11] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android