Build Information
Failed to build SynheartSession, reference main (02ddd5), with Swift 6.3 for Wasm on 9 Oct 2026 14:45:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
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 02ddd59 Merge pull request #3 from synheart-ai/docs/readme-synheartsession-api
Cloned https://github.com/synheart-ai/synheart-session-swift.git
Revision (git rev-parse @):
02ddd59649f1b827706572fafa4585e33db1e7a5
SUCCESS checkout https://github.com/synheart-ai/synheart-session-swift.git at main
========================================
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-53886768-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:df2e9038ff906af397ec7b7e13902ccb183f8867606bc33419e44453a9abdb4b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/synheart-ai/synheart-wear-swift.git
Fetching https://github.com/synheart-ai/synheart-behavior-swift.git
[1/350] Fetching synheart-behavior-swift
[197/700] Fetching synheart-behavior-swift, synheart-wear-swift
Fetched https://github.com/synheart-ai/synheart-wear-swift.git from cache (0.60s)
[200/350] Fetching synheart-behavior-swift
Fetched https://github.com/synheart-ai/synheart-behavior-swift.git from cache (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.1 (1.79s)
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
[1/51604] Fetching grpc-swift
[51605/106540] Fetching grpc-swift, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (1.88s)
[6043/54936] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (6.09s)
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 (6.24s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.6 (1.01s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-log.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
Fetching https://github.com/apple/swift-atomics.git
[1/8257] Fetching swift-log
[167/25114] Fetching swift-log, swift-nio-ssl
[498/31816] Fetching swift-log, swift-nio-ssl, swift-nio-extras
[4371/33701] Fetching swift-log, swift-nio-ssl, swift-nio-extras, swift-atomics
[17799/45989] Fetching swift-log, swift-nio-ssl, swift-nio-extras, swift-atomics, swift-nio-http2
[19715/74680] Fetching swift-log, swift-nio-ssl, swift-nio-extras, swift-atomics, swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.73s)
[13596/67978] Fetching swift-log, swift-nio-ssl, swift-atomics, swift-nio-http2, swift-collections
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git from cache (0.79s)
[9223/59721] Fetching swift-nio-ssl, swift-atomics, swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.79s)
[7625/57836] Fetching swift-nio-ssl, swift-nio-http2, swift-collections
Fetching https://github.com/apple/swift-nio-transport-services.git
[48943/60703] Fetching swift-nio-ssl, swift-nio-http2, swift-collections, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.38s)
[43251/48415] Fetching swift-nio-ssl, swift-collections, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.61s)
[44688/45548] Fetching swift-nio-ssl, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.84s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.87s)
[1/86362] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (8.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.96s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (1.31s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.38.1 (0.67s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.27s)
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.28s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1253] Fetching swift-http-structured-headers
[52/7417] Fetching swift-http-structured-headers, swift-algorithms
[2426/14232] Fetching swift-http-structured-headers, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.67s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.67s)
[6164/6164] Fetching swift-algorithms
Fetching https://github.com/apple/swift-http-types.git
[6165/8103] Fetching swift-algorithms, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.46s)
[1/1995] Fetching swift-asn1
[141/9604] Fetching swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (1.67s)
[5175/7609] Fetching swift-certificates
[7610/10476] Fetching swift-certificates, swift-service-lifecycle
Fetched https://github.com/apple/swift-algorithms.git from cache (1.75s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.76s)
[1319/2867] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.81s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.73s)
Fetching https://github.com/apple/swift-numerics.git
[1/6717] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.61s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.82s)
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.1 (0.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.16s)
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.19s)
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.16s)
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.36s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.43s)
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.25s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.32s)
Fetching https://github.com/apple/swift-system.git
[1/7241] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.70s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (1.02s)
Fetching https://github.com/apple/swift-crypto.git
[1/18613] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.87s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (2.68s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (0.34s)
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-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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.0
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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
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/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-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-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-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-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/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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.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.2
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
[23/448] Compiling _AtomicsShims.c
[24/448] Write sources
[31/448] Compiling CNIOWASI CNIOWASI.c
[32/448] Compiling CNIOWindows WSAStartup.c
[33/448] Compiling CNIOLinux shim.c
[34/448] Compiling CNIOPosix event_loop_id.c
[35/448] Compiling CNIOOpenBSD shim.c
[36/448] Compiling CNIOWindows shim.c
[37/448] Compiling CNIOLinux liburing_shims.c
[38/448] Compiling CNIODarwin shim.c
[38/448] Compiling CNIOFreeBSD shim.c
[40/448] Compiling CNIOLLHTTP c_nio_http.c
[41/448] Write swift-version-24593BA9C3E375BF.txt
[42/448] Compiling fiat_curve25519_adx_square.S
[43/448] Compiling fiat_p256_adx_mul.S
[44/448] Compiling fiat_p256_adx_sqr.S
[45/448] Compiling CNIOLLHTTP c_nio_api.c
[46/448] Compiling fiat_curve25519_adx_mul.S
[47/563] Compiling CNIOBoringSSLShims shims.c
[48/574] Compiling tls_record.cc
[49/602] Compiling CNIOLLHTTP c_nio_llhttp.c
[51/602] Emitting module InternalCollectionsUtilities
[52/605] Emitting module SynheartSession
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/606] 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
[53/607] Compiling tls_method.cc
[55/607] Emitting module SwiftProtobuf
[55/618] Compiling tls13_server.cc
[57/618] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[58/618] Compiling InternalCollectionsUtilities Integer rank.swift
[59/618] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[60/618] Compiling InternalCollectionsUtilities UInt+reversed.swift
[61/618] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[62/618] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[63/618] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[64/618] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[65/618] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[66/618] Compiling InternalCollectionsUtilities Debugging.swift
[67/618] Compiling InternalCollectionsUtilities Descriptions.swift
[68/618] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[69/618] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[70/618] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[71/618] Compiling InternalCollectionsUtilities MutableRef.swift
[72/618] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[73/618] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[74/618] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[75/618] Compiling InternalCollectionsUtilities Span+Extras.swift
[76/618] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[77/618] Compiling InternalCollectionsUtilities _SortedCollection.swift
[78/618] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[79/618] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[80/618] Compiling InternalCollectionsUtilities String+Padding.swift
[81/618] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[82/618] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[83/618] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[84/618] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[85/618] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[86/618] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[89/620] Compiling Logging LoggingSystem.swift
[90/620] Compiling Logging Logger.swift
[92/620] Compiling _NIODataStructures PriorityQueue.swift
[93/620] Compiling _NIODataStructures _TinyArray.swift
[94/620] Compiling Logging Logger+With.swift
[95/620] Compiling _NIOBase64 Base64.swift
[96/620] Emitting module _NIOBase64
[98/621] Compiling Logging Logger+Attributes.swift
[99/625] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[100/625] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[101/625] Compiling SpanPreview InputSpan.swift
[102/625] Emitting module SpanPreview
[104/626] Compiling Logging MetadataProvider.swift
[107/626] Emitting module Logging
[111/627] Emitting module _NIODataStructures
[112/627] Compiling _NIODataStructures Heap.swift
[113/627] Compiling SwiftProtobuf ProtoNameProviding.swift
[114/627] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[115/627] Compiling SwiftProtobuf ProtobufMap.swift
[116/627] Compiling SwiftProtobuf SelectiveVisitor.swift
[117/627] Compiling SwiftProtobuf SimpleExtensionMap.swift
[118/627] Compiling SwiftProtobuf StringUtils.swift
[119/627] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[120/627] Compiling SwiftProtobuf SwiftProtobufError.swift
[121/627] Compiling SwiftProtobuf TextFormatDecoder.swift
[122/627] Compiling SwiftProtobuf TextFormatDecodingError.swift
[123/627] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[124/627] Compiling SwiftProtobuf TextFormatEncoder.swift
[126/644] Compiling SwiftProtobuf BytecodeInterpreter.swift
[127/644] Compiling SwiftProtobuf BytecodeReader.swift
[128/644] Compiling SwiftProtobuf CustomJSONCodable.swift
[129/644] Compiling SwiftProtobuf Decoder.swift
[130/644] Compiling SwiftProtobuf DoubleParser.swift
[131/644] Compiling SwiftProtobuf Enum.swift
[132/644] Compiling SwiftProtobuf ExtensibleMessage.swift
[133/644] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[134/644] Compiling SwiftProtobuf ExtensionFields.swift
[135/644] Compiling SwiftProtobuf ExtensionMap.swift
[136/644] Compiling SwiftProtobuf FieldTag.swift
[137/644] Compiling SwiftProtobuf FieldTypes.swift
[138/644] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[139/655] Compiling SwiftProtobuf Message+FieldMask.swift
[140/655] Compiling SwiftProtobuf Message+JSONAdditions.swift
[141/655] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[142/655] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[143/655] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[144/655] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[145/655] Compiling SwiftProtobuf Message.swift
[146/655] Compiling SwiftProtobuf MessageExtension.swift
[147/655] Compiling SwiftProtobuf NameMap.swift
[148/655] Compiling SwiftProtobuf PathDecoder.swift
[149/655] Compiling SwiftProtobuf PathVisitor.swift
[150/670] Compiling DequeModule _DequeBuffer.swift
[151/670] Compiling DequeModule _DequeBufferHeader.swift
[152/670] Compiling DequeModule RigidDeque+Append.swift
[153/670] Compiling DequeModule RigidDeque+Consumption.swift
[154/670] Compiling DequeModule RigidDeque+ContainerOperations.swift
[155/670] Compiling DequeModule RigidDeque+Deprecations.swift
[156/670] Compiling DequeModule RigidDeque+Prepend.swift
[157/670] Compiling DequeModule RigidDeque+Removals.swift
[158/670] Compiling DequeModule RigidDeque+Replacements.swift
[159/670] Compiling DequeModule RigidDeque+Testing.swift
[160/670] Compiling DequeModule RigidDeque.swift
[161/670] Compiling DequeModule UniqueDeque+Append.swift
[162/670] Compiling DequeModule Deque.swift
[163/670] Compiling DequeModule UniqueDeque+Initializers.swift
[164/670] Compiling DequeModule UniqueDeque+Insertions.swift
[165/670] Compiling DequeModule UniqueDeque+Iterable.swift
[166/670] Compiling DequeModule UniqueDeque+Prepend.swift
[167/670] Compiling DequeModule UniqueDeque+Removals.swift
[168/670] Compiling SwiftProtobuf JSONEncodingVisitor.swift
[169/670] Compiling SwiftProtobuf JSONMapEncodingVisitor.swift
[170/670] Compiling SwiftProtobuf JSONScanner.swift
[171/670] Compiling SwiftProtobuf MathUtils.swift
[172/670] Compiling SwiftProtobuf Message+AnyAdditions.swift
[173/670] Compiling SwiftProtobuf Message+BinaryAdditions.swift
[176/670] Compiling DequeModule RigidDeque+Insertions.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/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 |
[177/670] Compiling DequeModule RigidDeque+Iterable.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/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 |
[178/670] Compiling DequeModule RigidDeque+Descriptions.swift
[179/670] Compiling DequeModule RigidDeque+Equatable.swift
[180/670] 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
[181/670] 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 | }
[182/670] Compiling DequeModule Deque+Codable.swift
[183/670] Compiling DequeModule Deque+Collection.swift
[184/670] Compiling SynheartSession SessionStatus.swift
[185/670] Compiling DequeModule Deque+CustomReflectable.swift
[186/670] Compiling DequeModule Deque+Descriptions.swift
[187/670] Compiling SynheartSession SampleRingBuffer.swift
[188/670] Compiling DequeModule RigidDeque+Hashable.swift
[189/670] Compiling DequeModule RigidDeque+Initializers.swift
[194/670] Compiling DequeModule Deque+Equatable.swift
[195/670] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[207/670] Compiling tls13_client.cc
[207/670] Compiling tls13_both.cc
[207/670] Compiling tls13_enc.cc
[208/670] Compiling SynheartSession Types.swift
[209/670] Compiling SynheartSession SessionError.swift
[210/670] Compiling SynheartSession SessionEvent.swift
[210/670] Compiling t1_enc.cc
BUILD FAILURE 6.3 wasm