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 Kuri, reference 0.5.0 (4f89c4), with Swift 6.1 for Wasm on 27 May 2025 22:15:31 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/bannzai/kuri.git
Reference: 0.5.0
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/kuri
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 4f89c4b Merge pull request #24 from hicka04/fix/install/swiftpm-swift5.3
Cloned https://github.com/bannzai/kuri.git
Revision (git rev-parse @):
4f89c4b56c085e01de8e046bc3af9bbf5021474b
SUCCESS checkout https://github.com/bannzai/kuri.git at 0.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bannzai/kuri.git
https://github.com/bannzai/kuri.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "xcodeproject",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bannzai/XcodeProject.git"
    },
    {
      "identity" : "yamlswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.4.4",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/behrang/YamlSwift.git"
    },
    {
      "identity" : "swiftshell",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.1.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kareman/SwiftShell.git"
    }
  ],
  "manifest_display_name" : "Kuri",
  "name" : "Kuri",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "kuri",
      "targets" : [
        "Kuri"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "KuriCore",
      "targets" : [
        "KuriCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KuriCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "KuriCoreTests",
      "path" : "Tests/KuriCoreTests",
      "product_dependencies" : [
        "SwiftShell"
      ],
      "sources" : [
        "KuriCoreTests.swift"
      ],
      "target_dependencies" : [
        "KuriCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KuriCore",
      "module_type" : "SwiftTarget",
      "name" : "KuriCore",
      "path" : "Sources/KuriCore",
      "product_dependencies" : [
        "XcodeProject",
        "Yaml",
        "SwiftShell"
      ],
      "product_memberships" : [
        "kuri",
        "KuriCore"
      ],
      "sources" : [
        "Command/CommandEnum.swift",
        "Command/CommandIO.swift",
        "Command/Error/KuriErrorType.swift",
        "Command/GenerateArgument.swift",
        "Command/GenerateComponent.swift",
        "Command/Generator.swift",
        "Command/Setup.swift",
        "Command/SetupComponentType.swift",
        "Template/Builder/BuilderTemplate.swift",
        "Template/DataStore/DataStoreTemplate.swift",
        "Template/Entity/EntityTemplate.swift",
        "Template/Model/ModelTemplate.swift",
        "Template/Presenter/PresenterTemplate.swift",
        "Template/Repository/RepositoryTemplate.swift",
        "Template/Templatable.swift",
        "Template/Translator/TranslatorTemplate.swift",
        "Template/UseCase/UseCaseTemplate.swift",
        "Template/View/ViewTemplate.swift",
        "Template/Wireframe/WireframeTemplate.swift",
        "Util/FileOperator.swift",
        "Util/Helper.swift",
        "Util/KuriExtension.swift",
        "Yaml/YamlReadableType.swift",
        "Yaml/YamlReader.swift",
        "Yaml/YamlResource.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Kuri",
      "module_type" : "SwiftTarget",
      "name" : "Kuri",
      "path" : "Sources/Kuri",
      "product_memberships" : [
        "kuri"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "KuriCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
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
Fetching https://github.com/behrang/YamlSwift.git
Fetching https://github.com/bannzai/XcodeProject.git
Fetching https://github.com/kareman/SwiftShell.git
[1/4198] Fetching xcodeproject
[883/5582] Fetching xcodeproject, yamlswift
[1022/10445] Fetching xcodeproject, yamlswift, swiftshell
Fetched https://github.com/behrang/YamlSwift.git from cache (0.36s)
Fetched https://github.com/bannzai/XcodeProject.git from cache (0.44s)
Fetched https://github.com/kareman/SwiftShell.git from cache (0.44s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.0 (3.06s)
Computing version for https://github.com/behrang/YamlSwift.git
Computed https://github.com/behrang/YamlSwift.git at 3.4.4 (0.67s)
Computing version for https://github.com/bannzai/XcodeProject.git
Computed https://github.com/bannzai/XcodeProject.git at 1.1.1 (0.62s)
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/bannzai/Swdifft.git
[1/1588] Fetching commander
[208/1728] Fetching commander, swdifft
Fetched https://github.com/bannzai/Swdifft.git from cache (0.30s)
Fetched https://github.com/kylef/Commander.git from cache (0.31s)
Computing version for https://github.com/bannzai/Swdifft.git
Computed https://github.com/bannzai/Swdifft.git at 1.0.3 (1.10s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (0.81s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.35s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.05s)
Creating working copy for https://github.com/bannzai/XcodeProject.git
Working copy of https://github.com/bannzai/XcodeProject.git resolved at 1.1.1
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/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 5.1.0
Creating working copy for https://github.com/behrang/YamlSwift.git
Working copy of https://github.com/behrang/YamlSwift.git resolved at 3.4.4
warning: 'xcodeproject': The target named 'XcodeProject' was identified as an executable target but a non-executable product with this name already exists.
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/38] Compiling SwiftShell Lazy-split.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[9/39] Compiling SwiftShell Array.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[10/39] Compiling SwiftShell Files.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[11/39] Compiling SwiftShell Process.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[12/39] Compiling SwiftShell String.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[13/39] Compiling Swdifft Formatter.swift
[14/39] Emitting module Swdifft
[15/39] Compiling SwiftShell Stream.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[16/39] Compiling Swdifft longestCommonSubsequence.swift
[17/39] Compiling Swdifft Swdifft.swift
[18/39] Compiling Swdifft StringExtension.swift
[19/39] Compiling Swdifft Marks.swift
[20/39] 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
[21/39] Compiling SwiftShell Context.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[22/39] Emitting module Yaml
[23/39] Compiling Yaml YAMLRegex.swift
[24/39] Compiling Yaml YAMLParser.swift
[25/39] Compiling Yaml YAMLOperators.swift
[26/39] Compiling Yaml YAMLTokenizer.swift
[27/39] Compiling Yaml Yaml.swift
[28/39] Compiling Yaml YAMLResult.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/40] Emitting module SwiftShell
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[30/40] Compiling SwiftShell Bash.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[31/40] Compiling SwiftShell Command.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
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
warning: 'xcodeproject': The target named 'XcodeProject' was identified as an executable target but a non-executable product with this name already exists.
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/32] Compiling SwiftShell Lazy-split.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[3/33] Compiling SwiftShell Process.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[4/33] Compiling SwiftShell Array.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[5/33] Compiling SwiftShell Files.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[6/33] Compiling SwiftShell Stream.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[7/33] Compiling Swdifft Swdifft.swift
[8/33] Compiling Swdifft longestCommonSubsequence.swift
[9/33] Compiling SwiftShell Context.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[10/33] Compiling Swdifft Marks.swift
[11/33] Compiling Swdifft StringExtension.swift
[12/33] Compiling SwiftShell Bash.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[13/33] Compiling SwiftShell Command.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/33] Emitting module SwiftShell
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Command.swift:8:8: error: no such module 'Dispatch'
  6 |  */
  7 |
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 | import Foundation
 10 |
[15/33] Emitting module Swdifft
[16/33] Compiling Swdifft Formatter.swift
[17/33] 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
BUILD FAILURE 6.1 wasm