The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SurrealDB, reference main (12d748), with Swift 6.4 for macOS (SPM) on 28 Sep 2026 00:00:10 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/surrealdb/surrealdb.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/surrealdb/surrealdb.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 12d7480 chore: rename the `Spectron` module to `AgentMemory` (#8)
Cloned https://github.com/surrealdb/surrealdb.swift.git
Revision (git rev-parse @):
12d7480075dbfaf512146692d6960dad16c411e9
SUCCESS checkout https://github.com/surrealdb/surrealdb.swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/surrealdb/surrealdb.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1299]
[Planning deferred tasks]
[Starting]
[249 / 607]
[253 / 607]
[266 / 617] SwiftSyntax510
[277 / 640]
[287 / 654] SwiftSyntax601
[315 / 665] SwiftSyntax509
[324 / 665]
[332 / 764] RealModule
[348 / 764] SwiftSyntax601
[369 / 764] Cfyaml
[379 / 764] _RopeModule
[388 / 764] RealModule
[396 / 764]
[404 / 764] Cfyaml
[425 / 770] SwiftSyntax509
[435 / 771] _RopeModule
[441 / 781] Cfyaml
[446 / 781] Cfyaml
[454 / 781] CFloat16
[462 / 781] Cfyaml
[467 / 781]
[469 / 781]
[471 / 781]
[477 / 781] CFloat16
[483 / 782]
[496 / 788] SpanPreview
[509 / 799] SpanPreview
[515 / 811] SpanPreview
[519 / 811]
[522 / 811]
[526 / 811] _RopeModule
[528 / 811] SwiftSyntax
[530 / 811] SwiftSyntax
[532 / 811] OrderedCollections
[547 / 811] SwiftSyntax
[557 / 811] SurrealDBMacros
[558 / 811] BigInt
[560 / 811] BigInt
[571 / 811] Regex
[572 / 811] Regex-product
[573 / 811] Regex-product
[578 / 811] SurrealDBMacros
[582 / 811] Regex
[584 / 811] DequeModule
[587 / 811] BigInt
[590 / 811] OrderedCollections
[591 / 811] BigInt-product
[593 / 811] BigInt-product
[597 / 811] AgentMemory
[600 / 811] AgentMemory-product
[609 / 811] SwiftSyntax
[610 / 811] SwiftSyntax-product
[611 / 811] SwiftBasicFormat
[620 / 817] BitCollections
[622 / 830]
[628 / 874] Float16
[643 / 874] SwiftParser
[644 / 874] SwiftParser
[645 / 874] BitCollections
[647 / 874] Float16
[666 / 874] SwiftParser
[668 / 874] SwiftParser
[670 / 874] SwiftDiagnostics
[671 / 874] HashTreeCollections
[680 / 874] SwiftDiagnostics
[683 / 874] SwiftDiagnostics
[688 / 874] HeapModule
[692 / 874] HashTreeCollections
[698 / 874] SwiftDiagnostics
[704 / 874] Float16
[706 / 874] Float16-product
[709 / 874] BitCollections
[711 / 874] BitCollections
[714 / 874] BitCollections
[719 / 874]
[725 / 877] OrderedCollections
[730 / 877] SwiftBasicFormat
[737 / 906] SwiftOperators
[742 / 906] SwiftBasicFormat
[751 / 906] SwiftOperators
[763 / 906] DequeModule
[767 / 906] SwiftBasicFormat
[770 / 906] SwiftBasicFormat
[775 / 906]
[776 / 907] DequeModule
[782 / 918] SwiftParserDiagnostics
[783 / 918] SwiftParserDiagnostics
[791 / 918] SwiftParserDiagnostics
[800 / 919]
[803 / 922] SwiftParserDiagnostics
[817 / 934] SwiftSyntaxBuilder
[819 / 934] SwiftSyntaxBuilder
[821 / 934] SwiftSyntaxBuilder
[829 / 945] SwiftSyntaxBuilder
[835 / 945] SwiftSyntaxMacros
[839 / 945] PotentCodables
[843 / 945] DequeModule
[845 / 946]
[855 / 950] PotentASN1
[858 / 961] SwiftSyntaxMacros
[862 / 961] SwiftSyntaxMacros
[872 / 973] PotentCBOR
[880 / 1000] PotentJSON
[883 / 1000] PotentYAML
[899 / 1000] PotentYAML
[902 / 1000] PotentASN1
[918 / 1000] PotentJSON
[923 / 1000] PotentCBOR
[927 / 1000] PotentCBOR
[928 / 1000] PotentCBOR
[933 / 1000] PotentASN1
[937 / 1000] PotentJSON
[939 / 1000] PotentASN1
[941 / 1001]
[945 / 1001] PotentASN1
[952 / 1011] SwiftSyntaxMacroExpansion
[955 / 1011] SwiftSyntaxMacroExpansion
[962 / 1012] SwiftSyntaxMacroExpansion
[962 / 1012] PotentASN1
[973 / 1023] SwiftCompilerPluginMessageHandling
[975 / 1023] SwiftCompilerPluginMessageHandling
[976 / 1023] SwiftCompilerPluginMessageHandling
[983 / 1024] SwiftCompilerPluginMessageHandling
[991 / 1026] SwiftCompilerPlugin
[993 / 1026] SwiftSyntax
[995 / 1026] SwiftSyntax
[1001 / 1026] SwiftSyntaxBuilder
[1005 / 1026] SwiftCompilerPlugin
[1013 / 1027] SurrealDBMacroPlugin
[1016 / 1029] SurrealDBMacroPlugin
[1018 / 1029] SurrealDBMacroPlugin
[1021 / 1030] SurrealDB
[1032 / 1041] SurrealDB
[1041 / 1041] SurrealDB-product
Build complete! (25.52 sec)
Fetching https://github.com/outfoxx/PotentCodables.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/113947] Fetching potentcodables
[2/194016] Fetching potentcodables, swift-syntax
Fetched https://github.com/outfoxx/PotentCodables.git (16.46s)
Fetched https://github.com/swiftlang/swift-syntax.git (16.46s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (19.28s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.5.3 (0.64s)
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/SusanDoggie/Float16.git
[1/1254] Fetching regex
[2/6193] Fetching regex, bigint
[3/6503] Fetching regex, bigint, float16
[1868/34282] Fetching regex, bigint, float16, swift-collections
Fetched https://github.com/sharplet/Regex.git (1.63s)
[11361/33028] Fetching bigint, float16, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git (3.35s)
Fetched https://github.com/attaswift/BigInt.git (3.35s)
Fetched https://github.com/apple/swift-collections.git (3.35s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (5.56s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.65s)
Fetching https://github.com/apple/swift-numerics
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (1.85s)
Computing version for https://github.com/attaswift/BigInt.git
warning: 'bigint': /Package.swift:18:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
16 |         .iOS(.v12),
17 |         .tvOS(.v12),
18 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
19 |         .macCatalyst(.v13),
20 |         .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (2.45s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.65s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/outfoxx/PotentCodables.git
Working copy of https://github.com/outfoxx/PotentCodables.git resolved at 3.5.3
warning: 'bigint': /Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Package.swift:18:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
16 |         .iOS(.v12),
17 |         .tvOS(.v12),
18 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
19 |         .macCatalyst(.v13),
20 |         .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "potentcodables",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.5.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/outfoxx/PotentCodables.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "601.0.1",
            "upper_bound" : "602.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "SurrealDB",
  "name" : "SurrealDB",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SurrealDB",
      "targets" : [
        "SurrealDB"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AgentMemory",
      "targets" : [
        "AgentMemory"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SurrealDBMacroPlugin",
      "targets" : [
        "SurrealDBMacroPlugin"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SurrealDBTests",
      "module_type" : "SwiftTarget",
      "name" : "SurrealDBTests",
      "path" : "Tests/SurrealDBTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "CBORCodecTests.swift",
        "ClientEngineTests.swift",
        "IntegrationTests.swift",
        "MacroExpansionTests.swift",
        "QueryCRUDTests.swift",
        "ServerErrorKindTests.swift",
        "SessionRuntimeTests.swift",
        "SessionTests.swift",
        "SurrealValueTests.swift",
        "WireCodecTests.swift"
      ],
      "target_dependencies" : [
        "SurrealDB",
        "SurrealDBMacroPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SurrealDBMacros",
      "module_type" : "SwiftTarget",
      "name" : "SurrealDBMacros",
      "path" : "Sources/SurrealDBMacros",
      "product_memberships" : [
        "SurrealDB",
        "SurrealDBMacroPlugin"
      ],
      "sources" : [
        "QueryDSL.swift",
        "SurrealValue.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SurrealDBMacroPlugin",
      "module_type" : "SwiftTarget",
      "name" : "SurrealDBMacroPlugin",
      "path" : "Sources/SurrealDBMacroPlugin",
      "product_dependencies" : [
        "SwiftCompilerPlugin",
        "SwiftDiagnostics",
        "SwiftSyntax",
        "SwiftSyntaxBuilder",
        "SwiftSyntaxMacros"
      ],
      "product_memberships" : [
        "SurrealDB",
        "SurrealDBMacroPlugin"
      ],
      "sources" : [
        "SurrealDBMacroPlugin.swift"
      ],
      "target_dependencies" : [
        "SurrealDBMacros"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "SurrealDB",
      "module_type" : "SwiftTarget",
      "name" : "SurrealDB",
      "path" : "Sources/SurrealDB",
      "product_dependencies" : [
        "PotentCodables"
      ],
      "product_memberships" : [
        "SurrealDB"
      ],
      "sources" : [
        "Internal/Endpoint.swift",
        "Internal/JSONRPCCodec.swift",
        "Internal/RPCDecoding.swift",
        "Internal/RPCWire.swift",
        "Internal/TransportProtocols.swift",
        "Internal/WireCodec.swift",
        "Runtime/ClientCore.swift",
        "Runtime/Clients.swift",
        "Runtime/Errors.swift",
        "Runtime/Protocols.swift",
        "Runtime/PublicTypes.swift",
        "Runtime/ServerErrorKind.swift",
        "Runtime/Session.swift",
        "Runtime/Transaction.swift",
        "SurrealDB.swift",
        "Transport/HTTPRPCEngine.swift",
        "Transport/WebSocketRPCEngine.swift"
      ],
      "target_dependencies" : [
        "SurrealDBMacros",
        "SurrealDBMacroPlugin"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgentMemoryTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentMemoryTests",
      "path" : "Tests/AgentMemoryTests",
      "sources" : [
        "EndpointTests.swift",
        "ErrorTests.swift",
        "MockHTTPClient.swift",
        "ParityTests.swift",
        "ScopeTests.swift",
        "TransportTests.swift"
      ],
      "target_dependencies" : [
        "AgentMemory"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgentMemory",
      "module_type" : "SwiftTarget",
      "name" : "AgentMemory",
      "path" : "Sources/AgentMemory",
      "product_memberships" : [
        "AgentMemory"
      ],
      "sources" : [
        "AgentMemory.swift",
        "AgentMemoryError.swift",
        "Delegation.swift",
        "Idempotency.swift",
        "JSONValue.swift",
        "Models/AccessModels.swift",
        "Models/AgentMemoryEnums.swift",
        "Models/DocumentModels.swift",
        "Models/GovernanceModels.swift",
        "Models/MemoryModels.swift",
        "Namespaces/Documents.swift",
        "Namespaces/Governance.swift",
        "Namespaces/Keys.swift",
        "Namespaces/Memory.swift",
        "Namespaces/Paths.swift",
        "Retry.swift",
        "Scope.swift",
        "Streaming.swift",
        "Transport.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.