The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NordicDFU, reference master (5dae2d), with Swift 6.1 for Android on 28 May 2025 06:42:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/millertechnologyperu/nordicdfu.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/millertechnologyperu/nordicdfu
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5dae2d8 Added GitHub PR template
Cloned https://github.com/millertechnologyperu/nordicdfu.git
Revision (git rev-parse @):
5dae2d88d5132c29370eb45f482234aac9489910
SUCCESS checkout https://github.com/millertechnologyperu/nordicdfu.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/millertechnologyperu/nordicdfu.git
https://github.com/millertechnologyperu/nordicdfu.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "bluetooth",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PureSwift/Bluetooth.git"
    },
    {
      "identity" : "gatt",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PureSwift/GATT.git"
    },
    {
      "identity" : "bluetoothlinux",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PureSwift/BluetoothLinux.git"
    },
    {
      "identity" : "bluetoothdarwin",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PureSwift/BluetoothDarwin.git"
    },
    {
      "identity" : "zip",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/PureSwift/Zip.git"
    }
  ],
  "manifest_display_name" : "NordicDFU",
  "name" : "NordicDFU",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "NordicDFU",
      "targets" : [
        "NordicDFU"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "dfutool",
      "targets" : [
        "dfutool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "dfutool",
      "module_type" : "SwiftTarget",
      "name" : "dfutool",
      "path" : "Sources/dfutool",
      "product_dependencies" : [
        "Bluetooth",
        "BluetoothGAP",
        "BluetoothGATT",
        "BluetoothHCI",
        "BluetoothLinux",
        "DarwinGATT",
        "BluetoothDarwin"
      ],
      "product_memberships" : [
        "dfutool"
      ],
      "sources" : [
        "Command.swift",
        "CommandLineBool.swift",
        "DarwinCentral.swift",
        "DeviceCommand.swift",
        "EnterBootloaderCommand.swift",
        "Error.swift",
        "Option.swift",
        "ScanCommand.swift",
        "UploadFirmwareCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "NordicDFU"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "NordicDFUTests",
      "module_type" : "SwiftTarget",
      "name" : "NordicDFUTests",
      "path" : "Tests/NordicDFUTests",
      "sources" : [
        "ButtonlessDFUTests.swift",
        "FirmwareTests.swift",
        "ManifestTests.swift",
        "NordicDFUTests.swift",
        "SecureDFUControlPointTests.swift",
        "SecureDFUPacketTests.swift",
        "Utilities.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "NordicDFU"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NordicDFU",
      "module_type" : "SwiftTarget",
      "name" : "NordicDFU",
      "path" : "Sources/NordicDFU",
      "product_dependencies" : [
        "Bluetooth",
        "GATT",
        "ZIPFoundation"
      ],
      "product_memberships" : [
        "NordicDFU",
        "dfutool"
      ],
      "sources" : [
        "ButtonlessDFU.swift",
        "ButtonlessDFUOpCode.swift",
        "ButtonlessDFURequest.swift",
        "ButtonlessDFUResponse.swift",
        "ButtonlessDFUResultCode.swift",
        "Central.swift",
        "DFUControlPoint.swift",
        "DFUFirmware.swift",
        "DFUFirmwareSize.swift",
        "DFUFirmwareType.swift",
        "DFUOpcode.swift",
        "DFUPacket.swift",
        "DFUPacketReceiptNotification.swift",
        "DFURequest.swift",
        "DFUResponse.swift",
        "DFUResultCode.swift",
        "DFUService.swift",
        "DFUStream.swift",
        "DFUStreamZip.swift",
        "DFUStreamZipError.swift",
        "DFUVersion.swift",
        "DFUVersionCharacteristic.swift",
        "Data.swift",
        "DataConvertible.swift",
        "DeviceManager.swift",
        "GATTError.swift",
        "GATTProfile.swift",
        "Integer.swift",
        "Manifest.swift",
        "ManifestFirmwareInfo.swift",
        "SecureDFUControlPoint.swift",
        "SecureDFUExtendedError.swift",
        "SecureDFUOpCode.swift",
        "SecureDFUPacket.swift",
        "SecureDFUProcedureType.swift",
        "SecureDFURequest.swift",
        "SecureDFUResponse.swift",
        "SecureDFUResultCode.swift",
        "SecureDFUService.swift",
        "SoftdeviceBootloaderInfo.swift",
        "crc32.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/PureSwift/Bluetooth.git
[1/23587] Fetching bluetooth
Fetched https://github.com/PureSwift/Bluetooth.git from cache (1.61s)
Fetching https://github.com/PureSwift/GATT.git
[1/5721] Fetching gatt
Fetched https://github.com/PureSwift/GATT.git from cache (0.52s)
Fetching https://github.com/PureSwift/BluetoothLinux.git
[1/6115] Fetching bluetoothlinux
Fetched https://github.com/PureSwift/BluetoothLinux.git from cache (1.81s)
Fetching https://github.com/PureSwift/BluetoothDarwin.git
[1/347] Fetching bluetoothdarwin
Fetched https://github.com/PureSwift/BluetoothDarwin.git from cache (0.27s)
Fetching https://github.com/PureSwift/Zip.git
[1/4885] Fetching zip
Fetched https://github.com/PureSwift/Zip.git from cache (0.61s)
Fetching https://github.com/PureSwift/Socket.git
[1/1083] Fetching socket
Fetched https://github.com/PureSwift/Socket.git from cache (0.33s)
error: bluetooth is required using two different revision-based requirements (master and feature/async), which is not supported
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Updating https://github.com/PureSwift/Bluetooth.git
Updated https://github.com/PureSwift/Bluetooth.git (0.20s)
Updating https://github.com/PureSwift/GATT.git
Updated https://github.com/PureSwift/GATT.git (0.16s)
Updating https://github.com/PureSwift/BluetoothLinux.git
Updated https://github.com/PureSwift/BluetoothLinux.git (0.18s)
Updating https://github.com/PureSwift/BluetoothDarwin.git
Updated https://github.com/PureSwift/BluetoothDarwin.git (0.20s)
Updating https://github.com/PureSwift/Zip.git
Updated https://github.com/PureSwift/Zip.git (0.21s)
Updating https://github.com/PureSwift/Socket.git
Updated https://github.com/PureSwift/Socket.git (0.19s)
error: bluetooth is required using two different revision-based requirements (master and feature/async), which is not supported
BUILD FAILURE 6.1 android