The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CryptomatorCryptoLib, reference develop (5aa5ac), with Swift 6.1 for macOS (SPM) on 7 Oct 2025 14:50:16 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cryptomator/cryptolib-swift.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cryptomator/cryptolib-swift
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 5aa5ac5 Update CI build to latest Xcode version
Cloned https://github.com/cryptomator/cryptolib-swift.git
Revision (git rev-parse @):
5aa5ac552ac2f868b570c3a73c6af0fee4db07f5
SUCCESS checkout https://github.com/cryptomator/cryptolib-swift.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/cryptomator/cryptolib-swift.git
https://github.com/cryptomator/cryptolib-swift.git
{
  "dependencies" : [
    {
      "identity" : "base32",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "0.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/norio-nomura/Base32.git"
    }
  ],
  "manifest_display_name" : "CryptomatorCryptoLib",
  "name" : "CryptomatorCryptoLib",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "CryptomatorCryptoLib",
      "targets" : [
        "CryptomatorCryptoLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "scrypt",
      "module_type" : "ClangTarget",
      "name" : "scrypt",
      "path" : "Sources/scrypt",
      "product_memberships" : [
        "CryptomatorCryptoLib"
      ],
      "sources" : [
        "crypto_scrypt.c",
        "insecure_memzero.c",
        "sha256.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CryptomatorCryptoLibTests",
      "module_type" : "SwiftTarget",
      "name" : "CryptomatorCryptoLibTests",
      "path" : "Tests/CryptomatorCryptoLibTests",
      "sources" : [
        "AesCtrTests.swift",
        "AesSivTests.swift",
        "CryptoSupportMock.swift",
        "CryptorTests.swift",
        "CtrCryptorTests.swift",
        "GcmCryptorTests.swift",
        "MasterkeyFileTests.swift",
        "MasterkeyTests.swift"
      ],
      "target_dependencies" : [
        "CryptomatorCryptoLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CryptomatorCryptoLib",
      "module_type" : "SwiftTarget",
      "name" : "CryptomatorCryptoLib",
      "path" : "Sources/CryptomatorCryptoLib",
      "product_dependencies" : [
        "Base32"
      ],
      "product_memberships" : [
        "CryptomatorCryptoLib"
      ],
      "sources" : [
        "AesCtr.swift",
        "AesSiv.swift",
        "ContentCryptor.swift",
        "CryptoError.swift",
        "CryptoSupport.swift",
        "Cryptor.swift",
        "Masterkey.swift",
        "MasterkeyFile.swift"
      ],
      "target_dependencies" : [
        "scrypt"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/6] Write sources
[2/6] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Compiling scrypt insecure_memzero.c
[4/11] Compiling scrypt sha256.c
[5/11] Compiling scrypt crypto_scrypt.c
[7/11] Compiling Base32 StringExtension.swift
[8/11] Compiling Base32 shim.swift
[9/11] Compiling Base32 Base16.swift
[10/11] Compiling Base32 Base32.swift
[11/11] Emitting module Base32
[12/20] Compiling CryptomatorCryptoLib Masterkey.swift
[13/20] Compiling CryptomatorCryptoLib CryptoError.swift
[14/20] Compiling CryptomatorCryptoLib MasterkeyFile.swift
[15/20] Compiling CryptomatorCryptoLib Cryptor.swift
[16/20] Compiling CryptomatorCryptoLib CryptoSupport.swift
[17/20] Compiling CryptomatorCryptoLib AesSiv.swift
/Users/admin/builder/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesSiv.swift:13:13: warning: static property 'cryptoSupport' is not concurrency-safe because non-'Sendable' type 'CryptoSupport' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | class AesSiv {
 13 | 	static let cryptoSupport = CryptoSupport()
    |             |- warning: static property 'cryptoSupport' is not concurrency-safe because non-'Sendable' type 'CryptoSupport' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make static property 'cryptoSupport' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 | 	static let zero = [UInt8](repeating: 0x00, count: 16)
 15 | 	static let dblConst: UInt8 = 0x87
/Users/admin/builder/spi-builder-workspace/Sources/CryptomatorCryptoLib/CryptoSupport.swift:11:7: note: class 'CryptoSupport' does not conform to the 'Sendable' protocol
 9 | import Foundation
10 |
11 | class CryptoSupport {
   |       `- note: class 'CryptoSupport' does not conform to the 'Sendable' protocol
12 | 	/**
13 | 	 Creates an array of cryptographically secure random bytes.
[18/20] Compiling CryptomatorCryptoLib AesCtr.swift
[19/20] Emitting module CryptomatorCryptoLib
/Users/admin/builder/spi-builder-workspace/Sources/CryptomatorCryptoLib/AesSiv.swift:13:13: warning: static property 'cryptoSupport' is not concurrency-safe because non-'Sendable' type 'CryptoSupport' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | class AesSiv {
 13 | 	static let cryptoSupport = CryptoSupport()
    |             |- warning: static property 'cryptoSupport' is not concurrency-safe because non-'Sendable' type 'CryptoSupport' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make static property 'cryptoSupport' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 | 	static let zero = [UInt8](repeating: 0x00, count: 16)
 15 | 	static let dblConst: UInt8 = 0x87
/Users/admin/builder/spi-builder-workspace/Sources/CryptomatorCryptoLib/CryptoSupport.swift:11:7: note: class 'CryptoSupport' does not conform to the 'Sendable' protocol
 9 | import Foundation
10 |
11 | class CryptoSupport {
   |       `- note: class 'CryptoSupport' does not conform to the 'Sendable' protocol
12 | 	/**
13 | 	 Creates an array of cryptographically secure random bytes.
[20/20] Compiling CryptomatorCryptoLib ContentCryptor.swift
Build complete! (11.31s)
Fetching https://github.com/norio-nomura/Base32.git
[1/1168] Fetching base32
Fetched https://github.com/norio-nomura/Base32.git from cache (0.81s)
Computing version for https://github.com/norio-nomura/Base32.git
Computed https://github.com/norio-nomura/Base32.git at 0.9.0 (3.40s)
Creating working copy for https://github.com/norio-nomura/Base32.git
Working copy of https://github.com/norio-nomura/Base32.git resolved at 0.9.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "base32",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "0.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/norio-nomura/Base32.git"
    }
  ],
  "manifest_display_name" : "CryptomatorCryptoLib",
  "name" : "CryptomatorCryptoLib",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "CryptomatorCryptoLib",
      "targets" : [
        "CryptomatorCryptoLib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "scrypt",
      "module_type" : "ClangTarget",
      "name" : "scrypt",
      "path" : "Sources/scrypt",
      "product_memberships" : [
        "CryptomatorCryptoLib"
      ],
      "sources" : [
        "crypto_scrypt.c",
        "insecure_memzero.c",
        "sha256.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CryptomatorCryptoLibTests",
      "module_type" : "SwiftTarget",
      "name" : "CryptomatorCryptoLibTests",
      "path" : "Tests/CryptomatorCryptoLibTests",
      "sources" : [
        "AesCtrTests.swift",
        "AesSivTests.swift",
        "CryptoSupportMock.swift",
        "CryptorTests.swift",
        "CtrCryptorTests.swift",
        "GcmCryptorTests.swift",
        "MasterkeyFileTests.swift",
        "MasterkeyTests.swift"
      ],
      "target_dependencies" : [
        "CryptomatorCryptoLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CryptomatorCryptoLib",
      "module_type" : "SwiftTarget",
      "name" : "CryptomatorCryptoLib",
      "path" : "Sources/CryptomatorCryptoLib",
      "product_dependencies" : [
        "Base32"
      ],
      "product_memberships" : [
        "CryptomatorCryptoLib"
      ],
      "sources" : [
        "AesCtr.swift",
        "AesSiv.swift",
        "ContentCryptor.swift",
        "CryptoError.swift",
        "CryptoSupport.swift",
        "Cryptor.swift",
        "Masterkey.swift",
        "MasterkeyFile.swift"
      ],
      "target_dependencies" : [
        "scrypt"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.