Build Information
Failed to build CryptoSwift, reference 1.8.4 (729e01
), with Swift 6.1 for Android on 30 May 2025 03:07:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[8/104] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:24:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | @usableFromInline
24 | static let none = BlockModeOption(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:27:14: warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
25 |
26 | @usableFromInline
27 | static let initializationVectorRequired = BlockModeOption(rawValue: 1 << 1)
| |- warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initializationVectorRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:30:14: warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[9/104] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:24:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | @usableFromInline
24 | static let none = BlockModeOption(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:27:14: warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
25 |
26 | @usableFromInline
27 | static let initializationVectorRequired = BlockModeOption(rawValue: 1 << 1)
| |- warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initializationVectorRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:30:14: warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[10/104] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:24:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | @usableFromInline
24 | static let none = BlockModeOption(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:27:14: warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
25 |
26 | @usableFromInline
27 | static let initializationVectorRequired = BlockModeOption(rawValue: 1 << 1)
| |- warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initializationVectorRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:30:14: warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[11/104] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:24:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | @usableFromInline
24 | static let none = BlockModeOption(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:27:14: warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
25 |
26 | @usableFromInline
27 | static let initializationVectorRequired = BlockModeOption(rawValue: 1 << 1)
| |- warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initializationVectorRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:30:14: warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[12/104] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:24:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | @usableFromInline
24 | static let none = BlockModeOption(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:27:14: warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
25 |
26 | @usableFromInline
27 | static let initializationVectorRequired = BlockModeOption(rawValue: 1 << 1)
| |- warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initializationVectorRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:30:14: warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[13/104] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:24:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | @usableFromInline
24 | static let none = BlockModeOption(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:27:14: warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
25 |
26 | @usableFromInline
27 | static let initializationVectorRequired = BlockModeOption(rawValue: 1 << 1)
| |- warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initializationVectorRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:30:14: warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[14/104] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:24:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | @usableFromInline
24 | static let none = BlockModeOption(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:27:14: warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
25 |
26 | @usableFromInline
27 | static let initializationVectorRequired = BlockModeOption(rawValue: 1 << 1)
| |- warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initializationVectorRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:30:14: warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[15/104] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:24:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | @usableFromInline
24 | static let none = BlockModeOption(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:27:14: warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
25 |
26 | @usableFromInline
27 | static let initializationVectorRequired = BlockModeOption(rawValue: 1 << 1)
| |- warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initializationVectorRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:30:14: warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[16/104] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:24:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | @usableFromInline
24 | static let none = BlockModeOption(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:27:14: warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
25 |
26 | @usableFromInline
27 | static let initializationVectorRequired = BlockModeOption(rawValue: 1 << 1)
| |- warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initializationVectorRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:30:14: warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[17/104] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:24:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | @usableFromInline
24 | static let none = BlockModeOption(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:27:14: warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
25 |
26 | @usableFromInline
27 | static let initializationVectorRequired = BlockModeOption(rawValue: 1 << 1)
| |- warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initializationVectorRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:30:14: warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[18/104] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:24:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | @usableFromInline
24 | static let none = BlockModeOption(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:27:14: warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
25 |
26 | @usableFromInline
27 | static let initializationVectorRequired = BlockModeOption(rawValue: 1 << 1)
| |- warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initializationVectorRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:30:14: warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[19/118] Emitting module CryptoSwift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:24:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | @usableFromInline
24 | static let none = BlockModeOption(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:27:14: warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
25 |
26 | @usableFromInline
27 | static let initializationVectorRequired = BlockModeOption(rawValue: 1 << 1)
| |- warning: static property 'initializationVectorRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'initializationVectorRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:30:14: warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
28 |
29 | @usableFromInline
30 | static let paddingRequired = BlockModeOption(rawValue: 1 << 2)
| |- warning: static property 'paddingRequired' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paddingRequired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | @usableFromInline
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/BlockModeOptions.swift:33:14: warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 | //
15 |
16 | public struct BlockModeOption: OptionSet {
| `- note: consider making struct 'BlockModeOption' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
31 |
32 | @usableFromInline
33 | static let useEncryptToDecrypt = BlockModeOption(rawValue: 1 << 3)
| |- warning: static property 'useEncryptToDecrypt' is not concurrency-safe because non-'Sendable' type 'BlockModeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useEncryptToDecrypt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[20/118] Compiling CryptoSwift IntegerConversion.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[21/118] Compiling CryptoSwift Multiplication.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[22/118] Compiling CryptoSwift PrimeTest.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[23/118] Compiling CryptoSwift Random.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[24/118] Compiling CryptoSwift Shifts.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[25/118] Compiling CryptoSwift SquareRoot.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[26/118] Compiling CryptoSwift Strideable.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[27/118] Compiling CryptoSwift StringConversion.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[28/118] Compiling CryptoSwift Subtraction.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[29/118] Compiling CryptoSwift WordsAndBits.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[30/118] Compiling CryptoSwift ChaCha20.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[31/118] Compiling CryptoSwift Checksum.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[32/118] Compiling CryptoSwift Cipher.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[33/118] Compiling CryptoSwift Collection+Extension.swift
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/Multiplication.swift:84:23: warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | /// Multiplication switches to an asymptotically better recursive algorithm when arguments have more words than this limit.
84 | public static var directMultiplicationLimit: Int = 1024
| |- warning: static property 'directMultiplicationLimit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'directMultiplicationLimit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'directMultiplicationLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Multiply `a` by `b` and return the result.
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/PrimeTest.swift:18:5: warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
16 | ///
17 | /// This is sequence [A014233](http://oeis.org/A014233) on the [Online Encyclopaedia of Integer Sequences](http://oeis.org).
18 | let pseudoPrimes: [CS.BigUInt] = [
| |- warning: let 'pseudoPrimes' is not concurrency-safe because non-'Sendable' type '[CS.BigUInt]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'pseudoPrimes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | /* 2 */ 2_047,
20 | /* 3 */ 1_373_653,
/host/spi-builder-workspace/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: consider making struct 'BigUInt' conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[34/118] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[35/118] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[36/118] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[37/118] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[38/118] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[39/118] Compiling CryptoSwift RSA+Cipher.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[40/118] Compiling CryptoSwift RSA+Signature.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[41/118] Compiling CryptoSwift RSA.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[42/118] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[43/118] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[44/118] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[45/118] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[46/118] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[47/118] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[48/118] Compiling CryptoSwift XChaCha20+Foundation.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[49/118] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[50/118] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[51/118] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[52/118] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[53/118] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[54/118] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[55/118] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[56/118] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[57/118] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[58/118] Compiling CryptoSwift DER.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[59/118] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[60/118] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[61/118] Compiling CryptoSwift PKCS1v15.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[62/118] Compiling CryptoSwift Signature.swift
[63/118] Compiling CryptoSwift StreamDecryptor.swift
[64/118] Compiling CryptoSwift StreamEncryptor.swift
[65/118] Compiling CryptoSwift String+Extension.swift
[66/118] Compiling CryptoSwift UInt128.swift
[67/118] Compiling CryptoSwift UInt16+Extension.swift
[68/118] Compiling CryptoSwift UInt32+Extension.swift
[69/118] Compiling CryptoSwift UInt64+Extension.swift
[70/118] Compiling CryptoSwift UInt8+Extension.swift
[71/118] Compiling CryptoSwift Updatable.swift
[72/118] Compiling CryptoSwift Utils.swift
[73/118] Compiling CryptoSwift XChaCha20.swift
[74/118] Compiling CryptoSwift ZeroPadding.swift
[75/118] Compiling CryptoSwift resource_bundle_accessor.swift
[76/118] Compiling CryptoSwift CompactMap.swift
[77/118] Compiling CryptoSwift Cryptor.swift
[78/118] Compiling CryptoSwift Cryptors.swift
[79/118] Compiling CryptoSwift Digest.swift
[80/118] Compiling CryptoSwift DigestType.swift
[81/118] Compiling CryptoSwift AES+Foundation.swift
[82/118] Compiling CryptoSwift Array+Foundation.swift
[83/118] Compiling CryptoSwift Blowfish+Foundation.swift
[84/118] Compiling CryptoSwift ChaCha20+Foundation.swift
[85/118] Compiling CryptoSwift Data+Extension.swift
[86/118] Compiling CryptoSwift HMAC+Foundation.swift
[87/118] Compiling CryptoSwift Rabbit+Foundation.swift
[88/118] Compiling CryptoSwift String+FoundationExtension.swift
[89/118] Compiling CryptoSwift Utils+Foundation.swift
[90/118] Compiling CryptoSwift AEAD.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[91/118] Compiling CryptoSwift AEADChaCha20Poly1305.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[92/118] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[93/118] Compiling CryptoSwift AES.Cryptors.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[94/118] Compiling CryptoSwift AES.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[95/118] Compiling CryptoSwift ASN1.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[96/118] Compiling CryptoSwift ASN1Decoder.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[97/118] Compiling CryptoSwift ASN1Encoder.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[98/118] Compiling CryptoSwift ASN1Scanner.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[99/118] Compiling CryptoSwift Array+Extension.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[100/118] Compiling CryptoSwift Authenticator.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[101/118] Compiling CryptoSwift BatchedCollection.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[102/118] Compiling CryptoSwift Bit.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[103/118] Compiling CryptoSwift BlockCipher.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[104/118] Compiling CryptoSwift BlockDecryptor.swift
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADChaCha20Poly1305.swift:22:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public final class AEADChaCha20Poly1305: AEAD {
21 | public static let kLen = 32 // key length
22 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Authenticated encryption
/host/spi-builder-workspace/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:28:21: warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The valid range of initialization vector lengths for the XChaCha20 cipher (12 bytes).
28 | public static var ivRange = Range<Int>(12...12)
| |- warning: static property 'ivRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ivRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ivRange' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Encrypts the given plaintext using the XChaCha20 cipher and generates an authentication
[105/118] Compiling CryptoSwift CMAC.swift
[106/118] Compiling CryptoSwift Addition.swift
[107/118] Compiling CryptoSwift BigInt.swift
[108/118] Compiling CryptoSwift BigUInt.swift
[109/118] Compiling CryptoSwift BitwiseOps.swift
[110/118] Compiling CryptoSwift CS.swift
[111/118] Compiling CryptoSwift Codable.swift
[112/118] Compiling CryptoSwift Comparable.swift
[113/118] Compiling CryptoSwift DataConversion.swift
[114/118] Compiling CryptoSwift Division.swift
[115/118] Compiling CryptoSwift Exponentiation.swift
[116/118] Compiling CryptoSwift FloatingPointConversion.swift
[117/118] Compiling CryptoSwift GCD.swift
[118/118] Compiling CryptoSwift Hashable.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/102] Compiling CryptoSwift CompactMap.swift
[3/102] Compiling CryptoSwift Cryptor.swift
[4/102] Compiling CryptoSwift Cryptors.swift
[5/102] Compiling CryptoSwift Digest.swift
[6/102] Compiling CryptoSwift DigestType.swift
[7/102] Compiling CryptoSwift AES+Foundation.swift
[8/102] Compiling CryptoSwift Array+Foundation.swift
[9/102] Compiling CryptoSwift Blowfish+Foundation.swift
[10/102] Compiling CryptoSwift ChaCha20+Foundation.swift
[11/102] Compiling CryptoSwift Data+Extension.swift
[12/102] Compiling CryptoSwift HMAC+Foundation.swift
[13/102] Compiling CryptoSwift Rabbit+Foundation.swift
[14/102] Compiling CryptoSwift String+FoundationExtension.swift
[15/102] Compiling CryptoSwift Utils+Foundation.swift
[16/102] Compiling CryptoSwift XChaCha20+Foundation.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[17/102] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[18/102] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[19/102] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[20/102] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[21/102] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[22/102] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[23/102] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[24/102] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[25/102] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[26/102] Compiling CryptoSwift DER.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[27/102] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[28/102] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[29/102] Compiling CryptoSwift PKCS1v15.swift
/host/spi-builder-workspace/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[30/116] Compiling CryptoSwift BlockEncryptor.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[31/116] Compiling CryptoSwift BlockMode.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[32/116] Compiling CryptoSwift BlockModeOptions.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[33/116] Compiling CryptoSwift CBC.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[34/116] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[35/116] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[36/116] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[37/116] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[38/116] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[39/116] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[40/116] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[41/116] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[42/116] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[43/116] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[44/116] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[45/116] Compiling CryptoSwift CMAC.swift
[46/116] Compiling CryptoSwift Addition.swift
[47/116] Compiling CryptoSwift BigInt.swift
[48/116] Compiling CryptoSwift BigUInt.swift
[49/116] Compiling CryptoSwift BitwiseOps.swift
[50/116] Compiling CryptoSwift CS.swift
[51/116] Compiling CryptoSwift Codable.swift
[52/116] Compiling CryptoSwift Comparable.swift
[53/116] Compiling CryptoSwift DataConversion.swift
[54/116] Compiling CryptoSwift Division.swift
[55/116] Compiling CryptoSwift Exponentiation.swift
[56/116] Compiling CryptoSwift FloatingPointConversion.swift
[57/116] Compiling CryptoSwift GCD.swift
[58/116] Compiling CryptoSwift Hashable.swift
[59/116] Compiling CryptoSwift Signature.swift
[60/116] Compiling CryptoSwift StreamDecryptor.swift
[61/116] Compiling CryptoSwift StreamEncryptor.swift
[62/116] Compiling CryptoSwift String+Extension.swift
[63/116] Compiling CryptoSwift UInt128.swift
[64/116] Compiling CryptoSwift UInt16+Extension.swift
[65/116] Compiling CryptoSwift UInt32+Extension.swift
[66/116] Compiling CryptoSwift UInt64+Extension.swift
[67/116] Compiling CryptoSwift UInt8+Extension.swift
[68/116] Compiling CryptoSwift Updatable.swift
[69/116] Compiling CryptoSwift Utils.swift
[70/116] Compiling CryptoSwift XChaCha20.swift
[71/116] Compiling CryptoSwift ZeroPadding.swift
[72/116] Compiling CryptoSwift resource_bundle_accessor.swift
[73/116] Emitting module CryptoSwift
[74/116] Compiling CryptoSwift IntegerConversion.swift
[75/116] Compiling CryptoSwift Multiplication.swift
[76/116] Compiling CryptoSwift PrimeTest.swift
[77/116] Compiling CryptoSwift Random.swift
[78/116] Compiling CryptoSwift Shifts.swift
[79/116] Compiling CryptoSwift SquareRoot.swift
[80/116] Compiling CryptoSwift Strideable.swift
[81/116] Compiling CryptoSwift StringConversion.swift
[82/116] Compiling CryptoSwift Subtraction.swift
[83/116] Compiling CryptoSwift WordsAndBits.swift
[84/116] Compiling CryptoSwift ChaCha20.swift
[85/116] Compiling CryptoSwift Checksum.swift
[86/116] Compiling CryptoSwift Cipher.swift
[87/116] Compiling CryptoSwift Collection+Extension.swift
[88/116] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[89/116] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[90/116] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[91/116] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[92/116] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[93/116] Compiling CryptoSwift RSA+Cipher.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[94/116] Compiling CryptoSwift RSA+Signature.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[95/116] Compiling CryptoSwift RSA.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[96/116] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[97/116] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[98/116] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[99/116] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[100/116] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[101/116] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[102/116] Compiling CryptoSwift AEAD.swift
[103/116] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[104/116] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[105/116] Compiling CryptoSwift AES.Cryptors.swift
[106/116] Compiling CryptoSwift AES.swift
[107/116] Compiling CryptoSwift ASN1.swift
[108/116] Compiling CryptoSwift ASN1Decoder.swift
[109/116] Compiling CryptoSwift ASN1Encoder.swift
[110/116] Compiling CryptoSwift ASN1Scanner.swift
[111/116] Compiling CryptoSwift Array+Extension.swift
[112/116] Compiling CryptoSwift Authenticator.swift
[113/116] Compiling CryptoSwift BatchedCollection.swift
[114/116] Compiling CryptoSwift Bit.swift
[115/116] Compiling CryptoSwift BlockCipher.swift
[116/116] Compiling CryptoSwift BlockDecryptor.swift
BUILD FAILURE 6.1 android