Build Information
Failed to build NodeSwiftLogging, reference main (c05928), with Swift 6.3 for Wasm on 16 Apr 2026 02:15:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stevengharris/NodeSwiftLogging.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/stevengharris/NodeSwiftLogging
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c05928d Fix typo in README
Cloned https://github.com/stevengharris/NodeSwiftLogging.git
Revision (git rev-parse @):
c05928d8bd767d48adcef1bdb353f015e44f3773
SUCCESS checkout https://github.com/stevengharris/NodeSwiftLogging.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/stevengharris/NodeSwiftLogging.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/kabiroberai/node-swift.git
Fetching https://github.com/apple/swift-log.git
[1/2357] Fetching node-swift
[1015/8940] Fetching node-swift, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.59s)
Fetched https://github.com/kabiroberai/node-swift.git from cache (0.59s)
Computing version for https://github.com/kabiroberai/node-swift.git
Computed https://github.com/kabiroberai/node-swift.git at 1.4.0 (3.09s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74986] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.79s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (14.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.83s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/kabiroberai/node-swift.git
Working copy of https://github.com/kabiroberai/node-swift.git resolved at 1.4.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Building for debugging...
[0/40] Write sources
[19/40] Compiling _SwiftSyntaxCShims dummy.c
[20/40] Compiling CNodeAPISupport node_context.c
[21/40] Write swift-version-24593BA9C3E375BF.txt
[23/54] Compiling SwiftSyntax509 Empty.swift
[24/54] Emitting module SwiftSyntax509
[25/55] Compiling SwiftSyntax601 Empty.swift
[26/55] Emitting module SwiftSyntax601
[28/56] Emitting module SwiftSyntax510
[29/56] Compiling SwiftSyntax510 Empty.swift
[31/57] Wrapping AST for SwiftSyntax509 for debugging
[33/57] Emitting module SwiftSyntax600
[34/57] Compiling SwiftSyntax600 Empty.swift
[34/57] Wrapping AST for SwiftSyntax510 for debugging
[35/58] Wrapping AST for SwiftSyntax601 for debugging
[37/58] Wrapping AST for SwiftSyntax600 for debugging
[39/58] Compiling Logging LogHandler.swift
[40/59] Compiling Logging LogEvent.swift
[41/122] Compiling Logging MetadataProvider.swift
[42/122] Emitting module Logging
[43/122] Compiling Logging Locks.swift
[44/122] Compiling Logging Logging.swift
[46/123] Compiling SwiftSyntax AbsolutePosition.swift
[47/123] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[48/123] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[49/123] Compiling SwiftSyntax Assert.swift
[50/123] Compiling SwiftSyntax BumpPtrAllocator.swift
[51/123] Compiling SwiftSyntax CommonAncestor.swift
[52/123] Compiling SwiftSyntax Convenience.swift
[53/123] Compiling SwiftSyntax CustomTraits.swift
[54/123] Compiling SwiftSyntax EditorPlaceholder.swift
[55/132] Compiling SwiftSyntax SyntaxIdentifier.swift
[56/132] Compiling SwiftSyntax SyntaxNodeFactory.swift
[57/132] Compiling SwiftSyntax SyntaxNodeStructure.swift
[58/132] Compiling SwiftSyntax SyntaxProtocol.swift
[59/132] Compiling SwiftSyntax SyntaxText.swift
[60/132] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[61/132] Compiling SwiftSyntax TokenDiagnostic.swift
[62/132] Compiling SwiftSyntax TokenSequence.swift
[63/132] Compiling SwiftSyntax TokenSyntax.swift
[64/132] Compiling SwiftSyntax SourceLocation.swift
[65/132] Compiling SwiftSyntax SourcePresence.swift
[66/132] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[67/132] Compiling SwiftSyntax Syntax.swift
[68/132] Compiling SwiftSyntax SyntaxArena.swift
[69/132] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[70/132] Compiling SwiftSyntax SyntaxChildren.swift
[71/132] Compiling SwiftSyntax SyntaxCollection.swift
[72/132] Compiling SwiftSyntax SyntaxHashable.swift
[73/132] Emitting module SwiftSyntax
[74/132] Compiling SwiftSyntax Identifier.swift
[75/132] Compiling SwiftSyntax MemoryLayout.swift
[76/132] Compiling SwiftSyntax MissingNodeInitializers.swift
[77/132] Compiling SwiftSyntax RawSyntax.swift
[78/132] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[79/132] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[80/132] Compiling SwiftSyntax RawSyntaxTokenView.swift
[81/132] Compiling SwiftSyntax SourceEdit.swift
[82/132] Compiling SwiftSyntax SourceLength.swift
[83/132] Compiling SwiftSyntax SyntaxEnum.swift
[84/132] Compiling SwiftSyntax SyntaxKind.swift
[85/132] Compiling SwiftSyntax SyntaxRewriter.swift
[86/132] Compiling SwiftSyntax SyntaxTraits.swift
[87/132] Compiling SwiftSyntax SyntaxVisitor.swift
[88/132] Compiling SwiftSyntax TokenKind.swift
[89/132] Compiling SwiftSyntax Tokens.swift
[90/132] Compiling SwiftSyntax TriviaPieces.swift
[91/132] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[92/132] Compiling SwiftSyntax RawSyntaxNodesC.swift
[93/132] Compiling SwiftSyntax RawSyntaxNodesD.swift
[94/132] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[95/132] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[96/132] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[97/132] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[98/132] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[99/132] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[100/132] Compiling SwiftSyntax RawSyntaxValidation.swift
[101/132] Compiling SwiftSyntax Trivia.swift
[102/132] Compiling SwiftSyntax Utils.swift
[103/132] Compiling SwiftSyntax ChildNameForKeyPath.swift
[104/132] Compiling SwiftSyntax Keyword.swift
[105/132] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[106/132] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[107/132] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[108/132] Compiling SwiftSyntax SyntaxBaseNodes.swift
[109/132] Compiling SwiftSyntax SyntaxCollections.swift
[110/132] Compiling SwiftSyntax SyntaxNodesAB.swift
[111/132] Compiling SwiftSyntax SyntaxNodesC.swift
[112/132] Compiling SwiftSyntax SyntaxNodesD.swift
[113/132] Compiling SwiftSyntax SyntaxNodesEF.swift
[114/132] Compiling SwiftSyntax SyntaxNodesGHI.swift
[115/132] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[116/132] Compiling SwiftSyntax SyntaxNodesOP.swift
[117/132] Compiling SwiftSyntax SyntaxNodesQRS.swift
[118/132] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[119/142] Wrapping AST for SwiftSyntax for debugging
[121/179] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[122/192] Compiling SwiftDiagnostics Message.swift
[123/192] Compiling SwiftDiagnostics Note.swift
[124/192] Compiling SwiftDiagnostics FixIt.swift
[125/192] Compiling SwiftBasicFormat Syntax+Extensions.swift
[126/192] Compiling SwiftParser CharacterInfo.swift
[127/192] Compiling SwiftParser CollectionNodes+Parsable.swift
[128/192] Compiling SwiftParser Attributes.swift
[129/192] Compiling SwiftParser Availability.swift
[130/192] Emitting module SwiftDiagnostics
[131/192] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[132/192] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[133/192] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[134/192] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[135/193] Compiling SwiftParser SwiftParserCompatibility.swift
[136/193] Compiling SwiftParser SwiftVersion.swift
[137/193] Compiling SwiftParser SyntaxUtils.swift
[138/193] Compiling SwiftParser TokenConsumer.swift
[139/193] Compiling SwiftParser TokenPrecedence.swift
[140/198] Compiling SwiftBasicFormat Indenter.swift
[142/198] Compiling SwiftBasicFormat InferIndentation.swift
[142/198] Wrapping AST for SwiftDiagnostics for debugging
[144/198] Emitting module SwiftBasicFormat
[145/198] Compiling SwiftBasicFormat BasicFormat.swift
[146/199] Wrapping AST for SwiftBasicFormat for debugging
[148/199] Emitting module SwiftParser
[149/199] Compiling SwiftParser LexemeSequence.swift
[150/199] Compiling SwiftParser Lexer.swift
[151/199] Compiling SwiftParser RegexLiteralLexer.swift
[152/199] Compiling SwiftParser UnicodeScalarExtensions.swift
[153/199] Compiling SwiftParser Lookahead.swift
[154/199] Compiling SwiftParser LoopProgressCondition.swift
[155/199] Compiling SwiftParser Modifiers.swift
[156/199] Compiling SwiftParser Names.swift
[157/199] Compiling SwiftParser Nominals.swift
[158/199] Compiling SwiftParser Parameters.swift
[159/199] Compiling SwiftParser ParseSourceFile.swift
[160/199] Compiling SwiftParser Parser.swift
[161/199] Compiling SwiftParser Patterns.swift
[162/199] Compiling SwiftParser Recovery.swift
[163/199] Compiling SwiftParser Specifiers.swift
[164/199] Compiling SwiftParser Statements.swift
[165/199] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[166/199] Compiling SwiftParser StringLiterals.swift
[167/199] Compiling SwiftParser TokenSpec.swift
[168/199] Compiling SwiftParser TokenSpecSet.swift
[169/199] Compiling SwiftParser TopLevel.swift
[170/199] Compiling SwiftParser TriviaParser.swift
[171/199] Compiling SwiftParser Types.swift
[172/199] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[173/199] Compiling SwiftParser Expressions.swift
[174/199] Compiling SwiftParser IncrementalParseTransition.swift
[175/199] Compiling SwiftParser IsValidIdentifier.swift
[176/199] Compiling SwiftParser Cursor.swift
[177/199] Compiling SwiftParser Lexeme.swift
[182/199] Compiling SwiftParser Declarations.swift
[183/199] Compiling SwiftParser Directives.swift
[184/199] Compiling SwiftParser ExperimentalFeatures.swift
[185/199] Compiling SwiftParser IsLexerClassified.swift
[186/199] Compiling SwiftParser LayoutNodes+Parsable.swift
[187/199] Compiling SwiftParser Parser+TokenSpecSet.swift
[188/199] Compiling SwiftParser TokenSpecStaticMembers.swift
[189/204] Wrapping AST for SwiftParser for debugging
[191/223] Compiling SwiftOperators PrecedenceGroup.swift
[192/224] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[193/225] Compiling SwiftOperators Operator.swift
[194/225] Compiling SwiftOperators OperatorError+Diagnostics.swift
[195/225] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[196/225] Emitting module SwiftOperators
[197/225] Compiling SwiftOperators PrecedenceGraph.swift
[198/225] Compiling SwiftOperators OperatorTable.swift
[199/225] Compiling SwiftOperators SyntaxSynthesis.swift
[200/225] Compiling SwiftOperators OperatorTable+Semantics.swift
[201/225] Compiling SwiftOperators OperatorError.swift
[202/225] Compiling SwiftOperators OperatorTable+Defaults.swift
[203/225] Compiling SwiftOperators OperatorTable+Folding.swift
[204/226] Wrapping AST for SwiftOperators for debugging
[206/226] Emitting module SwiftParserDiagnostics
[209/226] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[210/226] Compiling SwiftParserDiagnostics Utils.swift
[211/226] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[212/226] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[213/226] Compiling SwiftParserDiagnostics PresenceUtils.swift
[216/226] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[217/226] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[218/242] Wrapping AST for SwiftParserDiagnostics for debugging
[220/242] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[221/242] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[222/242] Compiling SwiftSyntaxBuilder Indenter.swift
[223/242] Compiling SwiftSyntaxBuilder ListBuilder.swift
[224/243] Emitting module SwiftSyntaxBuilder
[225/243] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[226/243] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[227/243] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[228/243] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[229/243] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[230/243] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[231/243] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[232/243] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[233/243] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[234/243] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[235/243] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[236/244] Wrapping AST for SwiftSyntaxBuilder for debugging
[238/261] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[239/261] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[240/261] Compiling SwiftSyntaxMacros Macro.swift
[241/261] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[242/261] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[243/261] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[244/263] Emitting module SwiftSyntaxMacros
[245/263] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[246/263] Compiling SwiftSyntaxMacros Macro+Format.swift
[247/263] Compiling SwiftSyntaxMacros MemberMacro.swift
[248/263] Compiling SwiftSyntaxMacros PeerMacro.swift
[249/263] Compiling SwiftSyntaxMacros PreambleMacro.swift
[250/263] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[251/263] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[252/263] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[253/263] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[254/263] Compiling SwiftSyntaxMacros AccessorMacro.swift
[255/263] Compiling SwiftSyntaxMacros AttachedMacro.swift
[256/263] Compiling SwiftSyntaxMacros BodyMacro.swift
[257/264] Wrapping AST for SwiftSyntaxMacros for debugging
[259/273] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[260/274] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[261/274] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[262/274] Emitting module SwiftSyntaxMacroExpansion
[263/274] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[264/274] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[265/274] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[266/274] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[267/274] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[268/274] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[269/275] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[271/287] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[272/287] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[273/287] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[274/288] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[275/288] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[276/288] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[277/288] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[278/288] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[279/288] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[280/288] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[281/288] Emitting module SwiftCompilerPluginMessageHandling
[282/288] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[283/288] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[284/289] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[286/291] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[287/291] Emitting module SwiftCompilerPlugin
[288/292] Wrapping AST for SwiftCompilerPlugin for debugging
[290/300] Compiling NodeAPIMacros Plugin.swift
[291/301] Compiling NodeAPIMacros NodePropertyMacro.swift
[292/301] Compiling NodeAPIMacros NodeMethodMacro.swift
[293/301] Compiling NodeAPIMacros NodeModuleMacro.swift
[294/301] Compiling NodeAPIMacros NodeConstructorMacro.swift
[295/301] Emitting module NodeAPIMacros
[296/301] Compiling NodeAPIMacros Diagnostics.swift
[297/301] Compiling NodeAPIMacros NodeClassMacro.swift
[298/301] Compiling NodeAPIMacros SyntaxUtils.swift
[299/302] Wrapping AST for NodeAPIMacros for debugging
[300/302] Write Objects.LinkFileList
[301/302] Linking NodeAPIMacros-tool
[303/331] Compiling NodeAPI NodeString.swift
[304/331] Compiling NodeAPI NodeSymbol.swift
[305/331] Compiling NodeAPI NodeThrowable.swift
[306/331] Compiling NodeAPI NodeTypedArray.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[307/335] Emitting module NodeAPI
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeActor.swift:14:34: error: cannot find 'DispatchQueue' in scope
12 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
13 | private final class NodeExecutor: SerialExecutor {
14 | private let schedulerQueue = DispatchQueue(label: "NodeExecutorScheduler")
| `- error: cannot find 'DispatchQueue' in scope
15 |
16 | fileprivate init() {
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeContext.swift:27:53: error: cannot find 'Lock' in scope
25 | }
26 |
27 | fileprivate static let globalDefaultQueueLock = Lock()
| `- error: cannot find 'Lock' in scope
28 |
29 | // Note that this is NOT a Handle, which means that the global default
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeInstanceData.swift:6:24: error: cannot find 'ReadWriteLock' in scope
4 |
5 | private class NodeInstanceDataStorage: @unchecked Sendable {
6 | private let lock = ReadWriteLock()
| `- error: cannot find 'ReadWriteLock' in scope
7 | private var storage: [napi_env: InstanceDataBox] = [:]
8 | private init() {}
[308/335] Compiling NodeAPI NodeArrayBuffer.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:68:35: error: cannot find 'napi_create_threadsafe_function' in scope
66 | var result: napi_threadsafe_function!
67 | do {
68 | try environment.check(napi_create_threadsafe_function(
| `- error: cannot find 'napi_create_threadsafe_function' in scope
69 | environment.raw, nil,
70 | asyncResource?.rawValue(), label.rawValue(),
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:69:34: error: 'nil' requires a contextual type
67 | do {
68 | try environment.check(napi_create_threadsafe_function(
69 | environment.raw, nil,
| `- error: 'nil' requires a contextual type
70 | asyncResource?.rawValue(), label.rawValue(),
71 | maxQueueSize ?? 0, 1,
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:75:17: error: 'nil' requires a contextual type
73 | Unmanaged<Token>.fromOpaque(data!).release()
74 | },
75 | nil, cCallbackC,
| `- error: 'nil' requires a contextual type
76 | &result
77 | ))
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:83:31: error: cannot find 'napi_unref_threadsafe_function' in scope
81 | }
82 | self.raw = result
83 | try environment.check(napi_unref_threadsafe_function(environment.raw, raw))
| `- error: cannot find 'napi_unref_threadsafe_function' in scope
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:106:24: error: cannot find 'napi_acquire_threadsafe_function' in scope
104 | public func close() throws {
105 | try ensureValid()
106 | try Self.check(napi_acquire_threadsafe_function(raw))
| `- error: cannot find 'napi_acquire_threadsafe_function' in scope
107 | try Self.check(napi_release_threadsafe_function(raw, napi_tsfn_abort))
108 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:107:24: error: cannot find 'napi_release_threadsafe_function' in scope
105 | try ensureValid()
106 | try Self.check(napi_acquire_threadsafe_function(raw))
107 | try Self.check(napi_release_threadsafe_function(raw, napi_tsfn_abort))
| `- error: cannot find 'napi_release_threadsafe_function' in scope
108 | }
109 |
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:115:27: error: cannot find 'napi_ref_threadsafe_function' in scope
113 | @NodeActor fileprivate init(_ queue: NodeAsyncQueue) throws {
114 | let env = queue.environment
115 | try env.check(napi_ref_threadsafe_function(env.raw, queue.raw))
| `- error: cannot find 'napi_ref_threadsafe_function' in scope
116 | self.queue = queue
117 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:135:25: error: cannot find 'napi_unref_threadsafe_function' in scope
133 | // warnings about accessing `env.raw` off of NodeActor
134 | NodeActor.unsafeAssumeIsolated {
135 | _ = napi_unref_threadsafe_function(env.raw, raw.value)
| `- error: cannot find 'napi_unref_threadsafe_function' in scope
136 | }
137 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:156:13: error: cannot find 'napi_release_threadsafe_function' in scope
154 | deinit {
155 | if isValid {
156 | napi_release_threadsafe_function(raw, napi_tsfn_release)
| `- error: cannot find 'napi_release_threadsafe_function' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:171:17: error: cannot find 'napi_call_threadsafe_function' in scope
169 | do {
170 | try Self.check(
171 | napi_call_threadsafe_function(
| `- error: cannot find 'napi_call_threadsafe_function' in scope
172 | raw, rawPayload,
173 | blocking ? napi_tsfn_blocking : napi_tsfn_nonblocking
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:203:20: error: cannot find 'Lock' in scope
201 | ) async throws -> T {
202 | // TODO: Create a 'LockIsolated' helper type or use atomics here
203 | let lock = Lock()
| `- error: cannot find 'Lock' in scope
204 | let state = UncheckedSendable(Box<RunState>(.pending))
205 | return try await withTaskCancellationHandler {
[309/335] Compiling NodeAPI NodeAsyncQueue.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:68:35: error: cannot find 'napi_create_threadsafe_function' in scope
66 | var result: napi_threadsafe_function!
67 | do {
68 | try environment.check(napi_create_threadsafe_function(
| `- error: cannot find 'napi_create_threadsafe_function' in scope
69 | environment.raw, nil,
70 | asyncResource?.rawValue(), label.rawValue(),
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:69:34: error: 'nil' requires a contextual type
67 | do {
68 | try environment.check(napi_create_threadsafe_function(
69 | environment.raw, nil,
| `- error: 'nil' requires a contextual type
70 | asyncResource?.rawValue(), label.rawValue(),
71 | maxQueueSize ?? 0, 1,
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:75:17: error: 'nil' requires a contextual type
73 | Unmanaged<Token>.fromOpaque(data!).release()
74 | },
75 | nil, cCallbackC,
| `- error: 'nil' requires a contextual type
76 | &result
77 | ))
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:83:31: error: cannot find 'napi_unref_threadsafe_function' in scope
81 | }
82 | self.raw = result
83 | try environment.check(napi_unref_threadsafe_function(environment.raw, raw))
| `- error: cannot find 'napi_unref_threadsafe_function' in scope
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:106:24: error: cannot find 'napi_acquire_threadsafe_function' in scope
104 | public func close() throws {
105 | try ensureValid()
106 | try Self.check(napi_acquire_threadsafe_function(raw))
| `- error: cannot find 'napi_acquire_threadsafe_function' in scope
107 | try Self.check(napi_release_threadsafe_function(raw, napi_tsfn_abort))
108 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:107:24: error: cannot find 'napi_release_threadsafe_function' in scope
105 | try ensureValid()
106 | try Self.check(napi_acquire_threadsafe_function(raw))
107 | try Self.check(napi_release_threadsafe_function(raw, napi_tsfn_abort))
| `- error: cannot find 'napi_release_threadsafe_function' in scope
108 | }
109 |
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:115:27: error: cannot find 'napi_ref_threadsafe_function' in scope
113 | @NodeActor fileprivate init(_ queue: NodeAsyncQueue) throws {
114 | let env = queue.environment
115 | try env.check(napi_ref_threadsafe_function(env.raw, queue.raw))
| `- error: cannot find 'napi_ref_threadsafe_function' in scope
116 | self.queue = queue
117 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:135:25: error: cannot find 'napi_unref_threadsafe_function' in scope
133 | // warnings about accessing `env.raw` off of NodeActor
134 | NodeActor.unsafeAssumeIsolated {
135 | _ = napi_unref_threadsafe_function(env.raw, raw.value)
| `- error: cannot find 'napi_unref_threadsafe_function' in scope
136 | }
137 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:156:13: error: cannot find 'napi_release_threadsafe_function' in scope
154 | deinit {
155 | if isValid {
156 | napi_release_threadsafe_function(raw, napi_tsfn_release)
| `- error: cannot find 'napi_release_threadsafe_function' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:171:17: error: cannot find 'napi_call_threadsafe_function' in scope
169 | do {
170 | try Self.check(
171 | napi_call_threadsafe_function(
| `- error: cannot find 'napi_call_threadsafe_function' in scope
172 | raw, rawPayload,
173 | blocking ? napi_tsfn_blocking : napi_tsfn_nonblocking
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:203:20: error: cannot find 'Lock' in scope
201 | ) async throws -> T {
202 | // TODO: Create a 'LockIsolated' helper type or use atomics here
203 | let lock = Lock()
| `- error: cannot find 'Lock' in scope
204 | let state = UncheckedSendable(Box<RunState>(.pending))
205 | return try await withTaskCancellationHandler {
[310/335] Compiling NodeAPI NodeBigInt.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:68:35: error: cannot find 'napi_create_threadsafe_function' in scope
66 | var result: napi_threadsafe_function!
67 | do {
68 | try environment.check(napi_create_threadsafe_function(
| `- error: cannot find 'napi_create_threadsafe_function' in scope
69 | environment.raw, nil,
70 | asyncResource?.rawValue(), label.rawValue(),
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:69:34: error: 'nil' requires a contextual type
67 | do {
68 | try environment.check(napi_create_threadsafe_function(
69 | environment.raw, nil,
| `- error: 'nil' requires a contextual type
70 | asyncResource?.rawValue(), label.rawValue(),
71 | maxQueueSize ?? 0, 1,
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:75:17: error: 'nil' requires a contextual type
73 | Unmanaged<Token>.fromOpaque(data!).release()
74 | },
75 | nil, cCallbackC,
| `- error: 'nil' requires a contextual type
76 | &result
77 | ))
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:83:31: error: cannot find 'napi_unref_threadsafe_function' in scope
81 | }
82 | self.raw = result
83 | try environment.check(napi_unref_threadsafe_function(environment.raw, raw))
| `- error: cannot find 'napi_unref_threadsafe_function' in scope
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:106:24: error: cannot find 'napi_acquire_threadsafe_function' in scope
104 | public func close() throws {
105 | try ensureValid()
106 | try Self.check(napi_acquire_threadsafe_function(raw))
| `- error: cannot find 'napi_acquire_threadsafe_function' in scope
107 | try Self.check(napi_release_threadsafe_function(raw, napi_tsfn_abort))
108 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:107:24: error: cannot find 'napi_release_threadsafe_function' in scope
105 | try ensureValid()
106 | try Self.check(napi_acquire_threadsafe_function(raw))
107 | try Self.check(napi_release_threadsafe_function(raw, napi_tsfn_abort))
| `- error: cannot find 'napi_release_threadsafe_function' in scope
108 | }
109 |
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:115:27: error: cannot find 'napi_ref_threadsafe_function' in scope
113 | @NodeActor fileprivate init(_ queue: NodeAsyncQueue) throws {
114 | let env = queue.environment
115 | try env.check(napi_ref_threadsafe_function(env.raw, queue.raw))
| `- error: cannot find 'napi_ref_threadsafe_function' in scope
116 | self.queue = queue
117 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:135:25: error: cannot find 'napi_unref_threadsafe_function' in scope
133 | // warnings about accessing `env.raw` off of NodeActor
134 | NodeActor.unsafeAssumeIsolated {
135 | _ = napi_unref_threadsafe_function(env.raw, raw.value)
| `- error: cannot find 'napi_unref_threadsafe_function' in scope
136 | }
137 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:156:13: error: cannot find 'napi_release_threadsafe_function' in scope
154 | deinit {
155 | if isValid {
156 | napi_release_threadsafe_function(raw, napi_tsfn_release)
| `- error: cannot find 'napi_release_threadsafe_function' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:171:17: error: cannot find 'napi_call_threadsafe_function' in scope
169 | do {
170 | try Self.check(
171 | napi_call_threadsafe_function(
| `- error: cannot find 'napi_call_threadsafe_function' in scope
172 | raw, rawPayload,
173 | blocking ? napi_tsfn_blocking : napi_tsfn_nonblocking
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:203:20: error: cannot find 'Lock' in scope
201 | ) async throws -> T {
202 | // TODO: Create a 'LockIsolated' helper type or use atomics here
203 | let lock = Lock()
| `- error: cannot find 'Lock' in scope
204 | let state = UncheckedSendable(Box<RunState>(.pending))
205 | return try await withTaskCancellationHandler {
[311/335] Compiling NodeAPI NodeBool.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:68:35: error: cannot find 'napi_create_threadsafe_function' in scope
66 | var result: napi_threadsafe_function!
67 | do {
68 | try environment.check(napi_create_threadsafe_function(
| `- error: cannot find 'napi_create_threadsafe_function' in scope
69 | environment.raw, nil,
70 | asyncResource?.rawValue(), label.rawValue(),
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:69:34: error: 'nil' requires a contextual type
67 | do {
68 | try environment.check(napi_create_threadsafe_function(
69 | environment.raw, nil,
| `- error: 'nil' requires a contextual type
70 | asyncResource?.rawValue(), label.rawValue(),
71 | maxQueueSize ?? 0, 1,
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:75:17: error: 'nil' requires a contextual type
73 | Unmanaged<Token>.fromOpaque(data!).release()
74 | },
75 | nil, cCallbackC,
| `- error: 'nil' requires a contextual type
76 | &result
77 | ))
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:83:31: error: cannot find 'napi_unref_threadsafe_function' in scope
81 | }
82 | self.raw = result
83 | try environment.check(napi_unref_threadsafe_function(environment.raw, raw))
| `- error: cannot find 'napi_unref_threadsafe_function' in scope
84 | }
85 |
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:106:24: error: cannot find 'napi_acquire_threadsafe_function' in scope
104 | public func close() throws {
105 | try ensureValid()
106 | try Self.check(napi_acquire_threadsafe_function(raw))
| `- error: cannot find 'napi_acquire_threadsafe_function' in scope
107 | try Self.check(napi_release_threadsafe_function(raw, napi_tsfn_abort))
108 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:107:24: error: cannot find 'napi_release_threadsafe_function' in scope
105 | try ensureValid()
106 | try Self.check(napi_acquire_threadsafe_function(raw))
107 | try Self.check(napi_release_threadsafe_function(raw, napi_tsfn_abort))
| `- error: cannot find 'napi_release_threadsafe_function' in scope
108 | }
109 |
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:115:27: error: cannot find 'napi_ref_threadsafe_function' in scope
113 | @NodeActor fileprivate init(_ queue: NodeAsyncQueue) throws {
114 | let env = queue.environment
115 | try env.check(napi_ref_threadsafe_function(env.raw, queue.raw))
| `- error: cannot find 'napi_ref_threadsafe_function' in scope
116 | self.queue = queue
117 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:135:25: error: cannot find 'napi_unref_threadsafe_function' in scope
133 | // warnings about accessing `env.raw` off of NodeActor
134 | NodeActor.unsafeAssumeIsolated {
135 | _ = napi_unref_threadsafe_function(env.raw, raw.value)
| `- error: cannot find 'napi_unref_threadsafe_function' in scope
136 | }
137 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:156:13: error: cannot find 'napi_release_threadsafe_function' in scope
154 | deinit {
155 | if isValid {
156 | napi_release_threadsafe_function(raw, napi_tsfn_release)
| `- error: cannot find 'napi_release_threadsafe_function' in scope
157 | }
158 | }
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:171:17: error: cannot find 'napi_call_threadsafe_function' in scope
169 | do {
170 | try Self.check(
171 | napi_call_threadsafe_function(
| `- error: cannot find 'napi_call_threadsafe_function' in scope
172 | raw, rawPayload,
173 | blocking ? napi_tsfn_blocking : napi_tsfn_nonblocking
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeAsyncQueue.swift:203:20: error: cannot find 'Lock' in scope
201 | ) async throws -> T {
202 | // TODO: Create a 'LockIsolated' helper type or use atomics here
203 | let lock = Lock()
| `- error: cannot find 'Lock' in scope
204 | let state = UncheckedSendable(Box<RunState>(.pending))
205 | return try await withTaskCancellationHandler {
[312/335] Compiling NodeAPI NodeFunction.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeInstanceData.swift:6:24: error: cannot find 'ReadWriteLock' in scope
4 |
5 | private class NodeInstanceDataStorage: @unchecked Sendable {
6 | private let lock = ReadWriteLock()
| `- error: cannot find 'ReadWriteLock' in scope
7 | private var storage: [napi_env: InstanceDataBox] = [:]
8 | private init() {}
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[313/335] Compiling NodeAPI NodeInstanceData.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeInstanceData.swift:6:24: error: cannot find 'ReadWriteLock' in scope
4 |
5 | private class NodeInstanceDataStorage: @unchecked Sendable {
6 | private let lock = ReadWriteLock()
| `- error: cannot find 'ReadWriteLock' in scope
7 | private var storage: [napi_env: InstanceDataBox] = [:]
8 | private init() {}
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[314/335] Compiling NodeAPI NodeModule.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeInstanceData.swift:6:24: error: cannot find 'ReadWriteLock' in scope
4 |
5 | private class NodeInstanceDataStorage: @unchecked Sendable {
6 | private let lock = ReadWriteLock()
| `- error: cannot find 'ReadWriteLock' in scope
7 | private var storage: [napi_env: InstanceDataBox] = [:]
8 | private init() {}
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[315/335] Compiling NodeAPI NodeNull.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeInstanceData.swift:6:24: error: cannot find 'ReadWriteLock' in scope
4 |
5 | private class NodeInstanceDataStorage: @unchecked Sendable {
6 | private let lock = ReadWriteLock()
| `- error: cannot find 'ReadWriteLock' in scope
7 | private var storage: [napi_env: InstanceDataBox] = [:]
8 | private init() {}
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[316/335] Compiling NodeAPI Locks.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeActor.swift:14:34: error: cannot find 'DispatchQueue' in scope
12 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
13 | private final class NodeExecutor: SerialExecutor {
14 | private let schedulerQueue = DispatchQueue(label: "NodeExecutorScheduler")
| `- error: cannot find 'DispatchQueue' in scope
15 |
16 | fileprivate init() {
[317/335] Compiling NodeAPI NodeAPIError.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeActor.swift:14:34: error: cannot find 'DispatchQueue' in scope
12 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
13 | private final class NodeExecutor: SerialExecutor {
14 | private let schedulerQueue = DispatchQueue(label: "NodeExecutorScheduler")
| `- error: cannot find 'DispatchQueue' in scope
15 |
16 | fileprivate init() {
[318/335] Compiling NodeAPI NodeActor.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeActor.swift:14:34: error: cannot find 'DispatchQueue' in scope
12 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
13 | private final class NodeExecutor: SerialExecutor {
14 | private let schedulerQueue = DispatchQueue(label: "NodeExecutorScheduler")
| `- error: cannot find 'DispatchQueue' in scope
15 |
16 | fileprivate init() {
[319/335] Compiling NodeAPI NodeArray.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeActor.swift:14:34: error: cannot find 'DispatchQueue' in scope
12 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
13 | private final class NodeExecutor: SerialExecutor {
14 | private let schedulerQueue = DispatchQueue(label: "NodeExecutorScheduler")
| `- error: cannot find 'DispatchQueue' in scope
15 |
16 | fileprivate init() {
[320/335] Compiling NodeAPI NodeNumber.swift
[321/335] Compiling NodeAPI NodeObject.swift
[322/335] Compiling NodeAPI NodePromise.swift
[323/335] Compiling NodeAPI NodeProperty.swift
[324/335] Compiling NodeAPI NodeBuffer.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeContext.swift:27:53: error: cannot find 'Lock' in scope
25 | }
26 |
27 | fileprivate static let globalDefaultQueueLock = Lock()
| `- error: cannot find 'Lock' in scope
28 |
29 | // Note that this is NOT a Handle, which means that the global default
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeContext.swift:210:19: error: cannot find 'Thread' in scope
208 | // Node doesn't give us a backtrace (because we're not on a JS thread?) so
209 | // print one ourselves
210 | print(Thread.callStackSymbols.joined(separator: "\n"))
| `- error: cannot find 'Thread' in scope
211 | nodeFatalError("Attempted to call a NodeAPI function on a non-JS thread")
212 | }
[325/335] Compiling NodeAPI NodeClass.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeContext.swift:27:53: error: cannot find 'Lock' in scope
25 | }
26 |
27 | fileprivate static let globalDefaultQueueLock = Lock()
| `- error: cannot find 'Lock' in scope
28 |
29 | // Note that this is NOT a Handle, which means that the global default
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeContext.swift:210:19: error: cannot find 'Thread' in scope
208 | // Node doesn't give us a backtrace (because we're not on a JS thread?) so
209 | // print one ourselves
210 | print(Thread.callStackSymbols.joined(separator: "\n"))
| `- error: cannot find 'Thread' in scope
211 | nodeFatalError("Attempted to call a NodeAPI function on a non-JS thread")
212 | }
[326/335] Compiling NodeAPI NodeContext.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeContext.swift:27:53: error: cannot find 'Lock' in scope
25 | }
26 |
27 | fileprivate static let globalDefaultQueueLock = Lock()
| `- error: cannot find 'Lock' in scope
28 |
29 | // Note that this is NOT a Handle, which means that the global default
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeContext.swift:210:19: error: cannot find 'Thread' in scope
208 | // Node doesn't give us a backtrace (because we're not on a JS thread?) so
209 | // print one ourselves
210 | print(Thread.callStackSymbols.joined(separator: "\n"))
| `- error: cannot find 'Thread' in scope
211 | nodeFatalError("Attempted to call a NodeAPI function on a non-JS thread")
212 | }
[327/335] Compiling NodeAPI NodeDataView.swift
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeContext.swift:27:53: error: cannot find 'Lock' in scope
25 | }
26 |
27 | fileprivate static let globalDefaultQueueLock = Lock()
| `- error: cannot find 'Lock' in scope
28 |
29 | // Note that this is NOT a Handle, which means that the global default
/host/spi-builder-workspace/.build/checkouts/node-swift/Sources/NodeAPI/NodeContext.swift:210:19: error: cannot find 'Thread' in scope
208 | // Node doesn't give us a backtrace (because we're not on a JS thread?) so
209 | // print one ourselves
210 | print(Thread.callStackSymbols.joined(separator: "\n"))
| `- error: cannot find 'Thread' in scope
211 | nodeFatalError("Attempted to call a NodeAPI function on a non-JS thread")
212 | }
[328/335] Compiling NodeAPI NodeDate.swift
[329/335] Compiling NodeAPI NodeEnvironment.swift
[330/335] Compiling NodeAPI NodeError.swift
[331/335] Compiling NodeAPI NodeExternal.swift
[332/335] Compiling NodeAPI NodeUndefined.swift
[333/335] Compiling NodeAPI NodeValue.swift
[334/335] Compiling NodeAPI Sugar.swift
[335/335] Compiling NodeAPI Utilities.swift
BUILD FAILURE 6.3 wasm