Build Information
Successful build of Gherkin, reference 0.2.0 (61857f
), with Swift 6.0 for Linux on 27 Nov 2024 02:28:35 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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 -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
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 /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
* 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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/iainsmith/swiftgherkin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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 -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/nicklockwood/Consumer.git
[1/591] Fetching consumer
Fetched https://github.com/nicklockwood/Consumer.git from cache (0.18s)
Computing version for https://github.com/nicklockwood/Consumer.git
Computed https://github.com/nicklockwood/Consumer.git at 0.3.5 (1.79s)
Creating working copy for https://github.com/nicklockwood/Consumer.git
Working copy of https://github.com/nicklockwood/Consumer.git resolved at 0.3.5
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 LegacyShims.swift
[8/12] Compiling Gherkin Error.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 Transform.swift
[11/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 |
[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! (14.18s)
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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.