Build Information
Successful build of Gherkin, reference 0.2.0 (61857f
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 02:35:09 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iainsmith/swiftgherkin.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iainsmith/swiftgherkin
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 61857fe Update docs for 0.2.0 release
Cloned https://github.com/iainsmith/swiftgherkin.git
Revision (git rev-parse @):
61857fedfa2818986c56f56553754f7759a6e96e
SUCCESS checkout https://github.com/iainsmith/swiftgherkin.git at 0.2.0
Fetching https://github.com/nicklockwood/Consumer.git
[1/591] Fetching consumer
Fetched https://github.com/nicklockwood/Consumer.git from cache (0.79s)
Computing version for https://github.com/nicklockwood/Consumer.git
Computed https://github.com/nicklockwood/Consumer.git at 0.3.4 (2.26s)
Creating working copy for https://github.com/nicklockwood/Consumer.git
Working copy of https://github.com/nicklockwood/Consumer.git resolved at 0.3.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftgherkin",
"name": "Gherkin",
"url": "https://github.com/iainsmith/swiftgherkin.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftgherkin",
"dependencies": [
{
"identity": "consumer",
"name": "Consumer",
"url": "https://github.com/nicklockwood/Consumer.git",
"version": "0.3.5",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Consumer",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/iainsmith/swiftgherkin.git
[1/556] Fetching swiftgherkin
Fetched https://github.com/iainsmith/swiftgherkin.git from cache (0.78s)
Fetching https://github.com/nicklockwood/Consumer.git from cache
Fetched https://github.com/nicklockwood/Consumer.git from cache (0.49s)
Computing version for https://github.com/nicklockwood/Consumer.git
Computed https://github.com/nicklockwood/Consumer.git at 0.3.5 (0.02s)
Creating working copy for https://github.com/nicklockwood/Consumer.git
Working copy of https://github.com/nicklockwood/Consumer.git resolved at 0.3.5
Creating working copy for https://github.com/iainsmith/swiftgherkin.git
Working copy of https://github.com/iainsmith/swiftgherkin.git resolved at 0.2.0 (61857fe)
warning: '.resolve-product-dependencies': dependency 'swiftgherkin' is not used by any target
Found 1 product dependencies
- Consumer
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/iainsmith/swiftgherkin.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/5] Compiling Consumer Consumer.swift
[5/5] Emitting module Consumer
[6/11] Compiling Gherkin Transform.swift
[7/11] Compiling Gherkin Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gherkin/Parser.swift:81:5: warning: let 'gherkin' is not concurrency-safe because non-'Sendable' type 'GherkinConsumer' (aka 'Consumer<GherkinLabel>') may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | let gherkin = makeParser()
| `- warning: let 'gherkin' is not concurrency-safe because non-'Sendable' type 'GherkinConsumer' (aka 'Consumer<GherkinLabel>') may have shared mutable state; this is an error in the Swift 6 language mode
82 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Consumer/Sources/Consumer.swift:38:22: note: generic enum 'Consumer' does not conform to the 'Sendable' protocol
36 | // MARK: Consumer
37 |
38 | public indirect enum Consumer<Label: Hashable>: Equatable {
| `- note: generic enum 'Consumer' does not conform to the 'Sendable' protocol
39 | /// Primitives
40 | case string(String)
/Users/admin/builder/spi-builder-workspace/Sources/Gherkin/Parser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Consumer'
1 | import Consumer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Consumer'
2 | import Foundation
3 |
:
79 | }
80 |
81 | let gherkin = makeParser()
| |- note: annotate 'gherkin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
[8/11] Compiling Gherkin LegacyShims.swift
[9/11] Emitting module Gherkin
/Users/admin/builder/spi-builder-workspace/Sources/Gherkin/Parser.swift:81:5: warning: let 'gherkin' is not concurrency-safe because non-'Sendable' type 'GherkinConsumer' (aka 'Consumer<GherkinLabel>') may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | let gherkin = makeParser()
| `- warning: let 'gherkin' is not concurrency-safe because non-'Sendable' type 'GherkinConsumer' (aka 'Consumer<GherkinLabel>') may have shared mutable state; this is an error in the Swift 6 language mode
82 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Consumer/Sources/Consumer.swift:38:22: note: generic enum 'Consumer' does not conform to the 'Sendable' protocol
36 | // MARK: Consumer
37 |
38 | public indirect enum Consumer<Label: Hashable>: Equatable {
| `- note: generic enum 'Consumer' does not conform to the 'Sendable' protocol
39 | /// Primitives
40 | case string(String)
/Users/admin/builder/spi-builder-workspace/Sources/Gherkin/Parser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Consumer'
1 | import Consumer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Consumer'
2 | import Foundation
3 |
:
79 | }
80 |
81 | let gherkin = makeParser()
| |- note: annotate 'gherkin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
[10/11] Compiling Gherkin Error.swift
[11/11] Compiling Gherkin Models.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gherkin/Parser.swift:81:5: warning: let 'gherkin' is not concurrency-safe because non-'Sendable' type 'GherkinConsumer' (aka 'Consumer<GherkinLabel>') may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | let gherkin = makeParser()
| `- warning: let 'gherkin' is not concurrency-safe because non-'Sendable' type 'GherkinConsumer' (aka 'Consumer<GherkinLabel>') may have shared mutable state; this is an error in the Swift 6 language mode
82 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Consumer/Sources/Consumer.swift:38:22: note: generic enum 'Consumer' does not conform to the 'Sendable' protocol
36 | // MARK: Consumer
37 |
38 | public indirect enum Consumer<Label: Hashable>: Equatable {
| `- note: generic enum 'Consumer' does not conform to the 'Sendable' protocol
39 | /// Primitives
40 | case string(String)
/Users/admin/builder/spi-builder-workspace/Sources/Gherkin/Parser.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Consumer'
1 | import Consumer
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Consumer'
2 | import Foundation
3 |
:
79 | }
80 |
81 | let gherkin = makeParser()
| |- note: annotate 'gherkin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
Build complete! (8.35s)
Build complete.
{
"dependencies" : [
{
"identity" : "consumer",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.4",
"upper_bound" : "0.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/Consumer.git"
}
],
"manifest_display_name" : "Gherkin",
"name" : "Gherkin",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Gherkin",
"targets" : [
"Gherkin"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4.2",
"5"
],
"targets" : [
{
"c99name" : "GherkinTests",
"module_type" : "SwiftTarget",
"name" : "GherkinTests",
"path" : "Tests/GherkinTests",
"sources" : [
"GherkinTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Gherkin"
],
"type" : "test"
},
{
"c99name" : "Gherkin",
"module_type" : "SwiftTarget",
"name" : "Gherkin",
"path" : "Sources/Gherkin",
"product_dependencies" : [
"Consumer"
],
"product_memberships" : [
"Gherkin"
],
"sources" : [
"Error.swift",
"LegacyShims.swift",
"Models.swift",
"Parser.swift",
"Transform.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.