Build Information
Failed to build pkl-swift, reference main (4a6da2
), with Swift 6.1 for Android on 10 Sep 2025 15:06:08 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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
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 4a6da2d Add support for Swift 6 (#61)
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
4a6da2d0f64e73468b964c4ed2ea1e25eeb17b92
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pkl-swift.git at main
========================================
Build
========================================
Selected platform: android
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"
}
],
"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/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/DataSize.swift",
"API/Duration.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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/375] Fetching semanticversion
[376/2469] Fetching semanticversion, swift-docc-plugin
[586/18383] Fetching semanticversion, swift-docc-plugin, swift-argument-parser
[2517/23320] Fetching semanticversion, swift-docc-plugin, swift-argument-parser, swift-system
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (0.35s)
[7229/22945] Fetching swift-docc-plugin, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.50s)
[1/50879] Fetching swiftformat
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.69s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.69s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (31.47s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.1 (39.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.52s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3507] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.35s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.97s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (0.80s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.57.2 (0.80s)
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system 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.57.2
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/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
[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/29] Compiling PklSwiftInternals Discovery.cpp
[18/66] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/66] Emitting module ArgumentParserToolInfo
[20/67] Compiling SemanticVersion SemanticVersion.swift
[21/67] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[23/67] Compiling SystemPackage Errno.swift
[24/67] Compiling SystemPackage ErrnoWindows.swift
[25/67] Compiling SystemPackage FileDescriptor.swift
[26/67] Compiling SystemPackage FileHelpers.swift
[27/67] Compiling SystemPackage FileOperations.swift
[28/67] Emitting module SystemPackage
[28/71] Wrapping AST for ArgumentParserToolInfo for debugging
[30/115] Compiling ArgumentParser OptionGroup.swift
[31/115] Compiling ArgumentParser AsyncParsableCommand.swift
[32/115] Compiling ArgumentParser CommandConfiguration.swift
[33/115] Compiling ArgumentParser CommandGroup.swift
[34/115] Compiling ArgumentParser EnumerableFlag.swift
[35/115] Compiling ArgumentParser ExpressibleByArgument.swift
[36/121] Compiling ArgumentParser UsageGenerator.swift
[37/121] Compiling ArgumentParser CollectionExtensions.swift
[38/121] Compiling ArgumentParser Mutex.swift
[39/121] Compiling ArgumentParser Platform.swift
[40/121] Compiling ArgumentParser Tree.swift
[41/121] Compiling ArgumentParser CodingKeyValidator.swift
[42/121] Compiling ArgumentParser NonsenseFlagsValidator.swift
[43/121] Compiling ArgumentParser ParsableArgumentsValidation.swift
[44/121] Compiling ArgumentParser PositionalArgumentsValidator.swift
[45/121] Compiling ArgumentParser UniqueNamesValidator.swift
[46/121] Compiling ArgumentParser Option.swift
[47/121] Compiling ArgumentParser ParsableArguments.swift
[48/121] Compiling ArgumentParser ParsableCommand.swift
[49/121] Compiling ArgumentParser ArgumentDecoder.swift
[50/121] Compiling ArgumentParser ArgumentDiscussion.swift
[51/121] Compiling ArgumentParser ArgumentHelp.swift
[58/121] Compiling ArgumentParser ArgumentVisibility.swift
[59/121] Compiling ArgumentParser ArgumentDefinition.swift
[60/121] Compiling ArgumentParser ArgumentSet.swift
[61/121] Compiling ArgumentParser CommandParser.swift
[62/121] Compiling ArgumentParser SplitArguments.swift
[63/121] Compiling ArgumentParser CompletionKind.swift
[64/121] Compiling ArgumentParser Errors.swift
[65/121] Compiling ArgumentParser Flag.swift
[66/121] Compiling ArgumentParser NameSpecification.swift
[67/121] Compiling ArgumentParser DumpHelpGenerator.swift
[68/121] Compiling ArgumentParser HelpCommand.swift
[69/121] Compiling ArgumentParser HelpGenerator.swift
[70/121] Compiling ArgumentParser MessageInfo.swift
[71/122] Wrapping AST for SystemPackage for debugging
[73/128] Compiling MessagePack AnyCodingKey.swift
[74/128] Compiling MessagePack Box.swift
[75/128] Compiling MessagePack KeyedDecodingContainer.swift
[76/128] Compiling MessagePack KeyedSingleDecodingContainer.swift
[77/128] Compiling MessagePack MessagePackDecoder.swift
[78/128] Compiling MessagePack SingleValueDecodingContainer.swift
[80/128] Emitting module ArgumentParser
[81/137] Emitting module SemanticVersion
[82/137] Compiling SemanticVersion SemanticVersion+Codable.swift
[87/138] Compiling ArgumentParser SequenceExtensions.swift
[88/138] Compiling ArgumentParser StringExtensions.swift
[89/138] Compiling ArgumentParser SwiftExtensions.swift
[89/138] Wrapping AST for SemanticVersion for debugging
[91/138] Compiling MessagePack SingleValueEncodingContainer.swift
[103/138] Compiling ArgumentParser InputKey.swift
[104/138] Compiling ArgumentParser InputOrigin.swift
[105/138] Compiling ArgumentParser Name.swift
[106/138] Compiling ArgumentParser Parsed.swift
[107/138] Compiling ArgumentParser ParsedValues.swift
[108/138] Compiling ArgumentParser ParserError.swift
[115/139] Wrapping AST for ArgumentParser for debugging
[117/139] Compiling MessagePack UnkeyedEncodingContainer.swift
[118/139] Compiling MessagePack FixedWidthInteger.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)
/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)
[125/140] Compiling MessagePack UnkeyedDecodingContainer.swift
[126/140] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[127/140] Compiling MessagePack _MessagePackDecoder.swift
[128/140] Compiling MessagePack KeyedEncodingContainer.swift
[129/140] Emitting module MessagePack
[130/140] 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 {
/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 {
[132/140] Compiling MessagePack IO.swift
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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/PklSwiftTests/Fixtures/Collections2.pkl
[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+Codable.swift
[8/55] Compiling SemanticVersion SemanticVersion.swift
[9/55] Emitting module SemanticVersion
[10/55] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[11/56] Compiling SystemPackage Syscalls.swift
[12/56] Compiling SystemPackage WindowsSyscallAdapters.swift
[13/56] Compiling SystemPackage MachPort.swift
[14/56] Compiling SystemPackage PlatformString.swift
[16/59] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/59] Emitting module ArgumentParserToolInfo
[18/60] Compiling SystemPackage Constants.swift
[19/60] Compiling SystemPackage Exports.swift
[20/60] Compiling SystemPackage Mocking.swift
[21/60] Compiling SystemPackage RawBuffer.swift
[22/60] Compiling SystemPackage IORing.swift
[23/60] Compiling SystemPackage RawIORequest.swift
[24/60] Compiling SystemPackage Backcompat.swift
[25/60] Compiling SystemPackage CInterop.swift
[26/60] Compiling SystemPackage FilePathWindows.swift
[27/60] Compiling SystemPackage FilePermissions.swift
[28/60] Compiling SystemPackage IOCompletion.swift
[29/60] Compiling SystemPackage IORequest.swift
[30/60] Compiling SystemPackage FilePathSyntax.swift
[31/60] Compiling SystemPackage FilePathTemp.swift
[32/60] Compiling SystemPackage FilePathTempPosix.swift
[33/60] Compiling SystemPackage FilePathTempWindows.swift
[34/60] Compiling SystemPackage Errno.swift
[35/60] Compiling SystemPackage ErrnoWindows.swift
[36/60] Compiling SystemPackage FileDescriptor.swift
[37/60] Compiling SystemPackage FileHelpers.swift
[38/60] Compiling SystemPackage FileOperations.swift
[40/59] Compiling SystemPackage SystemString.swift
[41/59] Compiling SystemPackage Util+StringArray.swift
[42/59] Compiling SystemPackage Util.swift
[43/59] Compiling SystemPackage UtilConsumers.swift
[44/103] Emitting module SystemPackage
[45/103] Compiling ArgumentParser Errors.swift
[46/103] Compiling ArgumentParser Flag.swift
[47/103] Compiling ArgumentParser NameSpecification.swift
[48/103] Compiling ArgumentParser Option.swift
[49/103] Compiling ArgumentParser CollectionExtensions.swift
[51/118] Compiling MessagePack FixedWidthInteger.swift
[52/118] Compiling ArgumentParser Mutex.swift
[53/118] Compiling ArgumentParser Platform.swift
[54/118] Compiling ArgumentParser SequenceExtensions.swift
[55/118] Compiling ArgumentParser StringExtensions.swift
[56/118] Compiling ArgumentParser SwiftExtensions.swift
[57/124] Compiling MessagePack UnkeyedEncodingContainer.swift
[59/124] 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)
[60/124] 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)
[61/125] Compiling MessagePack AnyCodingKey.swift
[62/125] Compiling MessagePack Box.swift
[63/125] Compiling MessagePack KeyedDecodingContainer.swift
[64/125] Compiling MessagePack KeyedSingleDecodingContainer.swift
[65/125] Emitting module MessagePack
[66/125] Compiling MessagePack IO.swift
[67/125] Compiling MessagePack _MessagePackDecoder.swift
[68/125] Compiling MessagePack KeyedEncodingContainer.swift
[69/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 {
[70/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 {
[71/125] Compiling MessagePack UnkeyedDecodingContainer.swift
[72/125] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[73/125] Compiling ArgumentParser Tree.swift
[74/125] Compiling ArgumentParser CodingKeyValidator.swift
[75/125] Compiling ArgumentParser NonsenseFlagsValidator.swift
[76/125] Compiling ArgumentParser ParsableArgumentsValidation.swift
[77/125] Compiling ArgumentParser PositionalArgumentsValidator.swift
[78/125] Compiling ArgumentParser UniqueNamesValidator.swift
[79/125] Emitting module ArgumentParser
BUILD FAILURE 6.1 android