The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build EffectiveNovelCore, reference main (68ba8d), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 14:50:22 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mui-z/EffectiveNovelCore.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mui-z/EffectiveNovelCore
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 68ba8d4 Swift6 (#26)
Cloned https://github.com/mui-z/EffectiveNovelCore.git
Revision (git rev-parse @):
68ba8d49afa210cc20ebfeb720d5578d4b275d6f
SUCCESS checkout https://github.com/mui-z/EffectiveNovelCore.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mui-z/EffectiveNovelCore.git
https://github.com/mui-z/EffectiveNovelCore.git
{
  "dependencies" : [
    {
      "identity" : "factory",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.5",
            "upper_bound" : "2.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/hmlongco/Factory"
    }
  ],
  "manifest_display_name" : "EffectiveNovelCore",
  "name" : "EffectiveNovelCore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "EffectiveNovelCore",
      "targets" : [
        "EffectiveNovelCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EffectiveNovelCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "EffectiveNovelCoreTests",
      "path" : "Tests/EffectiveNovelCoreTests",
      "product_dependencies" : [
        "Factory"
      ],
      "sources" : [
        "Application/UseCase/ValidateScriptUseCaseTest.swift",
        "Controller/ControllerTest.swift",
        "Domain/Parser/PreProcessor/CommentRemoverTest.swift",
        "Domain/Parser/PreProcessor/NewlineCharacterRemoverTest.swift",
        "Domain/Parser/ScriptParserTests.swift",
        "Domain/Validator/BracketsPairValidatorTest.swift",
        "Domain/Validator/MustContainsIncludeTagsValidatorTest.swift",
        "Domain/Validator/ParseToDisplayEventsValidatorTest.swift"
      ],
      "target_dependencies" : [
        "EffectiveNovelCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "EffectiveNovelCore",
      "module_type" : "SwiftTarget",
      "name" : "EffectiveNovelCore",
      "path" : "Sources/EffectiveNovelCore",
      "product_dependencies" : [
        "Factory"
      ],
      "product_memberships" : [
        "EffectiveNovelCore"
      ],
      "sources" : [
        "Application/UseCase/UseCaseContainer.swift",
        "Application/UseCase/ValidateScriptUseCase.swift",
        "Controller/EFNovelController.swift",
        "Domain/DomainContainer.swift",
        "Domain/Entity/EFNovelScript.swift",
        "Domain/Parser/PreProcessor/CommentOutRemover.swift",
        "Domain/Parser/PreProcessor/NewlineCharacterRemover.swift",
        "Domain/Parser/PreProcessor/PreProcessor.swift",
        "Domain/Parser/ScriptParser.swift",
        "Domain/Syntax/NovelSyntax.swift",
        "Domain/Validator/AllStringSyntaxValidatorProtocol.swift",
        "Domain/Validator/BracketsPairValidator.swift",
        "Domain/Validator/LineSyntaxValidatorProtocol.swift",
        "Domain/Validator/MustContainsIncludeTagsValidator.swift",
        "Domain/Validator/ParseToDisplayEventsValidator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/12] Compiling Factory Scopes.swift
[5/12] Compiling Factory Modifiers.swift
[6/12] Compiling Factory Registrations.swift
[7/12] Compiling Factory Globals.swift
[8/12] Compiling Factory Factory.swift
[9/12] Compiling Factory Contexts.swift
[10/12] Compiling Factory Containers.swift
[11/12] Emitting module Factory
[12/12] Compiling Factory Injections.swift
[13/27] Compiling EffectiveNovelCore BracketsPairValidator.swift
[14/27] Compiling EffectiveNovelCore MustContainsIncludeTagsValidator.swift
[15/27] Compiling EffectiveNovelCore AllStringSyntaxValidatorProtocol.swift
[16/28] Compiling EffectiveNovelCore LineSyntaxValidatorProtocol.swift
[17/28] Compiling EffectiveNovelCore NewlineCharacterRemover.swift
[18/28] Compiling EffectiveNovelCore PreProcessor.swift
[19/28] Compiling EffectiveNovelCore EFNovelScript.swift
[20/28] Compiling EffectiveNovelCore CommentOutRemover.swift
[21/28] Compiling EffectiveNovelCore ScriptParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectiveNovelCore/Domain/Syntax/NovelSyntax.swift:8:8: error: associated value 'notFoundMustIncludeTag(notFoundTags:)' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'DisplayEvent'
 6 |   case unknownTag(lineNo: Int, tagName: String)
 7 |   case invalidBracketsPair(lineNo: Int)
 8 |   case notFoundMustIncludeTag(notFoundTags: [DisplayEvent])
   |        `- error: associated value 'notFoundMustIncludeTag(notFoundTags:)' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'DisplayEvent'
 9 | }
10 |
   :
13 | }
14 |
15 | public enum DisplayEvent: Equatable {
   |             `- note: consider making enum 'DisplayEvent' conform to the 'Sendable' protocol
16 |   case character(char: Character)
17 |   case setDefaultDelay(speed: Double)
[22/28] Compiling EffectiveNovelCore NovelSyntax.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectiveNovelCore/Domain/Syntax/NovelSyntax.swift:8:8: error: associated value 'notFoundMustIncludeTag(notFoundTags:)' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'DisplayEvent'
 6 |   case unknownTag(lineNo: Int, tagName: String)
 7 |   case invalidBracketsPair(lineNo: Int)
 8 |   case notFoundMustIncludeTag(notFoundTags: [DisplayEvent])
   |        `- error: associated value 'notFoundMustIncludeTag(notFoundTags:)' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'DisplayEvent'
 9 | }
10 |
   :
13 | }
14 |
15 | public enum DisplayEvent: Equatable {
   |             `- note: consider making enum 'DisplayEvent' conform to the 'Sendable' protocol
16 |   case character(char: Character)
17 |   case setDefaultDelay(speed: Double)
[23/28] Compiling EffectiveNovelCore EFNovelController.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectiveNovelCore/Controller/EFNovelController.swift:145:10: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure
143 |
144 |   private func startLoop() {
145 |     Task {
    |          `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure
146 |       // NOTE: wait for preparing subscribe stream client.
147 |       try! await Task.sleep(nanoseconds: 100000)
148 |
149 |       while true {
150 |         switch state {
    |                `- note: closure captures 'self' which is accessible to code in the current task
151 |           case .running:
152 |             if displayEvents.isEmpty {
[24/28] Compiling EffectiveNovelCore DomainContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectiveNovelCore/Controller/EFNovelController.swift:145:10: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure
143 |
144 |   private func startLoop() {
145 |     Task {
    |          `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure
146 |       // NOTE: wait for preparing subscribe stream client.
147 |       try! await Task.sleep(nanoseconds: 100000)
148 |
149 |       while true {
150 |         switch state {
    |                `- note: closure captures 'self' which is accessible to code in the current task
151 |           case .running:
152 |             if displayEvents.isEmpty {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/28] Compiling EffectiveNovelCore UseCaseContainer.swift
[26/28] Compiling EffectiveNovelCore ValidateScriptUseCase.swift
[27/28] Emitting module EffectiveNovelCore
/Users/admin/builder/spi-builder-workspace/Sources/EffectiveNovelCore/Domain/Syntax/NovelSyntax.swift:8:8: error: associated value 'notFoundMustIncludeTag(notFoundTags:)' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'DisplayEvent'
 6 |   case unknownTag(lineNo: Int, tagName: String)
 7 |   case invalidBracketsPair(lineNo: Int)
 8 |   case notFoundMustIncludeTag(notFoundTags: [DisplayEvent])
   |        `- error: associated value 'notFoundMustIncludeTag(notFoundTags:)' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'DisplayEvent'
 9 | }
10 |
   :
13 | }
14 |
15 | public enum DisplayEvent: Equatable {
   |             `- note: consider making enum 'DisplayEvent' conform to the 'Sendable' protocol
16 |   case character(char: Character)
17 |   case setDefaultDelay(speed: Double)
[28/28] Compiling EffectiveNovelCore ParseToDisplayEventsValidator.swift
Fetching https://github.com/hmlongco/Factory
[1/14870] Fetching factory
Fetched https://github.com/hmlongco/Factory from cache (1.32s)
Computing version for https://github.com/hmlongco/Factory
Computed https://github.com/hmlongco/Factory at 2.1.5 (2.29s)
Creating working copy for https://github.com/hmlongco/Factory
Working copy of https://github.com/hmlongco/Factory resolved at 2.1.5
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/10] Compiling Factory Injections.swift
[3/10] Compiling Factory Modifiers.swift
[4/10] Compiling Factory Globals.swift
[5/10] Compiling Factory Factory.swift
[6/10] Compiling Factory Contexts.swift
[7/10] Compiling Factory Containers.swift
[8/10] Emitting module Factory
[9/10] Compiling Factory Scopes.swift
[10/10] Compiling Factory Registrations.swift
[11/25] Compiling EffectiveNovelCore MustContainsIncludeTagsValidator.swift
[12/25] Compiling EffectiveNovelCore EFNovelController.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectiveNovelCore/Controller/EFNovelController.swift:145:10: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure
143 |
144 |   private func startLoop() {
145 |     Task {
    |          `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure
146 |       // NOTE: wait for preparing subscribe stream client.
147 |       try! await Task.sleep(nanoseconds: 100000)
148 |
149 |       while true {
150 |         switch state {
    |                `- note: closure captures 'self' which is accessible to code in the current task
151 |           case .running:
152 |             if displayEvents.isEmpty {
[13/25] Compiling EffectiveNovelCore DomainContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectiveNovelCore/Controller/EFNovelController.swift:145:10: error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure
143 |
144 |   private func startLoop() {
145 |     Task {
    |          `- error: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure
146 |       // NOTE: wait for preparing subscribe stream client.
147 |       try! await Task.sleep(nanoseconds: 100000)
148 |
149 |       while true {
150 |         switch state {
    |                `- note: closure captures 'self' which is accessible to code in the current task
151 |           case .running:
152 |             if displayEvents.isEmpty {
[14/26] Compiling EffectiveNovelCore UseCaseContainer.swift
[15/26] Compiling EffectiveNovelCore ValidateScriptUseCase.swift
[16/26] Compiling EffectiveNovelCore LineSyntaxValidatorProtocol.swift
[17/26] Compiling EffectiveNovelCore AllStringSyntaxValidatorProtocol.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/26] Compiling EffectiveNovelCore NewlineCharacterRemover.swift
[19/26] Compiling EffectiveNovelCore PreProcessor.swift
[20/26] Compiling EffectiveNovelCore EFNovelScript.swift
[21/26] Compiling EffectiveNovelCore CommentOutRemover.swift
[22/26] Compiling EffectiveNovelCore BracketsPairValidator.swift
[23/26] Emitting module EffectiveNovelCore
/Users/admin/builder/spi-builder-workspace/Sources/EffectiveNovelCore/Domain/Syntax/NovelSyntax.swift:8:8: error: associated value 'notFoundMustIncludeTag(notFoundTags:)' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'DisplayEvent'
 6 |   case unknownTag(lineNo: Int, tagName: String)
 7 |   case invalidBracketsPair(lineNo: Int)
 8 |   case notFoundMustIncludeTag(notFoundTags: [DisplayEvent])
   |        `- error: associated value 'notFoundMustIncludeTag(notFoundTags:)' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'DisplayEvent'
 9 | }
10 |
   :
13 | }
14 |
15 | public enum DisplayEvent: Equatable {
   |             `- note: consider making enum 'DisplayEvent' conform to the 'Sendable' protocol
16 |   case character(char: Character)
17 |   case setDefaultDelay(speed: Double)
[24/26] Compiling EffectiveNovelCore ScriptParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectiveNovelCore/Domain/Syntax/NovelSyntax.swift:8:8: error: associated value 'notFoundMustIncludeTag(notFoundTags:)' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'DisplayEvent'
 6 |   case unknownTag(lineNo: Int, tagName: String)
 7 |   case invalidBracketsPair(lineNo: Int)
 8 |   case notFoundMustIncludeTag(notFoundTags: [DisplayEvent])
   |        `- error: associated value 'notFoundMustIncludeTag(notFoundTags:)' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'DisplayEvent'
 9 | }
10 |
   :
13 | }
14 |
15 | public enum DisplayEvent: Equatable {
   |             `- note: consider making enum 'DisplayEvent' conform to the 'Sendable' protocol
16 |   case character(char: Character)
17 |   case setDefaultDelay(speed: Double)
[25/26] Compiling EffectiveNovelCore NovelSyntax.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectiveNovelCore/Domain/Syntax/NovelSyntax.swift:8:8: error: associated value 'notFoundMustIncludeTag(notFoundTags:)' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'DisplayEvent'
 6 |   case unknownTag(lineNo: Int, tagName: String)
 7 |   case invalidBracketsPair(lineNo: Int)
 8 |   case notFoundMustIncludeTag(notFoundTags: [DisplayEvent])
   |        `- error: associated value 'notFoundMustIncludeTag(notFoundTags:)' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'DisplayEvent'
 9 | }
10 |
   :
13 | }
14 |
15 | public enum DisplayEvent: Equatable {
   |             `- note: consider making enum 'DisplayEvent' conform to the 'Sendable' protocol
16 |   case character(char: Character)
17 |   case setDefaultDelay(speed: Double)
[26/26] Compiling EffectiveNovelCore ParseToDisplayEventsValidator.swift
BUILD FAILURE 6.1 macosSpm