Build Information
Successful build of UncommonCrypto, reference 0.2.1 (075344
), with Swift 6.1 for Linux on 30 Apr 2025 00:39:28 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/tesseract-one/UncommonCrypto.swift.git
Reference: 0.2.1
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/tesseract-one/UncommonCrypto.swift
* tag 0.2.1 -> FETCH_HEAD
HEAD is now at 075344f fixed warning
Cloned https://github.com/tesseract-one/UncommonCrypto.swift.git
Revision (git rev-parse @):
075344faec47dadba98bef6a319e310c98be0820
SUCCESS checkout https://github.com/tesseract-one/UncommonCrypto.swift.git at 0.2.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/tesseract-one/UncommonCrypto.swift.git
https://github.com/tesseract-one/UncommonCrypto.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "UncommonCrypto",
"name" : "UncommonCrypto",
"path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/7] Write sources
[1/7] Compiling CUncommonCrypto sha3.c
[2/7] Compiling CUncommonCrypto pbkdf2.c
[3/7] Compiling CUncommonCrypto memzero.c
[4/7] Compiling CUncommonCrypto sha2.c
[5/7] Compiling CUncommonCrypto hmac.c
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/14] Compiling UncommonCrypto SHA3.swift
[9/14] Compiling UncommonCrypto SecureRandom.swift
[10/14] Compiling UncommonCrypto SHA1.swift
[11/14] Compiling UncommonCrypto SHA2.swift
/host/spi-builder-workspace/Sources/UncommonCrypto/SHA2.swift:192: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
190 | }
191 |
192 | static var outSize: Int = Int(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: add '@MainActor' to make static property 'outSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | }
194 |
/host/spi-builder-workspace/Sources/UncommonCrypto/SHA2.swift:219: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
217 | }
218 |
219 | static var outSize: Int = Int(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: add '@MainActor' to make static property 'outSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 | }
221 | #endif
[12/14] Compiling UncommonCrypto PBKDF2.swift
[13/14] Emitting module UncommonCrypto
/host/spi-builder-workspace/Sources/UncommonCrypto/HMAC.swift:188: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
186 | }
187 |
188 | static var outSize: Int = Int(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: add '@MainActor' to make static property 'outSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/UncommonCrypto/HMAC.swift:215: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
213 | }
214 |
215 | static var outSize: Int = Int(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: add '@MainActor' to make static property 'outSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 | }
217 | #endif
/host/spi-builder-workspace/Sources/UncommonCrypto/SHA2.swift:192: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
190 | }
191 |
192 | static var outSize: Int = Int(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: add '@MainActor' to make static property 'outSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | }
194 |
/host/spi-builder-workspace/Sources/UncommonCrypto/SHA2.swift:219: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
217 | }
218 |
219 | static var outSize: Int = Int(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: add '@MainActor' to make static property 'outSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 | }
221 | #endif
[14/14] Compiling UncommonCrypto HMAC.swift
/host/spi-builder-workspace/Sources/UncommonCrypto/HMAC.swift:188: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
186 | }
187 |
188 | static var outSize: Int = Int(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: add '@MainActor' to make static property 'outSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | }
190 |
/host/spi-builder-workspace/Sources/UncommonCrypto/HMAC.swift:215: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
213 | }
214 |
215 | static var outSize: Int = Int(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: add '@MainActor' to make static property 'outSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 | }
217 | #endif
Build complete! (7.62s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "UncommonCrypto",
"name" : "UncommonCrypto",
"path" : "/host/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"
}
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.