Build Information
Successful build of FriendlyId, reference 1.3.2 (4f7bba
), with Swift 6.0 for macOS (SPM) on 15 Sep 2024 06:03:01 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kdubb/SwiftFriendlyId.git
Reference: 1.3.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kdubb/SwiftFriendlyId
* tag 1.3.2 -> FETCH_HEAD
HEAD is now at 4f7bba4 Bump argument parser dependency
Cloned https://github.com/kdubb/SwiftFriendlyId.git
Revision (git rev-parse @):
4f7bba4b24558bafbb92fa5fc721e9c6d4c24a0b
SUCCESS checkout https://github.com/kdubb/SwiftFriendlyId.git at 1.3.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/kdubb/SwiftFriendlyId.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/11] Write sources
[6/11] Write friendly-id-entitlement.plist
[7/11] Write swift-version-117DEE11B69C53C9.txt
[9/34] Emitting module ArgumentParserToolInfo
[10/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/72] Compiling ArgumentParser ArgumentHelp.swift
[12/72] Compiling ArgumentParser ArgumentVisibility.swift
[13/72] Compiling ArgumentParser CompletionKind.swift
[14/72] Compiling ArgumentParser Errors.swift
[15/76] Compiling ArgumentParser BashCompletionsGenerator.swift
[16/76] Compiling ArgumentParser CompletionsGenerator.swift
[17/78] Emitting module BigInt
[18/78] Compiling ArgumentParser InputOrigin.swift
[19/78] Compiling ArgumentParser Name.swift
[20/78] Compiling ArgumentParser Parsed.swift
[21/78] Compiling ArgumentParser ParsedValues.swift
[24/78] Compiling ArgumentParser CommandConfiguration.swift
[25/78] Compiling ArgumentParser EnumerableFlag.swift
[26/78] Compiling ArgumentParser Argument.swift
[27/78] Compiling ArgumentParser AsyncParsableCommand.swift
[28/78] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/78] Compiling ArgumentParser ZshCompletionsGenerator.swift
[30/78] Compiling BigInt Subtraction.swift
[31/78] Compiling BigInt Words and Bits.swift
[37/78] Compiling ArgumentParser NameSpecification.swift
[38/78] Compiling ArgumentParser Option.swift
[39/78] Compiling ArgumentParser OptionGroup.swift
[45/78] Compiling ArgumentParser Platform.swift
[46/78] Compiling ArgumentParser SequenceExtensions.swift
[47/78] Compiling ArgumentParser StringExtensions.swift
[48/78] Compiling ArgumentParser Tree.swift
[49/78] Emitting module ArgumentParser
[50/78] Compiling ArgumentParser ParserError.swift
[51/78] Compiling ArgumentParser SplitArguments.swift
[52/78] Compiling ArgumentParser DumpHelpGenerator.swift
[53/78] Compiling ArgumentParser HelpCommand.swift
[64/78] Compiling ArgumentParser ParsableArguments.swift
[65/78] Compiling ArgumentParser ParsableArgumentsValidation.swift
[66/78] Compiling ArgumentParser ParsableCommand.swift
[67/78] Compiling ArgumentParser ArgumentDecoder.swift
[68/78] Compiling ArgumentParser HelpGenerator.swift
[69/78] Compiling ArgumentParser MessageInfo.swift
[70/78] Compiling ArgumentParser UsageGenerator.swift
[71/78] Compiling ArgumentParser CollectionExtensions.swift
[72/78] Compiling ArgumentParser ArgumentDefinition.swift
[73/78] Compiling ArgumentParser ArgumentSet.swift
[74/78] Compiling ArgumentParser CommandParser.swift
[75/78] Compiling ArgumentParser InputKey.swift
[76/83] Compiling FriendlyId FriendlyId.swift
[77/83] Compiling FriendlyId BigUints.swift
/Users/admin/builder/spi-builder-workspace/Sources/FriendlyId/BigUints.swift:12:13: warning: let 'half' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |
12 | private let half = BigUInt(1) << 64
| `- warning: let 'half' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | extension BigUInt {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift:16:15: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
16 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
17 | /// The type representing a digit in `BigUInt`'s underlying number system.
18 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/FriendlyId/BigUints.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 |
8 | import Foundation
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 |
12 | private let half = BigUInt(1) << 64
| |- note: annotate 'half' 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 | extension BigUInt {
[78/83] Compiling FriendlyId Id.swift
/Users/admin/builder/spi-builder-workspace/Sources/FriendlyId/Id.swift:12:21: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Id' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Id: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Id' conform to the 'Sendable' protocol
11 |
12 | public static let null = Id(uuid: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0))
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Id' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' 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 | public var uuid: UUID
[79/83] Compiling FriendlyId Base62.swift
/Users/admin/builder/spi-builder-workspace/Sources/FriendlyId/Base62.swift:14:14: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public enum Base62 {
13 |
14 | static let base = BigUInt(62)
| `- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift:16:15: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
16 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
17 | /// The type representing a digit in `BigUInt`'s underlying number system.
18 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/FriendlyId/Base62.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 |
8 | import Foundation
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 |
12 | public enum Base62 {
13 |
14 | static let base = BigUInt(62)
| |- note: annotate 'base' 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
15 | static let digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
16 |
[80/83] Emitting module FriendlyId
/Users/admin/builder/spi-builder-workspace/Sources/FriendlyId/Base62.swift:14:14: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public enum Base62 {
13 |
14 | static let base = BigUInt(62)
| `- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
16 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift:16:15: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
16 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
17 | /// The type representing a digit in `BigUInt`'s underlying number system.
18 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/FriendlyId/Base62.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 |
8 | import Foundation
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 |
12 | public enum Base62 {
13 |
14 | static let base = BigUInt(62)
| |- note: annotate 'base' 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
15 | static let digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FriendlyId/BigUints.swift:12:13: warning: let 'half' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 |
12 | private let half = BigUInt(1) << 64
| `- warning: let 'half' is not concurrency-safe because non-'Sendable' type 'BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | extension BigUInt {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigUInt.swift:16:15: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
14 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
15 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
16 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
17 | /// The type representing a digit in `BigUInt`'s underlying number system.
18 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/FriendlyId/BigUints.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
7 |
8 | import Foundation
9 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
10 |
11 |
12 | private let half = BigUInt(1) << 64
| |- note: annotate 'half' 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 | extension BigUInt {
/Users/admin/builder/spi-builder-workspace/Sources/FriendlyId/Id.swift:12:21: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Id' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Id: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Id' conform to the 'Sendable' protocol
11 |
12 | public static let null = Id(uuid: (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0))
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Id' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' 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 | public var uuid: UUID
[81/85] Compiling FriendlyIdCLI main.swift
[82/85] Emitting module FriendlyIdCLI
[82/85] Write Objects.LinkFileList
[83/85] Linking friendly-id
[84/85] Applying friendly-id
Build complete! (16.05s)
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/apple/swift-argument-parser
[1/4706] Fetching bigint
[660/16875] Fetching bigint, swift-argument-parser
Fetched https://github.com/attaswift/BigInt.git from cache (1.63s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.63s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.2.0 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.54s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.2.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.3.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt.git"
}
],
"manifest_display_name" : "FriendlyId",
"name" : "FriendlyId",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "FriendlyId",
"targets" : [
"FriendlyId"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "friendly-id",
"targets" : [
"FriendlyIdCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "FriendlyIdTests",
"module_type" : "SwiftTarget",
"name" : "FriendlyIdTests",
"path" : "Tests/FriendlyIdTests",
"sources" : [
"Base62Tests.swift",
"FriendlyIdTests.swift",
"Generator.swift",
"IdTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"FriendlyId"
],
"type" : "test"
},
{
"c99name" : "FriendlyIdCLI",
"module_type" : "SwiftTarget",
"name" : "FriendlyIdCLI",
"path" : "Sources/FriendlyIdCLI",
"product_memberships" : [
"friendly-id"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"FriendlyId"
],
"type" : "executable"
},
{
"c99name" : "FriendlyId",
"module_type" : "SwiftTarget",
"name" : "FriendlyId",
"path" : "Sources/FriendlyId",
"product_dependencies" : [
"ArgumentParser",
"BigInt"
],
"product_memberships" : [
"FriendlyId",
"friendly-id"
],
"sources" : [
"Base62.swift",
"BigUints.swift",
"FriendlyId.swift",
"Id.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.