Build Information
Successful build of UncommonCrypto, reference main (9eab8e
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 06:56:22 UTC.
Swift 6 data race errors: 4
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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tesseract-one/UncommonCrypto.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tesseract-one/UncommonCrypto.swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9eab8ed workflows update
Cloned https://github.com/tesseract-one/UncommonCrypto.swift.git
Revision (git rev-parse @):
9eab8eda70056ff08fc1f9e50e06eb055ca9ff3e
SUCCESS checkout https://github.com/tesseract-one/UncommonCrypto.swift.git at main
========================================
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": "uncommoncrypto.swift",
"name": "UncommonCrypto",
"url": "https://github.com/tesseract-one/UncommonCrypto.swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UncommonCrypto.swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
[1/143] Fetching uncommoncrypto.swift
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git from cache (0.70s)
Creating working copy for https://github.com/tesseract-one/UncommonCrypto.swift.git
Working copy of https://github.com/tesseract-one/UncommonCrypto.swift.git resolved at main (9eab8ed)
warning: '.resolve-product-dependencies': dependency 'uncommoncrypto.swift' 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/tesseract-one/UncommonCrypto.swift.git
{
"dependencies" : [
],
"manifest_display_name" : "UncommonCrypto",
"name" : "UncommonCrypto",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "UncommonCrypto",
"targets" : [
"UncommonCrypto"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CUncommonCrypto",
"targets" : [
"CUncommonCrypto"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UncommonCryptoTests",
"module_type" : "SwiftTarget",
"name" : "UncommonCryptoTests",
"path" : "Tests/UncommonCryptoTests",
"sources" : [
"Hex.swift",
"SHA1.swift",
"SHA2.swift"
],
"target_dependencies" : [
"UncommonCrypto"
],
"type" : "test"
},
{
"c99name" : "UncommonCrypto",
"module_type" : "SwiftTarget",
"name" : "UncommonCrypto",
"path" : "Sources/UncommonCrypto",
"product_memberships" : [
"UncommonCrypto"
],
"sources" : [
"HMAC.swift",
"PBKDF2.swift",
"SHA1.swift",
"SHA2.swift",
"SHA3.swift",
"SecureRandom.swift"
],
"target_dependencies" : [
"CUncommonCrypto"
],
"type" : "library"
},
{
"c99name" : "CUncommonCrypto",
"module_type" : "ClangTarget",
"name" : "CUncommonCrypto",
"path" : "Sources/CUncommonCrypto",
"product_memberships" : [
"UncommonCrypto",
"CUncommonCrypto"
],
"sources" : [
"hmac.c",
"memzero.c",
"pbkdf2.c",
"sha2.c",
"sha3.c"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
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
Building for debugging...
[0/7] Write sources
[1/7] Write swift-version--7754E27361AE5C74.txt
[2/7] Compiling CUncommonCrypto memzero.c
[3/7] Compiling CUncommonCrypto pbkdf2.c
[4/7] Compiling CUncommonCrypto hmac.c
[5/7] Compiling CUncommonCrypto sha3.c
[6/7] Compiling CUncommonCrypto sha2.c
[8/14] Compiling UncommonCrypto SecureRandom.swift
[9/14] Compiling UncommonCrypto SHA3.swift
[10/14] Compiling UncommonCrypto SHA2.swift
/Users/admin/builder/spi-builder-workspace/Sources/UncommonCrypto/SHA2.swift:133:16: warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | static var outSize: Int = Int(CC_SHA256_DIGEST_LENGTH)
| |- warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outSize' 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
134 | }
135 |
/Users/admin/builder/spi-builder-workspace/Sources/UncommonCrypto/SHA2.swift:163:16: warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | }
162 |
163 | static var outSize: Int = Int(CC_SHA512_DIGEST_LENGTH)
| |- warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outSize' 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
164 | }
165 | #else
[11/14] Compiling UncommonCrypto SHA1.swift
[12/14] Compiling UncommonCrypto PBKDF2.swift
[13/14] Emitting module UncommonCrypto
/Users/admin/builder/spi-builder-workspace/Sources/UncommonCrypto/HMAC.swift:145:16: warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | }
144 |
145 | static var outSize: Int = Int(CC_SHA256_DIGEST_LENGTH)
| |- warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outSize' 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
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/UncommonCrypto/HMAC.swift:159:16: warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
157 | }
158 |
159 | static var outSize: Int = Int(CC_SHA512_DIGEST_LENGTH)
| |- warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outSize' 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
160 | }
161 | #else
/Users/admin/builder/spi-builder-workspace/Sources/UncommonCrypto/SHA2.swift:133:16: warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 | }
132 |
133 | static var outSize: Int = Int(CC_SHA256_DIGEST_LENGTH)
| |- warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outSize' 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
134 | }
135 |
/Users/admin/builder/spi-builder-workspace/Sources/UncommonCrypto/SHA2.swift:163:16: warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 | }
162 |
163 | static var outSize: Int = Int(CC_SHA512_DIGEST_LENGTH)
| |- warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outSize' 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
164 | }
165 | #else
[14/14] Compiling UncommonCrypto HMAC.swift
/Users/admin/builder/spi-builder-workspace/Sources/UncommonCrypto/HMAC.swift:145:16: warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
143 | }
144 |
145 | static var outSize: Int = Int(CC_SHA256_DIGEST_LENGTH)
| |- warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outSize' 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
146 | }
147 |
/Users/admin/builder/spi-builder-workspace/Sources/UncommonCrypto/HMAC.swift:159:16: warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
157 | }
158 |
159 | static var outSize: Int = Int(CC_SHA512_DIGEST_LENGTH)
| |- warning: static property 'outSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outSize' 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
160 | }
161 | #else
Build complete! (8.86s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "UncommonCrypto",
"name" : "UncommonCrypto",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "UncommonCrypto",
"targets" : [
"UncommonCrypto"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CUncommonCrypto",
"targets" : [
"CUncommonCrypto"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UncommonCryptoTests",
"module_type" : "SwiftTarget",
"name" : "UncommonCryptoTests",
"path" : "Tests/UncommonCryptoTests",
"sources" : [
"Hex.swift",
"SHA1.swift",
"SHA2.swift"
],
"target_dependencies" : [
"UncommonCrypto"
],
"type" : "test"
},
{
"c99name" : "UncommonCrypto",
"module_type" : "SwiftTarget",
"name" : "UncommonCrypto",
"path" : "Sources/UncommonCrypto",
"product_memberships" : [
"UncommonCrypto"
],
"sources" : [
"HMAC.swift",
"PBKDF2.swift",
"SHA1.swift",
"SHA2.swift",
"SHA3.swift",
"SecureRandom.swift"
],
"target_dependencies" : [
"CUncommonCrypto"
],
"type" : "library"
},
{
"c99name" : "CUncommonCrypto",
"module_type" : "ClangTarget",
"name" : "CUncommonCrypto",
"path" : "Sources/CUncommonCrypto",
"product_memberships" : [
"UncommonCrypto",
"CUncommonCrypto"
],
"sources" : [
"hmac.c",
"memzero.c",
"pbkdf2.c",
"sha2.c",
"sha3.c"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.