The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EffectiveNovelCore, reference 1.4.0 (68ba8d), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 02:52:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mui-z/EffectiveNovelCore.git
Reference: 1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mui-z/EffectiveNovelCore
 * tag               1.4.0      -> FETCH_HEAD
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 1.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mui-z/EffectiveNovelCore.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/12] Compiling Factory Modifiers.swift
[5/12] Compiling Factory Globals.swift
[6/12] Compiling Factory Containers.swift
[7/12] Compiling Factory Scopes.swift
[8/12] Compiling Factory Registrations.swift
[9/12] Compiling Factory Contexts.swift
[10/12] Emitting module Factory
[11/12] Compiling Factory Injections.swift
[12/12] Compiling Factory Factory.swift
[13/27] Compiling EffectiveNovelCore LineSyntaxValidatorProtocol.swift
[14/27] Compiling EffectiveNovelCore AllStringSyntaxValidatorProtocol.swift
[15/27] Compiling EffectiveNovelCore NewlineCharacterRemover.swift
[16/27] Compiling EffectiveNovelCore PreProcessor.swift
[17/28] Compiling EffectiveNovelCore ParseToDisplayEventsValidator.swift
[18/28] Compiling EffectiveNovelCore BracketsPairValidator.swift
[19/28] Compiling EffectiveNovelCore EFNovelScript.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/28] Compiling EffectiveNovelCore CommentOutRemover.swift
[21/28] Compiling EffectiveNovelCore UseCaseContainer.swift
[22/28] Compiling EffectiveNovelCore ValidateScriptUseCase.swift
[23/28] Compiling EffectiveNovelCore MustContainsIncludeTagsValidator.swift
[24/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)
[25/28] Compiling EffectiveNovelCore EFNovelController.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectiveNovelCore/Controller/EFNovelController.swift:145:5: 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 {
[26/28] Compiling EffectiveNovelCore DomainContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/EffectiveNovelCore/Controller/EFNovelController.swift:145:5: 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 {
[27/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)
[28/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)
Fetching https://github.com/hmlongco/Factory
[1/18827] Fetching factory
Fetched https://github.com/hmlongco/Factory from cache (1.52s)
Computing version for https://github.com/hmlongco/Factory
Computed https://github.com/hmlongco/Factory at 2.1.5 (3.98s)
Creating working copy for https://github.com/hmlongco/Factory
Working copy of https://github.com/hmlongco/Factory resolved at 2.1.5
BUILD FAILURE 6.2 macosSpm