Build Information
Successful build of Guaka, reference 0.4.1 (6fb29b
), with Swift 6.0 for Linux on 30 Oct 2024 22:53:50 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nsomar/Guaka.git
Reference: 0.4.1
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/nsomar/Guaka
* tag 0.4.1 -> FETCH_HEAD
HEAD is now at 6fb29b2 Update StringScanner
Cloned https://github.com/nsomar/Guaka.git
Revision (git rev-parse @):
6fb29b2378166a30d72120980e1c099c664598de
SUCCESS checkout https://github.com/nsomar/Guaka.git at 0.4.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/nsomar/Guaka.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 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/getGuaka/StringScanner.git
[1/188] Fetching stringscanner
Fetched https://github.com/getGuaka/StringScanner.git from cache (0.20s)
Computing version for https://github.com/getGuaka/StringScanner.git
Computed https://github.com/getGuaka/StringScanner.git at 0.4.1 (1.91s)
Creating working copy for https://github.com/getGuaka/StringScanner.git
Working copy of https://github.com/getGuaka/StringScanner.git resolved at 0.4.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling StringScanner StringScanner.swift
[5/9] Compiling StringScanner StringExtension.swift
[6/9] Compiling StringScanner ScannerResult.swift
[7/9] Compiling StringScanner CharacterSet.swift
[8/9] Compiling StringScanner Regex.swift
[9/9] Emitting module StringScanner
[11/32] Compiling Guaka CommandTypes.swift
[12/32] Compiling Guaka CommandExecution.swift
[13/32] Compiling Guaka Flag+Utilities.swift
[14/35] Emitting module Guaka
/host/spi-builder-workspace/Sources/Guaka/Misc/GuakaConfig.swift:78:21: warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | /// ```
77 | ///
78 | public static var helpGenerator: HelpGenerator.Type = DefaultHelpGenerator.self
| |- warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'helpGenerator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'helpGenerator' 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
79 | }
80 |
/host/spi-builder-workspace/Sources/Guaka/Types/Errors.swift:41:8: warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
39 |
40 | /// general command related error
41 | case commandGeneralError(Command, Error)
| `- warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
42 |
43 | /// unknown error occured
/host/spi-builder-workspace/Sources/Guaka/Command/Command.swift:71:14: note: class 'Command' does not conform to the 'Sendable' protocol
69 | /// ```
70 | ///
71 | public class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
72 |
73 |
[15/35] Compiling Guaka ArgTokenType.swift
[16/35] Compiling Guaka Command+Parsing.swift
[17/35] Compiling Guaka FlagSet+Parsing.swift
[18/35] Compiling Guaka HelpGeneratorErrors.swift
/host/spi-builder-workspace/Sources/Guaka/Misc/GuakaConfig.swift:78:21: warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | /// ```
77 | ///
78 | public static var helpGenerator: HelpGenerator.Type = DefaultHelpGenerator.self
| |- warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'helpGenerator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'helpGenerator' 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
79 | }
80 |
[19/35] Compiling Guaka GuakaConfig.swift
/host/spi-builder-workspace/Sources/Guaka/Misc/GuakaConfig.swift:78:21: warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | /// ```
77 | ///
78 | public static var helpGenerator: HelpGenerator.Type = DefaultHelpGenerator.self
| |- warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'helpGenerator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'helpGenerator' 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
79 | }
80 |
[20/35] Compiling Guaka Levenshtein.swift
/host/spi-builder-workspace/Sources/Guaka/Misc/GuakaConfig.swift:78:21: warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | /// ```
77 | ///
78 | public static var helpGenerator: HelpGenerator.Type = DefaultHelpGenerator.self
| |- warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'helpGenerator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'helpGenerator' 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
79 | }
80 |
[21/35] Compiling Guaka CommandHelp.swift
[22/35] Compiling Guaka DefaultHelpGenerator.swift
[23/35] Compiling Guaka FlagHelp.swift
[24/35] Compiling Guaka Flag.swift
[25/35] Compiling Guaka FlagSet.swift
[26/35] Compiling Guaka Flags.swift
[27/35] Compiling Guaka Command+Execution.swift
/host/spi-builder-workspace/Sources/Guaka/Misc/GuakaConfig.swift:78:21: warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | /// ```
77 | ///
78 | public static var helpGenerator: HelpGenerator.Type = DefaultHelpGenerator.self
| |- warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'helpGenerator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'helpGenerator' 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
79 | }
80 |
[28/35] Compiling Guaka Command+Utilities.swift
/host/spi-builder-workspace/Sources/Guaka/Misc/GuakaConfig.swift:78:21: warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | /// ```
77 | ///
78 | public static var helpGenerator: HelpGenerator.Type = DefaultHelpGenerator.self
| |- warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'helpGenerator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'helpGenerator' 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
79 | }
80 |
[29/35] Compiling Guaka Command.swift
/host/spi-builder-workspace/Sources/Guaka/Misc/GuakaConfig.swift:78:21: warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 | /// ```
77 | ///
78 | public static var helpGenerator: HelpGenerator.Type = DefaultHelpGenerator.self
| |- warning: static property 'helpGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'helpGenerator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'helpGenerator' 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
79 | }
80 |
[30/35] Compiling Guaka FlagHelpGeneratorUtils.swift
[31/35] Compiling Guaka HelpGenerator.swift
[32/35] Compiling Guaka HelpGeneratorDefaults.swift
[33/35] Compiling Guaka Errors.swift
/host/spi-builder-workspace/Sources/Guaka/Types/Errors.swift:41:8: warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
39 |
40 | /// general command related error
41 | case commandGeneralError(Command, Error)
| `- warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
42 |
43 | /// unknown error occured
/host/spi-builder-workspace/Sources/Guaka/Command/Command.swift:71:14: note: class 'Command' does not conform to the 'Sendable' protocol
69 | /// ```
70 | ///
71 | public class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
72 |
73 |
[34/35] Compiling Guaka FlagValue.swift
/host/spi-builder-workspace/Sources/Guaka/Types/Errors.swift:41:8: warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
39 |
40 | /// general command related error
41 | case commandGeneralError(Command, Error)
| `- warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
42 |
43 | /// unknown error occured
/host/spi-builder-workspace/Sources/Guaka/Command/Command.swift:71:14: note: class 'Command' does not conform to the 'Sendable' protocol
69 | /// ```
70 | ///
71 | public class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
72 |
73 |
[35/35] Compiling Guaka Result.swift
/host/spi-builder-workspace/Sources/Guaka/Types/Errors.swift:41:8: warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
39 |
40 | /// general command related error
41 | case commandGeneralError(Command, Error)
| `- warning: associated value 'commandGeneralError' of 'Sendable'-conforming enum 'CommandError' has non-sendable type 'Command'; this is an error in the Swift 6 language mode
42 |
43 | /// unknown error occured
/host/spi-builder-workspace/Sources/Guaka/Command/Command.swift:71:14: note: class 'Command' does not conform to the 'Sendable' protocol
69 | /// ```
70 | ///
71 | public class Command {
| `- note: class 'Command' does not conform to the 'Sendable' protocol
72 |
73 |
Build complete! (10.19s)
Build complete.
{
"dependencies" : [
{
"identity" : "stringscanner",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/getGuaka/StringScanner.git"
}
],
"manifest_display_name" : "Guaka",
"name" : "Guaka",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Guaka",
"targets" : [
"Guaka"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2",
"5"
],
"targets" : [
{
"c99name" : "GuakaTests",
"module_type" : "SwiftTarget",
"name" : "GuakaTests",
"path" : "Tests/GuakaTests",
"sources" : [
"ArgTokenTypeTests.swift",
"CommandExecutionTests.swift",
"CommandHelpTests.swift",
"CommandParsingTests.swift",
"CommandTests.swift",
"CommandType+Run.swift",
"CommandTypeTest.swift",
"CustomFlagTypesTests.swift",
"ErrorsTests.swift",
"FlagHelpTests.swift",
"FlagSetTests.swift",
"FlagTests.swift",
"FlagsTests.swift",
"HelpGeneratorSubclassingTests.swift",
"HelpGeneratorTests.swift",
"HelpTests.swift",
"LevenshteinTests.swift",
"ParsingTests.swift",
"TestHelpers.swift",
"ValidationTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Guaka"
],
"type" : "test"
},
{
"c99name" : "Guaka",
"module_type" : "SwiftTarget",
"name" : "Guaka",
"path" : "Sources/Guaka",
"product_dependencies" : [
"StringScanner"
],
"product_memberships" : [
"Guaka"
],
"sources" : [
"Command/Command+Execution.swift",
"Command/Command+Utilities.swift",
"Command/Command.swift",
"Command/CommandTypes.swift",
"Execution/CommandExecution.swift",
"Flag/Flag+Utilities.swift",
"Flag/Flag.swift",
"Flag/FlagSet.swift",
"Flag/Flags.swift",
"Help/CommandHelp.swift",
"Help/DefaultHelpGenerator.swift",
"Help/FlagHelp.swift",
"Help/FlagHelpGeneratorUtils.swift",
"Help/HelpGenerator.swift",
"Help/HelpGeneratorDefaults.swift",
"Help/HelpGeneratorErrors.swift",
"Misc/GuakaConfig.swift",
"Misc/Levenshtein.swift",
"Parsing/ArgTokenType.swift",
"Parsing/Command+Parsing.swift",
"Parsing/FlagSet+Parsing.swift",
"Types/Errors.swift",
"Types/FlagValue.swift",
"Types/Result.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.