Build Information
Failed to build ServerSecurity, reference 0.0.7 (ef892d
), with Swift 6.2 (beta) for Android on 17 Jun 2025 14:40:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/security.git
Reference: 0.0.7
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/swift-server/security
* tag 0.0.7 -> FETCH_HEAD
HEAD is now at ef892d5 Add constant structure
Cloned https://github.com/swift-server/security.git
Revision (git rev-parse @):
ef892d595ea2776c2742ef8ec7b5455c7ad373cd
SUCCESS checkout https://github.com/swift-server/security.git at 0.0.7
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/swift-server/security.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/7] Compiling ServerSecurity TLSError.swift
/host/spi-builder-workspace/Sources/ServerSecurity/TLSError.swift:37:24: warning: enum case 'fail' has 2 associated values
22 |
23 | /// Failure with error code and reason
24 | case fail(Int, String)
| `- note: 'fail' declared here
25 |
26 | /// The error code itself
:
35 | return -1
36 |
37 | case .fail(let (code, _)):
| `- warning: enum case 'fail' has 2 associated values
38 | return Int(code)
39 | }
/host/spi-builder-workspace/Sources/ServerSecurity/TLSError.swift:53:24: warning: enum case 'fail' has 2 associated values
22 |
23 | /// Failure with error code and reason
24 | case fail(Int, String)
| `- note: 'fail' declared here
25 |
26 | /// The error code itself
:
51 | return "Retry operation"
52 |
53 | case .fail(let (_, reason)):
| `- warning: enum case 'fail' has 2 associated values
54 | return reason
55 | }
[4/7] Compiling ServerSecurity TLSService-Protocol.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Compiling ServerSecurity Connection-Protocol.swift
[6/7] Emitting module ServerSecurity
/host/spi-builder-workspace/Sources/ServerSecurity/TLSConfiguration.swift:69:29: error: cannot find type 'CFArray' in scope
67 |
68 | /// Cached array of previously imported PKCS12.
69 | public var pkcs12Certs: CFArray? = nil
| `- error: cannot find type 'CFArray' in scope
70 | #endif
71 |
[7/7] Compiling ServerSecurity TLSConfiguration.swift
/host/spi-builder-workspace/Sources/ServerSecurity/TLSConfiguration.swift:69:29: error: cannot find type 'CFArray' in scope
67 |
68 | /// Cached array of previously imported PKCS12.
69 | public var pkcs12Certs: CFArray? = nil
| `- error: cannot find type 'CFArray' in scope
70 | #endif
71 |
BUILD FAILURE 6.2 android