The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NordicDFU, reference 4.17.0 (9c87e9), with Swift 6.4 for Linux on 26 Sep 2026 21:08:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nordicsemi/IOS-DFU-Library.git
Reference: 4.17.0
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/nordicsemi/IOS-DFU-Library
 * tag               4.17.0     -> FETCH_HEAD
HEAD is now at 9c87e9f Merge pull request #569 from nordicsemi/app/version-1.3
Cloned https://github.com/nordicsemi/IOS-DFU-Library.git
Revision (git rev-parse @):
9c87e9fbce1980487373c2330f066612dad5ba82
SUCCESS checkout https://github.com/nordicsemi/IOS-DFU-Library.git at 4.17.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/nordicsemi/IOS-DFU-Library.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:13:15: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
11 |     .macOS(.v10_14),
12 |     .iOS(.v12),
13 |     .watchOS(.v4),
   |               `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
14 |     .tvOS(.v12)
15 |   ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/weichsel/ZIPFoundation
[1/2345] Fetching swift-docc-plugin
[1080/8780] Fetching swift-docc-plugin, zipfoundation
Fetched https://github.com/apple/swift-docc-plugin (0.77s)
Fetched https://github.com/weichsel/ZIPFoundation (0.78s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (1.84s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.57s)
Computing version for https://github.com/weichsel/ZIPFoundation
warning: 'zipfoundation': /Package@swift-5.9.swift:23:61: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
21 |     name: "ZIPFoundation",
22 |     platforms: [
23 |         .macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
   |                                                             `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
