Build Information
Successful build of ArgParse with Swift 6.0 for Linux.
Swift 6 data race errors: 2
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/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/kyouko-taiga/argparse.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/kyouko-taiga/argparse
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at aae7bff Merge pull request #4 from kyouko-taiga/issue/2-help
Cloned https://github.com/kyouko-taiga/argparse.git
Revision (git rev-parse @):
aae7bfff83e86382306d9a89dd6a338fe4b24ec5
SUCCESS checkout https://github.com/kyouko-taiga/argparse.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/kyouko-taiga/argparse.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module ArgParse
/host/spi-builder-workspace/Sources/ArgParse/ArgParse.swift:498:8: warning: associated value 'missingArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Argument {
| `- note: consider making struct 'Argument' conform to the 'Sendable' protocol
168 |
169 | public typealias Arity = ClosedRange<Int>
:
496 |
497 | case emptyCommandLine
498 | case missingArguments([Argument])
| `- warning: associated value 'missingArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
499 | case unexpectedArgument(String)
500 | case invalidArity(argument: Argument, provided: Int)
/host/spi-builder-workspace/Sources/ArgParse/ArgParse.swift:500:8: warning: associated value 'invalidArity(argument:provided:)' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Argument {
| `- note: consider making struct 'Argument' conform to the 'Sendable' protocol
168 |
169 | public typealias Arity = ClosedRange<Int>
:
498 | case missingArguments([Argument])
499 | case unexpectedArgument(String)
500 | case invalidArity(argument: Argument, provided: Int)
| `- warning: associated value 'invalidArity(argument:provided:)' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
501 |
502 | }
[4/4] Compiling ArgParse ArgParse.swift
/host/spi-builder-workspace/Sources/ArgParse/ArgParse.swift:498:8: warning: associated value 'missingArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Argument {
| `- note: consider making struct 'Argument' conform to the 'Sendable' protocol
168 |
169 | public typealias Arity = ClosedRange<Int>
:
496 |
497 | case emptyCommandLine
498 | case missingArguments([Argument])
| `- warning: associated value 'missingArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
499 | case unexpectedArgument(String)
500 | case invalidArity(argument: Argument, provided: Int)
/host/spi-builder-workspace/Sources/ArgParse/ArgParse.swift:500:8: warning: associated value 'invalidArity(argument:provided:)' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Argument {
| `- note: consider making struct 'Argument' conform to the 'Sendable' protocol
168 |
169 | public typealias Arity = ClosedRange<Int>
:
498 | case missingArguments([Argument])
499 | case unexpectedArgument(String)
500 | case invalidArity(argument: Argument, provided: Int)
| `- warning: associated value 'invalidArity(argument:provided:)' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
501 |
502 | }
Build complete! (5.63s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ArgParse",
"name" : "ArgParse",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ArgParse",
"targets" : [
"ArgParse"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ArgParseTests",
"module_type" : "SwiftTarget",
"name" : "ArgParseTests",
"path" : "Tests/ArgParseTests",
"sources" : [
"ArgParseTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ArgParse"
],
"type" : "test"
},
{
"c99name" : "ArgParse",
"module_type" : "SwiftTarget",
"name" : "ArgParse",
"path" : "Sources/ArgParse",
"product_memberships" : [
"ArgParse"
],
"sources" : [
"ArgParse.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.