Build Information
Failed to build SynheartSession, reference main (ac4e25), with Swift 6.2 for Wasm on 27 Nov 2026 23:31:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/synheart-ai/synheart-session-swift.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/synheart-ai/synheart-session-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ac4e25a Merge pull request #7 from synheart-ai/feat/dependabot-version-updates
Cloned https://github.com/synheart-ai/synheart-session-swift.git
Revision (git rev-parse @):
ac4e25a352de865b7c87efe875773fc420c3bce0
SUCCESS checkout https://github.com/synheart-ai/synheart-session-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/synheart-ai/synheart-session-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0edccce2083c005c7cf1d4a8cd47fd86214ad7a39c32bca4f7db4cf90ab01f49
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/synheart-ai/synheart-behavior-swift.git
Fetching https://github.com/synheart-ai/synheart-wear-swift.git
[1/365] Fetching synheart-behavior-swift
[96/839] Fetching synheart-behavior-swift, synheart-wear-swift
Fetched https://github.com/synheart-ai/synheart-wear-swift.git from cache (0.42s)
[201/365] Fetching synheart-behavior-swift
Fetched https://github.com/synheart-ai/synheart-behavior-swift.git from cache (1.50s)
Computing version for https://github.com/synheart-ai/synheart-behavior-swift.git
Computed https://github.com/synheart-ai/synheart-behavior-swift.git at 0.5.0 (1.65s)
Computing version for https://github.com/synheart-ai/synheart-wear-swift.git
Computed https://github.com/synheart-ai/synheart-wear-swift.git at 0.4.5 (0.14s)
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
[1/51604] Fetching grpc-swift
[2/109245] Fetching grpc-swift, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (3.85s)
Fetched https://github.com/apple/swift-protobuf.git from cache (3.88s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.6 (4.86s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-collections.git
[1/1936] Fetching swift-atomics
[427/4817] Fetching swift-atomics, swift-nio-transport-services
[448/11607] Fetching swift-atomics, swift-nio-transport-services, swift-nio-extras
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
Fetching https://github.com/apple/swift-nio.git
[1/17008] Fetching swift-nio-ssl
[342/29449] Fetching swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.53s)
Fetching https://github.com/apple/swift-log.git
[4315/60014] Fetching swift-nio-ssl, swift-nio-http2, swift-collections
[46567/68611] Fetching swift-nio-ssl, swift-nio-http2, swift-collections, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.34s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.37s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.38s)
Fetched https://github.com/apple/swift-collections.git from cache (1.38s)
[1/87243] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.17s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.80s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.15s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.1 (0.15s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (0.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.24s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.3 (0.27s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/1284] Fetching swift-http-structured-headers
[66/3372] Fetching swift-http-structured-headers, swift-asn1
[1975/9580] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms
[3351/12517] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-service-lifecycle
[3781/19624] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-service-lifecycle, swift-async-algorithms
[19412/27315] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-service-lifecycle, swift-async-algorithms, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.57s)
Fetching https://github.com/apple/swift-http-types.git
[16841/24378] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.60s)
[16173/23094] Fetching swift-asn1, swift-algorithms, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.79s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.79s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.79s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.79s)
[1/1990] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.46s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.91s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.55s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.70s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.14s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.17s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.15s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.18s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.8 (0.18s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.2 (0.38s)
Fetching https://github.com/apple/swift-system.git
[1/7601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.2 (0.89s)
Fetching https://github.com/apple/swift-crypto.git
[1/19023] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.23s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (1.42s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.2.0 (0.50s)
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.8
Creating working copy for https://github.com/synheart-ai/synheart-wear-swift.git
Working copy of https://github.com/synheart-ai/synheart-wear-swift.git resolved at 0.4.5
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.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.17.2
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.1
Creating working copy for https://github.com/synheart-ai/synheart-behavior-swift.git
Working copy of https://github.com/synheart-ai/synheart-behavior-swift.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.41.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.2.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.2
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.3
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.6
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.1
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/455] Write sources
[30/455] Compiling CNIOWindows WSAStartup.c
[31/455] Compiling CNIOWindows shim.c
[32/455] Compiling CNIOLinux shim.c
[32/455] Compiling CNIOOpenBSD shim.c
[34/455] Compiling _AtomicsShims.c
[34/455] Compiling CNIOPosix event_loop_id.c
[35/455] Compiling CNIOWASI CNIOWASI.c
[37/455] Compiling CNIOLinux liburing_shims.c
[38/455] Compiling CNIODarwin shim.c
[39/455] Compiling CNIOFreeBSD shim.c
[40/455] Compiling CNIOLLHTTP c_nio_http.c
[41/455] Compiling fiat_p256_adx_sqr.S
[41/455] Compiling fiat_p256_adx_mul.S
[43/455] Compiling CNIOLLHTTP c_nio_api.c
[43/455] Compiling fiat_curve25519_adx_square.S
[45/455] Write swift-version-24593BA9C3E375BF.txt
[46/455] Compiling fiat_curve25519_adx_mul.S
[47/461] Compiling CNIOBoringSSLShims shims.c
[48/471] Compiling CNIOLLHTTP c_nio_llhttp.c
[49/486] Compiling tls_method.cc
[50/539] Compiling tls_record.cc
[51/581] Compiling tls13_enc.cc
[52/581] Compiling tls13_server.cc
[54/610] Emitting module SynheartSession
[54/611] Compiling tls13_client.cc
[56/611] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[57/611] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[58/611] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[59/611] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[60/611] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[61/611] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[62/611] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[63/611] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[64/611] Compiling InternalCollectionsUtilities MutableRef.swift
[65/611] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[66/611] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[67/611] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[68/611] Compiling InternalCollectionsUtilities Span+Extras.swift
[69/611] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[70/611] Compiling InternalCollectionsUtilities String+Padding.swift
[71/611] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[72/614] Compiling InternalCollectionsUtilities Immortalize.swift
[73/614] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[74/614] Compiling InternalCollectionsUtilities Integer rank.swift
[75/614] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[76/614] Compiling Logging Logger+Attributes.swift
[77/615] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[78/615] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[79/615] Compiling InternalCollectionsUtilities Debugging.swift
[80/615] Compiling InternalCollectionsUtilities Descriptions.swift
[81/615] Emitting module InternalCollectionsUtilities
[82/615] Compiling InternalCollectionsUtilities UInt+reversed.swift
[83/615] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[84/615] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[85/615] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[86/615] Compiling Logging Logger+With.swift
[87/615] Compiling Logging LoggingSystem.swift
[90/615] Compiling _NIOBase64 Base64.swift
[91/615] Emitting module _NIOBase64
[93/616] Compiling _NIODataStructures _TinyArray.swift
[94/616] Compiling _NIODataStructures PriorityQueue.swift
[95/616] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[96/616] Compiling InternalCollectionsUtilities _SortedCollection.swift
[97/616] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[99/617] Compiling Logging Logger.swift
[100/617] Emitting module SwiftProtobuf
[108/628] Compiling SwiftProtobuf Message.swift
[109/628] Compiling SwiftProtobuf MessageExtension.swift
[110/628] Compiling SwiftProtobuf NameMap.swift
[111/628] Compiling SwiftProtobuf PathDecoder.swift
[112/628] Compiling SwiftProtobuf PathVisitor.swift
[113/628] Compiling Logging MetadataProvider.swift
[114/628] Emitting module _NIODataStructures
[115/628] Compiling _NIODataStructures Heap.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[117/629] Emitting module SynheartBehavior
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:29:31: error: cannot find 'DispatchQueue' in scope
27 | private var isCollecting = false
28 |
29 | private let sampleQueue = DispatchQueue(label: "ai.synheart.behavior.motion", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
30 | private var samples: [(ts: Double, x: Double, y: Double, z: Double)] = []
31 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:29:96: error: cannot infer contextual base in reference to member 'concurrent'
27 | private var isCollecting = false
28 |
29 | private let sampleQueue = DispatchQueue(label: "ai.synheart.behavior.motion", attributes: .concurrent)
| `- error: cannot infer contextual base in reference to member 'concurrent'
30 | private var samples: [(ts: Double, x: Double, y: Double, z: Double)] = []
31 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/NotificationCollector.swift:29:42: error: cannot find type 'DispatchWorkItem' in scope
27 | private weak var sessionManager: SessionManager?
28 | private var tracker = NotificationOutcomeTracker()
29 | private var pendingIgnored: [String: DispatchWorkItem] = [:]
| `- error: cannot find type 'DispatchWorkItem' in scope
30 | private var enabled: Bool
31 | private let installDelegate: Bool
[120/630] Compiling SynheartSession SynheartSession.swift
/host/spi-builder-workspace/Sources/SynheartSession/SynheartSession.swift:100:22: error: value of type 'RunLoop' has no member 'add'
98 | self?.emitFrame()
99 | }
100 | RunLoop.main.add(frameTimer, forMode: .common)
| `- error: value of type 'RunLoop' has no member 'add'
101 | emitTimer = frameTimer
102 |
/host/spi-builder-workspace/Sources/SynheartSession/SynheartSession.swift:100:48: error: cannot infer contextual base in reference to member 'common'
98 | self?.emitFrame()
99 | }
100 | RunLoop.main.add(frameTimer, forMode: .common)
| `- error: cannot infer contextual base in reference to member 'common'
101 | emitTimer = frameTimer
102 |
/host/spi-builder-workspace/Sources/SynheartSession/SynheartSession.swift:108:22: error: value of type 'RunLoop' has no member 'add'
106 | self.doStop(sessionId: cfg.sessionId)
107 | }
108 | RunLoop.main.add(durTimer, forMode: .common)
| `- error: value of type 'RunLoop' has no member 'add'
109 | durationTimer = durTimer
110 |
/host/spi-builder-workspace/Sources/SynheartSession/SynheartSession.swift:108:46: error: cannot infer contextual base in reference to member 'common'
106 | self.doStop(sessionId: cfg.sessionId)
107 | }
108 | RunLoop.main.add(durTimer, forMode: .common)
| `- error: cannot infer contextual base in reference to member 'common'
109 | durationTimer = durTimer
110 |
/host/spi-builder-workspace/Sources/SynheartSession/SynheartSession.swift:118:26: error: value of type 'RunLoop' has no member 'add'
116 | self?.emitBiosignalFrame()
117 | }
118 | RunLoop.main.add(rawTimer, forMode: .common)
| `- error: value of type 'RunLoop' has no member 'add'
119 | rawEmitTimer = rawTimer
120 | }
/host/spi-builder-workspace/Sources/SynheartSession/SynheartSession.swift:118:50: error: cannot infer contextual base in reference to member 'common'
116 | self?.emitBiosignalFrame()
117 | }
118 | RunLoop.main.add(rawTimer, forMode: .common)
| `- error: cannot infer contextual base in reference to member 'common'
119 | rawEmitTimer = rawTimer
120 | }
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:29:31: error: cannot find 'DispatchQueue' in scope
27 | private var isCollecting = false
28 |
29 | private let sampleQueue = DispatchQueue(label: "ai.synheart.behavior.motion", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
30 | private var samples: [(ts: Double, x: Double, y: Double, z: Double)] = []
31 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:29:96: error: cannot infer contextual base in reference to member 'concurrent'
27 | private var isCollecting = false
28 |
29 | private let sampleQueue = DispatchQueue(label: "ai.synheart.behavior.motion", attributes: .concurrent)
| `- error: cannot infer contextual base in reference to member 'concurrent'
30 | private var samples: [(ts: Double, x: Double, y: Double, z: Double)] = []
31 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:67:35: error: cannot infer contextual base in reference to member 'barrier'
65 | func startSession(startMs: Double) {
66 | sessionStartMs = startMs
67 | sampleQueue.async(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
68 | self.samples.removeAll()
69 | self.lastBatchEndMs = startMs
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:86:35: error: cannot infer contextual base in reference to member 'barrier'
84 | stopBatchTimer()
85 | batchHandler = nil
86 | sampleQueue.async(flags: .barrier) { self.samples.removeAll() }
| `- error: cannot infer contextual base in reference to member 'barrier'
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:91:35: error: cannot infer contextual base in reference to member 'barrier'
89 | /// Feed one sample already in m/s². Used by the platform source and by tests.
90 | func ingest(tsMs: Double, x: Double, y: Double, z: Double) {
91 | sampleQueue.async(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
92 | self.samples.append((tsMs, x, y, z))
93 | }
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:145:9: error: cannot find 'DispatchQueue' in scope
143 | private func startBatchTimer() {
144 | let interval = Self.batchIntervalMs / 1_000
145 | DispatchQueue.main.async { [weak self] in
| `- error: cannot find 'DispatchQueue' in scope
146 | guard let self else { return }
147 | self.batchTimer?.invalidate()
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:155:9: error: cannot find 'DispatchQueue' in scope
153 |
154 | private func stopBatchTimer() {
155 | DispatchQueue.main.async { [weak self] in
| `- error: cannot find 'DispatchQueue' in scope
156 | self?.batchTimer?.invalidate()
157 | self?.batchTimer = nil
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:165:59: error: cannot infer contextual base in reference to member 'barrier'
163 | func flushBatch(nowMs: Double = Date().timeIntervalSince1970 * 1_000) {
164 | guard let handler = batchHandler, config.emitRawMotionSamples else { return }
165 | let batch: [RawSample] = sampleQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
166 | let since = lastBatchEndMs
167 | let recent = samples.filter { $0.ts > since && $0.ts <= nowMs }
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:174:9: error: cannot find 'DispatchQueue' in scope
172 | }
173 | if batch.isEmpty { return }
174 | DispatchQueue.main.async { handler(batch) }
| `- error: cannot find 'DispatchQueue' in scope
175 | }
176 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/NotificationCollector.swift:29:42: error: cannot find type 'DispatchWorkItem' in scope
27 | private weak var sessionManager: SessionManager?
28 | private var tracker = NotificationOutcomeTracker()
29 | private var pendingIgnored: [String: DispatchWorkItem] = [:]
| `- error: cannot find type 'DispatchWorkItem' in scope
30 | private var enabled: Bool
31 | private let installDelegate: Bool
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/NotificationCollector.swift:89:20: error: cannot find 'DispatchWorkItem' in scope
87 | guard tracker.received(id: id, atMs: nowMs) else { return }
88 | emit(action: "received")
89 | let task = DispatchWorkItem { [weak self] in
| `- error: cannot find 'DispatchWorkItem' in scope
90 | guard let self else { return }
91 | self.pendingIgnored[id] = nil
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/NotificationCollector.swift:96:9: error: cannot find 'DispatchQueue' in scope
94 | pendingIgnored[id]?.cancel()
95 | pendingIgnored[id] = task
96 | DispatchQueue.main.asyncAfter(deadline: .now() + ignoredThresholdMs / 1_000, execute: task)
| `- error: cannot find 'DispatchQueue' in scope
97 | }
98 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/NotificationCollector.swift:96:50: error: cannot call value of non-function type 'Date'
94 | pendingIgnored[id]?.cancel()
95 | pendingIgnored[id] = task
96 | DispatchQueue.main.asyncAfter(deadline: .now() + ignoredThresholdMs / 1_000, execute: task)
| `- error: cannot call value of non-function type 'Date'
97 | }
98 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:29:31: error: cannot find 'DispatchQueue' in scope
27 | private var isCollecting = false
28 |
29 | private let sampleQueue = DispatchQueue(label: "ai.synheart.behavior.motion", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
30 | private var samples: [(ts: Double, x: Double, y: Double, z: Double)] = []
31 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:29:96: error: cannot infer contextual base in reference to member 'concurrent'
27 | private var isCollecting = false
28 |
29 | private let sampleQueue = DispatchQueue(label: "ai.synheart.behavior.motion", attributes: .concurrent)
| `- error: cannot infer contextual base in reference to member 'concurrent'
30 | private var samples: [(ts: Double, x: Double, y: Double, z: Double)] = []
31 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:67:35: error: cannot infer contextual base in reference to member 'barrier'
65 | func startSession(startMs: Double) {
66 | sessionStartMs = startMs
67 | sampleQueue.async(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
68 | self.samples.removeAll()
69 | self.lastBatchEndMs = startMs
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:86:35: error: cannot infer contextual base in reference to member 'barrier'
84 | stopBatchTimer()
85 | batchHandler = nil
86 | sampleQueue.async(flags: .barrier) { self.samples.removeAll() }
| `- error: cannot infer contextual base in reference to member 'barrier'
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:91:35: error: cannot infer contextual base in reference to member 'barrier'
89 | /// Feed one sample already in m/s². Used by the platform source and by tests.
90 | func ingest(tsMs: Double, x: Double, y: Double, z: Double) {
91 | sampleQueue.async(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
92 | self.samples.append((tsMs, x, y, z))
93 | }
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:145:9: error: cannot find 'DispatchQueue' in scope
143 | private func startBatchTimer() {
144 | let interval = Self.batchIntervalMs / 1_000
145 | DispatchQueue.main.async { [weak self] in
| `- error: cannot find 'DispatchQueue' in scope
146 | guard let self else { return }
147 | self.batchTimer?.invalidate()
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:155:9: error: cannot find 'DispatchQueue' in scope
153 |
154 | private func stopBatchTimer() {
155 | DispatchQueue.main.async { [weak self] in
| `- error: cannot find 'DispatchQueue' in scope
156 | self?.batchTimer?.invalidate()
157 | self?.batchTimer = nil
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:165:59: error: cannot infer contextual base in reference to member 'barrier'
163 | func flushBatch(nowMs: Double = Date().timeIntervalSince1970 * 1_000) {
164 | guard let handler = batchHandler, config.emitRawMotionSamples else { return }
165 | let batch: [RawSample] = sampleQueue.sync(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
166 | let since = lastBatchEndMs
167 | let recent = samples.filter { $0.ts > since && $0.ts <= nowMs }
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/MotionSignalCollector.swift:174:9: error: cannot find 'DispatchQueue' in scope
172 | }
173 | if batch.isEmpty { return }
174 | DispatchQueue.main.async { handler(batch) }
| `- error: cannot find 'DispatchQueue' in scope
175 | }
176 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/NotificationCollector.swift:29:42: error: cannot find type 'DispatchWorkItem' in scope
27 | private weak var sessionManager: SessionManager?
28 | private var tracker = NotificationOutcomeTracker()
29 | private var pendingIgnored: [String: DispatchWorkItem] = [:]
| `- error: cannot find type 'DispatchWorkItem' in scope
30 | private var enabled: Bool
31 | private let installDelegate: Bool
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/NotificationCollector.swift:89:20: error: cannot find 'DispatchWorkItem' in scope
87 | guard tracker.received(id: id, atMs: nowMs) else { return }
88 | emit(action: "received")
89 | let task = DispatchWorkItem { [weak self] in
| `- error: cannot find 'DispatchWorkItem' in scope
90 | guard let self else { return }
91 | self.pendingIgnored[id] = nil
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/NotificationCollector.swift:96:9: error: cannot find 'DispatchQueue' in scope
94 | pendingIgnored[id]?.cancel()
95 | pendingIgnored[id] = task
96 | DispatchQueue.main.asyncAfter(deadline: .now() + ignoredThresholdMs / 1_000, execute: task)
| `- error: cannot find 'DispatchQueue' in scope
97 | }
98 |
/host/spi-builder-workspace/.build/checkouts/synheart-behavior-swift/Sources/SynheartBehavior/NotificationCollector.swift:96:50: error: cannot call value of non-function type 'Date'
94 | pendingIgnored[id]?.cancel()
95 | pendingIgnored[id] = task
96 | DispatchQueue.main.asyncAfter(deadline: .now() + ignoredThresholdMs / 1_000, execute: task)
| `- error: cannot call value of non-function type 'Date'
97 | }
98 |
[127/630] Compiling SynheartSession SessionError.swift
[130/630] Compiling SynheartSession SampleRingBuffer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[131/630] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 | /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 | @nonexhaustive
| `- error: unknown attribute 'nonexhaustive'
292 | public enum TimestampPrecision: Sendable, Hashable {
293 | /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[139/634] Compiling t1_enc.cc
[139/634] Compiling ssl_x509.cc
[139/634] Compiling tls13_both.cc
BUILD FAILURE 6.2 wasm