Build Information
Successful build of ModulusOperandi 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/CypherPoet/ModulusOperandi.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/CypherPoet/ModulusOperandi
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3441b09 Update XCode build schemes.
Cloned https://github.com/CypherPoet/ModulusOperandi.git
Revision (git rev-parse @):
3441b09a2f6e462c3322ff65fe444de7515f957e
SUCCESS checkout https://github.com/CypherPoet/ModulusOperandi.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/CypherPoet/ModulusOperandi.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
Fetching https://github.com/apple/swift-argument-parser
[1/11679] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.79s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.1 (0.54s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.1
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/44] Emitting module ArgumentParser
[6/48] Compiling ArgumentParser ArgumentHelp.swift
[7/48] Compiling ArgumentParser CompletionKind.swift
[8/48] Compiling ArgumentParser Errors.swift
[9/48] Compiling ArgumentParser Flag.swift
[10/48] Compiling ArgumentParser NameSpecification.swift
[11/48] Compiling ArgumentParser BashCompletionsGenerator.swift
[12/48] Compiling ArgumentParser CompletionsGenerator.swift
[13/48] Compiling ArgumentParser FishCompletionsGenerator.swift
[14/48] Compiling ArgumentParser ZshCompletionsGenerator.swift
[15/48] Compiling ArgumentParser Argument.swift
[16/48] Compiling ModulusOperandi Modulo.swift
[17/48] Emitting module ModulusOperandi
[18/48] Compiling ModulusOperandi ModulusMode.swift
[19/49] Compiling ArgumentParser UsageGenerator.swift
[20/49] Compiling ArgumentParser SequenceExtensions.swift
[21/49] Compiling ArgumentParser StringExtensions.swift
[22/49] Compiling ArgumentParser Tree.swift
[23/49] Wrapping AST for ModulusOperandi for debugging
[25/49] Compiling ArgumentParser ParsableArguments.swift
[26/49] Compiling ArgumentParser ParsableArgumentsValidation.swift
[27/49] Compiling ArgumentParser ParsableCommand.swift
[28/49] Compiling ArgumentParser ArgumentDecoder.swift
[29/49] Compiling ArgumentParser Option.swift
[30/49] Compiling ArgumentParser OptionGroup.swift
[31/49] Compiling ArgumentParser CommandConfiguration.swift
[32/49] Compiling ArgumentParser EnumerableFlag.swift
[33/49] Compiling ArgumentParser ExpressibleByArgument.swift
[34/49] Compiling ArgumentParser Name.swift
[35/49] Compiling ArgumentParser Parsed.swift
[36/49] Compiling ArgumentParser ParsedValues.swift
[37/49] Compiling ArgumentParser ParserError.swift
[38/49] Compiling ArgumentParser ArgumentDefinition.swift
[39/49] Compiling ArgumentParser ArgumentSet.swift
[40/49] Compiling ArgumentParser CommandParser.swift
[41/49] Compiling ArgumentParser InputOrigin.swift
[42/49] Compiling ArgumentParser SplitArguments.swift
[43/49] Compiling ArgumentParser HelpCommand.swift
[44/49] Compiling ArgumentParser HelpGenerator.swift
[45/49] Compiling ArgumentParser MessageInfo.swift
[46/50] Wrapping AST for ArgumentParser for debugging
[48/53] Compiling ModulusOperandiCLI main.swift
[49/53] Compiling ModulusOperandiCLI ModulusOperandiCLI.swift
/host/spi-builder-workspace/Sources/ModulusOperandiCLI/ModulusOperandiCLI.swift:69:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
67 | extension ModulusOperandiCLI: ParsableCommand {
68 |
69 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
70 | commandName: "modulo",
71 | abstract: """
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/ModulusOperandiCLI/ModulusOperandiCLI.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import Foundation
2 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
3 | import ModulusOperandi
4 |
:
67 | extension ModulusOperandiCLI: ParsableCommand {
68 |
69 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' 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
70 | commandName: "modulo",
71 | abstract: """
/host/spi-builder-workspace/Sources/ModulusOperandiCLI/ModulusOperandiCLI.swift:124:1: warning: extension declares a conformance of imported type 'ModulusMode' to imported protocol 'EnumerableFlag'; this will not behave correctly if the owners of 'ModulusOperandi' introduce this conformance in the future
122 |
123 | // MARK: - ModulusMode Extensions
124 | extension ModulusOperandi.ModulusMode: EnumerableFlag {}
| |- warning: extension declares a conformance of imported type 'ModulusMode' to imported protocol 'EnumerableFlag'; this will not behave correctly if the owners of 'ModulusOperandi' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
125 |
[50/53] Emitting module ModulusOperandiCLI
/host/spi-builder-workspace/Sources/ModulusOperandiCLI/ModulusOperandiCLI.swift:69:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
67 | extension ModulusOperandiCLI: ParsableCommand {
68 |
69 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
70 | commandName: "modulo",
71 | abstract: """
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/ModulusOperandiCLI/ModulusOperandiCLI.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import Foundation
2 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
3 | import ModulusOperandi
4 |
:
67 | extension ModulusOperandiCLI: ParsableCommand {
68 |
69 | static let configuration = CommandConfiguration(
| |- note: annotate 'configuration' 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
70 | commandName: "modulo",
71 | abstract: """
/host/spi-builder-workspace/Sources/ModulusOperandiCLI/ModulusOperandiCLI.swift:124:1: warning: extension declares a conformance of imported type 'ModulusMode' to imported protocol 'EnumerableFlag'; this will not behave correctly if the owners of 'ModulusOperandi' introduce this conformance in the future
122 |
123 | // MARK: - ModulusMode Extensions
124 | extension ModulusOperandi.ModulusMode: EnumerableFlag {}
| |- warning: extension declares a conformance of imported type 'ModulusMode' to imported protocol 'EnumerableFlag'; this will not behave correctly if the owners of 'ModulusOperandi' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
125 |
[51/54] Wrapping AST for ModulusOperandiCLI for debugging
[52/54] Write Objects.LinkFileList
[53/54] Linking ModulusOperandiCLI
Build complete! (17.89s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "ModulusOperandi",
"name" : "ModulusOperandi",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ModulusOperandi",
"targets" : [
"ModulusOperandi"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ModulusOperandiCLI",
"targets" : [
"ModulusOperandiCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ModulusOperandiTests",
"module_type" : "SwiftTarget",
"name" : "ModulusOperandiTests",
"path" : "Tests",
"sources" : [
"ModulusOperandi/BinaryFloatingPointModuloTests.swift",
"ModulusOperandi/BinaryIntegerModuloTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ModulusOperandi"
],
"type" : "test"
},
{
"c99name" : "ModulusOperandiCLI",
"module_type" : "SwiftTarget",
"name" : "ModulusOperandiCLI",
"path" : "Sources/ModulusOperandiCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"ModulusOperandiCLI"
],
"sources" : [
"ModulusOperandiCLI.swift",
"main.swift"
],
"target_dependencies" : [
"ModulusOperandi"
],
"type" : "executable"
},
{
"c99name" : "ModulusOperandi",
"module_type" : "SwiftTarget",
"name" : "ModulusOperandi",
"path" : "Sources/ModulusOperandi",
"product_memberships" : [
"ModulusOperandi",
"ModulusOperandiCLI"
],
"sources" : [
"Modulo.swift",
"ModulusMode.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.