The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Causalontology, reference v4.0.3 (4c12aa), with Swift 6.3 for macOS (SPM) on 27 Jul 2026 09:40:28 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ai-university-aiu/causalontology.git
Reference: v4.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ai-university-aiu/causalontology
 * tag               v4.0.3     -> FETCH_HEAD
HEAD is now at 4c12aab fix: Zig shipped no schemas; Rust's proof was unrunnable; PHP's safety was borrowed; and 137/137 does not mean what it says (#31)
Cloned https://github.com/ai-university-aiu/causalontology.git
Revision (git rev-parse @):
4c12aab6ea9bde7323e6db5a74758f649ca0cf73
SUCCESS checkout https://github.com/ai-university-aiu/causalontology.git at v4.0.3
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-crypto.git
[1/1914] Fetching swift-asn1
[901/19727] Fetching swift-asn1, swift-crypto
Fetched https://github.com/apple/swift-asn1.git from cache (31.31s)
Fetched https://github.com/apple/swift-crypto.git from cache (31.31s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (34.25s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.65s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "causalontology",
      "name": "Causalontology",
      "url": "https://github.com/ai-university-aiu/causalontology.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/causalontology",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-crypto",
          "name": "swift-crypto",
          "url": "https://github.com/apple/swift-crypto.git",
          "version": "3.15.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "swift-asn1",
              "name": "swift-asn1",
              "url": "https://github.com/apple/swift-asn1.git",
              "version": "1.7.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-asn1",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ai-university-aiu/causalontology.git
[1/3032] Fetching causalontology
Fetched https://github.com/ai-university-aiu/causalontology.git from cache (1.61s)
Fetching https://github.com/apple/swift-crypto.git from cache
Fetched https://github.com/apple/swift-crypto.git from cache (0.54s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.60s)
Fetching https://github.com/apple/swift-asn1.git from cache
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.1 (2.76s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/ai-university-aiu/causalontology.git
Working copy of https://github.com/ai-university-aiu/causalontology.git resolved at v4.0.3 (4c12aab)
warning: '.resolve-product-dependencies': dependency 'causalontology' is not used by any target
Found 1 product dependencies
  - swift-crypto
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ai-university-aiu/causalontology.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Copying PrivacyInfo.xcprivacy
[1/4] Write sources
[3/4] Write swift-version--6988338F2F200930.txt
[5/78] Compiling Crypto ASN1Boolean.swift
[6/78] Compiling Crypto ASN1Identifier.swift
[7/78] Compiling Crypto ASN1Integer.swift
[8/78] Compiling Crypto ASN1Null.swift
[9/78] Compiling Crypto ASN1OctetString.swift
[10/78] Compiling Crypto ASN1Strings.swift
[11/78] Compiling Crypto ArraySliceBigint.swift
[12/78] Compiling Crypto GeneralizedTime.swift
[13/86] Compiling Crypto Digest_boring.swift
[14/86] Compiling Crypto Digest.swift
[15/86] Compiling Crypto Digests.swift
[16/86] Compiling Crypto HashFunctions.swift
[17/86] Compiling Crypto HashFunctions_SHA2.swift
[18/86] Compiling Crypto HPKE-AEAD.swift
[19/86] Compiling Crypto HPKE-Ciphersuite.swift
[20/86] Compiling Crypto HPKE-KDF.swift
[21/86] Compiling Crypto HPKE.swift
[22/86] Compiling Crypto HPKE-Context.swift
[23/86] Compiling Crypto HPKE-KeySchedule.swift
[24/86] Compiling Crypto HPKE-Modes.swift
[25/86] Compiling Crypto Insecure.swift
[26/86] Compiling Crypto Insecure_HashFunctions.swift
[27/86] Compiling Crypto KEM.swift
[28/86] Compiling Crypto ECDH_boring.swift
[29/86] Compiling Crypto HPKE-KexKeyDerivation.swift
[30/86] Compiling Crypto HPKE-LabeledExtract.swift
[31/86] Compiling Crypto HPKE-Utils.swift
[32/86] Compiling Crypto DHKEM.swift
[33/86] Compiling Crypto HPKE-KEM-Curve25519.swift
[34/86] Compiling Crypto HPKE-NIST-EC-KEMs.swift
[35/86] Compiling Crypto HPKE-KEM.swift
[36/86] Compiling Crypto HPKE-Errors.swift
[37/86] Compiling Crypto DH.swift
[38/86] Compiling Crypto ECDH.swift
[39/86] Compiling Crypto HKDF.swift
[40/86] Compiling Crypto AESWrap.swift
[41/86] Compiling Crypto AESWrap_boring.swift
[42/86] Compiling Crypto Ed25519_boring.swift
[43/86] Compiling Crypto NISTCurvesKeys_boring.swift
[44/86] Compiling Crypto X25519Keys_boring.swift
[45/86] Compiling Crypto ObjectIdentifier.swift
[46/86] Compiling Crypto ECDSASignature.swift
[47/86] Compiling Crypto PEMDocument.swift
[48/86] Compiling Crypto PKCS8PrivateKey.swift
[49/86] Compiling Crypto SEC1PrivateKey.swift
[50/86] Compiling Crypto SubjectPublicKeyInfo.swift
[51/86] Compiling Crypto CryptoError_boring.swift
[52/86] Compiling Crypto CryptoKitErrors.swift
[53/86] Emitting module Crypto
[54/86] Compiling Crypto AES-GCM.swift
[55/86] Compiling Crypto AES-GCM_boring.swift
[56/86] Compiling Crypto ChaChaPoly_boring.swift
[57/86] Compiling Crypto ChaChaPoly.swift
[58/86] Compiling Crypto Cipher.swift
[59/86] Compiling Crypto Nonces.swift
[60/86] Compiling Crypto ASN1.swift
[61/86] Compiling Crypto ASN1Any.swift
[62/86] Compiling Crypto ASN1BitString.swift
[63/86] Compiling Crypto Curve25519.swift
[64/86] Compiling Crypto Ed25519Keys.swift
[65/86] Compiling Crypto NISTCurvesKeys.swift
[66/86] Compiling Crypto X25519Keys.swift
[67/86] Compiling Crypto SymmetricKeys.swift
[68/86] Compiling Crypto HMAC.swift
[69/86] Compiling Crypto MACFunctions.swift
[70/86] Compiling Crypto MessageAuthenticationCode.swift
[71/86] Compiling Crypto AES.swift
[72/86] Compiling Crypto ECDSASignature_boring.swift
[73/86] Compiling Crypto ECDSA_boring.swift
[74/86] Compiling Crypto EdDSA_boring.swift
[75/86] Compiling Crypto ECDSA.swift
[76/86] Compiling Crypto Ed25519.swift
[77/86] Compiling Crypto Signature.swift
[78/86] Compiling Crypto CryptoKitErrors_boring.swift
[79/86] Compiling Crypto RNG_boring.swift
[80/86] Compiling Crypto SafeCompare_boring.swift
[81/86] Compiling Crypto Zeroization_boring.swift
[82/86] Compiling Crypto PrettyBytes.swift
[83/86] Compiling Crypto SafeCompare.swift
[84/86] Compiling Crypto SecureBytes.swift
[85/86] Compiling Crypto Zeroization.swift
[86/86] Compiling Crypto resource_bundle_accessor.swift
[87/94] Compiling Causalontology Store.swift
[88/94] Compiling Causalontology Signing.swift
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/Causalontology/Signing.swift:19:22: error: 'Curve25519' is only available in macOS 10.15 or newer
15 | /// private key IS the 32-byte seed (RFC 8032), and the raw public key is
16 | /// the 32-byte compressed point.
17 | public func keypairFromSeed(
   |             `- note: add '@available' attribute to enclosing global function
18 |     _ seed: Data
19 | ) throws -> (secret: Curve25519.Signing.PrivateKey, publicId: String) {
   |                      `- error: 'Curve25519' is only available in macOS 10.15 or newer
20 |     let secret = try Curve25519.Signing.PrivateKey(rawRepresentation: seed)
21 |     let publicHex = hexEncode(secret.publicKey.rawRepresentation)
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/Causalontology/Signing.swift:28:13: error: 'Curve25519' is only available in macOS 10.15 or newer
24 |
25 | /// Return the record completed with its id and Ed25519 signature.
26 | public func signRecord(
   |             `- note: add '@available' attribute to enclosing global function
27 |     _ record: [String: JsonValue],
28 |     secret: Curve25519.Signing.PrivateKey,
   |             `- error: 'Curve25519' is only available in macOS 10.15 or newer
29 |     kind: String? = nil
30 | ) throws -> [String: JsonValue] {
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/Causalontology/Signing.swift:20:22: error: 'Curve25519' is only available in macOS 10.15 or newer
15 | /// private key IS the 32-byte seed (RFC 8032), and the raw public key is
16 | /// the 32-byte compressed point.
17 | public func keypairFromSeed(
   |             `- note: add '@available' attribute to enclosing global function
18 |     _ seed: Data
19 | ) throws -> (secret: Curve25519.Signing.PrivateKey, publicId: String) {
20 |     let secret = try Curve25519.Signing.PrivateKey(rawRepresentation: seed)
   |                      |- error: 'Curve25519' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
21 |     let publicHex = hexEncode(secret.publicKey.rawRepresentation)
22 |     return (secret, "ed25519:" + publicHex)
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/Causalontology/Signing.swift:40:32: error: 'signature(for:)' is only available in macOS 10.15 or newer
24 |
25 | /// Return the record completed with its id and Ed25519 signature.
26 | public func signRecord(
   |             `- note: add '@available' attribute to enclosing global function
27 |     _ record: [String: JsonValue],
28 |     secret: Curve25519.Signing.PrivateKey,
   :
38 |     body.removeValue(forKey: "signature")
39 |     let message = try canonicalize(body, kind: resolvedKind)
40 |     let signature = try secret.signature(for: message)
   |                                |- error: 'signature(for:)' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
41 |     var out = body
42 |     out["id"] = .string(try identify(body, kind: resolvedKind))
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/Causalontology/Signing.swift:79:32: error: 'Curve25519' is only available in macOS 10.15 or newer
56 |
57 | /// True iff the record's signature verifies against its own key field.
58 | public func verifyRecord(_ record: [String: JsonValue], kind: String? = nil) -> Bool {
   |             `- note: add '@available' attribute to enclosing global function
59 |     let resolvedKind: String
60 |     if let kind = kind {
   :
77 |         return false
78 |     }
79 |     guard let publicKey = try? Curve25519.Signing.PublicKey(rawRepresentation: publicBytes) else {
   |                                |- error: 'Curve25519' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
80 |         return false
81 |     }
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/Causalontology/Signing.swift:87:22: error: 'isValidSignature(_:for:)' is only available in macOS 10.15 or newer
56 |
57 | /// True iff the record's signature verifies against its own key field.
58 | public func verifyRecord(_ record: [String: JsonValue], kind: String? = nil) -> Bool {
   |             `- note: add '@available' attribute to enclosing global function
59 |     let resolvedKind: String
60 |     if let kind = kind {
   :
85 |         return false
86 |     }
87 |     return publicKey.isValidSignature(signatureBytes, for: message)
   |                      |- error: 'isValidSignature(_:for:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
88 | }
89 |
[89/94] Compiling Causalontology SchemaValidator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[90/94] Compiling Causalontology JsonValue.swift
[91/94] Compiling Causalontology Jcs.swift
[92/94] Compiling Causalontology Semantics.swift
[93/94] Emitting module Causalontology
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/Causalontology/Signing.swift:19:22: error: 'Curve25519' is only available in macOS 10.15 or newer
15 | /// private key IS the 32-byte seed (RFC 8032), and the raw public key is
16 | /// the 32-byte compressed point.
17 | public func keypairFromSeed(
   |             `- note: add '@available' attribute to enclosing global function
18 |     _ seed: Data
19 | ) throws -> (secret: Curve25519.Signing.PrivateKey, publicId: String) {
   |                      `- error: 'Curve25519' is only available in macOS 10.15 or newer
20 |     let secret = try Curve25519.Signing.PrivateKey(rawRepresentation: seed)
21 |     let publicHex = hexEncode(secret.publicKey.rawRepresentation)
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/Causalontology/Signing.swift:28:13: error: 'Curve25519' is only available in macOS 10.15 or newer
24 |
25 | /// Return the record completed with its id and Ed25519 signature.
26 | public func signRecord(
   |             `- note: add '@available' attribute to enclosing global function
27 |     _ record: [String: JsonValue],
28 |     secret: Curve25519.Signing.PrivateKey,
   |             `- error: 'Curve25519' is only available in macOS 10.15 or newer
29 |     kind: String? = nil
30 | ) throws -> [String: JsonValue] {
[94/94] Compiling Causalontology Canonical.swift
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/Causalontology/Canonical.swift:100:18: error: 'SHA256' is only available in macOS 10.15 or newer
 97 |
 98 | /// The lowercase SHA-256 hex digest of any bytes.
 99 | public func sha256Hex<D: DataProtocol>(_ data: D) -> String {
    |             `- note: add '@available' attribute to enclosing global function
100 |     let digest = SHA256.hash(data: data)
    |                  |- error: 'SHA256' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
101 |     var out = ""
102 |     for byte in digest {
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/Causalontology/Canonical.swift:100:25: error: 'hash(data:)' is only available in macOS 10.15 or newer
 97 |
 98 | /// The lowercase SHA-256 hex digest of any bytes.
 99 | public func sha256Hex<D: DataProtocol>(_ data: D) -> String {
    |             `- note: add '@available' attribute to enclosing global function
100 |     let digest = SHA256.hash(data: data)
    |                         |- error: 'hash(data:)' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
101 |     var out = ""
102 |     for byte in digest {
/Users/admin/builder/spi-builder-workspace/bindings/swift/Sources/Causalontology/Canonical.swift:102:5: error: 'makeIterator()' is only available in macOS 10.15 or newer
 97 |
 98 | /// The lowercase SHA-256 hex digest of any bytes.
 99 | public func sha256Hex<D: DataProtocol>(_ data: D) -> String {
    |             `- note: add '@available' attribute to enclosing global function
100 |     let digest = SHA256.hash(data: data)
101 |     var out = ""
102 |     for byte in digest {
    |     |- error: 'makeIterator()' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
103 |         out += String(format: "%02x", byte)
104 |     }
BUILD FAILURE 6.3 macosSpm