The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Frames, reference main (4191d3), with Swift 6.1 for Android on 9 Oct 2026 16:36:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/checkout/frames-ios.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/checkout/frames-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4191d3b Merge pull request #556 from checkout/release/4.5.0
Cloned https://github.com/checkout/frames-ios.git
Revision (git rev-parse @):
4191d3b0c8e6deb38cf10d07232b62f2d977e6d2
SUCCESS checkout https://github.com/checkout/frames-ios.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/checkout/frames-ios.git
https://github.com/checkout/frames-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:396310cef4466ceb116ed5462b0b92d4deb353c0dad749b406b7fd226f6db9af
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/checkout/checkout-risk-sdk-ios.git
Fetching https://github.com/marmelroy/PhoneNumberKit.git
Fetching https://github.com/checkout/checkout-event-logger-ios-framework.git
[1/7740] Fetching phonenumberkit
[930/9873] Fetching phonenumberkit, checkout-risk-sdk-ios
[1376/10309] Fetching phonenumberkit, checkout-risk-sdk-ios, checkout-event-logger-ios-framework
Fetched https://github.com/marmelroy/PhoneNumberKit.git from cache (0.91s)
Fetched https://github.com/checkout/checkout-risk-sdk-ios.git from cache (0.92s)
Fetched https://github.com/checkout/checkout-event-logger-ios-framework.git from cache (0.92s)
Computing version for https://github.com/checkout/checkout-event-logger-ios-framework.git
Computed https://github.com/checkout/checkout-event-logger-ios-framework.git at 1.2.4 (1.16s)
Computing version for https://github.com/checkout/checkout-risk-sdk-ios.git
Computed https://github.com/checkout/checkout-risk-sdk-ios.git at 6.0.1 (0.25s)
Fetching https://github.com/fingerprintjs/fingerprintjs-pro-ios
Fetching https://github.com/fingerprintjs/fingerprintjs-ios
[1/1099] Fetching fingerprintjs-pro-ios
[1100/3158] Fetching fingerprintjs-pro-ios, fingerprintjs-ios
Fetched https://github.com/fingerprintjs/fingerprintjs-pro-ios from cache (0.82s)
Fetched https://github.com/fingerprintjs/fingerprintjs-ios from cache (0.82s)
Computing version for https://github.com/fingerprintjs/fingerprintjs-ios
Computed https://github.com/fingerprintjs/fingerprintjs-ios at 1.7.0 (1.06s)
Computing version for https://github.com/fingerprintjs/fingerprintjs-pro-ios
Computed https://github.com/fingerprintjs/fingerprintjs-pro-ios at 2.17.2 (0.21s)
Computing version for https://github.com/marmelroy/PhoneNumberKit.git
Computed https://github.com/marmelroy/PhoneNumberKit.git at 4.3.0 (0.24s)
Creating working copy for https://github.com/marmelroy/PhoneNumberKit.git
Working copy of https://github.com/marmelroy/PhoneNumberKit.git resolved at 4.3.0
Creating working copy for https://github.com/checkout/checkout-event-logger-ios-framework.git
Working copy of https://github.com/checkout/checkout-event-logger-ios-framework.git resolved at 1.2.4
Creating working copy for https://github.com/fingerprintjs/fingerprintjs-ios
Working copy of https://github.com/fingerprintjs/fingerprintjs-ios resolved at 1.7.0
Creating working copy for https://github.com/fingerprintjs/fingerprintjs-pro-ios
Working copy of https://github.com/fingerprintjs/fingerprintjs-pro-ios resolved at 2.17.2
Creating working copy for https://github.com/checkout/checkout-risk-sdk-ios.git
Working copy of https://github.com/checkout/checkout-risk-sdk-ios.git resolved at 6.0.1
Downloading binary artifact https://fpjs-public.s3.amazonaws.com/ios/2.17.2/FingerprintPro-2.17.2-e6ef4cd4ebb1d4788f207043fe06ac493869ba4e6f101416fc8212c81bc5c950.xcframework.zip
[16384/8149488] Downloading https://fpjs-public.s3.amazonaws.com/ios/2.17.2/FingerprintPro-2.17.2-e6ef4cd4ebb1d4788f207043fe06ac493869ba4e6f101416fc8212c81bc5c950.xcframework.zip
Downloaded https://fpjs-public.s3.amazonaws.com/ios/2.17.2/FingerprintPro-2.17.2-e6ef4cd4ebb1d4788f207043fe06ac493869ba4e6f101416fc8212c81bc5c950.xcframework.zip (1.02s)
Building for debugging...
[0/25] Write sources
[4/25] Copying PrivacyInfo.xcprivacy
[5/25] Write sources
[5/25] Copying Localizable.strings
[5/25] Copying PrivacyInfo.xcprivacy
[5/25] Copying Localizable.strings
[6/25] Write sources
[7/25] Copying Info.plist
[8/25] Copying PhoneNumberMetadata.json
[18/25] Copying Images.xcassets
[19/25] Write swift-version-24593BA9C3E375BF.txt
[21/54] Emitting module PhoneNumberKit
[22/56] Compiling SystemControl SystemControlValueDefinition.swift
[23/57] Compiling PhoneNumberKit CountryCodePickerViewController.swift
[24/57] Compiling PhoneNumberKit PhoneNumberTextField.swift
[25/57] Compiling PhoneNumberKit CountryCodePickerOptions.swift
[26/57] Compiling PhoneNumberKit CountryCodePickerSectionHeaderView.swift
[27/57] Compiling PhoneNumberKit CountryCodePickerTableViewCell.swift
[28/57] Compiling SystemControl SystemControlValuesRetriever.swift
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:16:21: error: cannot find 'sysctl' in scope
14 |         let flagCount = u_int(sysctlFlags.count)
15 |
16 |         var errno = sysctl(&sysctlFlags, flagCount, nil, &size, nil, 0)
   |                     `- error: cannot find 'sysctl' in scope
17 |         guard errno == ERR_SUCCESS else {
18 |             throw SystemControlError.osError(errno)
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:16:53: error: 'nil' requires a contextual type
14 |         let flagCount = u_int(sysctlFlags.count)
15 |
16 |         var errno = sysctl(&sysctlFlags, flagCount, nil, &size, nil, 0)
   |                                                     `- error: 'nil' requires a contextual type
