Build Information
Failed to build SynheartSession, reference main (ac4e25), with Swift 6.3 for Wasm on 27 Nov 2026 23:29:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.3-latest swift build --swift-sdk swift-6.3.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.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-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.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:c3e9b647a8a44b039f995a08aedc0aa863ba107df357cae1fa410b778751f9d2
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/365] Fetching synheart-behavior-swift
[199/839] Fetching synheart-behavior-swift, synheart-wear-swift
Fetched https://github.com/synheart-ai/synheart-wear-swift.git from cache (1.52s)
Fetched https://github.com/synheart-ai/synheart-behavior-swift.git from cache (1.53s)
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.69s)
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/apple/swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift.git
[1/57641] Fetching swift-protobuf
[2/109245] Fetching swift-protobuf, grpc-swift
Fetched https://github.com/grpc/grpc-swift.git from cache (4.13s)
Fetched https://github.com/apple/swift-protobuf.git from cache (4.15s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.6 (5.15s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/8597] Fetching swift-log
[2/11478] Fetching swift-log, swift-nio-transport-services
[1727/18268] Fetching swift-log, swift-nio-transport-services, swift-nio-extras
[1814/20204] Fetching swift-log, swift-nio-transport-services, swift-nio-extras, swift-atomics
[6965/37212] Fetching swift-log, swift-nio-transport-services, swift-nio-extras, swift-atomics, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.46s)
[14572/34331] Fetching swift-log, swift-nio-extras, swift-atomics, swift-nio-ssl
Fetching https://github.com/apple/swift-collections.git
[18175/46772] Fetching swift-log, swift-nio-extras, swift-atomics, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-atomics.git from cache (1.00s)
Fetched https://github.com/apple/swift-log.git from cache (1.00s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.00s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.01s)
[1/30565] Fetching swift-collections
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.27s)
Fetched https://github.com/apple/swift-collections.git from cache (1.29s)
[1/87243] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (4.29s)
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.16s)
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.16s)
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.23s)
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.26s)
Fetching https://github.com/apple/swift-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-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1284] Fetching swift-http-structured-headers
[425/3372] Fetching swift-http-structured-headers, swift-asn1
[876/5362] Fetching swift-http-structured-headers, swift-asn1, swift-http-types
[1448/8299] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.37s)
[2181/7015] Fetching swift-asn1, swift-http-types, swift-service-lifecycle
Fetching https://github.com/apple/swift-certificates.git
[7016/13223] Fetching swift-asn1, swift-http-types, swift-service-lifecycle, swift-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.43s)
[5088/11233] Fetching swift-asn1, swift-service-lifecycle, swift-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
[3372/9145] Fetching swift-service-lifecycle, swift-algorithms
[5298/16252] Fetching swift-service-lifecycle, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.56s)
[9192/10044] Fetching swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.63s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.63s)
[1/7691] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.56s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.81s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.57s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.72s)
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.15s)
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.19s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.16s)
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.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.2 (0.28s)
Fetching https://github.com/apple/swift-system.git
[1/7601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.67s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.2 (0.88s)
Fetching https://github.com/apple/swift-crypto.git
[1/19023] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.21s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (1.40s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.2.0 (0.23s)
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-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-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-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-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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.1
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/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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.2
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-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-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-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/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-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-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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.41.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-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/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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/455] Write sources
[18/455] Compiling _AtomicsShims.c
[19/455] Write sources
[31/455] Compiling CNIOWindows WSAStartup.c
[32/455] Compiling CNIOPosix event_loop_id.c
[33/455] Compiling CNIOWindows shim.c
[33/455] Compiling CNIOWASI CNIOWASI.c
[35/455] Compiling CNIOOpenBSD shim.c
[36/455] Compiling CNIOLinux shim.c
[37/455] Compiling CNIOLinux liburing_shims.c
[38/455] Compiling CNIODarwin shim.c
[39/455] Write swift-version-24593BA9C3E375BF.txt
[40/455] Compiling CNIOFreeBSD shim.c
[41/455] Compiling CNIOLLHTTP c_nio_http.c
[42/455] Compiling fiat_p256_adx_mul.S
[43/455] Compiling fiat_p256_adx_sqr.S
[44/455] Compiling fiat_curve25519_adx_square.S
[45/455] Compiling CNIOLLHTTP c_nio_api.c
[46/581] Compiling CNIOBoringSSLShims shims.c
[47/610] Compiling CNIOLLHTTP c_nio_llhttp.c
[48/610] Compiling fiat_curve25519_adx_mul.S
[50/610] Emitting module InternalCollectionsUtilities
[51/613] Emitting module SynheartSession
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/614] 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/615] Compiling InternalCollectionsUtilities MutableRef.swift
[54/615] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[55/615] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[56/615] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[57/615] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[58/615] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[59/615] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[60/615] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[61/615] Compiling InternalCollectionsUtilities Immortalize.swift
[62/615] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[63/615] Compiling InternalCollectionsUtilities Integer rank.swift
[64/615] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[65/615] Compiling InternalCollectionsUtilities Span+Extras.swift
[66/615] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[67/615] Compiling InternalCollectionsUtilities String+Padding.swift
[68/615] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[68/615] Compiling tls_record.cc
[70/615] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[71/615] Compiling InternalCollectionsUtilities _SortedCollection.swift
[72/615] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[73/615] Compiling InternalCollectionsUtilities UInt+reversed.swift
[74/615] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[75/615] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[76/615] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[77/615] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[78/615] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[79/615] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[80/615] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[81/615] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[82/615] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[83/615] Compiling InternalCollectionsUtilities Debugging.swift
[84/615] Compiling InternalCollectionsUtilities Descriptions.swift
[85/616] Compiling Logging Logger+Attributes.swift
[88/617] Compiling _NIODataStructures _TinyArray.swift
[89/617] Compiling _NIODataStructures PriorityQueue.swift
[91/617] Emitting module _NIOBase64
[92/617] Compiling _NIOBase64 Base64.swift
[94/622] Compiling Logging Logger.swift
[95/622] Compiling Logging LoggingSystem.swift
[96/622] Compiling Logging Logger+With.swift
[97/622] Emitting module SpanPreview
[98/622] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[99/622] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[100/622] Compiling SpanPreview InputSpan.swift
[101/623] Compiling tls_method.cc
[103/665] Compiling Logging MetadataProvider.swift
[104/665] Compiling DequeModule Deque+Equatable.swift
[105/665] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[106/665] Emitting module Logging
[107/665] Compiling DequeModule Deque+Codable.swift
[108/665] Compiling DequeModule Deque+Collection.swift
[109/666] 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
[110/666] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[111/666] Compiling SwiftProtobuf Message+FieldMask.swift
[112/666] Compiling SwiftProtobuf Message+JSONAdditions.swift
[113/666] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[114/666] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[115/666] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[116/666] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[117/666] Compiling SwiftProtobuf Message.swift
[118/666] Compiling SwiftProtobuf MessageExtension.swift
[119/666] Compiling SwiftProtobuf NameMap.swift
[120/666] Compiling SwiftProtobuf PathDecoder.swift
[121/666] Compiling SwiftProtobuf PathVisitor.swift
[122/666] Compiling SynheartSession SessionStatus.swift
[129/666] Compiling DequeModule Deque+CustomReflectable.swift
[130/666] Compiling DequeModule Deque+Descriptions.swift
[131/666] Compiling DequeModule Deque+Testing.swift
[132/666] Compiling DequeModule Deque._Storage.swift
[133/666] Compiling DequeModule Deque+Extras.swift
[134/666] Compiling DequeModule Deque+Hashable.swift
[135/666] 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 | }
[137/673] Compiling SynheartSession SessionEvent.swift
[138/674] Compiling SynheartSession SessionError.swift
[139/677] Compiling SwiftProtobuf ProtoNameProviding.swift
[140/677] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[141/677] Compiling SwiftProtobuf ProtobufMap.swift
[142/677] Compiling SwiftProtobuf SelectiveVisitor.swift
[143/677] Compiling SwiftProtobuf SimpleExtensionMap.swift
[144/677] Compiling _NIODataStructures Heap.swift
[145/677] Compiling SwiftProtobuf StringUtils.swift
[146/677] Compiling SwiftProtobuf SwiftProtobufContiguousBytes.swift
[147/677] Compiling SwiftProtobuf SwiftProtobufError.swift
[148/677] Compiling SwiftProtobuf TextFormatDecoder.swift
[149/677] Compiling SwiftProtobuf TextFormatDecodingError.swift
[150/677] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[151/677] Compiling SwiftProtobuf TextFormatEncoder.swift
[152/677] Emitting module _NIODataStructures
[154/678] Compiling SynheartSession Types.swift
[155/678] Compiling DequeModule RigidDeque+Prepend.swift
[156/678] Compiling DequeModule RigidDeque+Removals.swift
[157/678] Compiling DequeModule RigidDeque+Descriptions.swift
[158/678] Compiling DequeModule RigidDeque+Equatable.swift
[159/678] Compiling DequeModule RigidDeque+Hashable.swift
[160/678] Compiling DequeModule RigidDeque+Initializers.swift
[161/678] Compiling DequeModule RigidDeque+Insertions.swift
[162/678] Compiling DequeModule RigidDeque+Iterable.swift
[163/678] Compiling DequeModule Deque._UnsafeHandle.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 |
[164/678] Compiling DequeModule Deque.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 |
[164/683] Compiling tls13_client.cc
[164/683] Compiling tls13_both.cc
[164/683] Compiling tls13_server.cc
[164/683] Compiling tls13_enc.cc
BUILD FAILURE 6.3 wasm