Build Information
Successful build of SshConfig with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xxlabaza/SshConfig.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xxlabaza/SshConfig
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d16cea0 update readme
Cloned https://github.com/xxlabaza/SshConfig.git
Revision (git rev-parse @):
d16cea0b256d8e76c2116a3ca8d691ddc78c44d2
SUCCESS checkout https://github.com/xxlabaza/SshConfig.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/xxlabaza/SshConfig.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/23] Compiling SshConfig DecodingContext.swift
[4/23] Compiling SshConfig ConfigEncoder.swift
[5/23] Compiling SshConfig ConfigSingleValueDecodingContainer.swift
[6/23] Compiling SshConfig ConfigUnkeyedDecodingContainer.swift
[7/23] Emitting module SshConfig
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
23 | and their types, but you can find it in any SSH manual.
24 | */
25 | struct Properties: Equatable, Codable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
26 |
27 | /**
:
39 | ```
40 | */
41 | public static let defaults = Properties(
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaults' 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
42 | addKeysToAgent: .no,
43 | addressFamily: .any,
[8/23] Compiling SshConfig Pattern.swift
[9/23] Compiling SshConfig StringProtocol+Hex.swift
[10/23] Compiling SshConfig Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
23 | and their types, but you can find it in any SSH manual.
24 | */
25 | struct Properties: Equatable, Codable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
26 |
27 | /**
:
39 | ```
40 | */
41 | public static let defaults = Properties(
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaults' 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
42 | addKeysToAgent: .no,
43 | addressFamily: .any,
[11/23] Compiling SshConfig Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
23 | and their types, but you can find it in any SSH manual.
24 | */
25 | struct Properties: Equatable, Codable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
26 |
27 | /**
:
39 | ```
40 | */
41 | public static let defaults = Properties(
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaults' 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
42 | addKeysToAgent: .no,
43 | addressFamily: .any,
[12/23] Compiling SshConfig Host.swift
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
23 | and their types, but you can find it in any SSH manual.
24 | */
25 | struct Properties: Equatable, Codable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
26 |
27 | /**
:
39 | ```
40 | */
41 | public static let defaults = Properties(
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaults' 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
42 | addKeysToAgent: .no,
43 | addressFamily: .any,
[13/23] Compiling SshConfig StringProtocol+firstCapitalized.swift
[14/23] Compiling SshConfig StringProtocol+isBlank.swift
[15/23] Compiling SshConfig Properties.swift
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
23 | and their types, but you can find it in any SSH manual.
24 | */
25 | struct Properties: Equatable, Codable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
26 |
27 | /**
:
39 | ```
40 | */
41 | public static let defaults = Properties(
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaults' 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
42 | addKeysToAgent: .no,
43 | addressFamily: .any,
[16/23] Compiling SshConfig ConfigDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
23 | and their types, but you can find it in any SSH manual.
24 | */
25 | struct Properties: Equatable, Codable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
26 |
27 | /**
:
39 | ```
40 | */
41 | public static let defaults = Properties(
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaults' 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
42 | addKeysToAgent: .no,
43 | addressFamily: .any,
[17/23] Compiling SshConfig ConfigDecodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SshConfig/Properties.swift:41:23: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
23 | and their types, but you can find it in any SSH manual.
24 | */
25 | struct Properties: Equatable, Codable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
26 |
27 | /**
:
39 | ```
40 | */
41 | public static let defaults = Properties(
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'ssh.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaults' 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
42 | addKeysToAgent: .no,
43 | addressFamily: .any,
[18/23] Compiling SshConfig ssh.swift
[19/23] Compiling SshConfig CharacterSet+contains.swift
[20/23] Compiling SshConfig Equatable+Error.swift
[21/23] Compiling SshConfig NoneAsNil.swift
[22/23] Compiling SshConfig ConfigParser.swift
[23/23] Compiling SshConfig Tokenizer.swift
[24/25] Compiling SshConfig StringProtocol+toTokens.swift
[25/25] Compiling SshConfig StringProtocol+unquoted.swift
Build complete! (20.27s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SshConfig",
"name" : "SshConfig",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SshConfig",
"targets" : [
"SshConfig"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SshConfigTests",
"module_type" : "SwiftTarget",
"name" : "SshConfigTests",
"path" : "Tests/SshConfigTests",
"sources" : [
"ConfigDecoderTests.swift",
"ConfigEncoderTests.swift",
"ConfigParserTests.swift",
"ConfigResolveTests.swift",
"ConfigTests.swift",
"HostTests.swift",
"PatternTests.swift",
"TokenizerTests.swift",
"UsageExample.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SshConfig"
],
"type" : "test"
},
{
"c99name" : "SshConfig",
"module_type" : "SwiftTarget",
"name" : "SshConfig",
"path" : "Sources/SshConfig",
"product_memberships" : [
"SshConfig"
],
"sources" : [
"Config.swift",
"Errors.swift",
"Host.swift",
"Properties.swift",
"decoder/ConfigDecoder.swift",
"decoder/ConfigDecodingContainer.swift",
"decoder/ConfigSingleValueDecodingContainer.swift",
"decoder/ConfigUnkeyedDecodingContainer.swift",
"decoder/DecodingContext.swift",
"encoder/ConfigEncoder.swift",
"parser/ConfigParser.swift",
"parser/Tokenizer.swift",
"ssh.swift",
"utils/CharacterSet+contains.swift",
"utils/Equatable+Error.swift",
"utils/NoneAsNil.swift",
"utils/Pattern.swift",
"utils/StringProtocol+Hex.swift",
"utils/StringProtocol+firstCapitalized.swift",
"utils/StringProtocol+isBlank.swift",
"utils/StringProtocol+toTokens.swift",
"utils/StringProtocol+unquoted.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.