24 |     ],
25 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/weichsel/ZIPFoundation at 0.9.20 (0.74s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.23s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/weichsel/ZIPFoundation
Working copy of https://github.com/weichsel/ZIPFoundation resolved at 0.9.20
warning: 'zipfoundation': /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Package@swift-5.9.swift:23:61: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
21 |     name: "ZIPFoundation",
22 |     platforms: [
23 |         .macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v4), .visionOS(.v1)
   |                                                             `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
24 |     ],
25 |     products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: 'spi-builder-workspace': found 10 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/TestFirmwares/ble_app_hrm_dfu_s110_v8_0_0_sdk_v8_0.bin
    /host/spi-builder-workspace/Tests/TestFirmwares/ble_app_hrm_dfu_s110_v8_0_0_sdk_v8_0.hex
    /host/spi-builder-workspace/Tests/TestFirmwares/blinky_s110_v7_0_0_sdk_v7_1.bin
    /host/spi-builder-workspace/Tests/TestFirmwares/blinky_s110_v7_0_0_sdk_v7_1.hex
    /host/spi-builder-workspace/Tests/TestFirmwares/nrf51422_sdk_5.2_sd_bl.bin
    /host/spi-builder-workspace/Tests/TestFirmwares/nrf51422_sdk_5.2_sd_bl.hex
    /host/spi-builder-workspace/Tests/TestFirmwares/s110_nrf51822_6.2.1_softdevice.bin
    /host/spi-builder-workspace/Tests/TestFirmwares/s110_nrf51822_6.2.1_softdevice.hex
    /host/spi-builder-workspace/Tests/TestFirmwares/sdk_15_2_bootloader.bin
    /host/spi-builder-workspace/Tests/TestFirmwares/sdk_15_2_bootloader.hex
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[28 / 46]
[40 / 55] ZIPFoundation
[47 / 57] ZIPFoundation
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Library/Classes/Utilities/Streams/DFUStreamBin.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile DFUStreamBin.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Library/Classes/Utilities/Streams/DFUStreamHex.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile DFUStreamHex.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Library/Classes/Utilities/Streams/DFUStreamZip.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile DFUStreamZip.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Library/Classes/Utilities/ZipArchive.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile ZipArchive.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Library/Classes/Utilities/crc32.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile crc32.swift
/host/spi-builder-workspace/Library/Classes/Implementation/DFUPeripheralSelector.swift:31:8: error: no such module 'CoreBluetooth'
29 | */
30 |
31 | import CoreBluetooth
   |        `- error: no such module 'CoreBluetooth'
32 |
33 | /// The default implementation of ``DFUPeripheralSelectorDelegate``.
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/out/Intermediates.noindex/NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/Library/Classes/Implementation/DFUPeripheralSelector.swift /host/spi-builder-workspace/Library/Classes/Implementation/DFUPeripheralSelectorDelegate.swift /host/spi-builder-workspace/Library/Classes/Implementation/DFUSelector/DFUServiceSelector.swift /host/spi-builder-workspace/Library/Classes/Implementation/DFUSelector/DFUStarterPeripheral.swift /host/spi-builder-workspace/Library/Classes/Implementation/DFUServiceController.swift /host/spi-builder-workspace/Library/Classes/Implementation/DFUServiceDelegate.swift /host/spi-builder-workspace/Library/Classes/Implementation/DFUServiceInitiator.swift /host/spi-builder-workspace/Library/Classes/Implementation/DFUUuidHelper.swift /host/spi-builder-workspace/Library/Classes/Implementation/Firmware/DFUFirmware.swift /host/spi-builder-workspace/Library/Classes/Implementation/GenericDFU/DFUCharacteristic.swift /host/spi-builder-workspace/Library/Classes/Implementation/GenericDFU/DFUController.swift /host/spi-builder-workspace/Library/Classes/Implementation/GenericDFU/DFUExecutor.swift /host/spi-builder-workspace/Library/Classes/Implementation/GenericDFU/DFUPeripheral.swift /host/spi-builder-workspace/Library/Classes/Implementation/GenericDFU/DFUPeripheralDelegate.swift /host/spi-builder-workspace/Library/Classes/Implementation/GenericDFU/DFUService.swift /host/spi-builder-workspace/Library/Classes/Implementation/LegacyDFU/Characteristics/DFUControlPoint.swift /host/spi-builder-workspace/Library/Classes/Implementation/LegacyDFU/Characteristics/DFUPacket.swift /host/spi-builder-workspace/Library/Classes/Implementation/LegacyDFU/Characteristics/DFUVersion.swift /host/spi-builder-workspace/Library/Classes/Implementation/LegacyDFU/DFU/LegacyDFUExecutor.swift /host/spi-builder-workspace/Library/Classes/Implementation/LegacyDFU/DFU/LegacyDFUServiceInitiator.swift /host/spi-builder-workspace/Library/Classes/Implementation/LegacyDFU/Peripherals/LegacyDFUPeripheral.swift /host/spi-builder-workspace/Library/Classes/Implementation/LegacyDFU/Peripherals/LegacyDFUPeripheralDelegate.swift /host/spi-builder-workspace/Library/Classes/Implementation/LegacyDFU/Services/LegacyDFUService.swift /host/spi-builder-workspace/Library/Classes/Implementation/SecureDFU/Characteristics/ButtonlessDFU.swift /host/spi-builder-workspace/Library/Classes/Implementation/SecureDFU/Characteristics/SecureDFUControlPoint.swift /host/spi-builder-workspace/Library/Classes/Implementation/SecureDFU/Characteristics/SecureDFUPacket.swift /host/spi-builder-workspace/Library/Classes/Implementation/SecureDFU/DFU/SecureDFUExecutor.swift /host/spi-builder-workspace/Library/Classes/Implementation/SecureDFU/DFU/SecureDFUObjectGeometry.swift /host/spi-builder-workspace/Library/Classes/Implementation/SecureDFU/DFU/SecureDFUServiceInitiator.swift /host/spi-builder-workspace/Library/Classes/Implementation/SecureDFU/Peripheral/SecureDFUPeripheral.swift /host/spi-builder-workspace/Library/Classes/Implementation/SecureDFU/Peripheral/SecureDFUPeripheralDelegate.swift /host/spi-builder-workspace/Library/Classes/Implementation/SecureDFU/Services/SecureDFUService.swift /host/spi-builder-workspace/Library/Classes/Utilities/DFUPackage/Manifest/Manifest.swift /host/spi-builder-workspace/Library/Classes/Utilities/DFUPackage/Manifest/ManifestFirmwareInfo.swift /host/spi-builder-workspace/Library/Classes/Utilities/DFUPackage/Manifest/SoftdeviceBootloaderInfo.swift /host/spi-builder-workspace/Library/Classes/Utilities/Data.swift /host/spi-builder-workspace/Library/Classes/Utilities/Double.swift /host/spi-builder-workspace/Library/Classes/Utilities/HexToBinConverter/IntelHex2BinConverter.swift /host/spi-builder-workspace/Library/Classes/Utilities/Logging/LoggerDelegate.swift /host/spi-builder-workspace/Library/Classes/Utilities/Logging/LoggerHelper.swift /host/spi-builder-workspace/Library/Classes/Utilities/Streams/DFUStream.swift -primary-file /host/spi-builder-workspace/Library/Classes/Utilities/Streams/DFUStreamBin.swift -primary-file /host/spi-builder-workspace/Library/Classes/Utilities/Streams/DFUStreamHex.swift -primary-file /host/spi-builder-workspace/Library/Classes/Utilities/Streams/DFUStreamZip.swift -primary-file /host/spi-builder-workspace/Library/Classes/Utilities/ZipArchive.swift -primary-file /host/spi-builder-workspace/Library/Classes/Utilities/crc32.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/Objects-normal/x86_64/supplementaryOutputs-13 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/CZLib/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NordicDFU -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/Objects-normal/x86_64/NordicDFU_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/Objects-normal/x86_64/DFUStreamBin.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/Objects-normal/x86_64/DFUStreamHex.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/Objects-normal/x86_64/DFUStreamZip.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/Objects-normal/x86_64/ZipArchive.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/Objects-normal/x86_64/crc32.o -index-unit-output-path /NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/Objects-normal/x86_64/DFUStreamBin.o -index-unit-output-path /NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/Objects-normal/x86_64/DFUStreamHex.o -index-unit-output-path /NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/Objects-normal/x86_64/DFUStreamZip.o -index-unit-output-path /NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/Objects-normal/x86_64/ZipArchive.o -index-unit-output-path /NordicDFU.build/Debug-linux-x86_64/NordicDFU-t.build/Objects-normal/x86_64/crc32.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[58 / 66] NordicDFU
error: Build failed
BUILD FAILURE 6.4 linux