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 swift-tools-support-core, reference 0.7.3 (e8fbc8), with Swift 6.1 for Wasm on 30 May 2025 23:52:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/swiftlang/swift-tools-support-core.git
Reference: 0.7.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/swiftlang/swift-tools-support-core
 * tag               0.7.3      -> FETCH_HEAD
HEAD is now at e8fbc8b Fix an issue where process handles are leaked in exec on Windows
Cloned https://github.com/swiftlang/swift-tools-support-core.git
Revision (git rev-parse @):
e8fbc8b05a155f311b862178d92d043afb216fe3
SUCCESS checkout https://github.com/swiftlang/swift-tools-support-core.git at 0.7.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftlang/swift-tools-support-core.git
https://github.com/swiftlang/swift-tools-support-core.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-tools-support-core",
  "name" : "swift-tools-support-core",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "TSCBasic",
      "targets" : [
        "TSCBasic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftToolsSupport",
      "targets" : [
        "TSCBasic",
        "TSCUtility"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "SwiftToolsSupport-auto",
      "targets" : [
        "TSCBasic",
        "TSCUtility"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TSCTestSupport",
      "targets" : [
        "TSCTestSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TSCclibc",
      "module_type" : "ClangTarget",
      "name" : "TSCclibc",
      "path" : "Sources/TSCclibc",
      "product_memberships" : [
        "TSCBasic",
        "SwiftToolsSupport",
        "SwiftToolsSupport-auto",
        "TSCTestSupport"
      ],
      "sources" : [
        "libc.c",
        "process.c",
        "strerror.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSCUtilityTests",
      "module_type" : "SwiftTarget",
      "name" : "TSCUtilityTests",
      "path" : "Tests/TSCUtilityTests",
      "sources" : [
        "ArchiverTests.swift",
        "ArgumentParserTests.swift",
        "BitstreamTests.swift",
        "CollectionTests.swift",
        "ContextTests.swift",
        "DiagnosticsUtilityTests.swift",
        "HexTests.swift",
        "InterruptHandlerTests.swift",
        "JSONMessageStreamingParserTests.swift",
        "NetrcTests.swift",
        "PkgConfigParserTests.swift",
        "PlatformTests.swift",
        "PolymorphicCodableTests.swift",
        "ProgressAnimationTests.swift",
        "SendableTests.swift",
        "SerializedDiagnosticsTests.swift",
        "SimplePersistenceTests.swift",
        "StringConversionTests.swift",
        "StringTests.swift",
        "TracingTests.swift",
        "TripleTests.swift",
        "VersionTests.swift",
        "miscTests.swift"
      ],
      "target_dependencies" : [
        "TSCUtility",
        "TSCTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSCUtility",
      "module_type" : "SwiftTarget",
      "name" : "TSCUtility",
      "path" : "Sources/TSCUtility",
      "product_memberships" : [
        "SwiftToolsSupport",
        "SwiftToolsSupport-auto",
        "TSCTestSupport"
      ],
      "sources" : [
        "Archiver.swift",
        "ArgumentParser.swift",
        "ArgumentParserShellCompletion.swift",
        "Array+Extensions.swift",
        "Bits.swift",
        "Bitstream.swift",
        "BitstreamReader.swift",
        "BitstreamWriter.swift",
        "BuildFlags.swift",
        "CollectionExtensions.swift",
        "Context.swift",
        "Diagnostics.swift",
        "FSWatch.swift",
        "FloatingPointExtensions.swift",
        "Git.swift",
        "Hex.swift",
        "IndexStore.swift",
        "InterruptHandler.swift",
        "JSONMessageStreamingParser.swift",
        "Netrc.swift",
        "OSLog.swift",
        "OrderedZip.swift",
        "PkgConfig.swift",
        "Platform.swift",
        "PolymorphicCodable.swift",
        "ProgressAnimation.swift",
        "SerializedDiagnostics.swift",
        "SimplePersistence.swift",
        "StringExtensions.swift",
        "StringMangling.swift",
        "Tracing.swift",
        "Triple.swift",
        "URL.swift",
        "Verbosity.swift",
        "Version.swift",
        "Versioning.swift",
        "dlopen.swift",
        "misc.swift"
      ],
      "target_dependencies" : [
        "TSCBasic",
        "TSCclibc"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSCTestSupportTests",
      "module_type" : "SwiftTarget",
      "name" : "TSCTestSupportTests",
      "path" : "Tests/TSCTestSupportTests",
      "sources" : [
        "TestSupportTests.swift"
      ],
      "target_dependencies" : [
        "TSCTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSCTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "TSCTestSupport",
      "path" : "Sources/TSCTestSupport",
      "product_memberships" : [
        "TSCTestSupport"
      ],
      "sources" : [
        "AssertMatch.swift",
        "DiagnosticsEngine.swift",
        "FileSystemExtensions.swift",
        "JSONExtensions.swift",
        "Product.swift",
        "PseudoTerminal.swift",
        "XCTAssertHelpers.swift",
        "XCTestCasePerf.swift",
        "misc.swift"
      ],
      "target_dependencies" : [
        "TSCBasic",
        "TSCUtility"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSCLibc",
      "module_type" : "SwiftTarget",
      "name" : "TSCLibc",
      "path" : "Sources/TSCLibc",
      "product_memberships" : [
        "TSCBasic",
        "SwiftToolsSupport",
        "SwiftToolsSupport-auto",
        "TSCTestSupport"
      ],
      "sources" : [
        "libc.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSCBasicTests",
      "module_type" : "SwiftTarget",
      "name" : "TSCBasicTests",
      "path" : "Tests/TSCBasicTests",
      "sources" : [
        "AwaitTests.swift",
        "Base64URLTests.swift",
        "ByteStringTests.swift",
        "CStringArrayTests.swift",
        "CacheableSequenceTests.swift",
        "CollectionAlgorithmsTests.swift",
        "CollectionExtensionsTests.swift",
        "ConditionTests.swift",
        "DeltaAlgorithmTests.swift",
        "DiagnosticsEngineTests.swift",
        "DictionaryExtensionsTests.swift",
        "DictionaryLiteralExtensionsTests.swift",
        "EditDistanceTests.swift",
        "FileSystemTests.swift",
        "GraphAlgorithmsTests.swift",
        "JSONMapperTests.swift",
        "JSONTests.swift",
        "KeyedPairTests.swift",
        "LazyCacheTests.swift",
        "LockTests.swift",
        "ObjectIdentifierProtocolTests.swift",
        "OrderedDictionaryTests.swift",
        "OrderedSetTests.swift",
        "POSIXTests.swift",
        "PathShimTests.swift",
        "PathTests.swift",
        "ProcessEnvTests.swift",
        "ProcessSetTests.swift",
        "ProcessTests.swift",
        "RegExTests.swift",
        "ResultTests.swift",
        "SHA256Tests.swift",
        "SendableTests.swift",
        "SortedArrayTests.swift",
        "StringConversionsTests.swift",
        "SynchronizedQueueTests.swift",
        "TemporaryFileTests.swift",
        "TerminalControllerTests.swift",
        "ThreadTests.swift",
        "TupleTests.swift",
        "WritableByteStreamTests.swift",
        "miscTests.swift"
      ],
      "target_dependencies" : [
        "TSCTestSupport",
        "TSCclibc"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSCBasicPerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "TSCBasicPerformanceTests",
      "path" : "Tests/TSCBasicPerformanceTests",
      "sources" : [
        "ByteStringPerfTests.swift",
        "PathPerfTests.swift",
        "SHA256PerfTests.swift",
        "SortedArrayPerfTests.swift",
        "StringConversionsPerfTests.swift",
        "SynchronizedQueuePerfTests.swift",
        "WritableByteStreamPerfTests.swift"
      ],
      "target_dependencies" : [
        "TSCBasic",
        "TSCTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TSCBasic",
      "module_type" : "SwiftTarget",
      "name" : "TSCBasic",
      "path" : "Sources/TSCBasic",
      "product_memberships" : [
        "TSCBasic",
        "SwiftToolsSupport",
        "SwiftToolsSupport-auto",
        "TSCTestSupport"
      ],
      "sources" : [
        "Await.swift",
        "Base64URL.swift",
        "ByteString.swift",
        "CStringArray.swift",
        "CacheableSequence.swift",
        "Closable.swift",
        "CodableResult.swift",
        "CollectionAlgorithms.swift",
        "CollectionExtensions.swift",
        "Condition.swift",
        "DeltaAlgorithm.swift",
        "DiagnosticsEngine.swift",
        "DictionaryExtensions.swift",
        "DictionaryLiteralExtensions.swift",
        "EditDistance.swift",
        "FileInfo.swift",
        "FileSystem.swift",
        "GraphAlgorithms.swift",
        "HashAlgorithms.swift",
        "JSON.swift",
        "JSONMapper.swift",
        "KeyedPair.swift",
        "LazyCache.swift",
        "Lock.swift",
        "OSLog.swift",
        "ObjectIdentifierProtocol.swift",
        "OrderedDictionary.swift",
        "OrderedSet.swift",
        "Path.swift",
        "PathShims.swift",
        "Process/Process.swift",
        "Process/ProcessEnv.swift",
        "Process/ProcessSet.swift",
        "RegEx.swift",
        "Result.swift",
        "SortedArray.swift",
        "StringConversions.swift",
        "SynchronizedQueue.swift",
        "TemporaryFile.swift",
        "TerminalController.swift",
        "Thread.swift",
        "Tuple.swift",
        "WritableByteStream.swift",
        "misc.swift"
      ],
      "target_dependencies" : [
        "TSCLibc",
        "TSCclibc"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Building for debugging...
[0/13] Write sources
[4/13] Compiling TSCclibc process.c
[5/13] Compiling TSCclibc strerror.c
[6/13] Compiling TSCclibc libc.c
[7/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/15] Emitting module TSCLibc
/host/spi-builder-workspace/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[10/15] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/8] Emitting module TSCLibc
/host/spi-builder-workspace/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[3/8] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
BUILD FAILURE 6.1 wasm