Build Information
Failed to build Scout, reference main (7f6abb
), with Swift 6.1 for Wasm on 13 Sep 2025 04:46:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kasianov-mikhail/scout.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/kasianov-mikhail/scout
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7f6abb5 Refactor Core Data store rebuild logic (#85)
Cloned https://github.com/kasianov-mikhail/scout.git
Revision (git rev-parse @):
7f6abb54ba35f984a3b252616ca477b74becff08
SUCCESS checkout https://github.com/kasianov-mikhail/scout.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/kasianov-mikhail/scout.git
https://github.com/kasianov-mikhail/scout.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
}
],
"manifest_display_name" : "Scout",
"name" : "Scout",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "Scout",
"targets" : [
"Scout"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ScoutTests",
"module_type" : "SwiftTarget",
"name" : "ScoutTests",
"path" : "Tests/ScoutTests",
"sources" : [
"Core/Activity/UserActivityMontitorTests.swift",
"Core/Helpers/DateStartTests.swift",
"Core/Log/EventObjectTests.swift",
"Core/Log/LogTest.swift",
"Core/Matrix/CellTest.swift",
"Core/Matrix/MatrixTests.swift",
"Core/Monitor/NotificationListenerTests.swift",
"Core/Monitor/SessionObjectTests.swift",
"Core/Persistence/PersistenceLoadTests.swift",
"Core/Sync/ArrayGroupingTests.swift",
"Core/Sync/DispatcherTests.swift",
"Core/Sync/SyncCoordinatorTests.swift",
"Core/Sync/SyncDriverTests.swift",
"Core/Sync/SyncGroupTests.swift",
"Core/Sync/SyncableObjectBatchTests.swift",
"Core/Telemetry/TelemetryExportTests.swift",
"Stubs/CKRecord+Stub.swift",
"Stubs/EventObject+Stub.swift",
"Stubs/NSManagedObjectModel+Stub.swift",
"Stubs/SessionObject+Stub.swift",
"Stubs/UserActivity+Stub.swift",
"Transient/InMemoryContainer.swift",
"Transient/InMemoryContext.swift",
"Transient/InMemoryDatabase.swift",
"UI/ArrayUniqueTests.swift",
"UI/ChartPointTests.swift",
"UI/CriteriaTests.swift",
"UI/DateAddTests.swift",
"UI/HistoryFilterTests.swift",
"UI/RangeLabelTests.swift",
"UI/RawPointDataTests.swift",
"UI/StatModelMoveTests.swift",
"UI/StatModelTests.swift",
"Utilities/Date+Init.swift"
],
"target_dependencies" : [
"Scout"
],
"type" : "test"
},
{
"c99name" : "Scout",
"module_type" : "SwiftTarget",
"name" : "Scout",
"path" : "Sources/Scout",
"product_dependencies" : [
"Logging",
"Metrics"
],
"product_memberships" : [
"Scout"
],
"sources" : [
"Core/Activity/ActivityPeriod.swift",
"Core/Activity/UserActivity+Monitor.swift",
"Core/Activity/UserActivity.Provider.swift",
"Core/Activity/UserActivity.swift",
"Core/Bootstrap/Setup.swift",
"Core/Database/CKDatabase+Runner.swift",
"Core/Database/CKDatabase.swift",
"Core/Database/Database.swift",
"Core/Log/EventObject+CKRepresentable.swift",
"Core/Log/EventObject.swift",
"Core/Log/Log.swift",
"Core/Log/LogHandler.swift",
"Core/Matrix/Cell.swift",
"Core/Matrix/CellProtocol.swift",
"Core/Matrix/Combining.swift",
"Core/Matrix/Matrix.swift",
"Core/Matrix/MatrixValue.swift",
"Core/Matrix/PeriodCell.swift",
"Core/Metrics/DoubleMetricsObject.swift",
"Core/Metrics/IntMetricsObject.swift",
"Core/Metrics/LogMetrics.swift",
"Core/Metrics/MetricsObject+Group.swift",
"Core/Monitor/IDs.swift",
"Core/Monitor/NotificationListener.Activity.swift",
"Core/Monitor/NotificationListener.swift",
"Core/Monitor/SessionObject+CKRepresentable.swift",
"Core/Monitor/SessionObject+Monitor.swift",
"Core/Monitor/SessionObject.swift",
"Core/Persistence/Persistence+Load.swift",
"Core/Persistence/Persistence+Rebuild.swift",
"Core/Persistence/Persistence.swift",
"Core/Sync/Array+Grouping.swift",
"Core/Sync/CKPersistable.swift",
"Core/Sync/Dispatcher.swift",
"Core/Sync/Sync.swift",
"Core/Sync/SyncCoordinator.swift",
"Core/Sync/SyncDriver.swift",
"Core/Sync/SyncGroup.swift",
"Core/Sync/Syncable.swift",
"Core/Sync/SyncableObject+Batch.swift",
"Core/Telemetry/Telemetry.Export.swift",
"Core/Telemetry/Telemetry.swift",
"Core/Telemetry/TelemetryFactory.swift",
"Core/Telemetry/TelemetryHandler.Idle.swift",
"Core/Telemetry/TelemetryHandler.swift",
"Core/Utilities/Calendar.swift",
"Core/Utilities/Date+Start.swift",
"Core/Utilities/DateObject+Date.swift",
"UI/Activity/ActivityProvider.swift",
"UI/Activity/ActivityRow.swift",
"UI/Activity/ActivityView.swift",
"UI/Analytics/AnalyticsView.Suggestion.swift",
"UI/Analytics/AnalyticsView.swift",
"UI/Chart/ChartCompatible.swift",
"UI/Chart/ChartPoint.swift",
"UI/Chart/ChartView.swift",
"UI/Controls/Header.swift",
"UI/Controls/Message.swift",
"UI/Controls/Placeholder.swift",
"UI/Controls/RedactedText.swift",
"UI/Controls/Row.swift",
"UI/Database/DatabaseController+Sample.swift",
"UI/Database/DatabaseController.swift",
"UI/Event/Event.swift",
"UI/Event/EventList.swift",
"UI/Event/EventProvider.swift",
"UI/Event/EventView.Sections.swift",
"UI/Event/EventView.swift",
"UI/Event/Param/ParamList.swift",
"UI/Event/Param/ParamProvider.swift",
"UI/Event/Range/RangeControl.swift",
"UI/Event/Range/RangeLabel.swift",
"UI/Event/Stat/Period.swift",
"UI/Event/Stat/PeriodPicker.swift",
"UI/Event/Stat/PickerCompatible.swift",
"UI/Event/Stat/RawPointData.swift",
"UI/Event/Stat/StatEventList.swift",
"UI/Event/Stat/StatModel+Move.swift",
"UI/Event/Stat/StatModel.swift",
"UI/Event/Stat/StatProvider.swift",
"UI/Event/Stat/StatRow.swift",
"UI/Event/Stat/StatView.swift",
"UI/Filter/Criteria.swift",
"UI/Filter/FilterView.swift",
"UI/History/HistoryFilter.swift",
"UI/History/HistoryView.swift",
"UI/Home/HomeView.Sections.swift",
"UI/Home/HomeView.swift",
"UI/Utilities/Box.swift",
"UI/Utilities/Calendar+QueryRange.swift",
"UI/Utilities/Date+Add.swift",
"UI/Utilities/Provider.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
[1/2350] Fetching swift-metrics
[2140/6253] Fetching swift-metrics, swift-log
Fetched https://github.com/apple/swift-metrics.git from cache (0.27s)
Fetched https://github.com/apple/swift-log.git from cache (0.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.79s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.43s)
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/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Scout/Scout.xcdatamodeld
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] Emitting module CoreMetrics
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: 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
[7/13] Compiling CoreMetrics Metrics.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: 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
[8/13] Compiling CoreMetrics Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: 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-metrics/Sources/CoreMetrics/Locks.swift:65:20: error: cannot find 'pthread_mutexattr_t' in scope
63 | InitializeSRWLock(self.mutex)
64 | #else
65 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:66:9: error: cannot find 'pthread_mutexattr_init' in scope
64 | #else
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:9: error: cannot find 'pthread_mutexattr_settype' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:43: error: cannot infer contextual base in reference to member 'init'
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:69:19: error: cannot find 'pthread_mutex_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
71 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:78:19: error: cannot find 'pthread_mutex_destroy' in scope
76 | // SRWLOCK does not need to be free'd
77 | #else
78 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:92:19: error: cannot find 'pthread_mutex_lock' in scope
90 | AcquireSRWLockExclusive(self.mutex)
91 | #else
92 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
93 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
94 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:105:19: error: cannot find 'pthread_mutex_unlock' in scope
103 | ReleaseSRWLockExclusive(self.mutex)
104 | #else
105 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
106 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
107 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:177:14: error: value of type 'ReadWriteLock' has no member 'rwlock'
175 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
176 | #endif
177 | self.rwlock.deallocate()
| `- error: value of type 'ReadWriteLock' has no member 'rwlock'
178 | }
179 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Scout/Scout.xcdatamodeld
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling Logging Locks.swift
[3/9] Emitting module Logging
[4/9] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module CoreMetrics
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: 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
[6/9] Compiling CoreMetrics Metrics.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: 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
[7/9] Compiling CoreMetrics Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: 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-metrics/Sources/CoreMetrics/Locks.swift:65:20: error: cannot find 'pthread_mutexattr_t' in scope
63 | InitializeSRWLock(self.mutex)
64 | #else
65 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:66:9: error: cannot find 'pthread_mutexattr_init' in scope
64 | #else
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:9: error: cannot find 'pthread_mutexattr_settype' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:43: error: cannot infer contextual base in reference to member 'init'
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:69:19: error: cannot find 'pthread_mutex_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
71 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:78:19: error: cannot find 'pthread_mutex_destroy' in scope
76 | // SRWLOCK does not need to be free'd
77 | #else
78 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:92:19: error: cannot find 'pthread_mutex_lock' in scope
90 | AcquireSRWLockExclusive(self.mutex)
91 | #else
92 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
93 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
94 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:105:19: error: cannot find 'pthread_mutex_unlock' in scope
103 | ReleaseSRWLockExclusive(self.mutex)
104 | #else
105 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
106 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
107 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:177:14: error: value of type 'ReadWriteLock' has no member 'rwlock'
175 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
176 | #endif
177 | self.rwlock.deallocate()
| `- error: value of type 'ReadWriteLock' has no member 'rwlock'
178 | }
179 |
[8/9] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 wasm