Build Information
Failed to build PerfectNotifications, reference main (babe4a), with Swift 6.4 for Linux on 16 Sep 2026 03:10:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-notifications.git
Reference: main
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/perfectlysoft/perfect-notifications
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at babe4af Merge pull request #19 from PerfectlySoft/swift6-modernization
Cloned https://github.com/perfectlysoft/perfect-notifications.git
Revision (git rev-parse @):
babe4af25c637920cfbeacbfc6a4107e88a078f4
SUCCESS checkout https://github.com/perfectlysoft/perfect-notifications.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-notifications.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/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
Fetching https://github.com/apple/swift-crypto.git
[1/18529] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.41s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.2 (1.53s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.2
Building for debugging...
[Constructing description]
[Planning 47 / 185]
[Planning deferred tasks]
[Starting]
[44 / 427] CCryptoBoringSSL
[50 / 435] CCryptoBoringSSLShims
[52 / 435] CCryptoBoringSSL
[53 / 435] CCryptoBoringSSL
[57 / 435] CCryptoBoringSSL
[58 / 435] CCryptoBoringSSL
[59 / 435] CCryptoBoringSSL
[60 / 435] CCryptoBoringSSL
[63 / 435] CCryptoBoringSSL
[64 / 435] CCryptoBoringSSL
[65 / 435] CCryptoBoringSSL
[66 / 435] CCryptoBoringSSL
[67 / 435] CCryptoBoringSSL
[68 / 435] CCryptoBoringSSL
[70 / 435] CCryptoBoringSSL
[71 / 435] CCryptoBoringSSL
[73 / 435] CCryptoBoringSSL
[75 / 435] CCryptoBoringSSL
[76 / 435] CCryptoBoringSSL
[79 / 435] CryptoBoringWrapper
[86 / 435] CCryptoBoringSSL
[88 / 435] CCryptoBoringSSL
[90 / 435] CCryptoBoringSSL
[93 / 435] CCryptoBoringSSL
[95 / 435] CCryptoBoringSSL
[99 / 435] CCryptoBoringSSL
[101 / 435] CCryptoBoringSSL
[102 / 435] CCryptoBoringSSL
[104 / 435] CCryptoBoringSSL
[105 / 435] CCryptoBoringSSL
[106 / 435] CCryptoBoringSSL
[109 / 435] CCryptoBoringSSL
[110 / 435] CCryptoBoringSSL
[112 / 435] CCryptoBoringSSL
[113 / 435] CCryptoBoringSSL
[117 / 435] CCryptoBoringSSL
[118 / 435] CCryptoBoringSSL
[119 / 435] CCryptoBoringSSL
[120 / 435] CCryptoBoringSSL
[122 / 435] CCryptoBoringSSL
[127 / 435] CCryptoBoringSSL
[128 / 435] CCryptoBoringSSL
[134 / 435] CCryptoBoringSSL
[137 / 435] CCryptoBoringSSL
[139 / 435] CCryptoBoringSSL
[141 / 435] CCryptoBoringSSL
[142 / 435] CCryptoBoringSSL
[144 / 435] CCryptoBoringSSL
[145 / 435] CCryptoBoringSSL
[148 / 435] CCryptoBoringSSL
[154 / 435] CCryptoBoringSSL
[161 / 435] CCryptoBoringSSL
[167 / 435] CCryptoBoringSSL
[175 / 435] CCryptoBoringSSL
[179 / 435] CCryptoBoringSSL
[181 / 435] CCryptoBoringSSL
[184 / 435] CCryptoBoringSSL
[187 / 435] CCryptoBoringSSL
[188 / 435] CCryptoBoringSSL
[193 / 435] CCryptoBoringSSL
[194 / 435] CCryptoBoringSSL
[196 / 435] CCryptoBoringSSL
[199 / 435] CCryptoBoringSSL
[201 / 435] CCryptoBoringSSL
[203 / 435] CCryptoBoringSSL
[206 / 435] CCryptoBoringSSL
[209 / 435] CCryptoBoringSSL
[211 / 435] CCryptoBoringSSL
[212 / 435] CCryptoBoringSSL
[214 / 435] CCryptoBoringSSL
[216 / 435] CCryptoBoringSSL
[217 / 435] CCryptoBoringSSL
[221 / 435] CCryptoBoringSSL
[222 / 435] CCryptoBoringSSL
[225 / 435] CCryptoBoringSSL
[230 / 435] CCryptoBoringSSL
[234 / 435] CCryptoBoringSSL
[236 / 435] CCryptoBoringSSL
[238 / 435] CCryptoBoringSSL
[239 / 435] CCryptoBoringSSL
[240 / 435] CCryptoBoringSSL
[243 / 435] CCryptoBoringSSL
[245 / 435] CCryptoBoringSSL
[246 / 435] CCryptoBoringSSL
[248 / 435] CCryptoBoringSSL
[251 / 435] CCryptoBoringSSL
[253 / 435] CCryptoBoringSSL
[256 / 435] CCryptoBoringSSL
[261 / 435] CCryptoBoringSSL
[265 / 435] CCryptoBoringSSL
[273 / 435] CCryptoBoringSSL
[275 / 435] CCryptoBoringSSL
[282 / 435] CCryptoBoringSSL
[284 / 435] CCryptoBoringSSL
[285 / 435] CCryptoBoringSSL
[288 / 435] CCryptoBoringSSL
[289 / 435] CCryptoBoringSSL
[291 / 435] CCryptoBoringSSL
[295 / 435] CCryptoBoringSSL
[298 / 435] CCryptoBoringSSL
[300 / 435] CCryptoBoringSSL
[301 / 435] CCryptoBoringSSL
[304 / 435] CCryptoBoringSSL
[307 / 435] CCryptoBoringSSL
[311 / 435] CCryptoBoringSSL
[313 / 435] CCryptoBoringSSL
[314 / 435] CCryptoBoringSSL
[316 / 435] CCryptoBoringSSL
[318 / 435] CCryptoBoringSSL
[320 / 435] CCryptoBoringSSL
[325 / 435] CCryptoBoringSSL
[327 / 435] CCryptoBoringSSL
[329 / 435] CCryptoBoringSSL
[334 / 435] CCryptoBoringSSL
[340 / 435] CCryptoBoringSSL
[346 / 435] CCryptoBoringSSL
[348 / 435] CCryptoBoringSSL
[351 / 435] CCryptoBoringSSL
[352 / 435] CCryptoBoringSSL
[356 / 435] CCryptoBoringSSL
[359 / 435] CCryptoBoringSSL
[362 / 435] CCryptoBoringSSL
[366 / 435] CCryptoBoringSSL
[368 / 435] CCryptoBoringSSL
[372 / 435] CCryptoBoringSSL
[376 / 435] CCryptoBoringSSL
[381 / 435] CCryptoBoringSSL
[387 / 435] CCryptoBoringSSL
[389 / 435] CCryptoBoringSSL
[393 / 435] CCryptoBoringSSL
[394 / 435] CCryptoBoringSSL
[396 / 435] CCryptoBoringSSL
[398 / 435] CCryptoBoringSSL
[399 / 435] CCryptoBoringSSL
[401 / 435] CCryptoBoringSSL
[404 / 435] CCryptoBoringSSL
[405 / 435] CCryptoBoringSSL
[406 / 435] CCryptoBoringSSL
[408 / 435] CCryptoBoringSSL
[411 / 435] CCryptoBoringSSL
[413 / 435] CryptoBoringWrapper
[415 / 435] CCryptoBoringSSL
[416 / 435] Crypto
[419 / 445] Crypto
[420 / 445] Crypto
[421 / 445] CryptoBoringWrapper
[431 / 446] CryptoBoringWrapper
[432 / 446] Crypto
[436 / 453] PerfectNotifications
[437 / 453] PerfectNotifications
[438 / 453] CCryptoBoringSSL
[439 / 453] PerfectNotifications
[441 / 453] PerfectNotifications
[442 / 453] CCryptoBoringSSLShims
[443 / 453] Crypto
[446 / 454] Crypto
[446 / 454] PerfectNotifications
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:54:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m52 |[0;0m private let credentials: APNSCredentials
[0;36m53 |[0;0m private let environment: Environment
[0;36m54 |[0;0m private let urlSession: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m // MARK: Init
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:68:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m66 |[0;0m public init(keyID: String, teamID: String, privateKeyPath: String,
[0;36m67 |[0;0m environment: Environment = .sandbox,
[0;36m68 |[0;0m urlSession: [4;39mURLSession[0;0m = .shared) throws {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m69 |[0;0m self.credentials = try APNSCredentials(keyID: keyID, teamID: teamID, privateKeyPath: privateKeyPath)
[0;36m70 |[0;0m self.environment = environment
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:68:43: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m66 |[0;0m public init(keyID: String, teamID: String, privateKeyPath: String,
[0;36m67 |[0;0m environment: Environment = .sandbox,
[0;36m68 |[0;0m urlSession: URLSession = [4;39m.shared[0;0m) throws {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m69 |[0;0m self.credentials = try APNSCredentials(keyID: keyID, teamID: teamID, privateKeyPath: privateKeyPath)
[0;36m70 |[0;0m self.environment = environment
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:68:43: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m66 |[0;0m public init(keyID: String, teamID: String, privateKeyPath: String,
[0;36m67 |[0;0m environment: Environment = .sandbox,
[0;36m68 |[0;0m urlSession: URLSession = .shared) throws {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m69 |[0;0m self.credentials = try APNSCredentials(keyID: keyID, teamID: teamID, privateKeyPath: privateKeyPath)
[0;36m70 |[0;0m self.environment = environment
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:77:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m75 |[0;0m public init(keyID: String, teamID: String, pemString: String,
[0;36m76 |[0;0m environment: Environment = .sandbox,
[0;36m77 |[0;0m urlSession: [4;39mURLSession[0;0m = .shared) throws {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m78 |[0;0m self.credentials = try APNSCredentials(keyID: keyID, teamID: teamID, pemString: pemString)
[0;36m79 |[0;0m self.environment = environment
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:77:43: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m75 |[0;0m public init(keyID: String, teamID: String, pemString: String,
[0;36m76 |[0;0m environment: Environment = .sandbox,
[0;36m77 |[0;0m urlSession: URLSession = [4;39m.shared[0;0m) throws {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m78 |[0;0m self.credentials = try APNSCredentials(keyID: keyID, teamID: teamID, pemString: pemString)
[0;36m79 |[0;0m self.environment = environment
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:77:43: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m75 |[0;0m public init(keyID: String, teamID: String, pemString: String,
[0;36m76 |[0;0m environment: Environment = .sandbox,
[0;36m77 |[0;0m urlSession: URLSession = .shared) throws {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m78 |[0;0m self.credentials = try APNSCredentials(keyID: keyID, teamID: teamID, pemString: pemString)
[0;36m79 |[0;0m self.environment = environment
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:54:17: [1;31merror: [1;39mstored property 'urlSession' of 'Sendable'-conforming struct 'APNSClient' has non-Sendable type 'AnyObject'[0;0m
[0;36m52 |[0;0m private let credentials: APNSCredentials
[0;36m53 |[0;0m private let environment: Environment
[0;36m54 |[0;0m private let urlSession: URLSession
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'urlSession' of 'Sendable'-conforming struct 'APNSClient' has non-Sendable type 'AnyObject'[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m // MARK: Init
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift /host/spi-builder-workspace/Sources/PerfectNotifications/APNSCredentials.swift /host/spi-builder-workspace/Sources/PerfectNotifications/APNSNotification.swift /host/spi-builder-workspace/Sources/PerfectNotifications/APNSPushType.swift /host/spi-builder-workspace/Sources/PerfectNotifications/APNSResponse.swift -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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -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/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/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/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-linux-x86_64/PerfectNotifications-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-linux-x86_64/PerfectNotifications-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-linux-x86_64/PerfectNotifications-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PerfectNotifications -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-linux-x86_64/PerfectNotifications-t.build/Objects-normal/x86_64/PerfectNotifications_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-linux-x86_64/PerfectNotifications-t.build/Objects-normal/x86_64/Modules/PerfectNotifications.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-linux-x86_64/PerfectNotifications-t.build/Objects-normal/x86_64/Modules/PerfectNotifications.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-linux-x86_64/PerfectNotifications-t.build/Objects-normal/x86_64/PerfectNotifications-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-linux-x86_64/PerfectNotifications-t.build/Objects-normal/x86_64/PerfectNotifications-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-linux-x86_64/PerfectNotifications-t.build/Objects-normal/x86_64/PerfectNotifications-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-linux-x86_64/PerfectNotifications-t.build/Objects-normal/x86_64/Modules/PerfectNotifications.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux