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 XcodeProject, reference 1.1.1 (7c3420), with Swift 6.1 for Wasm on 27 May 2025 09:46:00 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/bannzai/xcodeproject.git
Reference: 1.1.1
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/bannzai/xcodeproject
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 7c34203 Merge pull request #17 from bannzai/add/test/group
Cloned https://github.com/bannzai/xcodeproject.git
Revision (git rev-parse @):
7c34203f17c333089376a0b84d568bf9b3b6f971
SUCCESS checkout https://github.com/bannzai/xcodeproject.git at 1.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bannzai/xcodeproject.git
https://github.com/bannzai/xcodeproject.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swdifft",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bannzai/Swdifft.git"
    },
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    }
  ],
  "manifest_display_name" : "XcodeProject",
  "name" : "XcodeProject",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "xcp",
      "targets" : [
        "XcodeProject"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XcodeProject",
      "targets" : [
        "XcodeProjectCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XcodeProjectCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "XcodeProjectCoreTests",
      "path" : "Tests/XcodeProjectCoreTests",
      "product_dependencies" : [
        "Swdifft"
      ],
      "sources" : [
        "Appender/BuildFileAppenderTests.swift",
        "Appender/FileReferenceAppenderTests.swift",
        "Appender/GroupAppenderTests.swift",
        "Extension/ArrayExtensionTests.swift",
        "Extractor/GroupExtractorTests.swift",
        "Formatter/Serializer/PBXAtomicValue/PBXAtomicFormatterTests.swift",
        "Formatter/Serializer/PBXAtomicValueList/MultilineAtomicValueListFieldFormatterTests.swift",
        "Formatter/Serializer/PBXAtomicValueList/SinglelineAtomicValueListFieldFormatterTests.swift",
        "Formatter/Serializer/PBXRawMap/PBXRawMapFormatterTests.swift",
        "Formatter/Serializer/PBXRawMapList/PBXRawMapListFormatterTests.swift",
        "Formatter/Serializer/Section/SectionFormatterTests.swift",
        "Formatter/Serializer/SerializerFormatterTests.swift",
        "Generated/Mock.generated.swift",
        "PBX/Model/PBXBuildPhaseTests.swift",
        "PBX/Model/PBXGroupTests.swift",
        "PBX/Model/PBXTargetTests.swift",
        "PBX/Subscription/SubscriptionTests.swift",
        "Parser/PBXProjectParserTests.swift",
        "Serializer/XcodeProjectSerializerTests.swift",
        "TestHelper.swift",
        "XcodeProject/XcodeProjectTests.swift"
      ],
      "target_dependencies" : [
        "XcodeProjectCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XcodeProjectCore",
      "module_type" : "SwiftTarget",
      "name" : "XcodeProjectCore",
      "path" : "Sources/XcodeProjectCore",
      "product_dependencies" : [
        "Swdifft"
      ],
      "product_memberships" : [
        "xcp",
        "XcodeProject"
      ],
      "sources" : [
        "Appender/Component/BuildFileAppender.swift",
        "Appender/Component/BuildPhaseAppender.swift",
        "Appender/Component/FileReferenceAppender.swift",
        "Appender/Component/GroupAppender.swift",
        "Appender/Component/ResourceBuildPhaseAppender.swift",
        "Appender/Component/SourceBuildPhaseAppender.swift",
        "Extension/Array/ArrayExtension.swift",
        "Extension/Collection/CollectionExtension.swift",
        "Extension/Dictionary/DictionaryExtension.swift",
        "Extractor/BuildFileExtractor.swift",
        "Extractor/BuildPhaseExtractor.swift",
        "Extractor/FileRefExtractor.swift",
        "Extractor/GroupExtractor.swift",
        "Extractor/NativeTargetExtractor.swift",
        "Extractor/ResourcesBuildPhaseExtractor.swift",
        "Extractor/SourcesBuildPhaseExtractor.swift",
        "Formatter/Serializer/Field/FieldFormatter.swift",
        "Formatter/Serializer/Field/PBXAtomicValue/PBXAtomicValueFormatter.swift",
        "Formatter/Serializer/Field/PBXAtomicValueList/MultiplelineAtomicValueListFieldFormatter.swift",
        "Formatter/Serializer/Field/PBXAtomicValueList/PBXAtomicValueListFieldFormatter.swift",
        "Formatter/Serializer/Field/PBXAtomicValueList/SinglelineAtomicValueListFieldFormatter.swift",
        "Formatter/Serializer/Field/PBXRawMap/PBXMapFormatter.swift",
        "Formatter/Serializer/Field/PBXRawMapList/PBXRawMapFormatter.swift",
        "Formatter/Serializer/Object/ObjectRowFormatter.swift",
        "Formatter/Serializer/Object/TopRowFormatter.swift",
        "Formatter/Serializer/Object/XcodeProjectFormatter.swift",
        "Formatter/Serializer/Section/SectionFormatter.swift",
        "Formatter/Serializer/Section/SectionRowFormatter.swift",
        "Formatter/Serializer/SerializeFormatter.swift",
        "Generator/StringGenerator.swift",
        "Maker/BuildFileMaker.swift",
        "Maker/BuildPhaseMaker.swift",
        "Maker/FileReferenceMaker.swift",
        "Maker/GroupMaker.swift",
        "PBX/Context/Context.swift",
        "PBX/Model/AbstractPBXObject.swift",
        "PBX/Model/PBX.swift",
        "PBX/Model/PBXType.swift",
        "PBX/Model/SecondaryAbstractPBXObject.swift",
        "PBX/Model/XC.swift",
        "PBX/ObjectType.swift",
        "PBX/Subscription/PBXSubscription.swift",
        "Parser/PBXProjectParser.swift",
        "Serializer/XcodeProjectSerializer.swift",
        "Sourcery/AutoMockable.swift",
        "Value/KnownFileExtension.swift",
        "Value/PathComponent.swift",
        "Value/SourceTreeType.swift",
        "Writer/FileWriter.swift",
        "Xcode/XcodeProject.swift",
        "Xcode/XcodeProjectError.swift",
        "Xcode/XcodeProjectHelper.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeProjectCLI",
      "module_type" : "SwiftTarget",
      "name" : "XcodeProjectCLI",
      "path" : "Sources/XcodeProjectCLI",
      "product_dependencies" : [
        "Commander"
      ],
      "product_memberships" : [
        "xcp"
      ],
      "sources" : [
        "CLI.swift"
      ],
      "target_dependencies" : [
        "XcodeProjectCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeProject",
      "module_type" : "SwiftTarget",
      "name" : "XcodeProject",
      "path" : "Sources/XcodeProject",
      "product_memberships" : [
        "xcp"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "XcodeProjectCLI"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/bannzai/Swdifft.git
[1/1588] Fetching commander
[1589/1728] Fetching commander, swdifft
Fetched https://github.com/kylef/Commander.git from cache (0.28s)
Fetched https://github.com/bannzai/Swdifft.git from cache (0.29s)
Computing version for https://github.com/bannzai/Swdifft.git
Computed https://github.com/bannzai/Swdifft.git at 1.0.3 (2.80s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (0.63s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (3.57s)
Creating working copy for https://github.com/bannzai/Swdifft.git
Working copy of https://github.com/bannzai/Swdifft.git resolved at 1.0.3
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/29] Emitting module Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[8/30] Compiling Commander Command.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[9/30] Compiling Commander CommandType.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[10/30] Compiling Commander ArgumentParser.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[11/30] Compiling Commander ArgumentConvertible.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[12/30] Compiling Commander ArgumentDescription.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[13/30] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[14/30] Compiling Swdifft InternalDiffFunction.swift
/host/spi-builder-workspace/.build/checkouts/Swdifft/Sources/Swdifft/InternalDiffFunction.swift:54:9: error: cannot find 'DispatchQueue' in scope
52 |     func extractInBackground(closure: @escaping (Content) -> (), target: Content, diffWords: (begin: String, end: String)) {
53 |         var beginIndex = 0
54 |         DispatchQueue.global().async {
   |         `- error: cannot find 'DispatchQueue' in scope
55 |             let r = lcs.reduce("") { (result, commonCharacter) in
56 |                 return result + extract(target: target, commonCharacter: commonCharacter, diffWords: (begin: diffWords.begin, end: diffWords.end), beginIndex: &beginIndex).stack
[15/30] Compiling Swdifft Marks.swift
[16/30] Compiling Swdifft StringExtension.swift
[17/30] Compiling Swdifft longestCommonSubsequence.swift
[18/30] Compiling Swdifft Swdifft.swift
[19/30] Compiling Swdifft Formatter.swift
[20/30] Emitting module Swdifft
[21/30] Compiling Commander Commands.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[22/30] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[23/30] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/8] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling Swdifft Marks.swift
[3/24] Compiling Swdifft InternalDiffFunction.swift
/host/spi-builder-workspace/.build/checkouts/Swdifft/Sources/Swdifft/InternalDiffFunction.swift:54:9: error: cannot find 'DispatchQueue' in scope
52 |     func extractInBackground(closure: @escaping (Content) -> (), target: Content, diffWords: (begin: String, end: String)) {
53 |         var beginIndex = 0
54 |         DispatchQueue.global().async {
   |         `- error: cannot find 'DispatchQueue' in scope
55 |             let r = lcs.reduce("") { (result, commonCharacter) in
56 |                 return result + extract(target: target, commonCharacter: commonCharacter, diffWords: (begin: diffWords.begin, end: diffWords.end), beginIndex: &beginIndex).stack
[4/24] Compiling Swdifft Formatter.swift
[5/24] Compiling Commander Error.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[6/25] Compiling Commander CommandRunner.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[7/25] Compiling Commander Command.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
[8/25] Emitting module Swdifft
[9/25] Compiling Swdifft Swdifft.swift
[10/25] Compiling Swdifft StringExtension.swift
[11/25] Compiling Swdifft longestCommonSubsequence.swift
[12/25] Compiling Commander Group.swift
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/25] Emitting module Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:6:10: error: no such module 'Darwin'
 4 |   import CRT
 5 | #else
 6 |   import Darwin
   |          `- error: no such module 'Darwin'
 7 | #endif
 8 |
BUILD FAILURE 6.1 wasm