Build Information
Failed to build swift-influxdb-telemetry, reference main (ef6ef8
), with Swift 6.1 for Android on 29 May 2025 10:40:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.63.1
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 ef6ef83 1.10.0
Cloned https://github.com/dankinsoid/swift-influxdb-telemetry.git
Revision (git rev-parse @):
ef6ef83623637ed2bc2ae18006df12fb0d5c68e7
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" : [
"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-2":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/dankinsoid/swift-analytics.git
[1/159] Fetching swift-analytics
[160/5133] Fetching swift-analytics, swift-distributed-tracing
Fetched https://github.com/dankinsoid/swift-analytics.git from cache (0.52s)
[1493/4974] Fetching swift-distributed-tracing
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/influxdata/influxdb-client-swift.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.87s)
[1/1710] Fetching swift-atomics
[361/5546] Fetching swift-atomics, swift-log
[763/7752] Fetching swift-atomics, swift-log, swift-metrics
[2222/11583] Fetching swift-atomics, swift-log, swift-metrics, influxdb-client-swift
Fetched https://github.com/apple/swift-atomics.git from cache (1.18s)
[9797/9873] Fetching swift-log, swift-metrics, influxdb-client-swift
Fetched https://github.com/apple/swift-metrics.git from cache (1.42s)
Fetched https://github.com/apple/swift-log.git from cache (1.42s)
Fetched https://github.com/influxdata/influxdb-client-swift.git from cache (1.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (3.41s)
Computing version for https://github.com/influxdata/influxdb-client-swift.git
Computed https://github.com/influxdata/influxdb-client-swift.git at 1.7.0 (3.79s)
Fetching https://github.com/yaslab/CSV.swift
Fetching https://github.com/1024jp/GzipSwift
[1/1549] Fetching gzipswift
[1458/3382] Fetching gzipswift, csv.swift
Fetched https://github.com/1024jp/GzipSwift from cache (0.61s)
Fetched https://github.com/yaslab/CSV.swift from cache (0.65s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 5.2.0 (1.88s)
Computing version for https://github.com/yaslab/CSV.swift
Computed https://github.com/yaslab/CSV.swift at 2.5.2 (1.26s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (2.22s)
Fetching https://github.com/apple/swift-service-context.git
[1/1063] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.67s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (2.16s)
Computing version for https://github.com/dankinsoid/swift-analytics.git
Computed https://github.com/dankinsoid/swift-analytics.git at 1.9.0 (1.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.06s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.08s)
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.0
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/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/dankinsoid/swift-analytics.git
Working copy of https://github.com/dankinsoid/swift-analytics.git resolved at 1.9.0
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.3
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/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
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.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/68] Compiling ServiceContextModule ServiceContextKey.swift
[21/68] Emitting module ServiceContextModule
[22/68] Compiling ServiceContextModule ServiceContext.swift
[23/69] Compiling Atomics ManagedAtomic.swift
[24/69] Compiling Atomics ManagedAtomicLazyReference.swift
[25/69] Compiling Atomics UnsafeAtomic.swift
[26/69] Compiling Atomics UnsafeAtomicLazyReference.swift
[27/71] Compiling Atomics AtomicReference.swift
[28/71] Compiling Atomics AtomicStorage.swift
[29/71] Compiling Atomics AtomicValue.swift
[30/71] Compiling Atomics AtomicMemoryOrderings.swift
[31/71] Compiling Atomics DoubleWord.swift
[32/71] Compiling Atomics Primitives.shims.swift
[33/71] Compiling Atomics AtomicInteger.swift
[34/71] Compiling Atomics AtomicOptionalWrappable.swift
[36/71] Compiling CoreMetrics Metrics.swift
[37/71] Emitting module Atomics
[38/71] Compiling Atomics IntegerConformances.swift
[39/71] Compiling Atomics PointerConformances.swift
[40/71] Compiling Atomics Primitives.native.swift
[41/71] Compiling Atomics OptionalRawRepresentable.swift
[42/71] Compiling Atomics RawRepresentable.swift
[43/71] Compiling Atomics AtomicBool.swift
[44/77] Compiling Atomics IntegerOperations.swift
[45/77] Compiling Atomics Unmanaged extensions.swift
[46/78] Compiling Instrumentation NoOpInstrument.swift
[47/78] Compiling Instrumentation MultiplexInstrument.swift
[48/78] Emitting module Instrumentation
[49/78] Compiling CSV Legacy.swift
[50/79] Compiling CSV Endian.swift
[51/79] Compiling SwiftAnalytics ParametersProvider.swift
/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 |
[52/80] Emitting module Gzip
[54/80] Compiling CSV UnicodeIterator.swift
[55/80] Compiling Logging MetadataProvider.swift
[56/80] Compiling CoreMetrics Locks.swift
[57/80] Emitting module CoreMetrics
[58/80] Compiling Instrumentation Locks.swift
[59/80] Compiling Instrumentation Instrument.swift
[60/80] Compiling Instrumentation InstrumentationSystem.swift
[61/82] Compiling Logging LogHandler.swift
[62/82] Emitting module Logging
[63/82] Compiling Logging Locks.swift
[64/82] Compiling Logging Logging.swift
[68/93] Compiling SwiftAnalytics MultiplexAnalyticsHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/93] 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 |
[72/93] Compiling CSV CSVWriter.swift
[73/93] Compiling SwiftAnalytics WithAnalyticsParameters.swift
[74/93] Compiling SwiftAnalytics AnalyticsSystem.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
[75/93] Compiling SwiftAnalytics NOOPAnalyticsHandler.swift
[76/93] Compiling SwiftAnalytics Locks.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
[77/93] Compiling SwiftAnalytics MockAnalyticsHandler.swift
[78/93] Emitting module Metrics
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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/50] Compiling SwiftAnalytics ParametersProvider.swift
/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 |
[3/51] Compiling SwiftAnalytics NOOPAnalyticsHandler.swift
[4/51] Compiling ServiceContextModule ServiceContextKey.swift
[5/51] Compiling Logging MetadataProvider.swift
[6/51] Compiling CSV Endian.swift
[7/51] Compiling CSV Legacy.swift
[8/52] Emitting module Gzip
[9/52] Compiling SwiftAnalytics AnalyticsSystem.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
[10/52] Compiling SwiftAnalytics MockAnalyticsHandler.swift
[11/52] Compiling SwiftAnalytics MultiplexAnalyticsHandler.swift
[12/52] Compiling SwiftAnalytics Locks.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/52] 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 |
[14/52] Compiling Atomics UnsafeAtomic.swift
[15/52] Compiling Atomics UnsafeAtomicLazyReference.swift
[16/54] Compiling Atomics ManagedAtomic.swift
[17/54] Compiling Atomics ManagedAtomicLazyReference.swift
[18/54] Emitting module ServiceContextModule
[19/54] Compiling ServiceContextModule ServiceContext.swift
[21/55] Compiling Atomics AtomicMemoryOrderings.swift
[22/55] Compiling Atomics DoubleWord.swift
[23/55] Compiling SwiftAnalytics WithAnalyticsParameters.swift
[24/55] Compiling Logging Locks.swift
[25/55] Emitting module Logging
[26/55] Compiling CSV UnicodeIterator.swift
[27/61] Compiling CSV CSVWriter.swift
[28/61] Compiling Atomics IntegerOperations.swift
[29/61] Compiling Atomics Unmanaged extensions.swift
[30/61] Compiling Atomics IntegerConformances.swift
[31/61] Compiling Atomics PointerConformances.swift
[32/61] Emitting module CoreMetrics
[33/61] Compiling Atomics Primitives.shims.swift
[34/61] Compiling Atomics AtomicInteger.swift
[35/61] Compiling Atomics AtomicOptionalWrappable.swift
[36/61] Compiling CSV CSVError.swift
[37/61] Compiling CSV BinaryReader.swift
[38/61] Compiling Instrumentation Instrument.swift
[39/61] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 android