Build Information
Successful build of Gherkin with Swift 6.0 for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iainsmith/swiftgherkin.git
Reference: master
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/iainsmith/swiftgherkin
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 84581c3 Update README
Cloned https://github.com/iainsmith/swiftgherkin.git
Revision (git rev-parse @):
84581c35391054ed623de9de56ec6e4efb7587fa
SUCCESS checkout https://github.com/iainsmith/swiftgherkin.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/iainsmith/swiftgherkin.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/nicklockwood/Consumer.git
[1/591] Fetching consumer
Fetched https://github.com/nicklockwood/Consumer.git from cache (0.39s)
Computing version for https://github.com/nicklockwood/Consumer.git
Computed https://github.com/nicklockwood/Consumer.git at 0.3.4 (2.48s)
Creating working copy for https://github.com/nicklockwood/Consumer.git
Working copy of https://github.com/nicklockwood/Consumer.git resolved at 0.3.4
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module Consumer
[5/5] Compiling Consumer Consumer.swift
[7/12] Compiling Gherkin Error.swift
[8/12] Compiling Gherkin Transform.swift
[9/12] Emitting module Gherkin
/host/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 |
/host/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)
/host/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/12] Compiling Gherkin Parser.swift
/host/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 |
/host/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)
/host/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 |
[11/12] Compiling Gherkin LegacyShims.swift
[12/12] Compiling Gherkin Models.swift
/host/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 |
/host/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)
/host/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! (30.17s)
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" : "/host/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.