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 carton, reference main (dc09a0), with Swift 6.1 for Wasm on 30 May 2025 01:41:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 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/swiftwasm/carton
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dc09a0e Support the latest SwiftPM producing .xctest for test products (#512)
Cloned https://github.com/swiftwasm/carton.git
Revision (git rev-parse @):
dc09a0e490be92b34d6791ad2e697971c200b9d6
SUCCESS checkout https://github.com/swiftwasm/carton.git at main
========================================
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-1":/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/swiftwasm/WasmTransformer
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/809] Fetching wasmtransformer
[438/76917] Fetching wasmtransformer, swift-nio
[439/92296] Fetching wasmtransformer, swift-nio, swift-argument-parser
Fetched https://github.com/swiftwasm/WasmTransformer from cache (4.98s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.00s)
Fetched https://github.com/apple/swift-nio.git from cache (5.12s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (7.61s)
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.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.20s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/4391] Fetching swift-system
[1231/6101] Fetching swift-system, swift-atomics
[5350/22692] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.89s)
Fetched https://github.com/apple/swift-system.git from cache (0.89s)
[3982/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.11s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.81s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.80s)
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.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
[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
[39/146] Compiling TSCclibc process.c.c
[40/146] Write sources
[46/146] Compiling TSCclibc process.c.c
[47/146] Compiling CNIOWindows shim.c
[48/146] Compiling _AtomicsShims.c
[49/146] Compiling CNIOWindows WSAStartup.c
[50/146] Compiling CNIOWASI CNIOWASI.c
[51/146] Compiling CNIOSHA1 c_nio_sha1.c
[52/146] Compiling CNIOLinux liburing_shims.c
[53/146] Compiling CNIOLLHTTP c_nio_http.c
[54/146] Compiling CNIOLinux shim.c
[55/146] Compiling CNIODarwin shim.c
[56/146] Write sources
[58/146] Compiling CNIOLLHTTP c_nio_api.c
[58/146] Write sources
[65/146] Compiling CNIOWindows shim.c
[66/146] Compiling _AtomicsShims.c
[67/146] Compiling CNIOWindows WSAStartup.c
[68/146] Compiling CNIOWASI CNIOWASI.c
[69/146] Compiling CNIOLinux shim.c
[70/146] Compiling CNIOLinux liburing_shims.c
[71/146] Compiling CNIOSHA1 c_nio_sha1.c
[72/146] Compiling CNIOLLHTTP c_nio_http.c
[73/146] Compiling CNIOLLHTTP c_nio_llhttp.c
[74/146] Compiling CNIOLLHTTP c_nio_api.c
[74/146] Write sources
[76/146] Compiling CNIODarwin shim.c
[77/146] Compiling CNIOLLHTTP c_nio_llhttp.c
[78/146] Compiling c-atomics.c
[79/146] Compiling c-nioatomics.c
[80/146] Write swift-version-24593BA9C3E375BF.txt
[81/146] Compiling c-atomics.c
[82/160] Compiling c-nioatomics.c
[84/200] Emitting module _NIOBase64
[85/200] Emitting module WasmTransformer
[86/202] Emitting module _NIODataStructures
[87/202] Compiling WasmTransformer Sections.swift
[88/202] Compiling WasmTransformer Trampoline.swift
[89/202] Compiling _NIOBase64 Base64.swift
[90/204] Emitting module _NIOBase64
[91/204] Compiling WasmTransformer SizeProfiler.swift
[92/204] Compiling WasmTransformer StackOverflowSanitizer+Fixtures.swift
[93/204] Compiling WasmTransformer CustomSectionStripper.swift
[94/204] Compiling WasmTransformer I64ImportTransformer.swift
[95/205] Compiling _NIODataStructures _TinyArray.swift
[96/205] Compiling _NIODataStructures PriorityQueue.swift
[98/205] Emitting module carton_plugin_helper
[99/205] Compiling carton_plugin_helper main.swift
[100/206] Compiling _NIODataStructures PriorityQueue.swift
[101/206] Compiling _NIOBase64 Base64.swift
[102/206] Compiling _NIODataStructures _TinyArray.swift
[103/207] Compiling WasmTransformer ElementSectionReader.swift
[104/207] Compiling WasmTransformer FunctionSectionReader.swift
[105/207] Compiling WasmTransformer ImportSectionReader.swift
[106/207] Compiling WasmTransformer StackOverflowSanitizer.swift
[107/207] Compiling WasmTransformer WasmTransformer.swift
[108/207] Compiling WasmTransformer ModuleReader.swift
[109/207] Compiling WasmTransformer TypeSectionReader.swift
[110/207] Compiling WasmTransformer VectorSectionReader.swift
[111/207] Compiling WasmTransformer BinaryFormat.swift
[112/207] Compiling WasmTransformer ByteEncodable.swift
[113/207] Compiling WasmTransformer InputByteStream.swift
[114/207] Compiling WasmTransformer LEB128.swift
[115/207] Compiling WasmTransformer OutputWriter.swift
[116/207] Compiling WasmTransformer CodeSectionReader.swift
[127/207] Emitting module WasmTransformer
[139/216] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[140/216] 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 |
[141/235] Emitting module _NIODataStructures
[142/235] Emitting module TSCLibc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/122] Compiling carton_plugin_helper main.swift
[7/122] Emitting module carton_plugin_helper
[8/123] Compiling WasmTransformer SizeProfiler.swift
[9/123] Compiling WasmTransformer StackOverflowSanitizer+Fixtures.swift
[13/127] Compiling WasmTransformer OutputWriter.swift
[14/127] Compiling WasmTransformer CodeSectionReader.swift
[15/127] Compiling WasmTransformer CustomSectionStripper.swift
[16/127] Compiling WasmTransformer Sections.swift
[17/127] Compiling WasmTransformer Trampoline.swift
[18/127] Compiling WasmTransformer ElementSectionReader.swift
[21/129] Compiling WasmTransformer ModuleReader.swift
[22/129] Compiling WasmTransformer TypeSectionReader.swift
[23/129] Compiling WasmTransformer VectorSectionReader.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/129] 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 |
[25/129] 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 |
[26/129] Compiling WasmTransformer StackOverflowSanitizer.swift
[27/129] Compiling WasmTransformer WasmTransformer.swift
[28/129] Compiling _NIOBase64 Base64.swift
[30/129] Emitting module _NIOBase64
[31/129] Compiling _NIODataStructures PriorityQueue.swift
[32/129] Emitting module _NIOBase64
[33/129] Compiling _NIODataStructures _TinyArray.swift
[34/129] Emitting module _NIODataStructures
[35/129] Compiling _NIODataStructures Heap.swift
[36/129] Compiling _NIODataStructures PriorityQueue.swift
[37/130] Compiling _NIODataStructures _TinyArray.swift
[46/132] Emitting module WasmTransformer
[47/132] Compiling WasmTransformer FunctionSectionReader.swift
[48/132] Compiling WasmTransformer ImportSectionReader.swift
[49/132] Compiling WasmTransformer LEB128.swift
[50/132] Compiling WasmTransformer I64ImportTransformer.swift
[51/132] Compiling WasmTransformer BinaryFormat.swift
[52/132] Compiling WasmTransformer ByteEncodable.swift
[53/132] Compiling WasmTransformer InputByteStream.swift
[62/133] Emitting module WasmTransformer
[66/134] Emitting module TSCLibc
[67/134] Compiling TSCLibc libc.swift
[69/135] Emitting module _NIODataStructures
[70/135] Compiling _NIODataStructures Heap.swift
BUILD FAILURE 6.1 wasm