Build Information
Failed to build carton, reference 1.1.3 (57ab2e
), with Swift 6.1 for Wasm on 30 May 2025 01:40:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftwasm/carton.git
Reference: 1.1.3
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/swiftwasm/carton
* tag 1.1.3 -> FETCH_HEAD
HEAD is now at 57ab2e7 Bump version to 1.1.3, update CHANGELOG.md
Cloned https://github.com/swiftwasm/carton.git
Revision (git rev-parse @):
57ab2e7c2419c0f6f2516d1c25142a9fb763ca7a
SUCCESS checkout https://github.com/swiftwasm/carton.git at 1.1.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftwasm/carton.git
https://github.com/swiftwasm/carton.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "1.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.34.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "wasmtransformer",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "0.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftwasm/WasmTransformer"
}
],
"manifest_display_name" : "carton",
"name" : "carton",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "carton",
"targets" : [
"carton"
],
"type" : {
"executable" : null
}
},
{
"name" : "carton-release",
"targets" : [
"carton-release"
],
"type" : {
"executable" : null
}
},
{
"name" : "CartonBundlePlugin",
"targets" : [
"CartonBundlePlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "CartonTestPlugin",
"targets" : [
"CartonTestPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "CartonDevPlugin",
"targets" : [
"CartonDevPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "carton-plugin-helper",
"targets" : [
"carton-plugin-helper"
],
"type" : {
"executable" : null
}
},
{
"name" : "carton-frontend-slim",
"targets" : [
"carton-frontend-slim"
],
"type" : {
"executable" : null
}
},
{
"name" : "carton-frontend",
"targets" : [
"carton-frontend"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "carton_release",
"module_type" : "SwiftTarget",
"name" : "carton-release",
"path" : "Sources/carton-release",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"carton-release"
],
"sources" : [
"CartonReleaseCommand.swift",
"HashArchive.swift"
],
"target_dependencies" : [
"CartonHelpers",
"CartonCore"
],
"type" : "executable"
},
{
"c99name" : "carton_plugin_helper",
"module_type" : "SwiftTarget",
"name" : "carton-plugin-helper",
"path" : "Sources/carton-plugin-helper",
"product_memberships" : [
"carton-plugin-helper"
],
"sources" : [
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "carton_frontend_slim",
"module_type" : "SwiftTarget",
"name" : "carton-frontend-slim",
"path" : "Sources/carton-frontend-slim",
"product_dependencies" : [
"ArgumentParser",
"WasmTransformer"
],
"product_memberships" : [
"CartonBundlePlugin",
"CartonTestPlugin",
"carton-frontend-slim"
],
"sources" : [
"BundleLayout.swift",
"CartonFrontendBundleCommand.swift",
"CartonFrontendSlimCommand.swift",
"CartonFrontendTestCommand.swift",
"TestRunners/CommandTestRunner.swift",
"TestRunners/JavaScriptTestRunner.swift",
"TestRunners/String+Regex.swift",
"TestRunners/String+color.swift",
"TestRunners/TestRunner.swift",
"TestRunners/TestsParser.swift"
],
"target_dependencies" : [
"CartonHelpers"
],
"type" : "executable"
},
{
"c99name" : "carton_frontend",
"module_type" : "SwiftTarget",
"name" : "carton-frontend",
"path" : "Sources/carton-frontend",
"product_memberships" : [
"CartonDevPlugin",
"carton-frontend"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"CartonFrontend"
],
"type" : "executable"
},
{
"c99name" : "carton",
"module_type" : "SwiftTarget",
"name" : "carton",
"path" : "Sources/carton",
"product_memberships" : [
"carton"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"CartonDriver"
],
"type" : "executable"
},
{
"c99name" : "WebDriverTests",
"module_type" : "SwiftTarget",
"name" : "WebDriverTests",
"path" : "Tests/WebDriverTests",
"sources" : [
"WebDriverClientTests.swift"
],
"target_dependencies" : [
"WebDriver"
],
"type" : "test"
},
{
"c99name" : "WebDriver",
"module_type" : "SwiftTarget",
"name" : "WebDriver",
"path" : "Sources/WebDriver",
"product_dependencies" : [
"NIO"
],
"sources" : [
"CommandWebDriverService.swift",
"CurlWebDriverHTTPClient.swift",
"RemoteWebDriverService.swift",
"URLSessionAsync.swift",
"URLSessionWebDriverHTTPClient.swift",
"WebDriverClient.swift",
"WebDriverError.swift",
"WebDriverHTTPClient.swift",
"WebDriverService.swift"
],
"target_dependencies" : [
"CartonHelpers"
],
"type" : "library"
},
{
"c99name" : "TSCclibc",
"module_type" : "ClangTarget",
"name" : "TSCclibc",
"path" : "Sources/TSCclibc",
"product_memberships" : [
"carton-release",
"CartonBundlePlugin",
"CartonTestPlugin",
"CartonDevPlugin",
"carton-frontend-slim",
"carton-frontend"
],
"sources" : [
"process.c.c"
],
"type" : "library"
},
{
"c99name" : "TSCLibc",
"module_type" : "SwiftTarget",
"name" : "TSCLibc",
"path" : "Sources/TSCLibc",
"product_memberships" : [
"carton-release",
"CartonBundlePlugin",
"CartonTestPlugin",
"CartonDevPlugin",
"carton-frontend-slim",
"carton-frontend"
],
"sources" : [
"libc.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftToolchain",
"module_type" : "SwiftTarget",
"name" : "SwiftToolchain",
"path" : "Sources/SwiftToolchain",
"product_memberships" : [
"carton"
],
"sources" : [
"AsyncFileDownload.swift",
"ToolchainInstallation.swift",
"ToolchainManagement.swift",
"ToolchainResolver.swift",
"URLSession.swift",
"Utilities/ProgressAnimation.swift"
],
"target_dependencies" : [
"CartonCore"
],
"type" : "library"
},
{
"c99name" : "CartonTests",
"module_type" : "SwiftTarget",
"name" : "CartonTests",
"path" : "Tests/CartonTests",
"product_dependencies" : [
"ArgumentParser"
],
"sources" : [
"CartonTests.swift",
"ProcessTests.swift",
"StackTraceTests.swift"
],
"target_dependencies" : [
"CartonFrontend",
"CartonHelpers"
],
"type" : "test"
},
{
"c99name" : "CartonTestPlugin",
"module_type" : "PluginTarget",
"name" : "CartonTestPlugin",
"path" : "Plugins/CartonTestPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Run the tests in a WASI environment.",
"type" : "custom",
"verb" : "carton-test"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"CartonTestPlugin"
],
"sources" : [
"CartonCore/Environment.swift",
"CartonCore/FileSystem+traverseRecursively.swift",
"CartonCore/FoundationProcessEx.swift",
"CartonCore/InteractiveWriter.swift",
"CartonCore/Misc.swift",
"CartonCore/TerminalController.swift",
"CartonPluginShared/PluginShared.swift",
"CartonTestPluginCommand.swift"
],
"target_dependencies" : [
"carton-frontend-slim"
],
"type" : "plugin"
},
{
"c99name" : "CartonKit",
"module_type" : "SwiftTarget",
"name" : "CartonKit",
"path" : "Sources/CartonKit",
"product_dependencies" : [
"NIOWebSocket",
"NIOHTTP1",
"NIO",
"ArgumentParser",
"WasmTransformer"
],
"product_memberships" : [
"CartonDevPlugin",
"carton-frontend"
],
"sources" : [
"Model/Entrypoint.swift",
"Parsers/ChromeStackTrace.swift",
"Parsers/FirefoxStackTrace.swift",
"Parsers/SafariStackTrace.swift",
"Parsers/StackTrace.swift",
"Server/ContentTypes.swift",
"Server/Environment+UserAgent.swift",
"Server/Server.swift",
"Server/ServerHTTPHandler.swift",
"Server/ServerWebSocketHandler.swift",
"Utilities/FSWatch.swift"
],
"target_dependencies" : [
"CartonHelpers"
],
"type" : "library"
},
{
"c99name" : "CartonHelpers",
"module_type" : "SwiftTarget",
"name" : "CartonHelpers",
"path" : "Sources/CartonHelpers",
"product_memberships" : [
"carton-release",
"CartonBundlePlugin",
"CartonTestPlugin",
"CartonDevPlugin",
"carton-frontend-slim",
"carton-frontend"
],
"sources" : [
"Basics/ByteString.swift",
"Basics/CStringArray.swift",
"Basics/Closable.swift",
"Basics/CollectionExtensions.swift",
"Basics/Condition.swift",
"Basics/FileInfo.swift",
"Basics/FileSystem.swift",
"Basics/HashAlgorithms.swift",
"Basics/Lock.swift",
"Basics/Path.swift",
"Basics/PathShims.swift",
"Basics/Process/Process.swift",
"Basics/Process/ProcessEnv.swift",
"Basics/StringConversions.swift",
"Basics/Thread.swift",
"Basics/WritableByteStream.swift",
"Basics/misc.swift",
"HTML.swift",
"Process+run.swift",
"ProcessEx.swift",
"Retry.swift",
"StaticArchive.swift"
],
"target_dependencies" : [
"TSCclibc",
"TSCLibc",
"CartonCore"
],
"type" : "library"
},
{
"c99name" : "CartonFrontend",
"module_type" : "SwiftTarget",
"name" : "CartonFrontend",
"path" : "Sources/CartonFrontend",
"product_memberships" : [
"CartonDevPlugin",
"carton-frontend"
],
"sources" : [
"CartonFrontendCommand.swift",
"Commands/CartonFrontendDevCommand.swift"
],
"target_dependencies" : [
"CartonKit"
],
"type" : "library"
},
{
"c99name" : "CartonDriver",
"module_type" : "SwiftTarget",
"name" : "CartonDriver",
"path" : "Sources/CartonDriver",
"product_memberships" : [
"carton"
],
"sources" : [
"CartonDriverCommand.swift"
],
"target_dependencies" : [
"SwiftToolchain"
],
"type" : "library"
},
{
"c99name" : "CartonDevPlugin",
"module_type" : "PluginTarget",
"name" : "CartonDevPlugin",
"path" : "Plugins/CartonDevPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Watch the current directory, host the app, rebuild on change.",
"type" : "custom",
"verb" : "carton-dev"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"CartonDevPlugin"
],
"sources" : [
"CartonCore/Environment.swift",
"CartonCore/FileSystem+traverseRecursively.swift",
"CartonCore/FoundationProcessEx.swift",
"CartonCore/InteractiveWriter.swift",
"CartonCore/Misc.swift",
"CartonCore/TerminalController.swift",
"CartonDevPluginCommand.swift",
"CartonPluginShared/PluginShared.swift"
],
"target_dependencies" : [
"carton-frontend"
],
"type" : "plugin"
},
{
"c99name" : "CartonCore",
"module_type" : "SwiftTarget",
"name" : "CartonCore",
"path" : "Sources/CartonCore",
"product_memberships" : [
"carton",
"carton-release",
"CartonBundlePlugin",
"CartonTestPlugin",
"CartonDevPlugin",
"carton-frontend-slim",
"carton-frontend"
],
"sources" : [
"Environment.swift",
"FileSystem+traverseRecursively.swift",
"FoundationProcessEx.swift",
"InteractiveWriter.swift",
"Misc.swift",
"TerminalController.swift"
],
"type" : "library"
},
{
"c99name" : "CartonCommandTests",
"module_type" : "SwiftTarget",
"name" : "CartonCommandTests",
"path" : "Tests/CartonCommandTests",
"product_dependencies" : [
"ArgumentParser"
],
"sources" : [
"BundleCommandTests.swift",
"CommandTestHelper.swift",
"DevCommandTests.swift",
"FrontendDevServerTests.swift",
"TestCommandTests.swift",
"Testable.swift"
],
"target_dependencies" : [
"CartonFrontend",
"SwiftToolchain",
"WebDriver"
],
"type" : "test"
},
{
"c99name" : "CartonBundlePlugin",
"module_type" : "PluginTarget",
"name" : "CartonBundlePlugin",
"path" : "Plugins/CartonBundlePlugin",
"plugin_capability" : {
"intent" : {
"description" : "Produces an optimized app bundle for distribution.",
"type" : "custom",
"verb" : "carton-bundle"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"CartonBundlePlugin"
],
"sources" : [
"CartonBundlePluginCommand.swift",
"CartonCore/Environment.swift",
"CartonCore/FileSystem+traverseRecursively.swift",
"CartonCore/FoundationProcessEx.swift",
"CartonCore/InteractiveWriter.swift",
"CartonCore/Misc.swift",
"CartonCore/TerminalController.swift",
"CartonPluginShared/PluginShared.swift"
],
"target_dependencies" : [
"carton-frontend-slim"
],
"type" : "plugin"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swiftwasm/WasmTransformer
[1/809] Fetching wasmtransformer
Fetched https://github.com/swiftwasm/WasmTransformer from cache (0.34s)
[1/15379] Fetching swift-argument-parser
[770/91487] Fetching swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.69s)
Fetched https://github.com/apple/swift-nio.git from cache (5.79s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (8.09s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.1 (0.66s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.06s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1710] Fetching swift-atomics
[2/18301] Fetching swift-atomics, swift-collections
[4366/22692] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.78s)
Fetched https://github.com/apple/swift-system.git from cache (0.78s)
[11946/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.99s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.71s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
[1/1] Compiling plugin CartonDevPlugin
[2/2] Compiling plugin CartonTestPlugin
[3/3] Compiling plugin CartonBundlePlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/146] Write sources
[23/146] Compiling TSCclibc process.c.c
[24/146] Compiling _AtomicsShims.c
[25/146] Compiling CNIOWindows shim.c
[25/146] Compiling CNIOWASI CNIOWASI.c
[27/146] Compiling CNIOWindows WSAStartup.c
[28/146] Compiling TSCclibc process.c.c
[29/146] Compiling CNIOLinux liburing_shims.c
[30/146] Compiling CNIOSHA1 c_nio_sha1.c
[30/146] Write sources
[34/146] Compiling CNIODarwin shim.c
[35/146] Write sources
[36/146] Compiling CNIOLLHTTP c_nio_http.c
[37/146] Write sources
[61/146] Compiling CNIOLinux shim.c
[62/146] Compiling _AtomicsShims.c
[63/146] Compiling CNIOWindows WSAStartup.c
[64/146] Compiling CNIOWindows shim.c
[65/146] Compiling CNIOWASI CNIOWASI.c
[66/146] Compiling CNIOLLHTTP c_nio_api.c
[67/146] Compiling CNIOLinux liburing_shims.c
[68/146] Compiling CNIOSHA1 c_nio_sha1.c
[69/146] Compiling CNIOLinux shim.c
[70/146] Compiling CNIOLLHTTP c_nio_http.c
[71/146] Compiling CNIODarwin shim.c
[72/146] Compiling CNIOLLHTTP c_nio_llhttp.c
[72/146] Write sources
[76/146] Compiling CNIOLLHTTP c_nio_api.c
[77/146] Write swift-version-24593BA9C3E375BF.txt
[79/156] Emitting module _NIODataStructures
[79/156] Compiling CNIOLLHTTP c_nio_llhttp.c
[80/158] Compiling c-atomics.c
[82/179] Compiling c-nioatomics.c
[85/198] Compiling WasmTransformer SizeProfiler.swift
[86/198] Compiling WasmTransformer StackOverflowSanitizer+Fixtures.swift
[87/200] Compiling WasmTransformer LEB128.swift
[88/200] Compiling WasmTransformer OutputWriter.swift
[89/200] Compiling WasmTransformer CodeSectionReader.swift
[90/200] Emitting module WasmTransformer
[91/200] Compiling WasmTransformer BinaryFormat.swift
[92/200] Compiling WasmTransformer ByteEncodable.swift
[93/200] Compiling WasmTransformer InputByteStream.swift
[94/200] Emitting module _NIOBase64
[95/200] Compiling _NIOBase64 Base64.swift
[96/200] Compiling WasmTransformer ElementSectionReader.swift
[97/200] Compiling WasmTransformer FunctionSectionReader.swift
[98/200] Compiling WasmTransformer ImportSectionReader.swift
[99/202] Compiling _NIOBase64 Base64.swift
[100/202] Emitting module _NIOBase64
[103/206] Compiling WasmTransformer ModuleReader.swift
[104/206] Compiling WasmTransformer TypeSectionReader.swift
[105/206] Compiling WasmTransformer VectorSectionReader.swift
[106/206] Compiling WasmTransformer Sections.swift
[107/206] Compiling WasmTransformer Trampoline.swift
[108/206] Compiling WasmTransformer CustomSectionStripper.swift
[109/206] Compiling WasmTransformer I64ImportTransformer.swift
[110/206] Compiling _NIODataStructures _TinyArray.swift
[111/206] Compiling _NIODataStructures PriorityQueue.swift
[112/206] Emitting module carton_plugin_helper
[113/206] Compiling carton_plugin_helper main.swift
[123/207] Compiling _NIODataStructures _TinyArray.swift
[125/207] Compiling _NIODataStructures PriorityQueue.swift
[132/215] Emitting module WasmTransformer
[136/221] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/Sources/TSCLibc/libc.swift:19:19: error: no such module 'Darwin.C'
17 | @_exported import WinSDK
18 | #else
19 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
20 | #endif
21 |
[137/221] Compiling WasmTransformer StackOverflowSanitizer.swift
[138/221] Compiling WasmTransformer WasmTransformer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[139/221] Emitting module TSCLibc
/host/spi-builder-workspace/Sources/TSCLibc/libc.swift:19:19: error: no such module 'Darwin.C'
17 | @_exported import WinSDK
18 | #else
19 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
20 | #endif
21 |
[140/222] Emitting module _NIODataStructures
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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 CartonDevPlugin
[2/2] Compiling plugin CartonTestPlugin
[3/3] Compiling plugin CartonBundlePlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/68] Write swift-version-24593BA9C3E375BF.txt
[6/108] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[7/109] Compiling carton_plugin_helper main.swift
[8/109] Emitting module carton_plugin_helper
[10/110] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[11/110] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[12/110] Compiling InternalCollectionsUtilities Debugging.swift
[13/110] Compiling InternalCollectionsUtilities Descriptions.swift
[14/110] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[15/110] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[16/110] Compiling InternalCollectionsUtilities Integer rank.swift
[17/129] Compiling WasmTransformer ImportSectionReader.swift
[18/129] Compiling WasmTransformer LEB128.swift
[19/129] Compiling NIOConcurrencyHelpers lock.swift
[20/129] Emitting module _NIODataStructures
[21/129] Compiling _NIODataStructures Heap.swift
[22/129] Compiling _NIODataStructures PriorityQueue.swift
[23/129] Compiling _NIODataStructures _TinyArray.swift
[24/130] Emitting module InternalCollectionsUtilities
[25/130] Emitting module _NIOBase64
[26/130] Compiling _NIOBase64 Base64.swift
[29/131] Emitting module _NIOBase64
[30/132] Compiling WasmTransformer InputByteStream.swift
[31/132] Compiling WasmTransformer Sections.swift
[32/132] Emitting module NIOConcurrencyHelpers
[33/132] Compiling WasmTransformer BinaryFormat.swift
[34/132] Compiling WasmTransformer ByteEncodable.swift
[35/132] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[36/133] Compiling _NIODataStructures PriorityQueue.swift
[37/133] Compiling _NIODataStructures _TinyArray.swift
[38/133] Compiling WasmTransformer SizeProfiler.swift
[39/133] Compiling WasmTransformer StackOverflowSanitizer+Fixtures.swift
[43/135] Compiling NIOConcurrencyHelpers NIOLock.swift
[44/135] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[45/135] Emitting module NIOConcurrencyHelpers
[46/135] Compiling NIOConcurrencyHelpers atomics.swift
[47/135] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[48/135] Emitting module WasmTransformer
[49/136] Compiling NIOConcurrencyHelpers lock.swift
[51/136] Compiling NIOConcurrencyHelpers NIOLock.swift
[52/157] Emitting module _NIODataStructures
[53/157] Compiling _NIODataStructures Heap.swift
[54/157] Compiling WasmTransformer CustomSectionStripper.swift
[55/157] Compiling WasmTransformer I64ImportTransformer.swift
[56/158] Compiling WasmTransformer Sections.swift
[57/158] Compiling WasmTransformer Trampoline.swift
[58/160] Compiling WasmTransformer StackOverflowSanitizer.swift
[59/160] Compiling WasmTransformer WasmTransformer.swift
[60/161] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[61/161] Compiling NIOConcurrencyHelpers atomics.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/174] Emitting module TSCLibc
/host/spi-builder-workspace/Sources/TSCLibc/libc.swift:19:19: error: no such module 'Darwin.C'
17 | @_exported import WinSDK
18 | #else
19 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
20 | #endif
21 |
[63/174] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/Sources/TSCLibc/libc.swift:19:19: error: no such module 'Darwin.C'
17 | @_exported import WinSDK
18 | #else
19 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
20 | #endif
21 |
[64/175] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[65/175] Compiling WasmTransformer TypeSectionReader.swift
[66/175] Compiling WasmTransformer VectorSectionReader.swift
[67/175] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[68/175] Compiling InternalCollectionsUtilities Integer rank.swift
[69/175] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[70/175] Compiling InternalCollectionsUtilities UInt+reversed.swift
[71/175] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[72/175] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
BUILD FAILURE 6.1 wasm