Build Information
Successful build of package-frostflake, reference main (e756b3
), with Swift 6.1 for Linux on 29 Apr 2025 14:44:33 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-frostflake.git
Reference: main
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/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/ordo-one/package-frostflake.git
https://github.com/ordo-one/package-frostflake.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"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"
},
{
"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"
}
],
"manifest_display_name" : "package-frostflake",
"name" : "package-frostflake",
"path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
[1/2049] Fetching swift-docc-plugin
[452/6413] Fetching swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-docc-plugin from cache (0.37s)
[1/14950] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.74s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.74s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.22s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3376] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.31s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.80s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.2 (0.41s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.42s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.2
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
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/17] Write sources
[8/17] Compiling CSystem shims.c
[9/17] Write swift-version-24593BA9C3E375BF.txt
[11/54] Compiling Frostflake FrostflakeDefinitions.swift
[12/54] Emitting module ArgumentParserToolInfo
[13/54] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/55] Compiling SystemPackage FilePathTempPosix.swift
[15/55] Compiling SystemPackage FilePathTempWindows.swift
[16/55] Compiling SystemPackage FilePathWindows.swift
[17/55] Compiling SystemPackage FilePermissions.swift
[18/55] Compiling SystemPackage MachPort.swift
[19/55] Compiling SystemPackage PlatformString.swift
[20/55] Compiling SystemPackage SystemString.swift
[21/58] Compiling Frostflake FrostflakeIdentifier+Base58.swift
[23/58] Emitting module Frostflake
/host/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: add '@MainActor' to make static property 'privateSharedGenerator' part of global actor 'MainActor'
| `- 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
/host/spi-builder-workspace/Sources/Frostflake/Lock.swift:25:25: warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<pthread_mutex_t>'; this is an error in the Swift 6 language mode
23 | fileprivate let mutex = UnsafeMutablePointer<os_unfair_lock>.allocate(capacity: 1)
24 | #else
25 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<pthread_mutex_t>'; this is an error in the Swift 6 language mode
26 | UnsafeMutablePointer.allocate(capacity: 1)
27 | #endif
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)
[24/58] Compiling Frostflake Frostflake.swift
/host/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: add '@MainActor' to make static property 'privateSharedGenerator' part of global actor 'MainActor'
| `- 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
[25/58] Compiling SystemPackage Errno.swift
[26/58] Compiling SystemPackage ErrnoWindows.swift
[27/58] Compiling SystemPackage FileDescriptor.swift
[28/58] Compiling SystemPackage FileHelpers.swift
[29/58] Emitting module SystemPackage
[30/58] Compiling SystemPackage FilePathParsing.swift
[31/58] Compiling SystemPackage FilePathString.swift
[32/58] Compiling SystemPackage FilePathSyntax.swift
[33/58] Compiling SystemPackage FilePathTemp.swift
[33/58] Wrapping AST for ArgumentParserToolInfo for debugging
[35/96] Compiling ArgumentParser ArgumentDefinition.swift
[36/96] Compiling ArgumentParser ArgumentSet.swift
[37/96] Compiling ArgumentParser CommandParser.swift
[38/96] Compiling Frostflake Lock.swift
/host/spi-builder-workspace/Sources/Frostflake/Lock.swift:25:25: warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<pthread_mutex_t>'; this is an error in the Swift 6 language mode
23 | fileprivate let mutex = UnsafeMutablePointer<os_unfair_lock>.allocate(capacity: 1)
24 | #else
25 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- warning: stored property 'mutex' of 'Sendable'-conforming class 'Lock' has non-sendable type 'UnsafeMutablePointer<pthread_mutex_t>'; this is an error in the Swift 6 language mode
26 | UnsafeMutablePointer.allocate(capacity: 1)
27 | #endif
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)
[39/96] Compiling ArgumentParser NameSpecification.swift
[40/96] Compiling ArgumentParser Option.swift
[41/96] Compiling ArgumentParser DumpHelpGenerator.swift
[42/96] Compiling ArgumentParser HelpCommand.swift
[43/96] Compiling ArgumentParser AsyncParsableCommand.swift
[44/96] Compiling ArgumentParser CommandConfiguration.swift
[45/96] Compiling ArgumentParser CommandGroup.swift
[46/96] Compiling ArgumentParser EnumerableFlag.swift
[47/96] Compiling ArgumentParser ArgumentVisibility.swift
[48/96] Compiling ArgumentParser CompletionKind.swift
[49/96] Compiling ArgumentParser Errors.swift
[50/96] Compiling ArgumentParser Flag.swift
[51/97] Compiling Frostflake FrostflakeIdentifier.swift
[52/97] Compiling Frostflake FrostflakeHelpers.swift
[54/98] Wrapping AST for SystemPackage for debugging
[55/98] Wrapping AST for Frostflake for debugging
[57/98] Compiling ArgumentParser Name.swift
[58/98] Compiling ArgumentParser Parsed.swift
[59/98] Compiling ArgumentParser ParsedValues.swift
[60/98] Compiling ArgumentParser ParserError.swift
[61/98] Compiling ArgumentParser SplitArguments.swift
[62/98] Emitting module ArgumentParser
[63/103] Compiling ArgumentParser BashCompletionsGenerator.swift
[64/103] Compiling ArgumentParser CompletionsGenerator.swift
[65/103] Compiling ArgumentParser FishCompletionsGenerator.swift
[66/103] Compiling ArgumentParser ZshCompletionsGenerator.swift
[67/103] Compiling ArgumentParser Argument.swift
[68/103] Compiling ArgumentParser ArgumentHelp.swift
[72/103] Compiling ArgumentParser InputKey.swift
[73/103] Compiling ArgumentParser InputOrigin.swift
[74/103] Compiling ArgumentParser CollectionExtensions.swift
[75/103] Compiling ArgumentParser Platform.swift
[76/103] Compiling ArgumentParser SequenceExtensions.swift
[77/103] Compiling ArgumentParser StringExtensions.swift
[78/103] Compiling ArgumentParser Tree.swift
[79/103] Compiling ArgumentParser ExpressibleByArgument.swift
[80/103] Compiling ArgumentParser ParsableArguments.swift
[81/103] Compiling ArgumentParser ParsableArgumentsValidation.swift
[82/103] Compiling ArgumentParser ParsableCommand.swift
[83/103] Compiling ArgumentParser ArgumentDecoder.swift
[90/103] Compiling ArgumentParser OptionGroup.swift
[97/103] Compiling ArgumentParser HelpGenerator.swift
[98/103] Compiling ArgumentParser MessageInfo.swift
[99/103] Compiling ArgumentParser UsageGenerator.swift
[100/104] Wrapping AST for ArgumentParser for debugging
[102/106] Emitting module FrostflakeUtility
/host/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) {
[103/106] Compiling FrostflakeUtility FrostflakeUtility.swift
/host/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) {
[104/107] Wrapping AST for FrostflakeUtility for debugging
[105/107] Write Objects.LinkFileList
[106/107] Linking flake
Build complete! (27.07s)
Build complete.
{
"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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.