Build Information
Failed to build pkl-swift, reference main (0bf958), with Swift 6.1 for Wasm on 13 Dec 2025 03:17:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/pkl-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/apple/pkl-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0bf958c Bump pkl.impl.ghactions to version 1.1.6 (#97)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
0bf958c60e96ba3a29e115892a98b2165af64d22
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pkl-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/apple/pkl-swift.git
https://github.com/apple/pkl-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"cxx_language_standard" : "c++20",
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "semanticversion",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftPackageIndex/SemanticVersion"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.55.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "pkl-swift",
"name" : "pkl-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "MessagePack",
"targets" : [
"MessagePack"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PklSwift",
"targets" : [
"PklSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "pkl-gen-swift",
"targets" : [
"pkl-gen-swift"
],
"type" : {
"executable" : null
}
},
{
"name" : "test-external-reader",
"targets" : [
"test-external-reader"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5",
"6"
],
"targets" : [
{
"c99name" : "test_external_reader",
"module_type" : "SwiftTarget",
"name" : "test-external-reader",
"path" : "Sources/test-external-reader",
"product_memberships" : [
"test-external-reader"
],
"sources" : [
"TestExternalReader.swift"
],
"target_dependencies" : [
"PklSwift"
],
"type" : "executable"
},
{
"c99name" : "pkl_gen_swift",
"module_type" : "SwiftTarget",
"name" : "pkl-gen-swift",
"path" : "Sources/pkl-gen-swift",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"pkl-gen-swift"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/pkl-gen-swift/Resources/VERSION.txt",
"rule" : {
"embed_in_code" : {
}
}
}
],
"sources" : [
"Generated/GeneratorSettings.pkl.swift",
"PklGenSwift.swift",
"PklSwiftGenerator.swift"
],
"target_dependencies" : [
"PklSwift"
],
"type" : "executable"
},
{
"c99name" : "PklSwiftTests",
"module_type" : "SwiftTarget",
"name" : "PklSwiftTests",
"path" : "Tests/PklSwiftTests",
"sources" : [
"API/DataSizeTests.swift",
"API/DurationTests.swift",
"Decoder/PklDecoderTest.swift",
"EvaluatorManagerTest.swift",
"EvaluatorTest.swift",
"ExternalReaderClientTest.swift",
"Fixtures/Generated/AnyType.pkl.swift",
"Fixtures/Generated/ApiTypes.pkl.swift",
"Fixtures/Generated/Classes.pkl.swift",
"Fixtures/Generated/Collections.pkl.swift",
"Fixtures/Generated/Collections2.pkl.swift",
"Fixtures/Generated/ExtendedModule.pkl.swift",
"Fixtures/Generated/OpenModule.pkl.swift",
"Fixtures/Generated/UnionTypes.pkl.swift",
"Fixtures/Generated/UnusedClass.pkl.swift",
"Fixtures/Generated/UnusedClassDefs.pkl.swift",
"Fixtures/Generated/pkl_swift_example_Poly.pkl.swift",
"Fixtures/Generated/pkl_swift_lib1.pkl.swift",
"FixturesTest.swift",
"ProjectTest.swift"
],
"target_dependencies" : [
"PklSwift"
],
"type" : "test"
},
{
"c99name" : "PklSwiftInternals",
"module_type" : "ClangTarget",
"name" : "PklSwiftInternals",
"path" : "Sources/PklSwiftInternals",
"product_memberships" : [
"PklSwift",
"pkl-gen-swift",
"test-external-reader"
],
"sources" : [
"Discovery.cpp"
],
"type" : "library"
},
{
"c99name" : "PklSwift",
"module_type" : "SwiftTarget",
"name" : "PklSwift",
"path" : "Sources/PklSwift",
"product_dependencies" : [
"SemanticVersion"
],
"product_memberships" : [
"PklSwift",
"pkl-gen-swift",
"test-external-reader"
],
"sources" : [
"API/Class.swift",
"API/DataSize.swift",
"API/Duration.swift",
"API/TypeAlias.swift",
"Decoder/PklDecoder.swift",
"Decoder/PklMapDecodingContainer.swift",
"Decoder/PklSingleValueDecodingContainer.swift",
"Decoder/PklTypedDecodingContainer.swift",
"Decoder/PklUnkeyedDecodingContainer.swift",
"Evaluator.swift",
"EvaluatorManager.swift",
"EvaluatorOptions.swift",
"ExternalReaderClient.swift",
"Logger.swift",
"Message.swift",
"MessageTransport.swift",
"ModuleSource.swift",
"PklCodingKey.swift",
"PklEvaluatorSettings.swift",
"Project.swift",
"Reader.swift",
"TypeRegistry.swift",
"Utils.swift",
"locks.swift"
],
"target_dependencies" : [
"MessagePack",
"PklSwiftInternals"
],
"type" : "library"
},
{
"c99name" : "MessagePackTests",
"module_type" : "SwiftTarget",
"name" : "MessagePackTests",
"path" : "Tests/MessagePackTests",
"sources" : [
"MessagePackDecodingTests.swift",
"MessagePackEncodingTests.swift"
],
"target_dependencies" : [
"MessagePack"
],
"type" : "test"
},
{
"c99name" : "MessagePack",
"module_type" : "SwiftTarget",
"name" : "MessagePack",
"path" : "Sources/MessagePack",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"MessagePack",
"PklSwift",
"pkl-gen-swift",
"test-external-reader"
],
"sources" : [
"AnyCodingKey.swift",
"Box.swift",
"Decoder/KeyedDecodingContainer.swift",
"Decoder/KeyedSingleDecodingContainer.swift",
"Decoder/MessagePackDecoder.swift",
"Decoder/SingleValueDecodingContainer.swift",
"Decoder/UnkeyedDecodingContainer.swift",
"Decoder/UnkeyedMapDecodingContainer.swift",
"Decoder/_MessagePackDecoder.swift",
"Encoder/KeyedEncodingContainer.swift",
"Encoder/MessagePackEncoder.swift",
"Encoder/SingleValueEncodingContainer.swift",
"Encoder/UnkeyedEncodingContainer.swift",
"FixedWidthInteger.swift",
"IO.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
[1/387] Fetching semanticversion
[388/2545] Fetching semanticversion, swift-docc-plugin
[604/7766] Fetching semanticversion, swift-docc-plugin, swift-system
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (0.56s)
[791/7379] Fetching swift-docc-plugin, swift-system
[896/24300] Fetching swift-docc-plugin, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (1.02s)
[7235/19079] Fetching swift-docc-plugin, swift-argument-parser
[7574/72403] Fetching swift-docc-plugin, swift-argument-parser, swiftformat
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.99s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.99s)
[828/53324] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (36.35s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.1 (38.78s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.67s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3596] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (3.72s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (3.28s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.58.7 (3.74s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.58.7
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.5.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/29] Write sources
[8/29] Write embedded_resources.swift
[8/29] Write sources
[14/29] Compiling CSystem shims.c
[15/29] Write swift-version-24593BA9C3E375BF.txt
[16/66] Compiling PklSwiftInternals Discovery.cpp
[18/66] Emitting module ArgumentParserToolInfo
[19/66] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/67] Compiling SystemPackage FilePathSyntax.swift
[21/67] Compiling SystemPackage FilePathTemp.swift
[22/67] Compiling SystemPackage FilePathTempPosix.swift
[23/67] Compiling SystemPackage FilePathTempWindows.swift
[25/71] Compiling SystemPackage Errno.swift
[26/71] Compiling SystemPackage ErrnoWindows.swift
[27/71] Compiling SystemPackage FileDescriptor.swift
[28/71] Compiling SystemPackage FileHelpers.swift
[29/71] Compiling SystemPackage FileOperations.swift
[30/71] Emitting module SystemPackage
[30/71] Wrapping AST for ArgumentParserToolInfo for debugging
[32/71] Compiling SystemPackage FilePath.swift
[33/71] Compiling SystemPackage FilePathComponentView.swift
[34/71] Compiling SystemPackage FilePathComponents.swift
[35/71] Compiling SystemPackage FilePathParsing.swift
[36/71] Compiling SystemPackage FilePathString.swift
[37/71] Compiling SystemPackage FilePathWindows.swift
[38/71] Compiling SystemPackage FilePermissions.swift
[39/71] Compiling SystemPackage IOCompletion.swift
[40/71] Compiling SystemPackage IORequest.swift
[41/71] Compiling SystemPackage IORing.swift
[42/71] Compiling SystemPackage RawIORequest.swift
[43/71] Compiling SystemPackage Backcompat.swift
[44/71] Compiling SystemPackage CInterop.swift
[45/109] Compiling ArgumentParser Argument.swift
[46/109] Compiling ArgumentParser ArgumentDiscussion.swift
[47/109] Compiling ArgumentParser ArgumentHelp.swift
[48/109] Compiling ArgumentParser ArgumentVisibility.swift
[49/109] Compiling ArgumentParser CompletionKind.swift
[50/109] Compiling ArgumentParser Errors.swift
[51/109] Compiling ArgumentParser Flag.swift
[52/109] Compiling ArgumentParser NameSpecification.swift
[53/115] Compiling SemanticVersion SemanticVersion.swift
[54/115] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[55/115] Emitting module SemanticVersion
[56/115] Compiling SemanticVersion SemanticVersion+Codable.swift
[58/116] Compiling ArgumentParser Option.swift
[59/116] Compiling ArgumentParser InputKey.swift
[60/116] Compiling ArgumentParser InputOrigin.swift
[61/116] Compiling ArgumentParser Name.swift
[61/117] Wrapping AST for SemanticVersion for debugging
[63/117] Compiling ArgumentParser CollectionExtensions.swift
[64/117] Compiling ArgumentParser Mutex.swift
[65/117] Compiling ArgumentParser Platform.swift
[66/117] Compiling ArgumentParser SequenceExtensions.swift
[67/117] Compiling ArgumentParser StringExtensions.swift
[68/117] Compiling ArgumentParser SwiftExtensions.swift
[69/123] Emitting module ArgumentParser
[70/123] Wrapping AST for SystemPackage for debugging
[72/138] Compiling ArgumentParser Tree.swift
[73/138] Compiling ArgumentParser CodingKeyValidator.swift
[74/138] Compiling ArgumentParser NonsenseFlagsValidator.swift
[75/138] Compiling ArgumentParser ParsableArgumentsValidation.swift
[76/138] Compiling ArgumentParser PositionalArgumentsValidator.swift
[77/138] Compiling ArgumentParser UniqueNamesValidator.swift
[81/138] Compiling ArgumentParser Parsed.swift
[82/138] Compiling ArgumentParser ParsedValues.swift
[83/138] Compiling ArgumentParser ParserError.swift
[84/138] Compiling MessagePack UnkeyedEncodingContainer.swift
[85/138] Compiling MessagePack FixedWidthInteger.swift
[86/138] Compiling ArgumentParser CommandConfiguration.swift
[87/138] Compiling ArgumentParser CommandGroup.swift
[88/138] Compiling ArgumentParser EnumerableFlag.swift
[89/138] Compiling ArgumentParser ExpressibleByArgument.swift
[90/138] Compiling ArgumentParser BashCompletionsGenerator.swift
[91/138] Compiling ArgumentParser CompletionsGenerator.swift
[92/138] Compiling ArgumentParser FishCompletionsGenerator.swift
[93/138] Compiling ArgumentParser ZshCompletionsGenerator.swift
[97/138] Compiling MessagePack AnyCodingKey.swift
[98/138] Compiling MessagePack Box.swift
[99/138] Compiling MessagePack MessagePackDecoder.swift
[100/138] Compiling MessagePack SingleValueDecodingContainer.swift
[101/138] Compiling MessagePack KeyedDecodingContainer.swift
[102/138] Compiling MessagePack KeyedSingleDecodingContainer.swift
[109/138] Compiling MessagePack UnkeyedDecodingContainer.swift
[110/138] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[111/138] Compiling MessagePack _MessagePackDecoder.swift
[112/138] Compiling MessagePack KeyedEncodingContainer.swift
[113/138] Compiling MessagePack MessagePackEncoder.swift
[114/138] Compiling MessagePack SingleValueEncodingContainer.swift
[115/139] Emitting module MessagePack
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:201:73: error: cannot find 'NSEC_PER_SEC' in scope
199 | }
200 |
201 | let timeInterval = TimeInterval(seconds) + nanoseconds / Double(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
202 |
203 | return Date(timeIntervalSince1970: timeInterval)
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:201:73: error: cannot find 'NSEC_PER_SEC' in scope
199 | }
200 |
201 | let timeInterval = TimeInterval(seconds) + nanoseconds / Double(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
202 |
203 | return Date(timeIntervalSince1970: timeInterval)
[122/140] Wrapping AST for ArgumentParser for debugging
[124/140] Compiling MessagePack IO.swift
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:230:54: error: cannot find 'NSEC_PER_SEC' in scope
228 |
229 | let seconds = Int64(integral)
230 | let nanoseconds = UInt32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
231 |
232 | if seconds < 0 || seconds > UInt32.max {
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:230:54: error: cannot find 'NSEC_PER_SEC' in scope
228 |
229 | let seconds = Int64(integral)
230 | let nanoseconds = UInt32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
231 |
232 | if seconds < 0 || seconds > UInt32.max {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/18] Write swift-version-24593BA9C3E375BF.txt
[7/55] Compiling SemanticVersion SemanticVersion.swift
[8/55] Compiling SystemPackage Syscalls.swift
[9/55] Compiling SystemPackage WindowsSyscallAdapters.swift
[10/55] Compiling SystemPackage MachPort.swift
[11/55] Compiling SystemPackage PlatformString.swift
[12/59] Compiling SemanticVersion SemanticVersion+Codable.swift
[13/59] Emitting module SemanticVersion
[14/59] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[16/60] Compiling SystemPackage FilePathSyntax.swift
[17/60] Compiling SystemPackage FilePathTemp.swift
[18/60] Compiling SystemPackage FilePathTempPosix.swift
[19/60] Compiling SystemPackage FilePathTempWindows.swift
[20/60] Compiling SystemPackage FilePathWindows.swift
[21/60] Compiling SystemPackage FilePermissions.swift
[22/60] Compiling SystemPackage IOCompletion.swift
[23/60] Compiling SystemPackage IORequest.swift
[24/60] Compiling SystemPackage Errno.swift
[25/60] Compiling SystemPackage ErrnoWindows.swift
[26/60] Compiling SystemPackage FileDescriptor.swift
[27/60] Compiling SystemPackage FileHelpers.swift
[28/60] Compiling SystemPackage FileOperations.swift
[29/60] Compiling SystemPackage Constants.swift
[30/60] Compiling SystemPackage Exports.swift
[31/60] Compiling SystemPackage Mocking.swift
[32/60] Compiling SystemPackage RawBuffer.swift
[33/60] Compiling SystemPackage IORing.swift
[34/60] Compiling SystemPackage RawIORequest.swift
[35/60] Compiling SystemPackage Backcompat.swift
[36/60] Compiling SystemPackage CInterop.swift
[37/60] Emitting module SystemPackage
[38/59] Emitting module ArgumentParserToolInfo
[39/59] Compiling ArgumentParserToolInfo ToolInfo.swift
[41/59] Compiling SystemPackage FilePath.swift
[42/59] Compiling SystemPackage FilePathComponentView.swift
[43/59] Compiling SystemPackage FilePathComponents.swift
[44/59] Compiling SystemPackage FilePathParsing.swift
[45/59] Compiling SystemPackage FilePathString.swift
[46/59] Compiling SystemPackage SystemString.swift
[47/59] Compiling SystemPackage Util+StringArray.swift
[48/59] Compiling SystemPackage Util.swift
[49/59] Compiling SystemPackage UtilConsumers.swift
[51/118] Emitting module ArgumentParser
[52/124] Emitting module MessagePack
[53/125] Compiling MessagePack MessagePackDecoder.swift
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:201:73: error: cannot find 'NSEC_PER_SEC' in scope
199 | }
200 |
201 | let timeInterval = TimeInterval(seconds) + nanoseconds / Double(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
202 |
203 | return Date(timeIntervalSince1970: timeInterval)
[54/125] Compiling MessagePack SingleValueDecodingContainer.swift
/host/spi-builder-workspace/Sources/MessagePack/Decoder/MessagePackDecoder.swift:201:73: error: cannot find 'NSEC_PER_SEC' in scope
199 | }
200 |
201 | let timeInterval = TimeInterval(seconds) + nanoseconds / Double(NSEC_PER_SEC)
| `- error: cannot find 'NSEC_PER_SEC' in scope
202 |
203 | return Date(timeIntervalSince1970: timeInterval)
[55/125] Compiling MessagePack UnkeyedEncodingContainer.swift
[56/125] Compiling MessagePack FixedWidthInteger.swift
[57/125] Compiling MessagePack MessagePackEncoder.swift
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:230:54: error: cannot find 'NSEC_PER_SEC' in scope
228 |
229 | let seconds = Int64(integral)
230 | let nanoseconds = UInt32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
231 |
232 | if seconds < 0 || seconds > UInt32.max {
[58/125] Compiling MessagePack SingleValueEncodingContainer.swift
/host/spi-builder-workspace/Sources/MessagePack/Encoder/SingleValueEncodingContainer.swift:230:54: error: cannot find 'NSEC_PER_SEC' in scope
228 |
229 | let seconds = Int64(integral)
230 | let nanoseconds = UInt32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
231 |
232 | if seconds < 0 || seconds > UInt32.max {
[59/125] Compiling MessagePack IO.swift
[60/125] Compiling MessagePack _MessagePackDecoder.swift
[61/125] Compiling MessagePack KeyedEncodingContainer.swift
[62/125] Compiling MessagePack UnkeyedDecodingContainer.swift
[63/125] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[64/125] Compiling MessagePack AnyCodingKey.swift
[65/125] Compiling MessagePack Box.swift
[66/125] Compiling MessagePack KeyedDecodingContainer.swift
[67/125] Compiling MessagePack KeyedSingleDecodingContainer.swift
[74/125] Compiling ArgumentParser Tree.swift
[75/125] Compiling ArgumentParser CodingKeyValidator.swift
[76/125] Compiling ArgumentParser NonsenseFlagsValidator.swift
[77/125] Compiling ArgumentParser ParsableArgumentsValidation.swift
[78/125] Compiling ArgumentParser PositionalArgumentsValidator.swift
[79/125] Compiling ArgumentParser UniqueNamesValidator.swift
[80/125] Compiling ArgumentParser OptionGroup.swift
[81/125] Compiling ArgumentParser AsyncParsableCommand.swift
[82/125] Compiling ArgumentParser CommandConfiguration.swift
[83/125] Compiling ArgumentParser CommandGroup.swift
[84/125] Compiling ArgumentParser EnumerableFlag.swift
[85/125] Compiling ArgumentParser ExpressibleByArgument.swift
BUILD FAILURE 6.1 wasm