Build Information
Failed to build Guardian, reference master (cc2ad8), with Swift 5.10 for macOS (SPM) on 11 Dec 2025 22:20:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/auth0/Guardian.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/auth0/Guardian.swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at cc2ad87 feat: support consent details without scope (#163)
Cloned https://github.com/auth0/Guardian.swift.git
Revision (git rev-parse @):
cc2ad87595792871e83677de73aabb104f66eb57
SUCCESS checkout https://github.com/auth0/Guardian.swift.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/auth0/Guardian.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin DefocusCommandPlugin
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin LintCommandPlugin
[5/5] Compiling plugin LintError
[6/6] Compiling plugin LintWarning
Building for debugging...
[6/8] Write sources
[7/8] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/49] Emitting module Guardian
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[10/53] Compiling Guardian EnrollRequest.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[11/53] Compiling Guardian EnrolledDevice.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[12/53] Compiling Guardian OneTimePasswordGenerator.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[13/53] Compiling Guardian Guardian.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[14/53] Compiling Guardian Keys+Generation.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[15/53] Compiling Guardian Keys.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[16/53] Compiling Guardian RSA+Utils.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[17/53] Compiling Guardian Additions.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[18/53] Compiling Guardian NetworkOperation.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[19/53] Compiling Guardian NoContentDecoder.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[20/53] Compiling Guardian Operation.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[21/53] Compiling Guardian Result.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[22/53] Compiling Guardian API.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[23/53] Compiling Guardian APIClient.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[24/53] Compiling Guardian ConsentAPI.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[25/53] Compiling Guardian ConsentAPIClient.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[26/53] Compiling Guardian DeviceAPI.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[27/53] Compiling Guardian DeviceAPIClient.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[28/53] Compiling Guardian GuardianError.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[29/53] Compiling Guardian JSON.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[30/53] Compiling Guardian Models.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[31/53] Compiling Guardian NoContent.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[32/53] Compiling Guardian ASNPublicKeyDecodable.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[33/53] Compiling Guardian AsymmetricPublicKey.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[34/53] Compiling Guardian DataRSAPrivateKey.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[35/53] Compiling Guardian KeychainRSAPrivateKey.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[36/53] Compiling Guardian A0SHA.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[37/53] Compiling Guardian Base32.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[38/53] Compiling Guardian Data+Base64URL.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[39/53] Compiling Guardian JWT.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[40/53] Compiling Guardian Request.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[41/53] Compiling Guardian Authentication.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[42/53] Compiling Guardian AuthenticationDevice.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[43/53] Compiling Guardian AuthenticationCategory.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[44/53] Compiling Guardian AuthenticationLocation.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[45/53] Compiling Guardian ClientInfo.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[46/53] Compiling Guardian CodableAdditions.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[47/53] Compiling Guardian Events.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[48/53] Compiling Guardian NetworkError.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[49/53] Compiling Guardian AuthenticationNotification.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[50/53] Compiling Guardian AuthenticationSource.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[51/53] Compiling Guardian Notification.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[52/53] Compiling Guardian A0HMAC.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
[53/53] Compiling Guardian A0RSA.swift
/Users/admin/builder/spi-builder-workspace/Guardian/Enrollment/EnrolledDevice.swift:23:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/19804] Fetching nimble
[2/34663] Fetching nimble, quick
Fetched https://github.com/Quick/Nimble.git from cache (3.17s)
Fetched https://github.com/Quick/Quick.git from cache (3.17s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 12.3.0 (2.26s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.86s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.50s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.75s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.46s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.6.2 (0.36s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6041] Fetching swift-algorithms
[1028/22939] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (1.60s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.60s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.42s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.10s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.39s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.37s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.6.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 12.3.0
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/GuardianTests/Data/README.md
/Users/admin/builder/spi-builder-workspace/GuardianTests/GuardianTests.xctestplan
/Users/admin/builder/spi-builder-workspace/GuardianTests/Data/guardian-test.public.json
/Users/admin/builder/spi-builder-workspace/GuardianTests/Data/guardian-test.public.pem
/Users/admin/builder/spi-builder-workspace/GuardianTests/Data/guardian-test.private.pem
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/Guardian/PrivacyInfo.xcprivacy
BUILD FAILURE 5.10 macosSpm