Build Information
Failed to build Risk, reference main (bdb377), with Swift 6.1 for Android on 30 Sep 2026 01:03:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/checkout/checkout-risk-sdk-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/checkout-risk-sdk-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bdb377e Update runs on (#50)
Cloned https://github.com/checkout/checkout-risk-sdk-ios.git
Revision (git rev-parse @):
bdb377e604972cdbb2238c1b3c6e2331dabf48d0
SUCCESS checkout https://github.com/checkout/checkout-risk-sdk-ios.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/checkout/checkout-risk-sdk-ios.git
https://github.com/checkout/checkout-risk-sdk-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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: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:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/fingerprintjs/fingerprintjs-pro-ios
Fetching https://github.com/fingerprintjs/fingerprintjs-ios
Fetching https://github.com/checkout/checkout-event-logger-ios-framework.git
[1/1099] Fetching fingerprintjs-pro-ios
[1100/1535] Fetching fingerprintjs-pro-ios, checkout-event-logger-ios-framework
[1305/3594] Fetching fingerprintjs-pro-ios, checkout-event-logger-ios-framework, fingerprintjs-ios
Fetched https://github.com/fingerprintjs/fingerprintjs-pro-ios from cache (1.21s)
Fetched https://github.com/fingerprintjs/fingerprintjs-ios from cache (1.22s)
Fetched https://github.com/checkout/checkout-event-logger-ios-framework.git from cache (1.22s)
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.46s)
Computing version for https://github.com/fingerprintjs/fingerprintjs-ios
Computed https://github.com/fingerprintjs/fingerprintjs-ios at 1.7.0 (0.24s)
Computing version for https://github.com/fingerprintjs/fingerprintjs-pro-ios
Computed https://github.com/fingerprintjs/fingerprintjs-pro-ios at 2.17.2 (0.20s)
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
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.04s)
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/17] Compiling SystemControl SystemControlError.swift
[6/18] Compiling SystemControl SystemControlValuesProvider.swift
[7/18] Compiling SystemControl SystemControlValueDefinition.swift
[8/18] 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 | )
[9/18] 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 | }
[10/18] 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)
[11/18] 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 | }
[12/18] 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 {}
[13/18] 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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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: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:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
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/14] 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 | }
[3/15] Compiling SystemControl SystemControlValueDefinition.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/15] 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 | }
[5/15] 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 | }
[6/15] 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 {}
[7/15] Compiling SystemControl SystemControlValuesProvider.swift
[8/15] Compiling SystemControl SystemControlError.swift
[9/15] 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 | }
[10/15] 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