Build Information
Successful build of xcframework with Swift 6.0 for Linux.
Swift 6 data race errors: 1
Build Command
bash -c docker run --rm -v "checkouts-4606859-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/jeffctown/xcframework.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/jeffctown/xcframework
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at dc509d4 Merge pull request #2 from antonino-u/assemble-command
Cloned https://github.com/jeffctown/xcframework.git
Revision (git rev-parse @):
dc509d42747990860a0535511f404970d29e79d2
SUCCESS checkout https://github.com/jeffctown/xcframework.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/jeffctown/xcframework.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-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/Quick/Nimble.git
Fetching https://github.com/AlwaysRightInstitute/Shell
Fetching https://github.com/Carthage/Commandant
Fetching https://github.com/Quick/Quick.git
[1/81] Fetching shell
[82/2404] Fetching shell, commandant
[2405/16953] Fetching shell, commandant, quick
Fetched https://github.com/Carthage/Commandant from cache (0.59s)
[1/18640] Fetching nimble
Fetched https://github.com/AlwaysRightInstitute/Shell from cache (1.76s)
Computing version for https://github.com/Carthage/Commandant
Fetched https://github.com/Quick/Quick.git from cache (1.77s)
Fetched https://github.com/Quick/Nimble.git from cache (1.79s)
Computed https://github.com/Carthage/Commandant at 0.17.0 (0.43s)
Computing version for https://github.com/AlwaysRightInstitute/Shell
Computed https://github.com/AlwaysRightInstitute/Shell at 0.1.4 (0.45s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.1 (1.07s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.1.0 (0.45s)
Creating working copy for https://github.com/AlwaysRightInstitute/Shell
Working copy of https://github.com/AlwaysRightInstitute/Shell resolved at 0.1.4
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.1.0
Creating working copy for https://github.com/Carthage/Commandant
Working copy of https://github.com/Carthage/Commandant resolved at 0.17.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.1
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/25] Compiling Commandant Result+Additions.swift
[7/25] Compiling Commandant OrderedSet.swift
[8/26] Compiling Commandant Switch.swift
[9/26] Compiling Commandant Option.swift
[10/26] Compiling Shell ProcessHelper.swift
[11/26] Compiling Shell Shell.swift
[12/26] Emitting module Commandant
[13/26] Emitting module Shell
[14/26] Compiling Shell EnvironmentTrampoline.swift
[15/27] Compiling Commandant Errors.swift
[16/27] Compiling Commandant ArgumentProtocol.swift
[17/27] Compiling Commandant Command.swift
[18/27] Compiling Commandant HelpCommand.swift
[19/27] Compiling Commandant Argument.swift
[20/27] Compiling Commandant ArgumentParser.swift
[22/28] Wrapping AST for Shell for debugging
[23/28] Wrapping AST for Commandant for debugging
[25/32] Compiling XCFrameworkKit XCFrameworkAssembler.swift
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:103:12: warning: let 'shell' is not concurrency-safe because non-'Sendable' type 'ShellTrampoline' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | @dynamicMemberLookup
56 | public struct ShellTrampoline {
| `- note: consider making struct 'ShellTrampoline' conform to the 'Sendable' protocol
57 |
58 | public let root : ShellPathTrampoline
:
101 | }
102 |
103 | public let shell = ShellTrampoline()
| |- warning: let 'shell' is not concurrency-safe because non-'Sendable' type 'ShellTrampoline' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shell' 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
104 |
[26/32] Compiling XCFrameworkKit Version.swift
/host/spi-builder-workspace/Sources/XCFrameworkKit/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 | public let value: String
12 | public static let current = Version(value: "0.2.3")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
13 | }
14 |
[27/32] Emitting module XCFrameworkKit
/host/spi-builder-workspace/Sources/XCFrameworkKit/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 | public let value: String
12 | public static let current = Version(value: "0.2.3")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
13 | }
14 |
[28/32] Compiling XCFrameworkKit XCFrameworkBuilder.swift
/host/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:103:12: warning: let 'shell' is not concurrency-safe because non-'Sendable' type 'ShellTrampoline' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | @dynamicMemberLookup
56 | public struct ShellTrampoline {
| `- note: consider making struct 'ShellTrampoline' conform to the 'Sendable' protocol
57 |
58 | public let root : ShellPathTrampoline
:
101 | }
102 |
103 | public let shell = ShellTrampoline()
| |- warning: let 'shell' is not concurrency-safe because non-'Sendable' type 'ShellTrampoline' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shell' 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
104 |
[29/33] Wrapping AST for XCFrameworkKit for debugging
[31/38] Compiling xcframework main.swift
[32/38] Compiling xcframework VersionCommand.swift
/host/spi-builder-workspace/Sources/XCFrameworkKit/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 | public let value: String
12 | public static let current = Version(value: "0.2.3")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
13 | }
14 |
[33/38] Compiling xcframework BuildCommand.swift
[34/38] Emitting module xcframework
[35/38] Compiling xcframework AssembleCommand.swift
[36/39] Wrapping AST for xcframework for debugging
[37/39] Write Objects.LinkFileList
[38/39] Linking xcframework
Build complete! (48.01s)
Build complete.
{
"dependencies" : [
{
"identity" : "shell",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/AlwaysRightInstitute/Shell"
},
{
"identity" : "commandant",
"requirement" : {
"range" : [
{
"lower_bound" : "0.17.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Carthage/Commandant"
}
],
"manifest_display_name" : "xcframework",
"name" : "xcframework",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "XCFrameworkKit",
"targets" : [
"XCFrameworkKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "xcframework",
"targets" : [
"xcframework"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "xcframework",
"module_type" : "SwiftTarget",
"name" : "xcframework",
"path" : "Sources/xcframework",
"product_dependencies" : [
"Commandant"
],
"product_memberships" : [
"xcframework"
],
"sources" : [
"Commands/AssembleCommand.swift",
"Commands/BuildCommand.swift",
"Commands/VersionCommand.swift",
"main.swift"
],
"target_dependencies" : [
"XCFrameworkKit"
],
"type" : "executable"
},
{
"c99name" : "XCFrameworkKitTests",
"module_type" : "SwiftTarget",
"name" : "XCFrameworkKitTests",
"path" : "Tests/XCFrameworkKitTests",
"sources" : [
"test.swift"
],
"target_dependencies" : [
"XCFrameworkKit"
],
"type" : "test"
},
{
"c99name" : "XCFrameworkKit",
"module_type" : "SwiftTarget",
"name" : "XCFrameworkKit",
"path" : "Sources/XCFrameworkKit",
"product_dependencies" : [
"Shell"
],
"product_memberships" : [
"XCFrameworkKit",
"xcframework"
],
"sources" : [
"Version.swift",
"XCFrameworkAssembler.swift",
"XCFrameworkBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.