Build Information
Failed to build iOSMcuManagerLibrary, reference main (8f94fd
), with Swift 5.10 for macOS (SPM) on 4 Nov 2024 17:40:33 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8f94fdc Merge pull request #287 from NordicSemiconductor/barcode
Cloned https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git
Revision (git rev-parse @):
8f94fdcb5e9b9fb13d75c74ddf4b1c40bdc74bd2
SUCCESS checkout https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[2/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-33747A42983211AE.txt
[6/43] Emitting module ZIPFoundation
[7/45] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[8/46] Compiling SwiftCBOR Util.swift
[9/46] Compiling ZIPFoundation URL+ZIP.swift
[10/46] Compiling ZIPFoundation resource_bundle_accessor.swift
[11/46] Compiling ZIPFoundation Archive+WritingDeprecated.swift
[12/46] Compiling ZIPFoundation Archive+ZIP64.swift
[13/46] Compiling ZIPFoundation Archive+ReadingDeprecated.swift
[14/46] Compiling ZIPFoundation Archive+Writing.swift
[15/46] Compiling ZIPFoundation FileManager+ZIP.swift
[16/46] Compiling ZIPFoundation FileManager+ZIPDeprecated.swift
[17/46] Compiling ZIPFoundation Entry+ZIP64.swift
[18/46] Compiling ZIPFoundation Entry.swift
[19/46] Compiling ZIPFoundation Date+ZIP.swift
[20/46] Compiling ZIPFoundation Entry+Serialization.swift
[21/46] Compiling ZIPFoundation Data+CompressionDeprecated.swift
[22/46] Compiling ZIPFoundation Data+Serialization.swift
[23/46] Compiling ZIPFoundation Archive.swift
[24/46] Compiling ZIPFoundation Data+Compression.swift
[25/46] Compiling ZIPFoundation Archive+MemoryFile.swift
[26/46] Compiling ZIPFoundation Archive+Progress.swift
[27/46] Compiling ZIPFoundation Archive+Reading.swift
[36/46] Compiling ZIPFoundation Archive+BackingConfiguration.swift
[37/46] Compiling ZIPFoundation Archive+Deprecated.swift
[38/46] Compiling ZIPFoundation Archive+Helpers.swift
[43/46] Emitting module SwiftCBOR
[46/46] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[47/79] Compiling iOSMcuManagerLibrary McuMgrSuitManifest.swift
[48/79] Compiling iOSMcuManagerLibrary McuMgrTransport.swift
[49/79] Compiling iOSMcuManagerLibrary McuMgrUploadPipeline.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/82] Emitting module iOSMcuManagerLibrary
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:12:17: error: unknown attribute 'retroactive'
extension CBOR: @retroactive CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:12:1: error: inheritance from non-protocol type 'any CustomDebugStringConvertible'
extension CBOR: @retroactive CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:78:21: error: unknown attribute 'retroactive'
extension CBOR.Tag: @retroactive CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:78:1: error: inheritance from non-protocol type 'any CustomDebugStringConvertible'
extension CBOR.Tag: @retroactive CustomDebugStringConvertible {
^
[51/82] Compiling iOSMcuManagerLibrary CBOR+McuManager.swift
[52/82] Compiling iOSMcuManagerLibrary Data+McuManager.swift
[53/82] Compiling iOSMcuManagerLibrary String+McuManager.swift
[54/82] Compiling iOSMcuManagerLibrary BasicManager.swift
[55/82] Compiling iOSMcuManagerLibrary SettingsManager.swift
[56/82] Compiling iOSMcuManagerLibrary ShellManager.swift
[57/82] Compiling iOSMcuManagerLibrary StatsManager.swift
[58/82] Compiling iOSMcuManagerLibrary SuitManager.swift
[59/82] Compiling iOSMcuManagerLibrary CrashManager.swift
[60/82] Compiling iOSMcuManagerLibrary FirmwareUpgradeController.swift
[61/82] Compiling iOSMcuManagerLibrary FirmwareUpgradeManager.swift
[62/82] Compiling iOSMcuManagerLibrary DefaultManager.swift
[63/82] Compiling iOSMcuManagerLibrary McuMgrBleTransport+CBCentralManagerDelegate.swift
[64/82] Compiling iOSMcuManagerLibrary McuMgrBleTransport+CBPeripheralDelegate.swift
[65/82] Compiling iOSMcuManagerLibrary McuMgrBleTransport.swift
[66/82] Compiling iOSMcuManagerLibrary McuMgrBleTransportWriteState.swift
[67/82] Compiling iOSMcuManagerLibrary McuMgrLogDelegate.swift
[68/82] Compiling iOSMcuManagerLibrary McuMgrManifest.swift
[69/82] Compiling iOSMcuManagerLibrary McuMgrPackage.swift
[70/82] Compiling iOSMcuManagerLibrary FileSystemManager.swift
[71/82] Compiling iOSMcuManagerLibrary ImageManager.swift
[72/82] Compiling iOSMcuManagerLibrary LogManager.swift
[73/82] Compiling iOSMcuManagerLibrary RunTestManager.swift
[74/82] Compiling iOSMcuManagerLibrary McuManager.swift
[75/82] Compiling iOSMcuManagerLibrary McuMgrHeader.swift
[76/82] Compiling iOSMcuManagerLibrary McuMgrImage.swift
[77/82] Compiling iOSMcuManagerLibrary McuMgrROBBuffer.swift
[78/82] Compiling iOSMcuManagerLibrary McuMgrResponse.swift
[79/82] Compiling iOSMcuManagerLibrary McuMgrSuitEnvelope.swift
[80/82] Compiling iOSMcuManagerLibrary CBOR+String.swift
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:12:17: error: unknown attribute 'retroactive'
extension CBOR: @retroactive CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:12:1: error: inheritance from non-protocol type 'any CustomDebugStringConvertible'
extension CBOR: @retroactive CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:78:21: error: unknown attribute 'retroactive'
extension CBOR.Tag: @retroactive CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:78:1: error: inheritance from non-protocol type 'any CustomDebugStringConvertible'
extension CBOR.Tag: @retroactive CustomDebugStringConvertible {
^
[81/82] Compiling iOSMcuManagerLibrary ResultLock.swift
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:12:17: error: unknown attribute 'retroactive'
extension CBOR: @retroactive CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:12:1: error: inheritance from non-protocol type 'any CustomDebugStringConvertible'
extension CBOR: @retroactive CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:78:21: error: unknown attribute 'retroactive'
extension CBOR.Tag: @retroactive CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:78:1: error: inheritance from non-protocol type 'any CustomDebugStringConvertible'
extension CBOR.Tag: @retroactive CustomDebugStringConvertible {
^
[82/82] Compiling iOSMcuManagerLibrary UTI.swift
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:12:17: error: unknown attribute 'retroactive'
extension CBOR: @retroactive CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:12:1: error: inheritance from non-protocol type 'any CustomDebugStringConvertible'
extension CBOR: @retroactive CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:78:21: error: unknown attribute 'retroactive'
extension CBOR.Tag: @retroactive CustomDebugStringConvertible {
^
/Users/admin/builder/spi-builder-workspace/Source/Utils/CBOR+String.swift:78:1: error: inheritance from non-protocol type 'any CustomDebugStringConvertible'
extension CBOR.Tag: @retroactive CustomDebugStringConvertible {
^
error: fatalError
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/5466] Fetching zipfoundation
[56/6777] Fetching zipfoundation, swiftcbor
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (2.16s)
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (2.16s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.4.7 (0.59s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.46s)
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
Creating working copy for https://github.com/unrelentingtech/SwiftCBOR.git
Working copy of https://github.com/unrelentingtech/SwiftCBOR.git resolved at 0.4.7
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Source/PrivacyInfo.xcprivacy
BUILD FAILURE 5.10 macosSpm