Build Information
Successful build of Yaap with Swift 6.0 for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4609320-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/hartbit/Yaap.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/hartbit/Yaap
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 034072a Update README.md
Cloned https://github.com/hartbit/Yaap.git
Revision (git rev-parse @):
034072a72efb0ac91bffc955e1acc8c5c8fb790b
SUCCESS checkout https://github.com/hartbit/Yaap.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/hartbit/Yaap.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling Yaap SubCommand.swift
[5/18] Compiling Yaap Extensions.swift
[6/18] Compiling Yaap Option.swift
[7/18] Compiling Yaap Help.swift
/host/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
156 | }
157 |
158 | internal var exitProcess: (Int32) -> Void = { code in
| |- warning: var 'exitProcess' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitProcess' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'exitProcess' 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
159 | exit(code)
160 | }
[8/18] Compiling Yaap Command.swift
/host/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
156 | }
157 |
158 | internal var exitProcess: (Int32) -> Void = { code in
| |- warning: var 'exitProcess' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitProcess' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'exitProcess' 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
159 | exit(code)
160 | }
[9/18] Compiling Yaap CommandProperty.swift
/host/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
156 | }
157 |
158 | internal var exitProcess: (Int32) -> Void = { code in
| |- warning: var 'exitProcess' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitProcess' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'exitProcess' 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
159 | exit(code)
160 | }
[10/18] Emitting module Yaap
/host/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
156 | }
157 |
158 | internal var exitProcess: (Int32) -> Void = { code in
| |- warning: var 'exitProcess' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitProcess' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'exitProcess' 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
159 | exit(code)
160 | }
[11/18] Compiling Yaap Argument.swift
[12/18] Compiling Yaap ArgumentType.swift
[13/18] Compiling Yaap Version.swift
/host/spi-builder-workspace/Sources/Yaap/Command.swift:158:14: warning: var 'exitProcess' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
156 | }
157 |
158 | internal var exitProcess: (Int32) -> Void = { code in
| |- warning: var 'exitProcess' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exitProcess' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'exitProcess' 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
159 | exit(code)
160 | }
[14/18] Compiling Yaap FileOutputStream.swift
[15/19] Wrapping AST for Yaap for debugging
[17/21] Emitting module YaapExample
[18/21] Compiling YaapExample main.swift
[19/22] Wrapping AST for YaapExample for debugging
[20/22] Write Objects.LinkFileList
[21/22] Linking YaapExample
Build complete! (15.57s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Yaap",
"name" : "Yaap",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "Yaap",
"targets" : [
"Yaap"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "YaapExample",
"targets" : [
"YaapExample"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "YaapTests",
"module_type" : "SwiftTarget",
"name" : "YaapTests",
"path" : "Tests/YaapTests",
"sources" : [
"ArgumentTests.swift",
"ArgumentTypeTests.swift",
"CommandTests.swift",
"ExtensionsTests.swift",
"HelpTests.swift",
"Helpers.swift",
"OptionTests.swift",
"SubCommandTests.swift",
"VersionTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Yaap"
],
"type" : "test"
},
{
"c99name" : "YaapExample",
"module_type" : "SwiftTarget",
"name" : "YaapExample",
"path" : "Sources/YaapExample",
"product_memberships" : [
"YaapExample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Yaap"
],
"type" : "executable"
},
{
"c99name" : "Yaap",
"module_type" : "SwiftTarget",
"name" : "Yaap",
"path" : "Sources/Yaap",
"product_memberships" : [
"Yaap",
"YaapExample"
],
"sources" : [
"Argument.swift",
"ArgumentType.swift",
"Command.swift",
"CommandProperty.swift",
"Extensions.swift",
"FileOutputStream.swift",
"Help.swift",
"Option.swift",
"SubCommand.swift",
"Version.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.