Build Information
Failed to build Footprint, reference v2.0.1 (d58d34), with Swift 6.2 for Android on 25 Jun 2026 08:02:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4071e0796c748d991a0123890d2f0ecadc8fcc8c
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/naftaly/Footprint.git
Reference: v2.0.1
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/naftaly/Footprint
* tag v2.0.1 -> FETCH_HEAD
HEAD is now at d58d34f Track system memory headroom with a baseline-shifted state ladder (#10)
Cloned https://github.com/naftaly/Footprint.git
Revision (git rev-parse @):
d58d34f6a867edb29f3e44abe9d205fab95b166f
SUCCESS checkout https://github.com/naftaly/Footprint.git at v2.0.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/naftaly/Footprint.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a30e3bfdcec38518f1e133b47d2d7fca472c20d828ebf94d6baf9d8167791ad0
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--11D90AFD9DD3AB2.txt
[3/8] Compiling Footprint View+Footprint.swift
[4/8] Compiling Footprint MemoryProvider.swift
[5/8] Compiling Footprint Memory.swift
/host/spi-builder-workspace/Sources/Footprint/Memory.swift:188:41: error: cannot find 'clock_gettime_nsec_np' in scope
186 |
187 | timestamp = {
188 | let timeInNanoseconds = clock_gettime_nsec_np(CLOCK_UPTIME_RAW)
| `- error: cannot find 'clock_gettime_nsec_np' in scope
189 | return timeInNanoseconds / NSEC_PER_MSEC
190 | }()
/host/spi-builder-workspace/Sources/Footprint/Memory.swift:188:63: error: cannot find 'CLOCK_UPTIME_RAW' in scope
186 |
187 | timestamp = {
188 | let timeInNanoseconds = clock_gettime_nsec_np(CLOCK_UPTIME_RAW)
| `- error: cannot find 'CLOCK_UPTIME_RAW' in scope
189 | return timeInNanoseconds / NSEC_PER_MSEC
190 | }()
/host/spi-builder-workspace/Sources/Footprint/Memory.swift:189:44: error: cannot find 'NSEC_PER_MSEC' in scope
187 | timestamp = {
188 | let timeInNanoseconds = clock_gettime_nsec_np(CLOCK_UPTIME_RAW)
189 | return timeInNanoseconds / NSEC_PER_MSEC
| `- error: cannot find 'NSEC_PER_MSEC' in scope
190 | }()
191 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module Footprint
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:77:54: error: cannot find type 'vm_statistics64_data_t' in scope
75 | /// requires compression or swap, which is what we want headroom
76 | /// transitions to warn us *before*.
77 | static func availableSystemBytes(from stats: vm_statistics64_data_t, pageSize: UInt64) -> Int64 {
| `- error: cannot find type 'vm_statistics64_data_t' in scope
78 | let speculative = UInt64(stats.speculative_count)
79 | let freeCount = UInt64(stats.free_count)
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:91:38: error: cannot find type 'host_t' in scope
89 | // mach_port_deallocate would invalidate the cached value for
90 | // anything else holding it.
91 | private static let hostPort: host_t = mach_host_self()
| `- error: cannot find type 'host_t' in scope
92 | private static let pageSize: UInt64 = UInt64(getpagesize())
93 | private static let systemLimit: Int64 = Int64(ProcessInfo.processInfo.physicalMemory)
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:92:54: error: cannot find 'getpagesize' in scope
90 | // anything else holding it.
91 | private static let hostPort: host_t = mach_host_self()
92 | private static let pageSize: UInt64 = UInt64(getpagesize())
| `- error: cannot find 'getpagesize' in scope
93 | private static let systemLimit: Int64 = Int64(ProcessInfo.processInfo.physicalMemory)
94 |
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:95:46: error: cannot find 'mach_msg_type_number_t' in scope
93 | private static let systemLimit: Int64 = Int64(ProcessInfo.processInfo.physicalMemory)
94 |
95 | private static let taskVMInfoCount = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<UInt32>.size)
| `- error: cannot find 'mach_msg_type_number_t' in scope
96 | private static let hostVMInfo64Count = mach_msg_type_number_t(MemoryLayout<vm_statistics64_data_t>.size / MemoryLayout<UInt32>.size)
97 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:95:82: error: cannot find type 'task_vm_info_data_t' in scope
93 | private static let systemLimit: Int64 = Int64(ProcessInfo.processInfo.physicalMemory)
94 |
95 | private static let taskVMInfoCount = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<UInt32>.size)
| `- error: cannot find type 'task_vm_info_data_t' in scope
96 | private static let hostVMInfo64Count = mach_msg_type_number_t(MemoryLayout<vm_statistics64_data_t>.size / MemoryLayout<UInt32>.size)
97 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:96:48: error: cannot find 'mach_msg_type_number_t' in scope
94 |
95 | private static let taskVMInfoCount = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<UInt32>.size)
96 | private static let hostVMInfo64Count = mach_msg_type_number_t(MemoryLayout<vm_statistics64_data_t>.size / MemoryLayout<UInt32>.size)
| `- error: cannot find 'mach_msg_type_number_t' in scope
97 | }
98 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:96:84: error: cannot find type 'vm_statistics64_data_t' in scope
94 |
95 | private static let taskVMInfoCount = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<UInt32>.size)
96 | private static let hostVMInfo64Count = mach_msg_type_number_t(MemoryLayout<vm_statistics64_data_t>.size / MemoryLayout<UInt32>.size)
| `- error: cannot find type 'vm_statistics64_data_t' in scope
97 | }
98 | }
/host/spi-builder-workspace/Sources/Footprint/Footprint.swift:79:44: error: cannot find type 'DispatchSourceMemoryPressure' in scope
77 | fileprivate let _heartbeatInterval = 500 // milliseconds
78 | fileprivate let _provider: MemoryProvider
79 | fileprivate let _memoryPressureSource: DispatchSourceMemoryPressure
| `- error: cannot find type 'DispatchSourceMemoryPressure' in scope
80 | fileprivate let _observerNotificationSource: DispatchSourceUserDataAdd
81 |
[7/8] Compiling Footprint DefaultMemoryProvider.swift
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:77:54: error: cannot find type 'vm_statistics64_data_t' in scope
75 | /// requires compression or swap, which is what we want headroom
76 | /// transitions to warn us *before*.
77 | static func availableSystemBytes(from stats: vm_statistics64_data_t, pageSize: UInt64) -> Int64 {
| `- error: cannot find type 'vm_statistics64_data_t' in scope
78 | let speculative = UInt64(stats.speculative_count)
79 | let freeCount = UInt64(stats.free_count)
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:91:38: error: cannot find type 'host_t' in scope
89 | // mach_port_deallocate would invalidate the cached value for
90 | // anything else holding it.
91 | private static let hostPort: host_t = mach_host_self()
| `- error: cannot find type 'host_t' in scope
92 | private static let pageSize: UInt64 = UInt64(getpagesize())
93 | private static let systemLimit: Int64 = Int64(ProcessInfo.processInfo.physicalMemory)
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:92:54: error: cannot find 'getpagesize' in scope
90 | // anything else holding it.
91 | private static let hostPort: host_t = mach_host_self()
92 | private static let pageSize: UInt64 = UInt64(getpagesize())
| `- error: cannot find 'getpagesize' in scope
93 | private static let systemLimit: Int64 = Int64(ProcessInfo.processInfo.physicalMemory)
94 |
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:95:46: error: cannot find 'mach_msg_type_number_t' in scope
93 | private static let systemLimit: Int64 = Int64(ProcessInfo.processInfo.physicalMemory)
94 |
95 | private static let taskVMInfoCount = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<UInt32>.size)
| `- error: cannot find 'mach_msg_type_number_t' in scope
96 | private static let hostVMInfo64Count = mach_msg_type_number_t(MemoryLayout<vm_statistics64_data_t>.size / MemoryLayout<UInt32>.size)
97 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:95:82: error: cannot find type 'task_vm_info_data_t' in scope
93 | private static let systemLimit: Int64 = Int64(ProcessInfo.processInfo.physicalMemory)
94 |
95 | private static let taskVMInfoCount = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<UInt32>.size)
| `- error: cannot find type 'task_vm_info_data_t' in scope
96 | private static let hostVMInfo64Count = mach_msg_type_number_t(MemoryLayout<vm_statistics64_data_t>.size / MemoryLayout<UInt32>.size)
97 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:96:48: error: cannot find 'mach_msg_type_number_t' in scope
94 |
95 | private static let taskVMInfoCount = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<UInt32>.size)
96 | private static let hostVMInfo64Count = mach_msg_type_number_t(MemoryLayout<vm_statistics64_data_t>.size / MemoryLayout<UInt32>.size)
| `- error: cannot find 'mach_msg_type_number_t' in scope
97 | }
98 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:96:84: error: cannot find type 'vm_statistics64_data_t' in scope
94 |
95 | private static let taskVMInfoCount = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<UInt32>.size)
96 | private static let hostVMInfo64Count = mach_msg_type_number_t(MemoryLayout<vm_statistics64_data_t>.size / MemoryLayout<UInt32>.size)
| `- error: cannot find type 'vm_statistics64_data_t' in scope
97 | }
98 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:14:24: error: cannot find 'task_vm_info_data_t' in scope
12 | class DefaultMemoryProvider: MemoryProvider {
13 | func provide(_ pressure: Footprint.Memory.State = .normal) -> Footprint.Memory {
14 | var info = task_vm_info_data_t()
| `- error: cannot find 'task_vm_info_data_t' in scope
15 | var infoCount = Self.taskVMInfoCount
16 |
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:18:42: error: cannot find 'integer_t' in scope
16 |
17 | let kerr = withUnsafeMutablePointer(to: &info) {
18 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(infoCount)) {
| `- error: cannot find 'integer_t' in scope
19 | task_info(mach_task_self_, thread_flavor_t(TASK_VM_INFO), $0, &infoCount)
20 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:19:21: error: cannot find 'task_info' in scope
17 | let kerr = withUnsafeMutablePointer(to: &info) {
18 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(infoCount)) {
19 | task_info(mach_task_self_, thread_flavor_t(TASK_VM_INFO), $0, &infoCount)
| `- error: cannot find 'task_info' in scope
20 | }
21 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:19:31: error: cannot find 'mach_task_self_' in scope
17 | let kerr = withUnsafeMutablePointer(to: &info) {
18 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(infoCount)) {
19 | task_info(mach_task_self_, thread_flavor_t(TASK_VM_INFO), $0, &infoCount)
| `- error: cannot find 'mach_task_self_' in scope
20 | }
21 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:19:48: error: cannot find 'thread_flavor_t' in scope
17 | let kerr = withUnsafeMutablePointer(to: &info) {
18 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(infoCount)) {
19 | task_info(mach_task_self_, thread_flavor_t(TASK_VM_INFO), $0, &infoCount)
| `- error: cannot find 'thread_flavor_t' in scope
20 | }
21 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:19:64: error: cannot find 'TASK_VM_INFO' in scope
17 | let kerr = withUnsafeMutablePointer(to: &info) {
18 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(infoCount)) {
19 | task_info(mach_task_self_, thread_flavor_t(TASK_VM_INFO), $0, &infoCount)
| `- error: cannot find 'TASK_VM_INFO' in scope
20 | }
21 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:18:20: error: generic parameter 'T' could not be inferred
16 |
17 | let kerr = withUnsafeMutablePointer(to: &info) {
18 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(infoCount)) {
| `- error: generic parameter 'T' could not be inferred
19 | task_info(mach_task_self_, thread_flavor_t(TASK_VM_INFO), $0, &infoCount)
20 | }
Swift.UnsafeMutablePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafeMutablePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafeMutablePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
| `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:22:39: error: cannot find 'KERN_SUCCESS' in scope
20 | }
21 | }
22 | let used: Int64 = kerr == KERN_SUCCESS ? Int64(info.phys_footprint) : 0
| `- error: cannot find 'KERN_SUCCESS' in scope
23 | let compressed: Int64 = kerr == KERN_SUCCESS ? Int64(info.compressed) : 0
24 | #if targetEnvironment(simulator)
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:23:45: error: cannot find 'KERN_SUCCESS' in scope
21 | }
22 | let used: Int64 = kerr == KERN_SUCCESS ? Int64(info.phys_footprint) : 0
23 | let compressed: Int64 = kerr == KERN_SUCCESS ? Int64(info.compressed) : 0
| `- error: cannot find 'KERN_SUCCESS' in scope
24 | #if targetEnvironment(simulator)
25 | // In the simulator `limit_bytes_remaining` returns -1
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:32:48: error: cannot find 'KERN_SUCCESS' in scope
30 | let remaining: Int64 = max(limit - used, 0)
31 | #else
32 | let remaining: Int64 = kerr == KERN_SUCCESS ? Int64(info.limit_bytes_remaining) : 0
| `- error: cannot find 'KERN_SUCCESS' in scope
33 | #endif
34 |
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:35:27: error: cannot find 'vm_statistics64_data_t' in scope
33 | #endif
34 |
35 | var vmStats = vm_statistics64_data_t()
| `- error: cannot find 'vm_statistics64_data_t' in scope
36 | var vmInfoCount = Self.hostVMInfo64Count
37 | let vmKerr = withUnsafeMutablePointer(to: &vmStats) {
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:38:42: error: cannot find 'integer_t' in scope
36 | var vmInfoCount = Self.hostVMInfo64Count
37 | let vmKerr = withUnsafeMutablePointer(to: &vmStats) {
38 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(vmInfoCount)) {
| `- error: cannot find 'integer_t' in scope
39 | host_statistics64(Self.hostPort, HOST_VM_INFO64, $0, &vmInfoCount)
40 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:39:21: error: cannot find 'host_statistics64' in scope
37 | let vmKerr = withUnsafeMutablePointer(to: &vmStats) {
38 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(vmInfoCount)) {
39 | host_statistics64(Self.hostPort, HOST_VM_INFO64, $0, &vmInfoCount)
| `- error: cannot find 'host_statistics64' in scope
40 | }
41 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:39:54: error: cannot find 'HOST_VM_INFO64' in scope
37 | let vmKerr = withUnsafeMutablePointer(to: &vmStats) {
38 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(vmInfoCount)) {
39 | host_statistics64(Self.hostPort, HOST_VM_INFO64, $0, &vmInfoCount)
| `- error: cannot find 'HOST_VM_INFO64' in scope
40 | }
41 | }
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:38:20: error: generic parameter 'T' could not be inferred
36 | var vmInfoCount = Self.hostVMInfo64Count
37 | let vmKerr = withUnsafeMutablePointer(to: &vmStats) {
38 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(vmInfoCount)) {
| `- error: generic parameter 'T' could not be inferred
39 | host_statistics64(Self.hostPort, HOST_VM_INFO64, $0, &vmInfoCount)
40 | }
Swift.UnsafeMutablePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafeMutablePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafeMutablePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
| `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:42:52: error: cannot find 'KERN_SUCCESS' in scope
40 | }
41 | }
42 | let systemRemaining: Int64 = vmKerr == KERN_SUCCESS
| `- error: cannot find 'KERN_SUCCESS' in scope
43 | ? Self.availableSystemBytes(from: vmStats, pageSize: Self.pageSize)
44 | : 0
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:80:60: error: result values in '? :' expression have mismatching types 'Duration' and 'Int'
78 | let speculative = UInt64(stats.speculative_count)
79 | let freeCount = UInt64(stats.free_count)
80 | let free = freeCount > speculative ? freeCount - speculative : 0
| `- error: result values in '? :' expression have mismatching types 'Duration' and 'Int'
81 | let cached = UInt64(stats.purgeable_count) + UInt64(stats.external_page_count)
82 | return Int64((free + cached) * pageSize)
/host/spi-builder-workspace/Sources/Footprint/DefaultMemoryProvider.swift:82:32: error: cannot convert value of type 'String' to expected argument type 'UInt64'
80 | let free = freeCount > speculative ? freeCount - speculative : 0
81 | let cached = UInt64(stats.purgeable_count) + UInt64(stats.external_page_count)
82 | return Int64((free + cached) * pageSize)
| `- error: cannot convert value of type 'String' to expected argument type 'UInt64'
83 | }
84 |
[8/8] Compiling Footprint Footprint.swift
/host/spi-builder-workspace/Sources/Footprint/Footprint.swift:79:44: error: cannot find type 'DispatchSourceMemoryPressure' in scope
77 | fileprivate let _heartbeatInterval = 500 // milliseconds
78 | fileprivate let _provider: MemoryProvider
79 | fileprivate let _memoryPressureSource: DispatchSourceMemoryPressure
| `- error: cannot find type 'DispatchSourceMemoryPressure' in scope
80 | fileprivate let _observerNotificationSource: DispatchSourceUserDataAdd
81 |
/host/spi-builder-workspace/Sources/Footprint/Footprint.swift:42:48: error: type 'DispatchSource' has no member 'makeMemoryPressureSource'
40 |
41 | _timerSource = DispatchSource.makeTimerSource(queue: _queue)
42 | _memoryPressureSource = DispatchSource.makeMemoryPressureSource(eventMask: [.all], queue: _queue)
| `- error: type 'DispatchSource' has no member 'makeMemoryPressureSource'
43 | _observerNotificationSource = DispatchSource.makeUserDataAddSource(queue: _queue)
44 |
/host/spi-builder-workspace/Sources/Footprint/Footprint.swift:42:86: error: reference to member 'all' cannot be resolved without a contextual type
40 |
41 | _timerSource = DispatchSource.makeTimerSource(queue: _queue)
42 | _memoryPressureSource = DispatchSource.makeMemoryPressureSource(eventMask: [.all], queue: _queue)
| `- error: reference to member 'all' cannot be resolved without a contextual type
43 | _observerNotificationSource = DispatchSource.makeUserDataAddSource(queue: _queue)
44 |
/host/spi-builder-workspace/Sources/Footprint/Footprint.swift:212:49: error: cannot infer contextual base in reference to member 'critical'
210 |
211 | func currentPressureFromSource() -> Memory.State {
212 | if _memoryPressureSource.data.contains(.critical) {
| `- error: cannot infer contextual base in reference to member 'critical'
213 | return .critical
214 | } else if _memoryPressureSource.data.contains(.warning) {
/host/spi-builder-workspace/Sources/Footprint/Footprint.swift:214:56: error: cannot infer contextual base in reference to member 'warning'
212 | if _memoryPressureSource.data.contains(.critical) {
213 | return .critical
214 | } else if _memoryPressureSource.data.contains(.warning) {
| `- error: cannot infer contextual base in reference to member 'warning'
215 | return .warning
216 | }
BUILD FAILURE 6.2 android