Build Information
Successful build of swift-scru128, reference v3.0.2 (d82c68
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 15:44:58 UTC.
Swift 6 data race errors: 1
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/scru128/swift-scru128.git
Reference: v3.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/scru128/swift-scru128
* tag v3.0.2 -> FETCH_HEAD
HEAD is now at d82c68f v3.0.2 Released
Cloned https://github.com/scru128/swift-scru128.git
Revision (git rev-parse @):
d82c68fadb6cdd678682ae963299605ae48590a4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/scru128/swift-scru128.git at v3.0.2
========================================
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": "swift-scru128",
"name": "swift-scru128",
"url": "https://github.com/scru128/swift-scru128.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-scru128",
"dependencies": [
]
}
]
}
Fetching https://github.com/scru128/swift-scru128.git
[1/534] Fetching swift-scru128
Fetched https://github.com/scru128/swift-scru128.git from cache (0.77s)
Creating working copy for https://github.com/scru128/swift-scru128.git
Working copy of https://github.com/scru128/swift-scru128.git resolved at v3.0.2 (d82c68f)
warning: '.resolve-product-dependencies': dependency 'swift-scru128' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/scru128/swift-scru128.git
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Emitting module Scru128
/Users/admin/builder/spi-builder-workspace/Sources/Scru128/Scru128.swift:10:13: warning: let 'globalGenerator' is not concurrency-safe because non-'Sendable' type 'Scru128Generator<SystemRandomNumberGenerator>' may have shared mutable state; this is an error in the Swift 6 language mode
8 | let maxCounterLo: UInt32 = 0xff_ffff
9 |
10 | private let globalGenerator = Scru128Generator()
| |- warning: let 'globalGenerator' is not concurrency-safe because non-'Sendable' type 'Scru128Generator<SystemRandomNumberGenerator>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'globalGenerator' 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
11 |
12 | /// Generates a new SCRU128 ID object using the global generator.
/Users/admin/builder/spi-builder-workspace/Sources/Scru128/Scru128Generator.swift:27:14: note: generic class 'Scru128Generator' does not conform to the 'Sendable' protocol
25 | ///
26 | /// The `Core` functions offer low-level thread-unsafe primitives to customize the behavior.
27 | public class Scru128Generator<R: RandomNumberGenerator> {
| `- note: generic class 'Scru128Generator' does not conform to the 'Sendable' protocol
28 | private var timestamp: UInt64 = 0
29 | private var counterHi: UInt32 = 0
[4/6] Compiling Scru128 Scru128.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scru128/Scru128.swift:10:13: warning: let 'globalGenerator' is not concurrency-safe because non-'Sendable' type 'Scru128Generator<SystemRandomNumberGenerator>' may have shared mutable state; this is an error in the Swift 6 language mode
8 | let maxCounterLo: UInt32 = 0xff_ffff
9 |
10 | private let globalGenerator = Scru128Generator()
| |- warning: let 'globalGenerator' is not concurrency-safe because non-'Sendable' type 'Scru128Generator<SystemRandomNumberGenerator>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'globalGenerator' 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
11 |
12 | /// Generates a new SCRU128 ID object using the global generator.
/Users/admin/builder/spi-builder-workspace/Sources/Scru128/Scru128Generator.swift:27:14: note: generic class 'Scru128Generator' does not conform to the 'Sendable' protocol
25 | ///
26 | /// The `Core` functions offer low-level thread-unsafe primitives to customize the behavior.
27 | public class Scru128Generator<R: RandomNumberGenerator> {
| `- note: generic class 'Scru128Generator' does not conform to the 'Sendable' protocol
28 | private var timestamp: UInt64 = 0
29 | private var counterHi: UInt32 = 0
[5/6] Compiling Scru128 Scru128Id.swift
[6/6] Compiling Scru128 Scru128Generator.swift
Build complete! (6.68s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-scru128",
"name" : "swift-scru128",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Scru128",
"targets" : [
"Scru128"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Scru128Tests",
"module_type" : "SwiftTarget",
"name" : "Scru128Tests",
"path" : "Tests/Scru128Tests",
"sources" : [
"Scru128GeneratorTests.swift",
"Scru128IdTests.swift",
"Scru128Tests.swift"
],
"target_dependencies" : [
"Scru128"
],
"type" : "test"
},
{
"c99name" : "Scru128",
"module_type" : "SwiftTarget",
"name" : "Scru128",
"path" : "Sources/Scru128",
"product_memberships" : [
"Scru128"
],
"sources" : [
"Scru128.swift",
"Scru128Generator.swift",
"Scru128Id.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/scru128/swift-scru128/v3.0.2
Repository: scru128/swift-scru128
Swift version used: 6.0
Target: Scru128
Extracting symbol information for 'Scru128'...
Finished extracting symbol information for 'Scru128'. (3.00s)
Building documentation for 'Scru128'...
Finished building documentation for 'Scru128' (0.18s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/scru128/swift-scru128/v3.0.2
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.33s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.24s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.64s)
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
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit GenericConstraint.swift
[8/57] Compiling SymbolKit GenericParameter.swift
[9/57] Compiling SymbolKit Generics.swift
[10/57] Compiling SymbolKit Namespace.swift
[11/57] Compiling SymbolKit DeclarationFragments.swift
[12/57] Compiling SymbolKit Fragment.swift
[13/57] Compiling SymbolKit FragmentKind.swift
[14/57] Compiling SymbolKit FunctionParameter.swift
[15/57] Compiling SymbolKit FunctionSignature.swift
[16/57] Compiling SymbolKit Identifier.swift
[17/57] Compiling SymbolKit KindIdentifier.swift
[18/57] Compiling SymbolKit Location.swift
[19/57] Compiling SymbolKit Mutability.swift
[20/57] Compiling SymbolKit SemanticVersion.swift
[21/57] Compiling SymbolKit AccessControl.swift
[22/57] Compiling SymbolKit Availability.swift
[23/57] Compiling SymbolKit AvailabilityItem.swift
[24/57] Compiling SymbolKit Domain.swift
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit Symbol.swift
[40/57] Compiling SymbolKit SymbolKind.swift
[41/57] Compiling SymbolKit SymbolGraph.swift
[42/57] Compiling SymbolKit GraphCollector.swift
[43/57] Compiling SymbolKit Mixin+Equals.swift
[44/57] Compiling SymbolKit Mixin+Hash.swift
[45/57] Compiling SymbolKit Mixin.swift
[46/57] Compiling SymbolKit LineList.swift
[47/57] Compiling SymbolKit Position.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.68s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/5] Compiling Scru128 Scru128Id.swift
[3/5] Compiling Scru128 Scru128.swift
[4/5] Emitting module Scru128
[5/5] Compiling Scru128 Scru128Generator.swift
Build of target: 'Scru128' complete! (0.74s)
234
3 /Users/admin/builder/spi-builder-workspace/.docs/scru128/swift-scru128/v3.0.2
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/scru128/swift-scru128/v3.0.2
File count: 234
Doc size: 3.0MB
Preparing doc bundle ...
Uploading prod-scru128-swift-scru128-v3.0.2-cf7ace4d.zip to s3://spi-docs-inbox/prod-scru128-swift-scru128-v3.0.2-cf7ace4d.zip
Copying... [12%]
Copying... [25%]
Copying... [37%]
Copying... [49%]
Copying... [61%]
Copying... [74%]
Copying... [86%]
Copying... [98%]
Copying... [100%]
Done.