17 |         guard errno == ERR_SUCCESS else {
18 |             throw SystemControlError.osError(errno)
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:16:65: error: 'nil' requires a contextual type
14 |         let flagCount = u_int(sysctlFlags.count)
15 |
16 |         var errno = sysctl(&sysctlFlags, flagCount, nil, &size, nil, 0)
   |                                                                 `- error: 'nil' requires a contextual type
17 |         guard errno == ERR_SUCCESS else {
18 |             throw SystemControlError.osError(errno)
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:17:24: error: cannot find 'ERR_SUCCESS' in scope
15 |
16 |         var errno = sysctl(&sysctlFlags, flagCount, nil, &size, nil, 0)
17 |         guard errno == ERR_SUCCESS else {
   |                        `- error: cannot find 'ERR_SUCCESS' in scope
18 |             throw SystemControlError.osError(errno)
19 |         }
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:24:21: error: cannot find 'sysctl' in scope
22 |
23 |         return try T.ValueType.withRawMemory(of: size) { mem in
24 |             errno = sysctl(
   |                     `- error: cannot find 'sysctl' in scope
25 |                 &sysctlFlags,
26 |                 flagCount,
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:33:28: error: cannot find 'ERR_SUCCESS' in scope
31 |             )
32 |
33 |             guard errno == ERR_SUCCESS else {
   |                            `- error: cannot find 'ERR_SUCCESS' in scope
34 |                 throw SystemControlError.osError(errno)
35 |             }
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:29:17: error: 'nil' requires a contextual type
27 |                 mem,
28 |                 &size,
29 |                 nil,
   |                 `- error: 'nil' requires a contextual type
30 |                 0
31 |             )
[29/57] Compiling PhoneNumberKit Bundle+Resources.swift
[30/57] Compiling PhoneNumberKit Constants.swift
[31/57] Compiling PhoneNumberKit Formatter.swift
[32/57] Compiling SystemControl VirtualMemorySubsystem.swift
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/VirtualMemorySubsystem.swift:13:58: error: cannot find type 'loadavg' in scope
11 | extension VirtualMemorySubsystem {
12 |     private enum Definition {
13 |         static var loadavg: SystemControlValueDefinition<loadavg> {
   |                                                          `- error: cannot find type 'loadavg' in scope
14 |             .init(flags: [CTL_VM, VM_LOADAVG])
15 |         }
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/VirtualMemorySubsystem.swift:20:20: error: cannot find type 'loadavg' in scope
18 |
19 | extension VirtualMemorySubsystem {
20 |     var vmloadavg: loadavg? {
   |                    `- error: cannot find type 'loadavg' in scope
21 |         try? systemControl.getSystemValue(Definition.loadavg)
22 |     }
[33/57] Compiling SystemControl RawPointerConvertible.swift
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/RawPointerConvertible.swift:34:11: error: cannot find type 'loadavg' in scope
32 |
33 | extension timeval: RawPointerConvertible {}
34 | extension loadavg: RawPointerConvertible {}
   |           `- error: cannot find type 'loadavg' in scope
35 | extension Int32: RawPointerConvertible {}
36 | extension Int64: RawPointerConvertible {}
[34/57] Compiling SystemControl HardwareSubsystem.swift
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:14:27: error: cannot find 'CTL_HW' in scope
12 |     private enum Definition {
13 |         static var hardwareModel: SystemControlValueDefinition<String> {
14 |             .init(flags: [CTL_HW, HW_MODEL])
   |                           `- error: cannot find 'CTL_HW' in scope
15 |         }
16 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:14:35: error: cannot find 'HW_MODEL' in scope
12 |     private enum Definition {
13 |         static var hardwareModel: SystemControlValueDefinition<String> {
14 |             .init(flags: [CTL_HW, HW_MODEL])
   |                                   `- error: cannot find 'HW_MODEL' in scope
15 |         }
16 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:18:27: error: cannot find 'CTL_HW' in scope
16 |
17 |         static var hardwareMachine: SystemControlValueDefinition<String> {
18 |             .init(flags: [CTL_HW, HW_MACHINE])
   |                           `- error: cannot find 'CTL_HW' in scope
19 |         }
20 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:18:35: error: cannot find 'HW_MACHINE' in scope
16 |
17 |         static var hardwareMachine: SystemControlValueDefinition<String> {
18 |             .init(flags: [CTL_HW, HW_MACHINE])
   |                                   `- error: cannot find 'HW_MACHINE' in scope
19 |         }
20 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:22:27: error: cannot find 'CTL_HW' in scope
20 |
21 |         static var memorySize: SystemControlValueDefinition<Int64> {
22 |             .init(flags: [CTL_HW, HW_MEMSIZE])
   |                           `- error: cannot find 'CTL_HW' in scope
23 |         }
24 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:22:35: error: cannot find 'HW_MEMSIZE' in scope
20 |
21 |         static var memorySize: SystemControlValueDefinition<Int64> {
22 |             .init(flags: [CTL_HW, HW_MEMSIZE])
   |                                   `- error: cannot find 'HW_MEMSIZE' in scope
23 |         }
24 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:26:27: error: cannot find 'CTL_HW' in scope
24 |
25 |         static var physicalMemory: SystemControlValueDefinition<Int32> {
26 |             .init(flags: [CTL_HW, HW_PHYSMEM])
   |                           `- error: cannot find 'CTL_HW' in scope
27 |         }
28 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:26:35: error: cannot find 'HW_PHYSMEM' in scope
24 |
25 |         static var physicalMemory: SystemControlValueDefinition<Int32> {
26 |             .init(flags: [CTL_HW, HW_PHYSMEM])
   |                                   `- error: cannot find 'HW_PHYSMEM' in scope
27 |         }
28 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:30:27: error: cannot find 'CTL_HW' in scope
28 |
29 |         static var cpuCount: SystemControlValueDefinition<Int32> {
30 |             .init(flags: [CTL_HW, HW_NCPU])
   |                           `- error: cannot find 'CTL_HW' in scope
31 |         }
32 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:30:35: error: cannot find 'HW_NCPU' in scope
28 |
29 |         static var cpuCount: SystemControlValueDefinition<Int32> {
30 |             .init(flags: [CTL_HW, HW_NCPU])
   |                                   `- error: cannot find 'HW_NCPU' in scope
31 |         }
32 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:34:27: error: cannot find 'CTL_HW' in scope
32 |
33 |         static var cpuFrequency: SystemControlValueDefinition<Int32> {
34 |             .init(flags: [CTL_HW, HW_CPU_FREQ])
   |                           `- error: cannot find 'CTL_HW' in scope
35 |         }
36 |     }
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:34:35: error: cannot find 'HW_CPU_FREQ' in scope
32 |
33 |         static var cpuFrequency: SystemControlValueDefinition<Int32> {
34 |             .init(flags: [CTL_HW, HW_CPU_FREQ])
   |                                   `- error: cannot find 'HW_CPU_FREQ' in scope
35 |         }
36 |     }
[35/57] Compiling SystemControl KernelSubsystem.swift
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:14:27: error: cannot find 'CTL_KERN' in scope
12 |     private enum Definition {
13 |         static var bootTime: SystemControlValueDefinition<timeval> {
14 |             .init(flags: [CTL_KERN, KERN_BOOTTIME])
   |                           `- error: cannot find 'CTL_KERN' in scope
15 |         }
16 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:14:37: error: cannot find 'KERN_BOOTTIME' in scope
12 |     private enum Definition {
13 |         static var bootTime: SystemControlValueDefinition<timeval> {
14 |             .init(flags: [CTL_KERN, KERN_BOOTTIME])
   |                                     `- error: cannot find 'KERN_BOOTTIME' in scope
15 |         }
16 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:18:27: error: cannot find 'CTL_KERN' in scope
16 |
17 |         static var hostname: SystemControlValueDefinition<String> {
18 |             .init(flags: [CTL_KERN, KERN_HOSTNAME])
   |                           `- error: cannot find 'CTL_KERN' in scope
19 |         }
20 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:18:37: error: cannot find 'KERN_HOSTNAME' in scope
16 |
17 |         static var hostname: SystemControlValueDefinition<String> {
18 |             .init(flags: [CTL_KERN, KERN_HOSTNAME])
   |                                     `- error: cannot find 'KERN_HOSTNAME' in scope
19 |         }
20 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:22:27: error: cannot find 'CTL_HW' in scope
20 |
21 |         static var osRelease: SystemControlValueDefinition<String> {
22 |             .init(flags: [CTL_HW, KERN_OSRELEASE])
   |                           `- error: cannot find 'CTL_HW' in scope
23 |         }
24 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:22:35: error: cannot find 'KERN_OSRELEASE' in scope
20 |
21 |         static var osRelease: SystemControlValueDefinition<String> {
22 |             .init(flags: [CTL_HW, KERN_OSRELEASE])
   |                                   `- error: cannot find 'KERN_OSRELEASE' in scope
23 |         }
24 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:26:27: error: cannot find 'CTL_KERN' in scope
24 |
25 |         static var osType: SystemControlValueDefinition<String> {
26 |             .init(flags: [CTL_KERN, KERN_OSTYPE])
   |                           `- error: cannot find 'CTL_KERN' in scope
27 |         }
28 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:26:37: error: cannot find 'KERN_OSTYPE' in scope
24 |
25 |         static var osType: SystemControlValueDefinition<String> {
26 |             .init(flags: [CTL_KERN, KERN_OSTYPE])
   |                                     `- error: cannot find 'KERN_OSTYPE' in scope
27 |         }
28 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:30:27: error: cannot find 'CTL_KERN' in scope
28 |
29 |         static var osVersion: SystemControlValueDefinition<String> {
30 |             .init(flags: [CTL_KERN, KERN_OSVERSION])
   |                           `- error: cannot find 'CTL_KERN' in scope
31 |         }
32 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:30:37: error: cannot find 'KERN_OSVERSION' in scope
28 |
29 |         static var osVersion: SystemControlValueDefinition<String> {
30 |             .init(flags: [CTL_KERN, KERN_OSVERSION])
   |                                     `- error: cannot find 'KERN_OSVERSION' in scope
31 |         }
32 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:34:27: error: cannot find 'CTL_KERN' in scope
32 |
33 |         static var kernelVersion: SystemControlValueDefinition<String> {
34 |             .init(flags: [CTL_KERN, KERN_VERSION])
   |                           `- error: cannot find 'CTL_KERN' in scope
35 |         }
36 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:34:37: error: cannot find 'KERN_VERSION' in scope
32 |
33 |         static var kernelVersion: SystemControlValueDefinition<String> {
34 |             .init(flags: [CTL_KERN, KERN_VERSION])
   |                                     `- error: cannot find 'KERN_VERSION' in scope
35 |         }
36 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:38:27: error: cannot find 'CTL_KERN' in scope
36 |
37 |         static var osBuild: SystemControlValueDefinition<Int32> {
38 |             .init(flags: [CTL_KERN, KERN_OSREV])
   |                           `- error: cannot find 'CTL_KERN' in scope
39 |         }
40 |     }
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:38:37: error: cannot find 'KERN_OSREV' in scope
36 |
37 |         static var osBuild: SystemControlValueDefinition<Int32> {
38 |             .init(flags: [CTL_KERN, KERN_OSREV])
   |                                     `- error: cannot find 'KERN_OSREV' in scope
39 |         }
40 |     }
[36/57] Compiling SystemControl SystemControlError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/57] Compiling SystemControl SystemControlValuesProvider.swift
[38/57] Emitting module SystemControl
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/RawPointerConvertible.swift:34:11: error: cannot find type 'loadavg' in scope
32 |
33 | extension timeval: RawPointerConvertible {}
34 | extension loadavg: RawPointerConvertible {}
   |           `- error: cannot find type 'loadavg' in scope
35 | extension Int32: RawPointerConvertible {}
36 | extension Int64: RawPointerConvertible {}
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/VirtualMemorySubsystem.swift:13:58: error: cannot find type 'loadavg' in scope
11 | extension VirtualMemorySubsystem {
12 |     private enum Definition {
13 |         static var loadavg: SystemControlValueDefinition<loadavg> {
   |                                                          `- error: cannot find type 'loadavg' in scope
14 |             .init(flags: [CTL_VM, VM_LOADAVG])
15 |         }
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/VirtualMemorySubsystem.swift:20:20: error: cannot find type 'loadavg' in scope
18 |
19 | extension VirtualMemorySubsystem {
20 |     var vmloadavg: loadavg? {
   |                    `- error: cannot find type 'loadavg' in scope
21 |         try? systemControl.getSystemValue(Definition.loadavg)
22 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:396310cef4466ceb116ed5462b0b92d4deb353c0dad749b406b7fd226f6db9af
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/35] Compiling PhoneNumberKit CountryCodePickerOptions.swift
[3/35] Compiling PhoneNumberKit CountryCodePickerSectionHeaderView.swift
[4/35] Compiling PhoneNumberKit CountryCodePickerTableViewCell.swift
[5/37] Compiling SystemControl SystemControlError.swift
[6/37] Compiling SystemControl SystemControlValuesProvider.swift
[7/37] Compiling SystemControl SystemControlValueDefinition.swift
[8/37] Compiling SystemControl VirtualMemorySubsystem.swift
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/VirtualMemorySubsystem.swift:13:58: error: cannot find type 'loadavg' in scope
11 | extension VirtualMemorySubsystem {
12 |     private enum Definition {
13 |         static var loadavg: SystemControlValueDefinition<loadavg> {
   |                                                          `- error: cannot find type 'loadavg' in scope
14 |             .init(flags: [CTL_VM, VM_LOADAVG])
15 |         }
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/VirtualMemorySubsystem.swift:20:20: error: cannot find type 'loadavg' in scope
18 |
19 | extension VirtualMemorySubsystem {
20 |     var vmloadavg: loadavg? {
   |                    `- error: cannot find type 'loadavg' in scope
21 |         try? systemControl.getSystemValue(Definition.loadavg)
22 |     }
[9/38] Compiling SystemControl HardwareSubsystem.swift
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:14:27: error: cannot find 'CTL_HW' in scope
12 |     private enum Definition {
13 |         static var hardwareModel: SystemControlValueDefinition<String> {
14 |             .init(flags: [CTL_HW, HW_MODEL])
   |                           `- error: cannot find 'CTL_HW' in scope
15 |         }
16 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:14:35: error: cannot find 'HW_MODEL' in scope
12 |     private enum Definition {
13 |         static var hardwareModel: SystemControlValueDefinition<String> {
14 |             .init(flags: [CTL_HW, HW_MODEL])
   |                                   `- error: cannot find 'HW_MODEL' in scope
15 |         }
16 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:18:27: error: cannot find 'CTL_HW' in scope
16 |
17 |         static var hardwareMachine: SystemControlValueDefinition<String> {
18 |             .init(flags: [CTL_HW, HW_MACHINE])
   |                           `- error: cannot find 'CTL_HW' in scope
19 |         }
20 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:18:35: error: cannot find 'HW_MACHINE' in scope
16 |
17 |         static var hardwareMachine: SystemControlValueDefinition<String> {
18 |             .init(flags: [CTL_HW, HW_MACHINE])
   |                                   `- error: cannot find 'HW_MACHINE' in scope
19 |         }
20 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:22:27: error: cannot find 'CTL_HW' in scope
20 |
21 |         static var memorySize: SystemControlValueDefinition<Int64> {
22 |             .init(flags: [CTL_HW, HW_MEMSIZE])
   |                           `- error: cannot find 'CTL_HW' in scope
23 |         }
24 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:22:35: error: cannot find 'HW_MEMSIZE' in scope
20 |
21 |         static var memorySize: SystemControlValueDefinition<Int64> {
22 |             .init(flags: [CTL_HW, HW_MEMSIZE])
   |                                   `- error: cannot find 'HW_MEMSIZE' in scope
23 |         }
24 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:26:27: error: cannot find 'CTL_HW' in scope
24 |
25 |         static var physicalMemory: SystemControlValueDefinition<Int32> {
26 |             .init(flags: [CTL_HW, HW_PHYSMEM])
   |                           `- error: cannot find 'CTL_HW' in scope
27 |         }
28 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:26:35: error: cannot find 'HW_PHYSMEM' in scope
24 |
25 |         static var physicalMemory: SystemControlValueDefinition<Int32> {
26 |             .init(flags: [CTL_HW, HW_PHYSMEM])
   |                                   `- error: cannot find 'HW_PHYSMEM' in scope
27 |         }
28 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:30:27: error: cannot find 'CTL_HW' in scope
28 |
29 |         static var cpuCount: SystemControlValueDefinition<Int32> {
30 |             .init(flags: [CTL_HW, HW_NCPU])
   |                           `- error: cannot find 'CTL_HW' in scope
31 |         }
32 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:30:35: error: cannot find 'HW_NCPU' in scope
28 |
29 |         static var cpuCount: SystemControlValueDefinition<Int32> {
30 |             .init(flags: [CTL_HW, HW_NCPU])
   |                                   `- error: cannot find 'HW_NCPU' in scope
31 |         }
32 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:34:27: error: cannot find 'CTL_HW' in scope
32 |
33 |         static var cpuFrequency: SystemControlValueDefinition<Int32> {
34 |             .init(flags: [CTL_HW, HW_CPU_FREQ])
   |                           `- error: cannot find 'CTL_HW' in scope
35 |         }
36 |     }
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/HardwareSubsystem.swift:34:35: error: cannot find 'HW_CPU_FREQ' in scope
32 |
33 |         static var cpuFrequency: SystemControlValueDefinition<Int32> {
34 |             .init(flags: [CTL_HW, HW_CPU_FREQ])
   |                                   `- error: cannot find 'HW_CPU_FREQ' in scope
35 |         }
36 |     }
[10/38] Compiling SystemControl RawPointerConvertible.swift
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/RawPointerConvertible.swift:34:11: error: cannot find type 'loadavg' in scope
32 |
33 | extension timeval: RawPointerConvertible {}
34 | extension loadavg: RawPointerConvertible {}
   |           `- error: cannot find type 'loadavg' in scope
35 | extension Int32: RawPointerConvertible {}
36 | extension Int64: RawPointerConvertible {}
[11/38] Compiling SystemControl KernelSubsystem.swift
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:14:27: error: cannot find 'CTL_KERN' in scope
12 |     private enum Definition {
13 |         static var bootTime: SystemControlValueDefinition<timeval> {
14 |             .init(flags: [CTL_KERN, KERN_BOOTTIME])
   |                           `- error: cannot find 'CTL_KERN' in scope
15 |         }
16 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:14:37: error: cannot find 'KERN_BOOTTIME' in scope
12 |     private enum Definition {
13 |         static var bootTime: SystemControlValueDefinition<timeval> {
14 |             .init(flags: [CTL_KERN, KERN_BOOTTIME])
   |                                     `- error: cannot find 'KERN_BOOTTIME' in scope
15 |         }
16 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:18:27: error: cannot find 'CTL_KERN' in scope
16 |
17 |         static var hostname: SystemControlValueDefinition<String> {
18 |             .init(flags: [CTL_KERN, KERN_HOSTNAME])
   |                           `- error: cannot find 'CTL_KERN' in scope
19 |         }
20 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:18:37: error: cannot find 'KERN_HOSTNAME' in scope
16 |
17 |         static var hostname: SystemControlValueDefinition<String> {
18 |             .init(flags: [CTL_KERN, KERN_HOSTNAME])
   |                                     `- error: cannot find 'KERN_HOSTNAME' in scope
19 |         }
20 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:22:27: error: cannot find 'CTL_HW' in scope
20 |
21 |         static var osRelease: SystemControlValueDefinition<String> {
22 |             .init(flags: [CTL_HW, KERN_OSRELEASE])
   |                           `- error: cannot find 'CTL_HW' in scope
23 |         }
24 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:22:35: error: cannot find 'KERN_OSRELEASE' in scope
20 |
21 |         static var osRelease: SystemControlValueDefinition<String> {
22 |             .init(flags: [CTL_HW, KERN_OSRELEASE])
   |                                   `- error: cannot find 'KERN_OSRELEASE' in scope
23 |         }
24 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:26:27: error: cannot find 'CTL_KERN' in scope
24 |
25 |         static var osType: SystemControlValueDefinition<String> {
26 |             .init(flags: [CTL_KERN, KERN_OSTYPE])
   |                           `- error: cannot find 'CTL_KERN' in scope
27 |         }
28 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:26:37: error: cannot find 'KERN_OSTYPE' in scope
24 |
25 |         static var osType: SystemControlValueDefinition<String> {
26 |             .init(flags: [CTL_KERN, KERN_OSTYPE])
   |                                     `- error: cannot find 'KERN_OSTYPE' in scope
27 |         }
28 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:30:27: error: cannot find 'CTL_KERN' in scope
28 |
29 |         static var osVersion: SystemControlValueDefinition<String> {
30 |             .init(flags: [CTL_KERN, KERN_OSVERSION])
   |                           `- error: cannot find 'CTL_KERN' in scope
31 |         }
32 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:30:37: error: cannot find 'KERN_OSVERSION' in scope
28 |
29 |         static var osVersion: SystemControlValueDefinition<String> {
30 |             .init(flags: [CTL_KERN, KERN_OSVERSION])
   |                                     `- error: cannot find 'KERN_OSVERSION' in scope
31 |         }
32 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:34:27: error: cannot find 'CTL_KERN' in scope
32 |
33 |         static var kernelVersion: SystemControlValueDefinition<String> {
34 |             .init(flags: [CTL_KERN, KERN_VERSION])
   |                           `- error: cannot find 'CTL_KERN' in scope
35 |         }
36 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:34:37: error: cannot find 'KERN_VERSION' in scope
32 |
33 |         static var kernelVersion: SystemControlValueDefinition<String> {
34 |             .init(flags: [CTL_KERN, KERN_VERSION])
   |                                     `- error: cannot find 'KERN_VERSION' in scope
35 |         }
36 |
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:38:27: error: cannot find 'CTL_KERN' in scope
36 |
37 |         static var osBuild: SystemControlValueDefinition<Int32> {
38 |             .init(flags: [CTL_KERN, KERN_OSREV])
   |                           `- error: cannot find 'CTL_KERN' in scope
39 |         }
40 |     }
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/KernelSubsystem.swift:38:37: error: cannot find 'KERN_OSREV' in scope
36 |
37 |         static var osBuild: SystemControlValueDefinition<Int32> {
38 |             .init(flags: [CTL_KERN, KERN_OSREV])
   |                                     `- error: cannot find 'KERN_OSREV' in scope
39 |         }
40 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/38] Emitting module SystemControl
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/RawPointerConvertible.swift:34:11: error: cannot find type 'loadavg' in scope
32 |
33 | extension timeval: RawPointerConvertible {}
34 | extension loadavg: RawPointerConvertible {}
   |           `- error: cannot find type 'loadavg' in scope
35 | extension Int32: RawPointerConvertible {}
36 | extension Int64: RawPointerConvertible {}
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/VirtualMemorySubsystem.swift:13:58: error: cannot find type 'loadavg' in scope
11 | extension VirtualMemorySubsystem {
12 |     private enum Definition {
13 |         static var loadavg: SystemControlValueDefinition<loadavg> {
   |                                                          `- error: cannot find type 'loadavg' in scope
14 |             .init(flags: [CTL_VM, VM_LOADAVG])
15 |         }
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/Subsystems/VirtualMemorySubsystem.swift:20:20: error: cannot find type 'loadavg' in scope
18 |
19 | extension VirtualMemorySubsystem {
20 |     var vmloadavg: loadavg? {
   |                    `- error: cannot find type 'loadavg' in scope
21 |         try? systemControl.getSystemValue(Definition.loadavg)
22 |     }
[13/38] Compiling PhoneNumberKit PhoneNumberTextFieldDelegate.swift
[14/38] Compiling PhoneNumberKit resource_bundle_accessor.swift
[15/38] Compiling SystemControl SystemControlValuesRetriever.swift
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:16:21: error: cannot find 'sysctl' in scope
14 |         let flagCount = u_int(sysctlFlags.count)
15 |
16 |         var errno = sysctl(&sysctlFlags, flagCount, nil, &size, nil, 0)
   |                     `- error: cannot find 'sysctl' in scope
17 |         guard errno == ERR_SUCCESS else {
18 |             throw SystemControlError.osError(errno)
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:16:53: error: 'nil' requires a contextual type
14 |         let flagCount = u_int(sysctlFlags.count)
15 |
16 |         var errno = sysctl(&sysctlFlags, flagCount, nil, &size, nil, 0)
   |                                                     `- error: 'nil' requires a contextual type
17 |         guard errno == ERR_SUCCESS else {
18 |             throw SystemControlError.osError(errno)
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:16:65: error: 'nil' requires a contextual type
14 |         let flagCount = u_int(sysctlFlags.count)
15 |
16 |         var errno = sysctl(&sysctlFlags, flagCount, nil, &size, nil, 0)
   |                                                                 `- error: 'nil' requires a contextual type
17 |         guard errno == ERR_SUCCESS else {
18 |             throw SystemControlError.osError(errno)
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:17:24: error: cannot find 'ERR_SUCCESS' in scope
15 |
16 |         var errno = sysctl(&sysctlFlags, flagCount, nil, &size, nil, 0)
17 |         guard errno == ERR_SUCCESS else {
   |                        `- error: cannot find 'ERR_SUCCESS' in scope
18 |             throw SystemControlError.osError(errno)
19 |         }
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:24:21: error: cannot find 'sysctl' in scope
22 |
23 |         return try T.ValueType.withRawMemory(of: size) { mem in
24 |             errno = sysctl(
   |                     `- error: cannot find 'sysctl' in scope
25 |                 &sysctlFlags,
26 |                 flagCount,
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:33:28: error: cannot find 'ERR_SUCCESS' in scope
31 |             )
32 |
33 |             guard errno == ERR_SUCCESS else {
   |                            `- error: cannot find 'ERR_SUCCESS' in scope
34 |                 throw SystemControlError.osError(errno)
35 |             }
/host/spi-builder-workspace/.build/checkouts/fingerprintjs-ios/Sources/SystemControl/SystemControlValuesRetriever.swift:29:17: error: 'nil' requires a contextual type
27 |                 mem,
28 |                 &size,
29 |                 nil,
   |                 `- error: 'nil' requires a contextual type
30 |                 0
31 |             )
BUILD FAILURE 6.1 android