The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build pkl-swift, reference 0.7.2 (d40f08), with Swift 6.1 for Wasm on 1 Dec 2025 19:40:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/pkl-swift.git
Reference: 0.7.2
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
 * tag               0.7.2      -> FETCH_HEAD
HEAD is now at d40f084 Prepare 0.7.2 release
Cloned https://github.com/apple/pkl-swift.git
Revision (git rev-parse @):
d40f084bd85d1a2c871ca6542a7c4ebfc9bc6f65
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/pkl-swift.git at 0.7.2
========================================
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-4606859-0":/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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/nicklockwood/SwiftFormat
[1/387] Fetching semanticversion
[409/2545] Fetching semanticversion, swift-docc-plugin
[540/7727] Fetching semanticversion, swift-docc-plugin, swift-system
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (0.43s)
[2125/7340] Fetching swift-docc-plugin, swift-system
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.62s)
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.64s)
[1/16877] Fetching swift-argument-parser
[2871/69999] Fetching swift-argument-parser, swiftformat
Fetched https://github.com/apple/swift-argument-parser from cache (1.29s)
[4500/53122] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (33.02s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.5.1 (35.29s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.59s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3583] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.98s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.59s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.68s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.58.7 (0.59s)
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-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
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/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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
[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
[6/29] Write embedded_resources.swift
[6/29] Write sources
[14/29] Compiling CSystem shims.c
[15/29] Write swift-version-24593BA9C3E375BF.txt
[16/29] Compiling PklSwiftInternals Discovery.cpp
[18/66] Emitting module SystemPackage
[19/70] Emitting module ArgumentParserToolInfo
[20/70] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/71] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[23/71] Compiling SemanticVersion SemanticVersion.swift
[24/71] Compiling SystemPackage Syscalls.swift
[25/71] Compiling SystemPackage WindowsSyscallAdapters.swift
[26/71] Compiling SystemPackage MachPort.swift
[27/71] Compiling SystemPackage PlatformString.swift
[28/71] Compiling SystemPackage Constants.swift
[29/71] Compiling SystemPackage Exports.swift
[30/71] Compiling SystemPackage Mocking.swift
[31/71] Compiling SystemPackage RawBuffer.swift
[32/71] Compiling SystemPackage SystemString.swift
[33/71] Compiling SystemPackage Util+StringArray.swift
[34/71] Compiling SystemPackage Util.swift
[35/71] Compiling SystemPackage UtilConsumers.swift
[36/71] Compiling SystemPackage FilePath.swift
[37/71] Compiling SystemPackage FilePathComponentView.swift
[38/71] Compiling SystemPackage FilePathComponents.swift
[39/71] Compiling SystemPackage FilePathParsing.swift
[40/71] Compiling SystemPackage FilePathString.swift
[41/71] Compiling SystemPackage FilePathSyntax.swift
[42/71] Compiling SystemPackage FilePathTemp.swift
[43/71] Compiling SystemPackage FilePathTempPosix.swift
[44/71] Compiling SystemPackage FilePathTempWindows.swift
[45/71] Compiling SystemPackage Errno.swift
[46/71] Compiling SystemPackage ErrnoWindows.swift
[47/71] Compiling SystemPackage FileDescriptor.swift
[48/71] Compiling SystemPackage FileHelpers.swift
[49/71] Compiling SystemPackage FileOperations.swift
[50/71] Compiling SystemPackage FilePathWindows.swift
[51/71] Compiling SystemPackage FilePermissions.swift
[52/71] Compiling SystemPackage IOCompletion.swift
[53/71] Compiling SystemPackage IORequest.swift
[54/71] Compiling SystemPackage IORing.swift
[55/71] Compiling SystemPackage RawIORequest.swift
[56/71] Compiling SystemPackage Backcompat.swift
[57/71] Compiling SystemPackage CInterop.swift
[58/72] Wrapping AST for ArgumentParserToolInfo for debugging
[59/116] Wrapping AST for SystemPackage for debugging
[61/125] Emitting module SemanticVersion
[62/125] Compiling SemanticVersion SemanticVersion+Codable.swift
[64/132] Emitting module ArgumentParser
[64/138] Wrapping AST for SemanticVersion for debugging
[66/138] Compiling ArgumentParser InputKey.swift
[67/138] Compiling ArgumentParser InputOrigin.swift
[68/138] Compiling ArgumentParser Name.swift
[69/138] Compiling ArgumentParser Parsed.swift
[70/138] Compiling ArgumentParser ParsedValues.swift
[71/138] Compiling ArgumentParser ParserError.swift
[72/138] Compiling ArgumentParser CollectionExtensions.swift
[73/138] Compiling ArgumentParser Mutex.swift
[74/138] Compiling ArgumentParser Platform.swift
[75/138] Compiling ArgumentParser SequenceExtensions.swift
[76/138] Compiling ArgumentParser StringExtensions.swift
[77/138] Compiling ArgumentParser SwiftExtensions.swift
[78/138] Compiling MessagePack AnyCodingKey.swift
[79/138] Compiling MessagePack Box.swift
[80/138] Compiling MessagePack KeyedDecodingContainer.swift
[81/138] Compiling MessagePack KeyedSingleDecodingContainer.swift
[82/138] Compiling MessagePack UnkeyedDecodingContainer.swift
[83/138] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[84/138] Emitting module MessagePack
[85/139] Compiling MessagePack UnkeyedEncodingContainer.swift
[86/139] Compiling MessagePack FixedWidthInteger.swift
[87/139] 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 {
[88/139] 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 {
[91/139] Compiling MessagePack _MessagePackDecoder.swift
[92/139] Compiling MessagePack KeyedEncodingContainer.swift
[93/139] 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)
[94/139] 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)
[95/139] Compiling MessagePack IO.swift
[100/139] Compiling ArgumentParser Tree.swift
[101/139] Compiling ArgumentParser CodingKeyValidator.swift
[102/139] Compiling ArgumentParser NonsenseFlagsValidator.swift
[103/139] Compiling ArgumentParser ParsableArgumentsValidation.swift
[104/139] Compiling ArgumentParser PositionalArgumentsValidator.swift
[105/139] Compiling ArgumentParser UniqueNamesValidator.swift
[106/139] Compiling ArgumentParser ParsableArguments.swift
[107/139] Compiling ArgumentParser ParsableCommand.swift
[108/139] Compiling ArgumentParser ArgumentDecoder.swift
[109/139] Compiling ArgumentParser ArgumentDefinition.swift
[110/139] Compiling ArgumentParser ArgumentSet.swift
[111/139] Compiling ArgumentParser CommandParser.swift
[119/139] Compiling ArgumentParser SplitArguments.swift
[120/139] Compiling ArgumentParser DumpHelpGenerator.swift
[121/139] Compiling ArgumentParser HelpCommand.swift
[122/139] Compiling ArgumentParser HelpGenerator.swift
[123/139] Compiling ArgumentParser MessageInfo.swift
[124/139] Compiling ArgumentParser UsageGenerator.swift
[126/139] Compiling ArgumentParser AsyncParsableCommand.swift
[127/139] Compiling ArgumentParser CommandConfiguration.swift
[128/139] Compiling ArgumentParser CommandGroup.swift
[129/139] Compiling ArgumentParser EnumerableFlag.swift
[130/139] Compiling ArgumentParser ExpressibleByArgument.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
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] Emitting module SemanticVersion
[8/55] Compiling SemanticVersion SemanticVersion+Codable.swift
[9/55] Compiling SemanticVersion SemanticVersion.swift
[10/55] Compiling SystemPackage Syscalls.swift
[11/55] Compiling SystemPackage WindowsSyscallAdapters.swift
[12/55] Compiling SystemPackage MachPort.swift
[13/55] Compiling SystemPackage PlatformString.swift
[14/59] Compiling SemanticVersion SemanticVersion+LosslessStringConvertible.swift
[15/59] Compiling SystemPackage IORing.swift
[16/59] Compiling SystemPackage RawIORequest.swift
[17/59] Compiling SystemPackage Backcompat.swift
[18/59] Compiling SystemPackage CInterop.swift
[19/59] Compiling SystemPackage FilePathWindows.swift
[20/59] Compiling SystemPackage FilePermissions.swift
[21/59] Compiling SystemPackage IOCompletion.swift
[22/59] Compiling SystemPackage IORequest.swift
[23/59] Compiling SystemPackage Constants.swift
[24/59] Compiling SystemPackage Exports.swift
[25/59] Compiling SystemPackage Mocking.swift
[26/59] Compiling SystemPackage RawBuffer.swift
[27/60] Compiling SystemPackage FilePathSyntax.swift
[28/60] Compiling SystemPackage FilePathTemp.swift
[29/60] Compiling SystemPackage FilePathTempPosix.swift
[30/60] Compiling SystemPackage FilePathTempWindows.swift
[31/60] Emitting module SystemPackage
[33/59] Emitting module ArgumentParserToolInfo
[34/59] Compiling ArgumentParserToolInfo ToolInfo.swift
[36/59] Compiling SystemPackage FilePath.swift
[37/59] Compiling SystemPackage FilePathComponentView.swift
[38/59] Compiling SystemPackage FilePathComponents.swift
[39/59] Compiling SystemPackage FilePathParsing.swift
[40/59] Compiling SystemPackage FilePathString.swift
[41/59] Compiling SystemPackage Errno.swift
[42/59] Compiling SystemPackage ErrnoWindows.swift
[43/59] Compiling SystemPackage FileDescriptor.swift
[44/59] Compiling SystemPackage FileHelpers.swift
[45/59] Compiling SystemPackage FileOperations.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] Compiling ArgumentParser CollectionExtensions.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] Emitting module ArgumentParser
[58/124] Emitting module MessagePack
[59/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)
[60/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)
[61/125] Compiling MessagePack UnkeyedEncodingContainer.swift
[62/125] Compiling MessagePack FixedWidthInteger.swift
[63/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 {
[64/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 {
[65/125] Compiling MessagePack _MessagePackDecoder.swift
[66/125] Compiling MessagePack KeyedEncodingContainer.swift
[67/125] Compiling MessagePack UnkeyedDecodingContainer.swift
[68/125] Compiling MessagePack UnkeyedMapDecodingContainer.swift
[69/125] Compiling MessagePack IO.swift
[70/125] Compiling MessagePack AnyCodingKey.swift
[71/125] Compiling MessagePack Box.swift
[72/125] Compiling MessagePack KeyedDecodingContainer.swift
[73/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
[82/125] Compiling ArgumentParser CommandConfiguration.swift
[83/125] Compiling ArgumentParser CommandGroup.swift
[84/125] Compiling ArgumentParser EnumerableFlag.swift
[85/125] Compiling ArgumentParser ExpressibleByArgument.swift
[86/125] Compiling ArgumentParser InputKey.swift
[87/125] Compiling ArgumentParser InputOrigin.swift
[88/125] Compiling ArgumentParser Name.swift
[89/125] Compiling ArgumentParser Parsed.swift
[90/125] Compiling ArgumentParser ParsedValues.swift
[91/125] Compiling ArgumentParser ParserError.swift
BUILD FAILURE 6.1 wasm