This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Diomede with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kasei/diomede.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kasei/diomede
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 09f22d3 Update SPARQLSyntax version.
Cloned https://github.com/kasei/diomede.git
Revision (git rev-parse @):
09f22d37e8159c2fb80d72cc1e1979d4699024b4
SUCCESS checkout https://github.com/kasei/diomede.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kasei/diomede.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/25] Write sources
[2/25] Write swift-version-6F35C1178C84523A.txt
[3/25] Compiling LMDB midl.c
[4/25] Write sources
[4/25] Write diomede-entitlement.plist
[4/25] Write diomede-db-util-entitlement.plist
[4/25] Write sources
[10/25] Compiling serd byte_source.c
[11/25] Compiling serd env.c
[12/25] Compiling serd reader.c
[13/25] Compiling serd n3.c
[14/25] Compiling serd uri.c
[15/117] Compiling serd string.c
[16/117] Compiling serd node.c
[17/117] Compiling serd writer.c
[18/132] Compiling LMDB mdb.c
[20/132] Compiling CryptoSwift Prime Test.swift
[21/132] Compiling CryptoSwift Random.swift
[22/132] Compiling CryptoSwift Shifts.swift
[23/132] Compiling CryptoSwift Square Root.swift
[24/132] Compiling CryptoSwift Strideable.swift
[25/132] Compiling CryptoSwift String Conversion.swift
[26/132] Compiling CryptoSwift Subtraction.swift
[27/132] Compiling CryptoSwift Words and Bits.swift
[28/132] Compiling CryptoSwift ChaCha20.swift
[29/132] Compiling CryptoSwift Checksum.swift
[30/142] Emitting module CryptoSwift
[31/142] Compiling SPARQLSyntax PropertyPath.swift
[32/142] Compiling SPARQLSyntax Query.swift
[33/142] Compiling SPARQLSyntax Expression.swift
[34/142] Compiling SPARQLSyntax IRI.swift
[35/142] Compiling SPARQLSyntax Aggregation.swift
[36/142] Compiling SPARQLSyntax Algebra.swift
[37/142] Compiling SPARQLSyntax RDFSerialization.swift
[38/142] Compiling SPARQLSyntax SPARQLLexer.swift
[39/142] Compiling SPARQLSyntax RDF.swift
[40/142] Compiling SPARQLSyntax RDFPatterns.swift
[41/142] Compiling CryptoSwift BlockEncryptor.swift
[42/142] Compiling CryptoSwift BlockMode.swift
[43/142] Compiling CryptoSwift BlockModeOptions.swift
[44/142] Compiling CryptoSwift CBC.swift
[45/142] Compiling CryptoSwift CCM.swift
[46/142] Compiling CryptoSwift CFB.swift
[47/142] Compiling CryptoSwift CTR.swift
[48/142] Compiling CryptoSwift CipherModeWorker.swift
[49/142] Compiling CryptoSwift ECB.swift
[50/142] Compiling CryptoSwift GCM.swift
[51/142] Compiling CryptoSwift OCB.swift
[52/142] Compiling CryptoSwift OFB.swift
[53/142] Compiling CryptoSwift PCBC.swift
[54/142] Compiling CryptoSwift Blowfish.swift
[55/142] Compiling CryptoSwift CBCMAC.swift
[56/142] Compiling CryptoSwift CMAC.swift
[57/142] Compiling CryptoSwift Addition.swift
[58/142] Compiling CryptoSwift BigInt.swift
[59/142] Compiling CryptoSwift BigUInt.swift
[60/142] Compiling CryptoSwift Bitwise Ops.swift
[61/142] Compiling CryptoSwift CS.swift
[64/142] Emitting module SPARQLSyntax
[67/143] Compiling SPARQLSyntax SPARQLSerializer.swift
[70/143] Compiling SPARQLSyntax Window.swift
[71/143] Compiling CryptoSwift ISO78164Padding.swift
[72/143] Compiling CryptoSwift Int+Extension.swift
[73/143] Compiling CryptoSwift MD5.swift
[74/143] Compiling CryptoSwift NoPadding.swift
[75/143] Compiling CryptoSwift Operators.swift
[76/143] Compiling CryptoSwift PBKDF1.swift
[77/143] Compiling CryptoSwift PBKDF2.swift
[78/143] Compiling CryptoSwift PKCS5.swift
[79/143] Compiling CryptoSwift PKCS7.swift
[80/143] Compiling CryptoSwift PKCS7Padding.swift
[81/143] Compiling CryptoSwift Codable.swift
[82/143] Compiling CryptoSwift Comparable.swift
[83/143] Compiling CryptoSwift Data Conversion.swift
[84/143] Compiling CryptoSwift Division.swift
[85/143] Compiling CryptoSwift Exponentiation.swift
[86/143] Compiling CryptoSwift Floating Point Conversion.swift
[87/143] Compiling CryptoSwift GCD.swift
[88/143] Compiling CryptoSwift Hashable.swift
[89/143] Compiling CryptoSwift Integer Conversion.swift
[90/143] Compiling CryptoSwift Multiplication.swift
[91/143] Compiling SPARQLSyntax SPARQLSyntax.swift
[92/143] Compiling SPARQLSyntax SPARQLParser.swift
[97/143] Compiling CryptoSwift ChaCha20+Foundation.swift
[98/143] Compiling CryptoSwift Data+Extension.swift
[99/143] Compiling CryptoSwift HMAC+Foundation.swift
[100/143] Compiling CryptoSwift Rabbit+Foundation.swift
[101/143] Compiling CryptoSwift String+FoundationExtension.swift
[102/143] Compiling CryptoSwift Utils+Foundation.swift
[103/143] Compiling CryptoSwift Generics.swift
[104/143] Compiling CryptoSwift HKDF.swift
[105/143] Compiling CryptoSwift HMAC.swift
[106/143] Compiling CryptoSwift ISO10126Padding.swift
[107/143] Compiling CryptoSwift Padding.swift
[108/143] Compiling CryptoSwift Poly1305.swift
[109/143] Compiling CryptoSwift RSA.swift
[110/143] Compiling CryptoSwift Rabbit.swift
[111/143] Compiling CryptoSwift SHA1.swift
[112/143] Compiling CryptoSwift SHA2.swift
[113/143] Compiling CryptoSwift SHA3.swift
[114/143] Compiling CryptoSwift Scrypt.swift
[115/143] Compiling CryptoSwift SecureBytes.swift
[116/143] Compiling CryptoSwift StreamDecryptor.swift
[117/143] Compiling CryptoSwift Cipher.swift
[118/143] Compiling CryptoSwift Collection+Extension.swift
[119/143] Compiling CryptoSwift CompactMap.swift
[120/143] Compiling CryptoSwift Cryptor.swift
[121/143] Compiling CryptoSwift Cryptors.swift
[122/143] Compiling CryptoSwift Digest.swift
[123/143] Compiling CryptoSwift DigestType.swift
[124/143] Compiling CryptoSwift AES+Foundation.swift
[125/143] Compiling CryptoSwift Array+Foundation.swift
[126/143] Compiling CryptoSwift Blowfish+Foundation.swift
[127/143] Compiling CryptoSwift StreamEncryptor.swift
[128/143] Compiling CryptoSwift String+Extension.swift
[129/143] Compiling CryptoSwift UInt128.swift
[130/143] Compiling CryptoSwift UInt16+Extension.swift
[131/143] Compiling CryptoSwift UInt32+Extension.swift
[132/143] Compiling CryptoSwift UInt64+Extension.swift
[133/143] Compiling CryptoSwift UInt8+Extension.swift
[134/143] Compiling CryptoSwift Updatable.swift
[135/143] Compiling CryptoSwift Utils.swift
[136/143] Compiling CryptoSwift ZeroPadding.swift
[137/143] Compiling SPARQLSyntax XSD.swift
[138/146] Compiling Diomede Diomede.swift
/Users/admin/builder/spi-builder-workspace/Sources/Diomede/Diomede.swift:20:23: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 | public struct DiomedeConfiguration {
 20 |     public static var `default` = DiomedeConfiguration(
    |                       |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         mapSize: 4_096_000_000,
 22 |         maxDatabases: 256,
[139/146] Compiling Diomede DataEncoding.swift
[140/146] Emitting module Diomede
/Users/admin/builder/spi-builder-workspace/Sources/Diomede/Diomede.swift:20:23: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |
 19 | public struct DiomedeConfiguration {
 20 |     public static var `default` = DiomedeConfiguration(
    |                       |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |         mapSize: 4_096_000_000,
 22 |         maxDatabases: 256,
[141/154] Emitting module diomede_db_util
[142/154] Compiling diomede_db_util main.swift
[142/154] Write Objects.LinkFileList
[144/154] Compiling DiomedeQuadStore RDFExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiomedeQuadStore/RDFExtensions.swift:76:1: warning: extension declares a conformance of imported type 'Term' to imported protocol 'DataEncodable'; this will not behave correctly if the owners of 'SPARQLSyntax' introduce this conformance in the future
 74 | }
 75 |
 76 | extension Term: DataEncodable {
    | |- warning: extension declares a conformance of imported type 'Term' to imported protocol 'DataEncodable'; this will not behave correctly if the owners of 'SPARQLSyntax' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 77 |     public func sha256() throws -> Data {
 78 |         let d = try self.asData()
[145/154] Emitting module DiomedeQuadStore
/Users/admin/builder/spi-builder-workspace/Sources/DiomedeQuadStore/RDFExtensions.swift:76:1: warning: extension declares a conformance of imported type 'Term' to imported protocol 'DataEncodable'; this will not behave correctly if the owners of 'SPARQLSyntax' introduce this conformance in the future
 74 | }
 75 |
 76 | extension Term: DataEncodable {
    | |- warning: extension declares a conformance of imported type 'Term' to imported protocol 'DataEncodable'; this will not behave correctly if the owners of 'SPARQLSyntax' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 77 |     public func sha256() throws -> Data {
 78 |         let d = try self.asData()
[146/154] Compiling DiomedeQuadStore Util.swift
[147/154] Compiling DiomedeQuadStore QuadStore.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: warning: static property 'groundKeyPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |     public typealias GroundType = Quad
172 |     public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 |     public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
    |                       |- warning: static property 'groundKeyPaths' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'groundKeyPaths' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'groundKeyPaths' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |     public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/Users/admin/builder/spi-builder-workspace/Sources/DiomedeQuadStore/QuadStore.swift:1370:54: warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1368 |     public func bindings(matching pattern: QuadPattern) throws -> AnyIterator<[String:Term]> {
1369 |         var bindings : [String: KeyPath<Quad, Term>] = [:]
1370 |         for (node, path) in zip(pattern, QuadPattern.groundKeyPaths) {
     |                                                      `- warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1371 |             if case .variable(let name, binding: _) = node {
1372 |                 bindings[name] = path
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: note: static property declared here
171 |     public typealias GroundType = Quad
172 |     public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 |     public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
    |                       `- note: static property declared here
174 |     public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
/Users/admin/builder/spi-builder-workspace/Sources/DiomedeQuadStore/QuadStore.swift:1388:54: warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1386 |     public func results(matching pattern: QuadPattern) throws -> AnyIterator<SPARQLResultSolution<Term>> {
1387 |         var bindings : [String: KeyPath<Quad, Term>] = [:]
1388 |         for (node, path) in zip(pattern, QuadPattern.groundKeyPaths) {
     |                                                      `- warning: reference to static property 'groundKeyPaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
1389 |             if case .variable(let name, binding: _) = node {
1390 |                 bindings[name] = path
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sparql-syntax/Sources/SPARQLSyntax/RDFPatterns.swift:173:23: note: static property declared here
171 |     public typealias GroundType = Quad
172 |     public static var keyPaths: [WritableKeyPath<QuadPattern, Node>] = [\.subject, \.predicate, \.object, \.graph]
173 |     public static var groundKeyPaths: [KeyPath<GroundType, Term>] = [\Quad.subject, \Quad.predicate, \Quad.object, \Quad.graph]
    |                       `- note: static property declared here
174 |     public static var groundKeyNames = ["subject", "predicate", "object", "graph"]
175 |
[148/154] Compiling DiomedeQuadStore TypeSets.swift
[149/154] Compiling DiomedeQuadStore CharacteristicSets.swift
[149/156] Linking diomede-db-util
[151/156] Compiling diomede_cli main.swift
[152/156] Emitting module diomede_cli
[152/156] Applying diomede-db-util
[153/156] Write Objects.LinkFileList
[154/156] Linking diomede
[155/156] Applying diomede
Build complete! (50.74s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/agisboye/CLMDB.git
Fetching https://github.com/kasei/swift-sparql-syntax.git
[1/43] Fetching clmdb
[44/2472] Fetching clmdb, swift-sparql-syntax
[385/15126] Fetching clmdb, swift-sparql-syntax, cryptoswift
Fetched https://github.com/kasei/swift-sparql-syntax.git from cache (1.89s)
Fetched https://github.com/agisboye/CLMDB.git from cache (1.89s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.89s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.74s)
Computing version for https://github.com/agisboye/CLMDB.git
Computed https://github.com/agisboye/CLMDB.git at 0.9.31 (0.64s)
Computing version for https://github.com/kasei/swift-sparql-syntax.git
Computed https://github.com/kasei/swift-sparql-syntax.git at 0.2.5 (0.70s)
Fetching https://github.com/kasei/swift-serd.git
[1/68] Fetching swift-serd
Fetched https://github.com/kasei/swift-serd.git from cache (0.68s)
Computing version for https://github.com/kasei/swift-serd.git
Computed https://github.com/kasei/swift-serd.git at 0.0.4 (0.67s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.1
Creating working copy for https://github.com/kasei/swift-serd.git
Working copy of https://github.com/kasei/swift-serd.git resolved at 0.0.4
Creating working copy for https://github.com/agisboye/CLMDB.git
Working copy of https://github.com/agisboye/CLMDB.git resolved at 0.9.31
Creating working copy for https://github.com/kasei/swift-sparql-syntax.git
Working copy of https://github.com/kasei/swift-sparql-syntax.git resolved at 0.2.5
Build complete.
{
  "dependencies" : [
    {
      "identity" : "clmdb",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.24",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/agisboye/CLMDB.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "1.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "swift-sparql-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "0.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kasei/swift-sparql-syntax.git"
    }
  ],
  "manifest_display_name" : "Diomede",
  "name" : "Diomede",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Diomede",
      "targets" : [
        "Diomede"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DiomedeQuadStore",
      "targets" : [
        "DiomedeQuadStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "diomede-db-util",
      "targets" : [
        "diomede-db-util"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "diomede",
      "targets" : [
        "diomede-cli"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "diomede_db_util",
      "module_type" : "SwiftTarget",
      "name" : "diomede-db-util",
      "path" : "Sources/diomede-db-util",
      "product_memberships" : [
        "diomede-db-util"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Diomede"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "diomede_cli",
      "module_type" : "SwiftTarget",
      "name" : "diomede-cli",
      "path" : "Sources/diomede-cli",
      "product_memberships" : [
        "diomede"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "DiomedeQuadStore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DiomedeTests",
      "module_type" : "SwiftTarget",
      "name" : "DiomedeTests",
      "path" : "Tests/DiomedeTests",
      "sources" : [
        "DiomedeCharacteristicSetTests.swift",
        "DiomedeQuadStorePerformance.swift",
        "DiomedeTests.swift",
        "DiomedeTypeSetTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Diomede",
        "DiomedeQuadStore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DiomedeQuadStore",
      "module_type" : "SwiftTarget",
      "name" : "DiomedeQuadStore",
      "path" : "Sources/DiomedeQuadStore",
      "product_dependencies" : [
        "CryptoSwift",
        "SPARQLSyntax"
      ],
      "product_memberships" : [
        "DiomedeQuadStore",
        "diomede"
      ],
      "sources" : [
        "CharacteristicSets.swift",
        "QuadStore.swift",
        "RDFExtensions.swift",
        "TypeSets.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "Diomede"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Diomede",
      "module_type" : "SwiftTarget",
      "name" : "Diomede",
      "path" : "Sources/Diomede",
      "product_dependencies" : [
        "LMDB",
        "SPARQLSyntax"
      ],
      "product_memberships" : [
        "Diomede",
        "DiomedeQuadStore",
        "diomede-db-util",
        "diomede"
      ],
      "sources" : [
        "DataEncoding.swift",
        "Diomede.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.