Build Information
Failed to build swift-influxdb-telemetry, reference main (9639bc
), with Swift 6.1 for Android on 13 Aug 2025 04:38:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/swift-influxdb-telemetry.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/dankinsoid/swift-influxdb-telemetry
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9639bcd writer
Cloned https://github.com/dankinsoid/swift-influxdb-telemetry.git
Revision (git rev-parse @):
9639bcd93a0ee8d5bf82c4794191b712c72055c1
SUCCESS checkout https://github.com/dankinsoid/swift-influxdb-telemetry.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/dankinsoid/swift-influxdb-telemetry.git
https://github.com/dankinsoid/swift-influxdb-telemetry.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "influxdb-client-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/influxdata/influxdb-client-swift.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "2.4.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-analytics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dankinsoid/swift-analytics.git"
},
{
"identity" : "swift-distributed-tracing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-distributed-tracing.git"
}
],
"manifest_display_name" : "swift-influxdb-telemetry",
"name" : "swift-influxdb-telemetry",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "InfluxDBLogs",
"targets" : [
"InfluxDBLogs"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InfluxDBMetrics",
"targets" : [
"InfluxDBMetrics"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InfluxDBAnalytics",
"targets" : [
"InfluxDBAnalytics"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InfluxDBTracing",
"targets" : [
"InfluxDBTracing"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftInfluxDBCore",
"module_type" : "SwiftTarget",
"name" : "SwiftInfluxDBCore",
"path" : "Sources/SwiftInfluxDBCore",
"product_dependencies" : [
"InfluxDBSwift",
"Logging"
],
"product_memberships" : [
"InfluxDBLogs",
"InfluxDBMetrics",
"InfluxDBAnalytics",
"InfluxDBTracing"
],
"sources" : [
"InfluxDBPointsWriter.swift",
"IntervalType.swift",
"LabelsSet.swift",
"NIOLock.swift",
"NIOLockedValueBox.swift",
"SwiftInfluxAPI.swift"
],
"type" : "library"
},
{
"c99name" : "InfluxDBTracing",
"module_type" : "SwiftTarget",
"name" : "InfluxDBTracing",
"path" : "Sources/InfluxDBTracing",
"product_dependencies" : [
"Tracing",
"Instrumentation"
],
"product_memberships" : [
"InfluxDBTracing"
],
"sources" : [
"InfluxDBTracing.swift"
],
"target_dependencies" : [
"SwiftInfluxDBCore"
],
"type" : "library"
},
{
"c99name" : "InfluxDBMetrics",
"module_type" : "SwiftTarget",
"name" : "InfluxDBMetrics",
"path" : "Sources/InfluxDBMetrics",
"product_dependencies" : [
"Metrics",
"Atomics"
],
"product_memberships" : [
"InfluxDBMetrics"
],
"sources" : [
"Counter.swift",
"FloatingCounter.swift",
"HandlerID.swift",
"InfluxMetric.swift",
"InfluxMetricHandler.swift",
"MetricIdentifyingPolicy.swift",
"Recorder.swift",
"SwiftInfluxDBMetrics.swift",
"Timer.swift"
],
"target_dependencies" : [
"SwiftInfluxDBCore"
],
"type" : "library"
},
{
"c99name" : "InfluxDBLogs",
"module_type" : "SwiftTarget",
"name" : "InfluxDBLogs",
"path" : "Sources/InfluxDBLogs",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"InfluxDBLogs"
],
"sources" : [
"SwiftInfluxDBLogs.swift"
],
"target_dependencies" : [
"SwiftInfluxDBCore"
],
"type" : "library"
},
{
"c99name" : "InfluxDBAnalytics",
"module_type" : "SwiftTarget",
"name" : "InfluxDBAnalytics",
"path" : "Sources/InfluxDBAnalytics",
"product_dependencies" : [
"SwiftAnalytics"
],
"product_memberships" : [
"InfluxDBAnalytics"
],
"sources" : [
"SwiftInfluxDBAnalytics.swift"
],
"target_dependencies" : [
"SwiftInfluxDBCore"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/dankinsoid/swift-analytics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/influxdata/influxdb-client-swift.git
[1/5116] Fetching swift-distributed-tracing
[257/5365] Fetching swift-distributed-tracing, swift-analytics
[1785/7173] Fetching swift-distributed-tracing, swift-analytics, swift-atomics
[2819/11004] Fetching swift-distributed-tracing, swift-analytics, swift-atomics, influxdb-client-swift
[4237/14890] Fetching swift-distributed-tracing, swift-analytics, swift-atomics, influxdb-client-swift, swift-log
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/dankinsoid/swift-analytics.git from cache (0.54s)
[4206/14641] Fetching swift-distributed-tracing, swift-atomics, influxdb-client-swift, swift-log
[14528/16860] Fetching swift-distributed-tracing, swift-atomics, influxdb-client-swift, swift-log, swift-metrics
Fetched https://github.com/apple/swift-log.git from cache (1.26s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.81s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.40s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.39s)
Fetched https://github.com/influxdata/influxdb-client-swift.git from cache (1.39s)
Computing version for https://github.com/influxdata/influxdb-client-swift.git
Computed https://github.com/influxdata/influxdb-client-swift.git at 1.7.0 (5.54s)
Fetching https://github.com/yaslab/CSV.swift
Fetching https://github.com/1024jp/GzipSwift
[1/1833] Fetching csv.swift
[496/3390] Fetching csv.swift, gzipswift
Fetched https://github.com/1024jp/GzipSwift from cache (0.50s)
Fetched https://github.com/yaslab/CSV.swift from cache (0.50s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.48s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (1.05s)
Computing version for https://github.com/yaslab/CSV.swift
Computed https://github.com/yaslab/CSV.swift at 2.5.2 (1.04s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (1.13s)
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.42s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.40s)
Computing version for https://github.com/dankinsoid/swift-analytics.git
Computed https://github.com/dankinsoid/swift-analytics.git at 1.10.1 (2.01s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.73s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.14s)
Creating working copy for https://github.com/yaslab/CSV.swift
Working copy of https://github.com/yaslab/CSV.swift resolved at 2.5.2
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.1
Creating working copy for https://github.com/dankinsoid/swift-analytics.git
Working copy of https://github.com/dankinsoid/swift-analytics.git resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/influxdata/influxdb-client-swift.git
Working copy of https://github.com/influxdata/influxdb-client-swift.git resolved at 1.7.0
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 5.2.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Building for debugging...
[0/19] Write sources
[16/19] Compiling system-zlib anchor.c
[17/19] Compiling _AtomicsShims.c
[18/19] Write swift-version-24593BA9C3E375BF.txt
[20/71] Compiling ServiceContextModule ServiceContextKey.swift
[21/71] Compiling Logging LogHandler.swift
[22/71] Emitting module ServiceContextModule
[23/71] Compiling ServiceContextModule ServiceContext.swift
[24/72] Compiling SwiftAnalytics ParametersValue+JSONString.swift
[25/72] Compiling Atomics AtomicValue.swift
[26/74] Compiling SwiftAnalytics MultiplexAnalyticsHandler.swift
[27/74] Compiling SwiftAnalytics NOOPAnalyticsHandler.swift
[28/74] Compiling SwiftAnalytics ParametersProvider.swift
[29/74] Compiling Atomics AtomicMemoryOrderings.swift
[30/74] Compiling Atomics DoubleWord.swift
[31/74] Compiling Atomics ManagedAtomic.swift
[32/74] Compiling Atomics ManagedAtomicLazyReference.swift
[33/74] Compiling Atomics UnsafeAtomic.swift
[34/74] Compiling Atomics UnsafeAtomicLazyReference.swift
[35/74] Compiling CoreMetrics Metrics.swift
[37/74] Emitting module Atomics
[38/74] Compiling CSV Endian.swift
[39/75] Compiling CSV CSVError.swift
[40/75] Compiling SwiftAnalytics AnyCodingKey.swift
[41/75] Compiling SwiftAnalytics Locks.swift
[42/75] Compiling SwiftAnalytics MockAnalyticsHandler.swift
[43/75] Compiling SwiftAnalytics Analytics.swift
[44/75] Compiling SwiftAnalytics AnalyticsHandler.swift
[45/75] Compiling SwiftAnalytics AnalyticsSystem.swift
[46/75] Compiling CSV Legacy.swift
[47/81] Compiling CSV UnicodeIterator.swift
[48/81] Compiling Atomics IntegerOperations.swift
[49/81] Compiling Atomics Unmanaged extensions.swift
[50/82] Compiling Instrumentation Instrument.swift
[51/82] Emitting module Instrumentation
[52/82] Compiling Instrumentation NoOpInstrument.swift
[54/82] Compiling Instrumentation MultiplexInstrument.swift
[55/82] Compiling CoreMetrics Locks.swift
[56/82] Emitting module CoreMetrics
[57/83] Emitting module Logging
[58/83] Compiling Logging Locks.swift
[59/83] Compiling Logging MetadataProvider.swift
[60/83] Compiling Instrumentation InstrumentationSystem.swift
[61/83] Compiling Instrumentation Locks.swift
[62/84] Compiling Logging Logging.swift
[66/95] Compiling Gzip Data+Gzip.swift
[67/95] Emitting module Gzip
[68/96] Compiling CSV CSVWriter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/96] Emitting module SwiftAnalytics
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:56:46: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:159:47: error: cannot find type 'pthread_rwlock_t' in scope
157 | fileprivate var shared = true
158 | #else
159 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
160 | UnsafeMutablePointer.allocate(capacity: 1)
161 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersProvider.swift:12:8: error: Unsupported runtime
10 | import WASILibc
11 | #else
12 | #error("Unsupported runtime")
| `- error: Unsupported runtime
13 | #endif
14 |
[70/96] Emitting module CSV
[71/96] Compiling CSV BinaryReader.swift
[72/97] Compiling SwiftAnalytics ParametersValueEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersValueEncoder.swift:477:29: error: pattern variable binding cannot appear in an expression
475 | }
476 |
477 | case let .formatted(formatter):
| `- error: pattern variable binding cannot appear in an expression
478 | return .string(formatter.string(from: date))
479 |
[75/97] Compiling Tracing InstrumentationSystem+Tracing.swift
[76/97] Compiling CSV CSVRowDecoder.swift
[77/97] Compiling CSV CSVReader.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:159:47: error: cannot find type 'pthread_rwlock_t' in scope
157 | fileprivate var shared = true
158 | #else
159 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
160 | UnsafeMutablePointer.allocate(capacity: 1)
161 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:159:47: error: cannot find type 'pthread_rwlock_t' in scope
157 | fileprivate var shared = true
158 | #else
159 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
160 | UnsafeMutablePointer.allocate(capacity: 1)
161 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:56:46: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:159:47: error: cannot find type 'pthread_rwlock_t' in scope
157 | fileprivate var shared = true
158 | #else
159 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
160 | UnsafeMutablePointer.allocate(capacity: 1)
161 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:67:14: error: cannot find 'pthread_mutexattr_t' in scope
65 | InitializeSRWLock(mutex)
66 | #else
67 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:68:3: error: cannot find 'pthread_mutexattr_init' in scope
66 | #else
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
70 |
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:69:3: error: cannot find 'pthread_mutexattr_settype' in scope
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:69:42: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:69:37: error: cannot infer contextual base in reference to member 'init'
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:71:13: error: cannot find 'pthread_mutex_init' in scope
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
72 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
73 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:83:13: error: cannot find 'pthread_mutex_destroy' in scope
81 | self.mutex.deallocate()
82 | #else
83 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
84 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
85 | self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:99:13: error: cannot find 'pthread_mutex_lock' in scope
97 | AcquireSRWLockExclusive(mutex)
98 | #else
99 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
100 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
101 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:114:13: error: cannot find 'pthread_mutex_unlock' in scope
112 | ReleaseSRWLockExclusive(mutex)
113 | #else
114 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
116 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:170:13: error: cannot find 'pthread_rwlock_init' in scope
168 | InitializeSRWLock(rwlock)
169 | #else
170 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
171 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
172 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:170:41: error: 'nil' requires a contextual type
168 | InitializeSRWLock(rwlock)
169 | #else
170 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
171 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
172 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:182:13: error: cannot find 'pthread_rwlock_destroy' in scope
180 | self.rwlock.deallocate()
181 | #else
182 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
183 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
184 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:199:13: error: cannot find 'pthread_rwlock_rdlock' in scope
197 | shared = true
198 | #else
199 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
200 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
201 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:215:13: error: cannot find 'pthread_rwlock_wrlock' in scope
213 | shared = false
214 | #else
215 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
216 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
217 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:235:13: error: cannot find 'pthread_rwlock_unlock' in scope
233 | }
234 | #else
235 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
236 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
237 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:56:46: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:159:47: error: cannot find type 'pthread_rwlock_t' in scope
157 | fileprivate var shared = true
158 | #else
159 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
160 | UnsafeMutablePointer.allocate(capacity: 1)
161 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:67:14: error: cannot find 'pthread_mutexattr_t' in scope
65 | InitializeSRWLock(mutex)
66 | #else
67 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:68:3: error: cannot find 'pthread_mutexattr_init' in scope
66 | #else
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
70 |
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:69:3: error: cannot find 'pthread_mutexattr_settype' in scope
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:69:42: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:69:37: error: cannot infer contextual base in reference to member 'init'
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:71:13: error: cannot find 'pthread_mutex_init' in scope
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
72 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
73 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:83:13: error: cannot find 'pthread_mutex_destroy' in scope
81 | self.mutex.deallocate()
82 | #else
83 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
84 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
85 | self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:99:13: error: cannot find 'pthread_mutex_lock' in scope
97 | AcquireSRWLockExclusive(mutex)
98 | #else
99 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
100 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
101 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:114:13: error: cannot find 'pthread_mutex_unlock' in scope
112 | ReleaseSRWLockExclusive(mutex)
113 | #else
114 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
116 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:170:13: error: cannot find 'pthread_rwlock_init' in scope
168 | InitializeSRWLock(rwlock)
169 | #else
170 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
171 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
172 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:170:41: error: 'nil' requires a contextual type
168 | InitializeSRWLock(rwlock)
169 | #else
170 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
171 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
172 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:182:13: error: cannot find 'pthread_rwlock_destroy' in scope
180 | self.rwlock.deallocate()
181 | #else
182 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
183 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
184 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:199:13: error: cannot find 'pthread_rwlock_rdlock' in scope
197 | shared = true
198 | #else
199 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
200 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
201 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:215:13: error: cannot find 'pthread_rwlock_wrlock' in scope
213 | shared = false
214 | #else
215 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
216 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
217 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:235:13: error: cannot find 'pthread_rwlock_unlock' in scope
233 | }
234 | #else
235 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
236 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
237 | #endif
[84/98] Compiling Metrics Metrics.swift
[85/98] Emitting module Metrics
[87/99] Compiling SwiftAnalytics ParametersValueDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersValueDecoder.swift:716:29: error: pattern variable binding cannot appear in an expression
714 | }
715 |
716 | case let .formatted(formatter):
| `- error: pattern variable binding cannot appear in an expression
717 | guard case let .string(string) = value else {
718 | throw DecodingError.typeMismatch(Date.self, DecodingError.Context(
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersProvider.swift:12:8: error: Unsupported runtime
10 | import WASILibc
11 | #else
12 | #error("Unsupported runtime")
| `- error: Unsupported runtime
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersProvider.swift:12:8: error: Unsupported runtime
10 | import WASILibc
11 | #else
12 | #error("Unsupported runtime")
| `- error: Unsupported runtime
13 | #endif
14 |
[91/99] Compiling Tracing NoOpTracer.swift
[93/99] Compiling Tracing TracingTime.swift
[94/99] Compiling Tracing TracerProtocol.swift
[95/99] Emitting module Tracing
[96/99] Compiling SwiftAnalytics WithAnalyticsParameters.swift
[97/99] Compiling Tracing Tracer.swift
[98/99] Compiling Tracing TracerProtocol+Legacy.swift
[99/99] Compiling Tracing SpanProtocol.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/53] Compiling Atomics AtomicBool.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:56:46: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:159:47: error: cannot find type 'pthread_rwlock_t' in scope
157 | fileprivate var shared = true
158 | #else
159 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
160 | UnsafeMutablePointer.allocate(capacity: 1)
161 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:67:14: error: cannot find 'pthread_mutexattr_t' in scope
65 | InitializeSRWLock(mutex)
66 | #else
67 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:68:3: error: cannot find 'pthread_mutexattr_init' in scope
66 | #else
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
70 |
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:69:3: error: cannot find 'pthread_mutexattr_settype' in scope
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:69:42: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:69:37: error: cannot infer contextual base in reference to member 'init'
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:71:13: error: cannot find 'pthread_mutex_init' in scope
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
72 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
73 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:83:13: error: cannot find 'pthread_mutex_destroy' in scope
81 | self.mutex.deallocate()
82 | #else
83 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
84 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
85 | self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:99:13: error: cannot find 'pthread_mutex_lock' in scope
97 | AcquireSRWLockExclusive(mutex)
98 | #else
99 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
100 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
101 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:114:13: error: cannot find 'pthread_mutex_unlock' in scope
112 | ReleaseSRWLockExclusive(mutex)
113 | #else
114 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
116 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:170:13: error: cannot find 'pthread_rwlock_init' in scope
168 | InitializeSRWLock(rwlock)
169 | #else
170 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
171 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
172 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:170:41: error: 'nil' requires a contextual type
168 | InitializeSRWLock(rwlock)
169 | #else
170 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
171 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
172 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:182:13: error: cannot find 'pthread_rwlock_destroy' in scope
180 | self.rwlock.deallocate()
181 | #else
182 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
183 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
184 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:199:13: error: cannot find 'pthread_rwlock_rdlock' in scope
197 | shared = true
198 | #else
199 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
200 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
201 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:215:13: error: cannot find 'pthread_rwlock_wrlock' in scope
213 | shared = false
214 | #else
215 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
216 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
217 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:235:13: error: cannot find 'pthread_rwlock_unlock' in scope
233 | }
234 | #else
235 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
236 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
237 | #endif
[3/53] Compiling Atomics IntegerConformances.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:56:46: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:159:47: error: cannot find type 'pthread_rwlock_t' in scope
157 | fileprivate var shared = true
158 | #else
159 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
160 | UnsafeMutablePointer.allocate(capacity: 1)
161 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:67:14: error: cannot find 'pthread_mutexattr_t' in scope
65 | InitializeSRWLock(mutex)
66 | #else
67 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:68:3: error: cannot find 'pthread_mutexattr_init' in scope
66 | #else
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
70 |
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:69:3: error: cannot find 'pthread_mutexattr_settype' in scope
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:69:42: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:69:37: error: cannot infer contextual base in reference to member 'init'
67 | var attr = pthread_mutexattr_t()
68 | pthread_mutexattr_init(&attr)
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:71:13: error: cannot find 'pthread_mutex_init' in scope
69 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
70 |
71 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
72 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
73 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:83:13: error: cannot find 'pthread_mutex_destroy' in scope
81 | self.mutex.deallocate()
82 | #else
83 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
84 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
85 | self.mutex.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:99:13: error: cannot find 'pthread_mutex_lock' in scope
97 | AcquireSRWLockExclusive(mutex)
98 | #else
99 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
100 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
101 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:114:13: error: cannot find 'pthread_mutex_unlock' in scope
112 | ReleaseSRWLockExclusive(mutex)
113 | #else
114 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
115 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
116 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:170:13: error: cannot find 'pthread_rwlock_init' in scope
168 | InitializeSRWLock(rwlock)
169 | #else
170 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
171 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
172 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:170:41: error: 'nil' requires a contextual type
168 | InitializeSRWLock(rwlock)
169 | #else
170 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
171 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
172 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:182:13: error: cannot find 'pthread_rwlock_destroy' in scope
180 | self.rwlock.deallocate()
181 | #else
182 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
183 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
184 | self.rwlock.deallocate()
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:199:13: error: cannot find 'pthread_rwlock_rdlock' in scope
197 | shared = true
198 | #else
199 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
200 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
201 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:215:13: error: cannot find 'pthread_rwlock_wrlock' in scope
213 | shared = false
214 | #else
215 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
216 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
217 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:235:13: error: cannot find 'pthread_rwlock_unlock' in scope
233 | }
234 | #else
235 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
236 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
237 | #endif
[4/54] Compiling CSV Endian.swift
[5/54] Compiling CSV Legacy.swift
[6/55] Compiling ServiceContextModule ServiceContextKey.swift
[7/55] Emitting module ServiceContextModule
[8/55] Compiling Logging MetadataProvider.swift
[9/55] Compiling ServiceContextModule ServiceContext.swift
[10/56] Compiling Atomics ManagedAtomic.swift
[11/56] Compiling Atomics ManagedAtomicLazyReference.swift
[12/56] Compiling Atomics UnsafeAtomic.swift
[13/56] Compiling Atomics UnsafeAtomicLazyReference.swift
[14/56] Compiling CSV UnicodeIterator.swift
[16/58] Compiling Atomics AtomicStorage.swift
[17/58] Compiling Atomics AtomicValue.swift
[18/58] Compiling Atomics AtomicMemoryOrderings.swift
[19/58] Compiling Atomics DoubleWord.swift
[20/58] Compiling Atomics PointerConformances.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:159:47: error: cannot find type 'pthread_rwlock_t' in scope
157 | fileprivate var shared = true
158 | #else
159 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
160 | UnsafeMutablePointer.allocate(capacity: 1)
161 | #endif
[21/58] Compiling Atomics Primitives.native.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:159:47: error: cannot find type 'pthread_rwlock_t' in scope
157 | fileprivate var shared = true
158 | #else
159 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
160 | UnsafeMutablePointer.allocate(capacity: 1)
161 | #endif
[22/58] Compiling Atomics AtomicInteger.swift
[23/58] Compiling Atomics AtomicOptionalWrappable.swift
[24/58] Emitting module Logging
[25/58] Compiling SwiftAnalytics WithAnalyticsParameters.swift
[26/58] Compiling Gzip Data+Gzip.swift
[27/58] Emitting module Gzip
[28/59] Compiling SwiftAnalytics ParametersValueEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersValueEncoder.swift:477:29: error: pattern variable binding cannot appear in an expression
475 | }
476 |
477 | case let .formatted(formatter):
| `- error: pattern variable binding cannot appear in an expression
478 | return .string(formatter.string(from: date))
479 |
[30/61] Compiling CSV CSVError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/61] Emitting module SwiftAnalytics
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:40:8: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:56:46: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/Locks.swift:159:47: error: cannot find type 'pthread_rwlock_t' in scope
157 | fileprivate var shared = true
158 | #else
159 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
160 | UnsafeMutablePointer.allocate(capacity: 1)
161 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersProvider.swift:12:8: error: Unsupported runtime
10 | import WASILibc
11 | #else
12 | #error("Unsupported runtime")
| `- error: Unsupported runtime
13 | #endif
14 |
[32/61] Compiling CSV CSVReader.swift
[33/61] Compiling Atomics OptionalRawRepresentable.swift
[34/61] Compiling Atomics RawRepresentable.swift
[35/62] Compiling CSV CSVWriter.swift
[36/65] Emitting module CSV
[37/65] Compiling CSV BinaryReader.swift
[38/65] Compiling Atomics IntegerOperations.swift
[39/65] Compiling Atomics Unmanaged extensions.swift
[42/65] Compiling SwiftAnalytics ParametersProvider.swift
[43/65] Compiling Instrumentation NoOpInstrument.swift
[44/65] Compiling Instrumentation MultiplexInstrument.swift
[45/65] Emitting module Instrumentation
[46/65] Compiling Instrumentation Instrument.swift
[47/65] Compiling CSV CSVRowDecoder.swift
[48/65] Compiling SwiftAnalytics ParametersValueDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersValueDecoder.swift:716:29: error: pattern variable binding cannot appear in an expression
714 | }
715 |
716 | case let .formatted(formatter):
| `- error: pattern variable binding cannot appear in an expression
717 | guard case let .string(string) = value else {
718 | throw DecodingError.typeMismatch(Date.self, DecodingError.Context(
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersProvider.swift:12:8: error: Unsupported runtime
10 | import WASILibc
11 | #else
12 | #error("Unsupported runtime")
| `- error: Unsupported runtime
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/swift-analytics/Sources/SwiftAnalytics/ParametersProvider.swift:12:8: error: Unsupported runtime
10 | import WASILibc
11 | #else
12 | #error("Unsupported runtime")
| `- error: Unsupported runtime
13 | #endif
14 |
[51/66] Compiling Instrumentation InstrumentationSystem.swift
[52/66] Compiling Instrumentation Locks.swift
[57/67] Compiling CoreMetrics Locks.swift
[58/67] Emitting module CoreMetrics
[59/67] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 android