Build Information
Successful build of package-frostflake, reference main (e756b3
), with Swift 6.0 for macOS (SPM) on 3 Dec 2024 16:11:26 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-frostflake.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ordo-one/package-frostflake
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e756b3d ci: 🔄 synced local '.github/workflows/' with remote 'workflows/swift'
Cloned https://github.com/ordo-one/package-frostflake.git
Revision (git rev-parse @):
e756b3d6c5651aebdb142ba3b288126b31ff4153
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ordo-one/package-frostflake.git at main
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-argument-parser
[1/2044] Fetching swift-docc-plugin
[63/5963] Fetching swift-docc-plugin, swift-system
[814/18358] Fetching swift-docc-plugin, swift-system, swift-argument-parser
[2069/21557] Fetching swift-docc-plugin, swift-system, swift-argument-parser, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.84s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.85s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.85s)
Fetched https://github.com/apple/swift-system from cache (1.85s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.61s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.48s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.3.0 (0.46s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.63s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.3.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "package-frostflake",
"name": "package-frostflake",
"url": "https://github.com/ordo-one/package-frostflake.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/package-frostflake",
"dependencies": [
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/ordo-one/package-frostflake.git
[1/2174] Fetching package-frostflake
Fetched https://github.com/ordo-one/package-frostflake.git from cache (1.15s)
Fetching https://github.com/apple/swift-system from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.54s)
Fetched https://github.com/apple/swift-system from cache (0.54s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.0 (0.44s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.03s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.0
Creating working copy for https://github.com/ordo-one/package-frostflake.git
Working copy of https://github.com/ordo-one/package-frostflake.git resolved at main (e756b3d)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Found 2 product dependencies
- swift-system
- swift-argument-parser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ordo-one/package-frostflake.git
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "package-frostflake",
"name" : "package-frostflake",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "Frostflake",
"targets" : [
"Frostflake"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "flake",
"targets" : [
"FrostflakeUtility"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "FrostflakeUtility",
"module_type" : "SwiftTarget",
"name" : "FrostflakeUtility",
"path" : "Sources/FrostflakeUtility",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage"
],
"product_memberships" : [
"flake"
],
"sources" : [
"FrostflakeUtility.swift"
],
"target_dependencies" : [
"Frostflake"
],
"type" : "executable"
},
{
"c99name" : "FrostflakeTests",
"module_type" : "SwiftTarget",
"name" : "FrostflakeTests",
"path" : "Tests/FrostflakeTests",
"sources" : [
"EpochDateTime.swift",
"FrostflakeTests.swift"
],
"target_dependencies" : [
"FrostflakeUtility",
"Frostflake"
],
"type" : "test"
},
{
"c99name" : "Frostflake",
"module_type" : "SwiftTarget",
"name" : "Frostflake",
"path" : "Sources/Frostflake",
"product_memberships" : [
"Frostflake",
"flake"
],
"sources" : [
"Frostflake.swift",
"FrostflakeDefinitions.swift",
"FrostflakeHelpers.swift",
"FrostflakeIdentifier+Base58.swift",
"FrostflakeIdentifier.swift",
"Lock.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/14] Write sources
[8/14] Write flake-entitlement.plist
[9/14] Compiling CSystem shims.c
[10/14] Write swift-version--7754E27361AE5C74.txt
[12/44] Emitting module ArgumentParserToolInfo
[13/44] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/82] Compiling ArgumentParser ParsableArguments.swift
[15/82] Compiling ArgumentParser ParsableArgumentsValidation.swift
[16/84] Compiling Frostflake FrostflakeIdentifier.swift
[17/84] Compiling Frostflake FrostflakeIdentifier+Base58.swift
[18/84] Compiling Frostflake FrostflakeHelpers.swift
[19/84] Compiling Frostflake FrostflakeDefinitions.swift
[20/84] Compiling Frostflake Lock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Frostflake/Lock.swift:23:25: warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<os_unfair_lock>' (aka 'UnsafeMutablePointer<os_unfair_lock_s>'); this is an error in the Swift 6 language mode
21 | final class Lock {
22 | #if os(macOS)
23 | fileprivate let mutex = UnsafeMutablePointer<os_unfair_lock>.allocate(capacity: 1)
| `- warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<os_unfair_lock>' (aka 'UnsafeMutablePointer<os_unfair_lock_s>'); this is an error in the Swift 6 language mode
24 | #else
25 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[21/84] Compiling ArgumentParser UsageGenerator.swift
[22/84] Compiling ArgumentParser CollectionExtensions.swift
[23/84] Compiling ArgumentParser ParserError.swift
[24/84] Compiling ArgumentParser SplitArguments.swift
[25/84] Emitting module Frostflake
/Users/admin/builder/spi-builder-workspace/Sources/Frostflake/Frostflake.swift:18:24: warning: static property 'privateSharedGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | // Class variables and functions
18 | private static var privateSharedGenerator: Frostflake?
| |- warning: static property 'privateSharedGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'privateSharedGenerator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'privateSharedGenerator' 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
19 |
20 | /// Convenience static variable when using the same generator in many places
/Users/admin/builder/spi-builder-workspace/Sources/Frostflake/Lock.swift:23:25: warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<os_unfair_lock>' (aka 'UnsafeMutablePointer<os_unfair_lock_s>'); this is an error in the Swift 6 language mode
21 | final class Lock {
22 | #if os(macOS)
23 | fileprivate let mutex = UnsafeMutablePointer<os_unfair_lock>.allocate(capacity: 1)
| `- warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<os_unfair_lock>' (aka 'UnsafeMutablePointer<os_unfair_lock_s>'); this is an error in the Swift 6 language mode
24 | #else
25 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
[26/84] Compiling Frostflake Frostflake.swift
/Users/admin/builder/spi-builder-workspace/Sources/Frostflake/Frostflake.swift:18:24: warning: static property 'privateSharedGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | // Class variables and functions
18 | private static var privateSharedGenerator: Frostflake?
| |- warning: static property 'privateSharedGenerator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'privateSharedGenerator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'privateSharedGenerator' 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
19 |
20 | /// Convenience static variable when using the same generator in many places
[27/84] Compiling ArgumentParser DumpHelpGenerator.swift
[28/84] Compiling ArgumentParser HelpCommand.swift
[29/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/84] Compiling ArgumentParser CompletionsGenerator.swift
[31/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/84] Compiling ArgumentParser Argument.swift
[34/84] Compiling ArgumentParser Flag.swift
[35/84] Compiling ArgumentParser NameSpecification.swift
[36/84] Compiling ArgumentParser Option.swift
[37/84] Compiling ArgumentParser OptionGroup.swift
[38/88] Compiling SystemPackage Util.swift
[39/88] Compiling SystemPackage UtilConsumers.swift
[40/88] Compiling ArgumentParser ParsableCommand.swift
[41/88] Compiling ArgumentParser ArgumentDecoder.swift
[42/88] Emitting module SystemPackage
[43/88] Compiling ArgumentParser ArgumentHelp.swift
[44/88] Compiling ArgumentParser ArgumentVisibility.swift
[45/88] Compiling ArgumentParser CompletionKind.swift
[46/88] Compiling ArgumentParser Errors.swift
[47/88] Compiling ArgumentParser HelpGenerator.swift
[48/88] Compiling ArgumentParser MessageInfo.swift
[49/88] Compiling ArgumentParser ArgumentDefinition.swift
[50/88] Compiling ArgumentParser ArgumentSet.swift
[51/88] Compiling ArgumentParser CommandParser.swift
[52/88] Compiling ArgumentParser InputKey.swift
[55/88] Compiling ArgumentParser EnumerableFlag.swift
[56/88] Compiling ArgumentParser ExpressibleByArgument.swift
[62/88] Compiling ArgumentParser InputOrigin.swift
[63/88] Compiling ArgumentParser Name.swift
[64/88] Compiling ArgumentParser Parsed.swift
[65/88] Compiling ArgumentParser ParsedValues.swift
[69/88] Compiling ArgumentParser Platform.swift
[70/88] Compiling ArgumentParser SequenceExtensions.swift
[71/88] Compiling ArgumentParser StringExtensions.swift
[72/88] Compiling ArgumentParser Tree.swift
[77/88] Emitting module ArgumentParser
[86/90] Emitting module FrostflakeUtility
/Users/admin/builder/spi-builder-workspace/Sources/FrostflakeUtility/FrostflakeUtility.swift:12:1: warning: extension declares a conformance of imported type 'FrostflakeIdentifier' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Frostflake' introduce this conformance in the future
10 | import Frostflake
11 |
12 | extension FrostflakeIdentifier: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'FrostflakeIdentifier' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Frostflake' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public init?(argument: String) {
14 | if let frostflakeIdentifier = FrostflakeIdentifier(base58: argument) {
[87/90] Compiling FrostflakeUtility FrostflakeUtility.swift
/Users/admin/builder/spi-builder-workspace/Sources/FrostflakeUtility/FrostflakeUtility.swift:12:1: warning: extension declares a conformance of imported type 'FrostflakeIdentifier' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Frostflake' introduce this conformance in the future
10 | import Frostflake
11 |
12 | extension FrostflakeIdentifier: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'FrostflakeIdentifier' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Frostflake' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public init?(argument: String) {
14 | if let frostflakeIdentifier = FrostflakeIdentifier(base58: argument) {
[87/90] Write Objects.LinkFileList
[88/90] Linking flake
[89/90] Applying flake
Build complete! (30.49s)
warning: 'swift-system': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/CMakeLists.txt
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "package-frostflake",
"name" : "package-frostflake",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "Frostflake",
"targets" : [
"Frostflake"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "flake",
"targets" : [
"FrostflakeUtility"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "FrostflakeUtility",
"module_type" : "SwiftTarget",
"name" : "FrostflakeUtility",
"path" : "Sources/FrostflakeUtility",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage"
],
"product_memberships" : [
"flake"
],
"sources" : [
"FrostflakeUtility.swift"
],
"target_dependencies" : [
"Frostflake"
],
"type" : "executable"
},
{
"c99name" : "FrostflakeTests",
"module_type" : "SwiftTarget",
"name" : "FrostflakeTests",
"path" : "Tests/FrostflakeTests",
"sources" : [
"EpochDateTime.swift",
"FrostflakeTests.swift"
],
"target_dependencies" : [
"FrostflakeUtility",
"Frostflake"
],
"type" : "test"
},
{
"c99name" : "Frostflake",
"module_type" : "SwiftTarget",
"name" : "Frostflake",
"path" : "Sources/Frostflake",
"product_memberships" : [
"Frostflake",
"flake"
],
"sources" : [
"Frostflake.swift",
"FrostflakeDefinitions.swift",
"FrostflakeHelpers.swift",
"FrostflakeIdentifier+Base58.swift",
"FrostflakeIdentifier.swift",
"Lock.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.