The Swift Package Index logo.Swift Package Index

Build Information

Successful build of RuleKit, reference main (2cb8ce), with Swift 6.3 for macOS (SPM) on 15 Sep 2026 11:03:36 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Dean151/RuleKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Dean151/RuleKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2cb8ce6 feat: gate a ruleset on where the build came from
Cloned https://github.com/Dean151/RuleKit.git
Revision (git rev-parse @):
2cb8ce6edaf4b4a76d9250d5482cb4e95dcd1b01
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Dean151/RuleKit.git at main
Fetching https://github.com/apple/swift-log.git
[1/8066] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.44s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.8.0 (2.02s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.8.0
========================================
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": "rulekit",
      "name": "RuleKit",
      "url": "https://github.com/Dean151/RuleKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RuleKit",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.15.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "traits": [
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Dean151/RuleKit.git
[1/493] Fetching rulekit
Fetched https://github.com/Dean151/RuleKit.git from cache (0.93s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.60s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (1.21s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/Dean151/RuleKit.git
Working copy of https://github.com/Dean151/RuleKit.git resolved at main (2cb8ce6)
warning: '.resolve-product-dependencies': dependency 'rulekit' is not used by any target
Found 1 product dependencies
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Dean151/RuleKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-69A768CDF2A0BEE1.txt
[4/8] Compiling Logging Locks.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Compiling Logging Logging.swift
[7/8] Compiling Logging MetadataProvider.swift
[8/8] Emitting module Logging
[9/18] Compiling RuleKit Version.swift
[10/18] Compiling RuleKit Trigger.swift
[11/18] Compiling RuleKit Store.swift
[12/18] Compiling RuleKit Option.swift
[13/18] Compiling RuleKit Event.swift
[14/18] Compiling RuleKit Rule.swift
[15/18] Compiling RuleKit Donation.swift
[16/18] Compiling RuleKit Distribution.swift
[17/18] Compiling RuleKit Center.swift
[18/18] Emitting module RuleKit
Build complete! (6.61s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "RuleKit",
  "name" : "RuleKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "RuleKit",
      "targets" : [
        "RuleKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "RuleKitTests",
      "module_type" : "SwiftTarget",
      "name" : "RuleKitTests",
      "path" : "Tests/RuleKitTests",
      "sources" : [
        "RuleKitTests.swift"
      ],
      "target_dependencies" : [
        "RuleKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RuleKit",
      "module_type" : "SwiftTarget",
      "name" : "RuleKit",
      "path" : "Sources/RuleKit",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "RuleKit"
      ],
      "sources" : [
        "Center.swift",
        "Distribution.swift",
        "Donation.swift",
        "Event.swift",
        "Option.swift",
        "Rule.swift",
        "Store.swift",
        "Trigger.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/dean151/rulekit/main
Repository:               Dean151/RuleKit
Swift version used:       6.3
Target:                   RuleKit
Extracting symbol information for 'RuleKit'...
Finished extracting symbol information for 'RuleKit'. (27.38s)
Building documentation for 'RuleKit'...
warning: 'setRule(_:triggering:options:_:)' is ambiguous at '/RuleKit/RuleKit'
   --> ../Center.swift:245:24-245:56
243 |     }
244 |
245 +     /// A variant of ``setRule(_:triggering:options:_:)`` that takes its options as a
    |                                                        ├─suggestion: Insert '-(String,_,_,_)' for '@MainActor static func setRule(_ name: String, triggering callback: @escaping @Sendable () -> Void, options: [any RuleKitOption] = [], _ rule: any Rule)'
    |                                                        ╰─suggestion: Insert '-(String?,_,_,_)' for '@MainActor static func setRule(_ name: String? = nil, triggering notification: Notification.Name, options: [any RuleKitOption] = [], _ rule: any Rule)'
246 |     /// variadic list and its ruleset as a trailing closure, so a single option no
247 |     /// longer needs to be wrapped in an array.
warning: 'setRule(_:triggering:options:_:)' is ambiguous at '/RuleKit/RuleKit'
   --> ../Center.swift:266:24-266:56
264 |     }
265 |
266 +     /// A variant of ``setRule(_:triggering:options:_:)`` that takes its options as a
    |                                                        ├─suggestion: Insert '-(String,_,_,_)' for '@MainActor static func setRule(_ name: String, triggering callback: @escaping @Sendable () -> Void, options: [any RuleKitOption] = [], _ rule: any Rule)'
    |                                                        ╰─suggestion: Insert '-(String?,_,_,_)' for '@MainActor static func setRule(_ name: String? = nil, triggering notification: Notification.Name, options: [any RuleKitOption] = [], _ rule: any Rule)'
267 |     /// variadic list and its ruleset as a trailing closure, so a single option no
268 |     /// longer needs to be wrapped in an array.
warning: 'allOf(_:)' is ambiguous at '/RuleKit/Rule'
   --> ComposingRules.md:110:15-110:24
108 | These combinators build branches of the tree:
109 |
110 + - term ``Rule/allOf(_:)``: Fulfilled when **every** child rule is fulfilled (logical AND).
    |                        ├─suggestion: Insert '-(()->[Rule])' for 'static func allOf(@RuleBuilder _ rules: () -> [any Rule]) -> any Rule'
    |                        ╰─suggestion: Insert '-([Rule])' for 'static func allOf(_ rules: [any Rule]) -> any Rule'
111 | - term ``Rule/anyOf(_:)``: Fulfilled when **at least one** child rule is fulfilled (logical OR).
112 | - term ``Rule/noneOf(_:)``: Fulfilled when **none** of the child rules are fulfilled —
warning: 'anyOf(_:)' is ambiguous at '/RuleKit/Rule'
   --> ComposingRules.md:111:15-111:24
109 |
110 | - term ``Rule/allOf(_:)``: Fulfilled when **every** child rule is fulfilled (logical AND).
111 + - term ``Rule/anyOf(_:)``: Fulfilled when **at least one** child rule is fulfilled (logical OR).
    |                        ├─suggestion: Insert '-(()->[Rule])' for 'static func anyOf(@RuleBuilder _ rules: () -> [any Rule]) -> any Rule'
    |                        ╰─suggestion: Insert '-([Rule])' for 'static func anyOf(_ rules: [any Rule]) -> any Rule'
112 | - term ``Rule/noneOf(_:)``: Fulfilled when **none** of the child rules are fulfilled —
113 |   the complement of `anyOf`.
warning: 'noneOf(_:)' is ambiguous at '/RuleKit/Rule'
   --> ComposingRules.md:112:15-112:25
110 | - term ``Rule/allOf(_:)``: Fulfilled when **every** child rule is fulfilled (logical AND).
111 | - term ``Rule/anyOf(_:)``: Fulfilled when **at least one** child rule is fulfilled (logical OR).
112 + - term ``Rule/noneOf(_:)``: Fulfilled when **none** of the child rules are fulfilled —
    |                         ├─suggestion: Insert '-(()->[Rule])' for 'static func noneOf(@RuleBuilder _ rules: () -> [any Rule]) -> any Rule'
    |                         ╰─suggestion: Insert '-([Rule])' for 'static func noneOf(_ rules: [any Rule]) -> any Rule'
113 |   the complement of `anyOf`.
114 | - term ``Rule/atLeast(_:of:)``: A quorum (k-of-n) — fulfilled when at least `count` of
warning: 'atLeast(_:of:)' is ambiguous at '/RuleKit/Rule'
   --> ComposingRules.md:114:15-114:29
112 | - term ``Rule/noneOf(_:)``: Fulfilled when **none** of the child rules are fulfilled —
113 |   the complement of `anyOf`.
114 + - term ``Rule/atLeast(_:of:)``: A quorum (k-of-n) — fulfilled when at least `count` of
    |                             ├─suggestion: Insert '-(_,()->[Rule])' for 'static func atLeast(_ count: Int, @RuleBuilder of rules: () -> [any Rule]) -> any Rule'
    |                             ╰─suggestion: Insert '-(_,[Rule])' for 'static func atLeast(_ count: Int, of rules: [any Rule]) -> any Rule'
115 |   the child rules are fulfilled.
116 | - term ``Rule/not(_:)``: Negates a single rule.
warning: 'setRule(_:triggering:options:_:)' is ambiguous at '/RuleKit/RuleKit'
   --> GettingStarted.md:144:14-144:46
142 |
143 | Rules can be inspected and removed at runtime. The identifier is the `name` you passed
144 + to ``RuleKit/setRule(_:triggering:options:_:)``; for a notification rule registered
    |                                              ├─suggestion: Insert '-(String,_,_,_)' for '@MainActor static func setRule(_ name: String, triggering callback: @escaping @Sendable () -> Void, options: [any RuleKitOption] = [], _ rule: any Rule)'
    |                                              ╰─suggestion: Insert '-(String?,_,_,_)' for '@MainActor static func setRule(_ name: String? = nil, triggering notification: Notification.Name, options: [any RuleKitOption] = [], _ rule: any Rule)'
145 | without an explicit name, it is the notification's `rawValue`.
146 |
warning: 'setRule(_:triggering:options:_:)' is ambiguous at '/RuleKit/RuleKit'
  --> RuleKit.md:52:13-52:45
50 | ### Registering rules
51 |
52 + - ``RuleKit/setRule(_:triggering:options:_:)``
   |                                             ├─suggestion: Insert '-(String,_,_,_)' for '@MainActor static func setRule(_ name: String, triggering callback: @escaping @Sendable () -> Void, options: [any RuleKitOption] = [], _ rule: any Rule)'
   |                                             ╰─suggestion: Insert '-(String?,_,_,_)' for '@MainActor static func setRule(_ name: String? = nil, triggering notification: Notification.Name, options: [any RuleKitOption] = [], _ rule: any Rule)'
53 | - ``RuleKit/removeRule(named:)``
54 | - ``RuleKit/registeredRuleNames``
Finished building documentation for 'RuleKit' (0.54s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/dean151/rulekit/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-log.git
Updated https://github.com/apple/swift-log.git (0.61s)
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.8.0 (2.23s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.23s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3822] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.04s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-69A768CDF2A0BEE1.txt
[6/54] Compiling SymbolKit Relationship.swift
[7/54] Compiling SymbolKit RelationshipKind.swift
[8/54] Compiling SymbolKit SourceOrigin.swift
[9/54] Compiling SymbolKit GenericConstraints.swift
[10/54] Compiling SymbolKit Swift.swift
[11/58] Compiling SymbolKit Identifier.swift
[12/58] Compiling SymbolKit KindIdentifier.swift
[13/58] Compiling SymbolKit Location.swift
[14/58] Compiling SymbolKit Mutability.swift
[15/58] Compiling SymbolKit DeclarationFragments.swift
[16/58] Compiling SymbolKit Fragment.swift
[17/58] Compiling SymbolKit FragmentKind.swift
[18/58] Compiling SymbolKit FunctionParameter.swift
[19/58] Compiling SymbolKit FunctionSignature.swift
[20/58] Compiling Snippets SnippetParser.swift
[21/58] Compiling Snippets SnippetLanguage.swift
[22/58] Emitting module Snippets
[23/58] Compiling Snippets Snippet.swift
[24/58] Compiling SymbolKit Mixin+Equals.swift
[25/58] Compiling SymbolKit Mixin+Hash.swift
[26/58] Compiling SymbolKit Mixin.swift
[27/58] Compiling SymbolKit LineList.swift
[28/58] Compiling SymbolKit Position.swift
[29/58] Compiling SymbolKit Names.swift
[30/58] Compiling SymbolKit SPI.swift
[31/58] Compiling SymbolKit Snippet.swift
[32/58] Compiling SymbolKit Extension.swift
[33/58] Compiling SymbolKit SourceRange.swift
[34/58] Compiling SymbolKit Metadata.swift
[35/58] Compiling SymbolKit Module.swift
[36/58] Compiling SymbolKit OperatingSystem.swift
[37/58] Compiling SymbolKit Platform.swift
[38/58] Emitting module SymbolKit
[39/58] Compiling SymbolKit GenericConstraint.swift
[40/58] Compiling SymbolKit GenericParameter.swift
[41/58] Compiling SymbolKit Generics.swift
[42/58] Compiling SymbolKit Namespace.swift
[43/58] Compiling SymbolKit Symbol.swift
[44/58] Compiling SymbolKit SymbolKind.swift
[45/58] Compiling SymbolKit SymbolGraph.swift
[46/58] Compiling SymbolKit GraphCollector.swift
[47/58] Compiling SymbolKit SemanticVersion.swift
[48/58] Compiling SymbolKit AccessControl.swift
[49/58] Compiling SymbolKit Availability.swift
[50/58] Compiling SymbolKit AvailabilityItem.swift
[51/58] Compiling SymbolKit Domain.swift
[52/58] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[53/58] Compiling SymbolKit UnifiedSymbol.swift
[54/58] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[55/58] Compiling SymbolKit UnifiedSymbolGraph.swift
[56/62] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/62] Compiling snippet_extract URL+Status.swift
[58/62] Emitting module snippet_extract
[59/62] Compiling snippet_extract SnippetBuildCommand.swift
[59/62] Write Objects.LinkFileList
[60/62] Linking snippet-extract-tool
[61/62] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.61s)
Building for debugging...
[0/1] Write swift-version-69A768CDF2A0BEE1.txt
Build of target: 'RuleKit' complete! (0.23s)
     448
4	/Users/admin/builder/spi-builder-workspace/.docs/dean151/rulekit/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/dean151/rulekit/main
File count: 448
Doc size:   4.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -dean151-rulekit-main-b09988cf.zip to presigned URL
Starting upload of 821753 bytes...
Upload completed successfully
Done.