The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SynheartSession, reference v0.3.0 (b67c72), with Swift 6.3 for Wasm on 4 Oct 2026 14:44:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/synheart-ai/synheart-session-swift.git
Reference: v0.3.0
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
 * tag               v0.3.0     -> FETCH_HEAD
HEAD is now at b67c72f Merge pull request #2 from synheart-ai/feat/session-mode-typing
Cloned https://github.com/synheart-ai/synheart-session-swift.git
Revision (git rev-parse @):
b67c72fecb337c98f602b8bbc3dc0e823a74e3a6
SUCCESS checkout https://github.com/synheart-ai/synheart-session-swift.git at v0.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
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-54344844-1":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/synheart-ai/synheart-behavior-swift.git
Fetching https://github.com/synheart-ai/synheart-wear-swift.git
[1/341] Fetching synheart-wear-swift
[148/691] Fetching synheart-wear-swift, synheart-behavior-swift
Fetched https://github.com/synheart-ai/synheart-wear-swift.git from cache (0.57s)
[200/350] Fetching synheart-behavior-swift
Fetched https://github.com/synheart-ai/synheart-behavior-swift.git from cache (2.08s)
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.1 (2.32s)
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift.git
[1/51604] Fetching grpc-swift
[10838/106000] Fetching grpc-swift, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (2.45s)
[28286/54396] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (8.63s)
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 (8.82s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.6 (1.59s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/8232] Fetching swift-log
[578/10117] Fetching swift-log, swift-atomics
[1724/16810] Fetching swift-log, swift-atomics, swift-nio-extras
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-log.git from cache (0.73s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.81s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.81s)
Fetching https://github.com/apple/swift-nio.git
[1/2867] Fetching swift-nio-transport-services
[2868/15122] Fetching swift-nio-transport-services, swift-nio-http2
[5442/43660] Fetching swift-nio-transport-services, swift-nio-http2, swift-collections
[12868/60514] Fetching swift-nio-transport-services, swift-nio-http2, swift-collections, swift-nio-ssl
[21843/146779] Fetching swift-nio-transport-services, swift-nio-http2, swift-collections, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.40s)
[30718/134524] Fetching swift-nio-transport-services, swift-collections, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.32s)
Fetched https://github.com/apple/swift-collections.git from cache (3.38s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.98s)
Fetched https://github.com/apple/swift-nio.git from cache (5.82s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (7.36s)
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.23s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.59s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.38.1 (0.22s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.33s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.35s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
[1/1986] Fetching swift-asn1
[776/4835] Fetching swift-asn1, swift-service-lifecycle
[1483/6774] Fetching swift-asn1, swift-service-lifecycle, swift-http-types
[1750/14381] Fetching swift-asn1, swift-service-lifecycle, swift-http-types, swift-certificates
[3118/21180] Fetching swift-asn1, swift-service-lifecycle, swift-http-types, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.44s)
[3755/19194] Fetching swift-service-lifecycle, swift-http-types, swift-certificates, swift-async-algorithms
Fetching https://github.com/apple/swift-http-structured-headers.git
[4271/25353] Fetching swift-service-lifecycle, swift-http-types, swift-certificates, swift-async-algorithms, swift-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.50s)
[8451/23414] Fetching swift-service-lifecycle, swift-certificates, swift-async-algorithms, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.67s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.67s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.70s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.70s)
[1/1253] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.47s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.14s)
Fetching https://github.com/apple/swift-numerics.git
[1/6658] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.60s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.81s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.20s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.18s)
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.25s)
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.17s)
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.20s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.27s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.21s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.35s)
Fetching https://github.com/apple/swift-system.git
[1/7104] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.80s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (1.43s)
Fetching https://github.com/apple/swift-crypto.git
[1/18572] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.98s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (2.35s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (0.36s)
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
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.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.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.38.1
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.0
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.0
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.15.1
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.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/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/synheart-ai/synheart-wear-swift.git
Working copy of https://github.com/synheart-ai/synheart-wear-swift.git resolved at 0.4.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
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.1
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.5
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.12.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
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/448] Write sources
[30/448] Compiling _AtomicsShims.c
[31/448] Compiling CNIOWindows shim.c
[31/448] Compiling CNIOLinux shim.c
[33/448] Compiling CNIOWASI CNIOWASI.c
[34/448] Compiling CNIOWindows WSAStartup.c
[34/448] Compiling CNIOOpenBSD shim.c
[36/448] Compiling CNIOLinux liburing_shims.c
[36/448] Compiling CNIOPosix event_loop_id.c
[38/448] Compiling CNIODarwin shim.c
[39/448] Compiling CNIOLLHTTP c_nio_http.c
[40/448] Compiling CNIOFreeBSD shim.c
[41/448] Write swift-version-24593BA9C3E375BF.txt
[42/448] Compiling fiat_p256_adx_mul.S
[43/448] Compiling fiat_curve25519_adx_mul.S
[44/448] Compiling fiat_curve25519_adx_square.S
[44/448] Compiling CNIOLLHTTP c_nio_api.c
[46/448] Compiling fiat_p256_adx_sqr.S
[47/574] Compiling CNIOBoringSSLShims shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/602] 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
[49/603] Compiling CNIOLLHTTP c_nio_llhttp.c
[50/603] Compiling tls_record.cc
[51/603] Compiling tls_method.cc
[53/603] Emitting module SwiftProtobuf
[54/614] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[55/614] Compiling InternalCollectionsUtilities String+Padding.swift
[56/614] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[57/614] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[58/617] Emitting module _NIOBase64
[59/617] Compiling _NIOBase64 Base64.swift
[60/618] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[61/618] Compiling InternalCollectionsUtilities Integer rank.swift
[62/618] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[63/618] Compiling InternalCollectionsUtilities UInt+reversed.swift
[64/618] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[65/618] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[66/618] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[67/618] Compiling InternalCollectionsUtilities MutableRef.swift
[68/618] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[69/618] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[70/618] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[71/618] Compiling InternalCollectionsUtilities Span+Extras.swift
[73/618] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[74/618] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[75/618] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[76/618] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[77/618] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[78/618] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[79/618] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[80/618] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[81/618] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[82/618] Compiling InternalCollectionsUtilities Debugging.swift
[83/618] Compiling InternalCollectionsUtilities Descriptions.swift
[84/618] Emitting module InternalCollectionsUtilities
[85/618] Compiling Logging LoggingSystem.swift
[86/619] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[87/619] Compiling InternalCollectionsUtilities _SortedCollection.swift
[88/619] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[89/620] Compiling _NIODataStructures PriorityQueue.swift
[90/620] Compiling _NIODataStructures _TinyArray.swift
[92/620] Compiling Logging Logger+Attributes.swift
[95/620] Compiling Logging Logger.swift
[96/620] Compiling Logging Logger+With.swift
[97/620] Compiling Logging MetadataProvider.swift
[102/620] Emitting module Logging
[103/621] Compiling _NIODataStructures Heap.swift
[104/621] Emitting module _NIODataStructures
[106/622] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[107/622] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[108/622] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[109/622] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[110/622] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[111/622] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[112/622] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[113/622] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[114/622] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[115/622] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[116/622] Compiling SwiftProtobuf HashVisitor.swift
[117/622] Compiling SwiftProtobuf Internal.swift
[131/622] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[132/622] Compiling SwiftProtobuf Message+FieldMask.swift
[133/622] Compiling SwiftProtobuf Message+JSONAdditions.swift
[134/622] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[135/622] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[136/622] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[137/622] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[138/622] Compiling SwiftProtobuf Message.swift
[139/622] Compiling SwiftProtobuf MessageExtension.swift
[140/622] Compiling SwiftProtobuf NameMap.swift
[141/622] Compiling SwiftProtobuf PathDecoder.swift
[142/622] Compiling SwiftProtobuf PathVisitor.swift
[143/622] Compiling SwiftProtobuf ProtoNameProviding.swift
[144/622] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[145/622] Compiling SwiftProtobuf ProtobufMap.swift
[146/622] Compiling SwiftProtobuf SelectiveVisitor.swift
[147/622] Compiling SwiftProtobuf SimpleExtensionMap.swift
[148/622] Compiling SwiftProtobuf StringUtils.swift
[149/622] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[150/622] Compiling SwiftProtobuf SwiftProtobufError.swift
[151/622] Compiling SwiftProtobuf TextFormatDecoder.swift
[152/622] Compiling SwiftProtobuf TextFormatDecodingError.swift
[153/622] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[154/622] Compiling SwiftProtobuf TextFormatEncoder.swift
[155/626] Compiling SynheartBehavior SynheartBehavior.swift
/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
[156/626] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[157/626] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[158/626] Emitting module SynheartSession
[159/626] Compiling SwiftProtobuf TextFormatEncodingOptions.swift
[160/626] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[161/626] Compiling SwiftProtobuf TextFormatScanner.swift
[162/626] Compiling SwiftProtobuf TimeUtils.swift
[163/626] Compiling SwiftProtobuf UnknownStorage.swift
[164/626] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[165/626] Compiling SwiftProtobuf Varint.swift
[166/626] Compiling SwiftProtobuf Version.swift
[167/626] Compiling SwiftProtobuf Visitor.swift
[168/626] Compiling SwiftProtobuf WireFormat.swift
[169/626] Compiling SwiftProtobuf ZigZag.swift
[170/626] Compiling SpanPreview InputSpan.swift
[171/626] Emitting module SpanPreview
/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 |
[193/628] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[194/628] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[195/628] Compiling SwiftProtobuf JSONScanner.swift
[196/628] Compiling SwiftProtobuf MathUtils.swift
[197/628] Compiling SwiftProtobuf Message+AnyAdditions.swift
[198/628] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[199/628] 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 |         }
[200/628] Compiling SynheartSession SessionStatus.swift
[201/628] Compiling SynheartSession SessionError.swift
[202/628] Compiling SynheartSession SessionEvent.swift
[205/628] Compiling SynheartSession SampleRingBuffer.swift
[207/628] Compiling tls13_both.cc
[207/628] Compiling t1_enc.cc
[207/628] Compiling tls13_enc.cc
[207/628] Compiling tls13_server.cc
[207/628] Compiling tls13_client.cc
BUILD FAILURE 6.3 wasm