The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Defaults, reference main (752bcb), with Swift 6.2 for macOS (SPM) on 4 Nov 2025 17:22:44 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sindresorhus/Defaults.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sindresorhus/Defaults
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 752bcb9 Fix CI
Cloned https://github.com/sindresorhus/Defaults.git
Revision (git rev-parse @):
752bcb9eb2e110fa9d82826c99857b0e9a76fb1d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sindresorhus/Defaults.git at main
Fetching https://github.com/swiftlang/swift-syntax
[1/72712] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.41s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (6.58s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.2.0.19.9-MacroSupport-macos_aarch64.zip (0.16s)
========================================
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",
  "dependencies": [
    {
      "identity": "defaults",
      "name": "Defaults",
      "url": "https://github.com/sindresorhus/Defaults.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Defaults",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/swiftlang/swift-syntax",
          "version": "602.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sindresorhus/Defaults.git
[1/3548] Fetching defaults
Fetched https://github.com/sindresorhus/Defaults.git from cache (0.96s)
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/swiftlang/swift-syntax from cache (0.82s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (0.89s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/sindresorhus/Defaults.git
Working copy of https://github.com/sindresorhus/Defaults.git resolved at main (752bcb9)
warning: '.resolve-product-dependencies': dependency 'defaults' is not used by any target
Found 1 product dependencies
  - swift-syntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sindresorhus/Defaults.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Write sources
[5/10] Copying PrivacyInfo.xcprivacy
[7/10] Write swift-version-49B95AFC49DCD68C.txt
[9/36] Compiling Defaults UserDefaults.swift
[10/37] Compiling Defaults resource_bundle_accessor.swift
[11/37] Compiling Defaults Utilities.swift
[12/37] Compiling Defaults UserDefaults.swift
[13/37] Compiling Defaults Reset.swift
[14/37] Compiling Defaults Observation.swift
[15/37] Compiling Defaults Observation+Combine.swift
[16/37] Compiling Defaults Defaults+iCloud.swift
[17/37] Compiling Defaults Defaults+Extensions.swift
[18/37] Compiling Defaults Defaults+Protocol.swift
[19/37] Compiling Defaults Defaults.swift
[21/37] Compiling Defaults Observation+Combine.swift
[22/37] Compiling Defaults Utilities.swift
[24/37] Compiling Defaults Defaults+AnySerializable.swift
[25/37] Compiling Defaults Defaults+Bridge.swift
[27/37] Emitting module Defaults
[29/37] Compiling Defaults SwiftUI.swift
[32/37] Compiling Defaults Reset.swift
[33/37] Compiling Defaults Observation.swift
[34/37] Compiling Defaults SwiftUI.swift
[35/37] Emitting module Defaults
[36/38] Compiling Defaults resource_bundle_accessor.swift
[37/41] Compiling DefaultsMacrosDeclarations DefaultsMacrosPlugin.swift
[38/41] Compiling DefaultsMacrosDeclarations ObservableDefaultMacro.swift
[39/41] Emitting module DefaultsMacrosDeclarations
[39/41] Write Objects.LinkFileList
[40/41] Linking DefaultsMacrosDeclarations-tool
[42/45] Compiling DefaultsMacros ObservableDefault.swift
[43/45] Emitting module DefaultsMacros
[45/45] Compiling DefaultsMacros ObservableDefault.swift
Build complete! (15.13s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "602.0.0",
            "upper_bound" : "603.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax"
    }
  ],
  "manifest_display_name" : "Defaults",
  "name" : "Defaults",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Defaults",
      "targets" : [
        "Defaults"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DefaultsMacros",
      "targets" : [
        "DefaultsMacros"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DefaultsMacrosDeclarations",
      "targets" : [
        "DefaultsMacrosDeclarations"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DefaultsTests",
      "module_type" : "SwiftTarget",
      "name" : "DefaultsTests",
      "path" : "Tests/DefaultsTests",
      "sources" : [
        "Defaults+iCloudTests.swift",
        "DefaultsAnySeriliazableTests.swift",
        "DefaultsArrayTests.swift",
        "DefaultsBridgeTests.swift",
        "DefaultsCodableEnumTests.swift",
        "DefaultsCodableTests.swift",
        "DefaultsCollectionCustomElementTests.swift",
        "DefaultsCollectionTests.swift",
        "DefaultsColorTests.swift",
        "DefaultsCustomBridgeTests.swift",
        "DefaultsDictionaryTests.swift",
        "DefaultsEnumTests.swift",
        "DefaultsNSColorTests.swift",
        "DefaultsNSSecureCodingTests.swift",
        "DefaultsObservationAdvancedTests.swift",
        "DefaultsRangeTests.swift",
        "DefaultsSetAlgebraCustomElementTests.swift",
        "DefaultsSetAlgebraTests.swift",
        "DefaultsSetTests.swift",
        "DefaultsStressTests.swift",
        "DefaultsSwiftUITests.swift",
        "DefaultsTests.swift",
        "DefaultsUIColorTests.swift",
        "DefaultsUtilitiesTests.swift",
        "DefaultsValidationTests.swift"
      ],
      "target_dependencies" : [
        "Defaults"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DefaultsMacrosTests",
      "module_type" : "SwiftTarget",
      "name" : "DefaultsMacrosTests",
      "path" : "Tests/DefaultsMacrosTests",
      "sources" : [
        "ObservableDefaultTests.swift"
      ],
      "target_dependencies" : [
        "Defaults",
        "DefaultsMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DefaultsMacrosDeclarationsTests",
      "module_type" : "SwiftTarget",
      "name" : "DefaultsMacrosDeclarationsTests",
      "path" : "Tests/DefaultsMacrosDeclarationsTests",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "ObservableDefaultMacroTests.swift"
      ],
      "target_dependencies" : [
        "DefaultsMacros",
        "DefaultsMacrosDeclarations"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DefaultsMacrosDeclarations",
      "module_type" : "SwiftTarget",
      "name" : "DefaultsMacrosDeclarations",
      "path" : "Sources/DefaultsMacrosDeclarations",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "DefaultsMacros",
        "DefaultsMacrosDeclarations"
      ],
      "sources" : [
        "DefaultsMacrosPlugin.swift",
        "ObservableDefaultMacro.swift"
      ],
      "target_dependencies" : [
        "Defaults"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "DefaultsMacros",
      "module_type" : "SwiftTarget",
      "name" : "DefaultsMacros",
      "path" : "Sources/DefaultsMacros",
      "product_memberships" : [
        "DefaultsMacros"
      ],
      "sources" : [
        "ObservableDefault.swift"
      ],
      "target_dependencies" : [
        "Defaults",
        "DefaultsMacrosDeclarations"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Defaults",
      "module_type" : "SwiftTarget",
      "name" : "Defaults",
      "path" : "Sources/Defaults",
      "product_memberships" : [
        "Defaults",
        "DefaultsMacros",
        "DefaultsMacrosDeclarations"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Defaults/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Defaults+AnySerializable.swift",
        "Defaults+Bridge.swift",
        "Defaults+Extensions.swift",
        "Defaults+Protocol.swift",
        "Defaults+iCloud.swift",
        "Defaults.swift",
        "Observation+Combine.swift",
        "Observation.swift",
        "Reset.swift",
        "SwiftUI.swift",
        "UserDefaults.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/sindresorhus/defaults/main
Repository:               sindresorhus/Defaults
Swift version used:       6.2
Target:                   Defaults
Extracting symbol information for 'Defaults'...
Finished extracting symbol information for 'Defaults'. (4.44s)
Building documentation for 'Defaults'...
warning: 'Defaults.TopLevelCodableBridge' doesn't exist at '/Defaults/AdvancedUsage'
   --> AdvancedUsage.md:114:5-114:35
112 | Defaults ships with several bridges you can reuse before writing your own:
113 |
114 + - ``Defaults.TopLevelCodableBridge`` encodes values with `JSONEncoder` and keeps the payload human-readable.
115 | - ``Defaults.RawRepresentableBridge`` stores enums and other raw-representable types without JSON overhead.
116 | - ``Defaults.NSSecureCodingBridge`` archives Objective-C classes (for example `NSColor`) with secure coding.
warning: 'Defaults.RawRepresentableBridge' doesn't exist at '/Defaults/AdvancedUsage'
   --> AdvancedUsage.md:115:5-115:36
113 |
114 | - ``Defaults.TopLevelCodableBridge`` encodes values with `JSONEncoder` and keeps the payload human-readable.
115 + - ``Defaults.RawRepresentableBridge`` stores enums and other raw-representable types without JSON overhead.
116 | - ``Defaults.NSSecureCodingBridge`` archives Objective-C classes (for example `NSColor`) with secure coding.
117 | - ``Defaults.OptionalBridge`` unwraps optionals so you only implement the serialization logic once.
warning: 'Defaults.NSSecureCodingBridge' doesn't exist at '/Defaults/AdvancedUsage'
   --> AdvancedUsage.md:116:5-116:34
114 | - ``Defaults.TopLevelCodableBridge`` encodes values with `JSONEncoder` and keeps the payload human-readable.
115 | - ``Defaults.RawRepresentableBridge`` stores enums and other raw-representable types without JSON overhead.
116 + - ``Defaults.NSSecureCodingBridge`` archives Objective-C classes (for example `NSColor`) with secure coding.
117 | - ``Defaults.OptionalBridge`` unwraps optionals so you only implement the serialization logic once.
118 | - ``Defaults.ArrayBridge``, ``Defaults.SetBridge``, and ``Defaults.DictionaryBridge`` adapt Swift collections by applying the element bridge recursively.
warning: 'Defaults.OptionalBridge' doesn't exist at '/Defaults/AdvancedUsage'
   --> AdvancedUsage.md:117:5-117:28
115 | - ``Defaults.RawRepresentableBridge`` stores enums and other raw-representable types without JSON overhead.
116 | - ``Defaults.NSSecureCodingBridge`` archives Objective-C classes (for example `NSColor`) with secure coding.
117 + - ``Defaults.OptionalBridge`` unwraps optionals so you only implement the serialization logic once.
118 | - ``Defaults.ArrayBridge``, ``Defaults.SetBridge``, and ``Defaults.DictionaryBridge`` adapt Swift collections by applying the element bridge recursively.
119 |
warning: 'Defaults.ArrayBridge' doesn't exist at '/Defaults/AdvancedUsage'
   --> AdvancedUsage.md:118:5-118:25
116 | - ``Defaults.NSSecureCodingBridge`` archives Objective-C classes (for example `NSColor`) with secure coding.
117 | - ``Defaults.OptionalBridge`` unwraps optionals so you only implement the serialization logic once.
118 + - ``Defaults.ArrayBridge``, ``Defaults.SetBridge``, and ``Defaults.DictionaryBridge`` adapt Swift collections by applying the element bridge recursively.
119 |
120 | Reach for a custom bridge only when none of these cover your scenario.
warning: 'Defaults.SetBridge' doesn't exist at '/Defaults/AdvancedUsage'
   --> AdvancedUsage.md:118:31-118:49
116 | - ``Defaults.NSSecureCodingBridge`` archives Objective-C classes (for example `NSColor`) with secure coding.
117 | - ``Defaults.OptionalBridge`` unwraps optionals so you only implement the serialization logic once.
118 + - ``Defaults.ArrayBridge``, ``Defaults.SetBridge``, and ``Defaults.DictionaryBridge`` adapt Swift collections by applying the element bridge recursively.
119 |
120 | Reach for a custom bridge only when none of these cover your scenario.
warning: 'Defaults.DictionaryBridge' doesn't exist at '/Defaults/AdvancedUsage'
   --> AdvancedUsage.md:118:59-118:84
116 | - ``Defaults.NSSecureCodingBridge`` archives Objective-C classes (for example `NSColor`) with secure coding.
117 | - ``Defaults.OptionalBridge`` unwraps optionals so you only implement the serialization logic once.
118 + - ``Defaults.ArrayBridge``, ``Defaults.SetBridge``, and ``Defaults.DictionaryBridge`` adapt Swift collections by applying the element bridge recursively.
119 |
120 | Reach for a custom bridge only when none of these cover your scenario.
Finished building documentation for 'Defaults' (0.86s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/sindresorhus/defaults/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2160] Fetching swift-docc-plugin
Updating https://github.com/swiftlang/swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.10s)
Updated https://github.com/swiftlang/swift-syntax (0.83s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (2.75s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.64s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3570] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.18s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.08s)
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.4.5
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-49B95AFC49DCD68C.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets SnippetParser.swift
[8/57] Emitting module Snippets
[9/57] Compiling Snippets Snippet.swift
[10/57] Compiling SymbolKit Relationship.swift
[11/57] Compiling SymbolKit RelationshipKind.swift
[12/57] Compiling SymbolKit SourceOrigin.swift
[13/57] Compiling SymbolKit GenericConstraints.swift
[14/57] Compiling SymbolKit Swift.swift
[15/57] Compiling SymbolKit DeclarationFragments.swift
[16/57] Compiling SymbolKit Fragment.swift
[17/57] Compiling SymbolKit FragmentKind.swift
[18/57] Compiling SymbolKit FunctionParameter.swift
[19/57] Compiling SymbolKit FunctionSignature.swift
[20/57] Compiling SymbolKit Identifier.swift
[21/57] Compiling SymbolKit KindIdentifier.swift
[22/57] Compiling SymbolKit Location.swift
[23/57] Compiling SymbolKit Mutability.swift
[24/57] Compiling SymbolKit SourceRange.swift
[25/57] Compiling SymbolKit Metadata.swift
[26/57] Compiling SymbolKit Module.swift
[27/57] Compiling SymbolKit OperatingSystem.swift
[28/57] Compiling SymbolKit Platform.swift
[29/57] Compiling SymbolKit Mixin+Equals.swift
[30/57] Compiling SymbolKit Mixin+Hash.swift
[31/57] Compiling SymbolKit Mixin.swift
[32/57] Compiling SymbolKit LineList.swift
[33/57] Compiling SymbolKit Position.swift
[34/57] Compiling SymbolKit GenericConstraint.swift
[35/57] Compiling SymbolKit GenericParameter.swift
[36/57] Compiling SymbolKit Generics.swift
[37/57] Compiling SymbolKit Namespace.swift
[38/57] Compiling SymbolKit Symbol.swift
[39/57] Compiling SymbolKit SymbolKind.swift
[40/57] Compiling SymbolKit SymbolGraph.swift
[41/57] Compiling SymbolKit GraphCollector.swift
[42/57] Compiling SymbolKit Names.swift
[43/57] Compiling SymbolKit SPI.swift
[44/57] Compiling SymbolKit Snippet.swift
[45/57] Compiling SymbolKit Extension.swift
[46/57] Compiling SymbolKit SemanticVersion.swift
[47/57] Compiling SymbolKit AccessControl.swift
[48/57] Compiling SymbolKit Availability.swift
[49/57] Compiling SymbolKit AvailabilityItem.swift
[50/57] Compiling SymbolKit Domain.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.47s)
Building for debugging...
[0/1] Write swift-version-49B95AFC49DCD68C.txt
Build of target: 'Defaults' complete! (0.86s)
    2412
18	/Users/admin/builder/spi-builder-workspace/.docs/sindresorhus/defaults/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/sindresorhus/defaults/main
File count: 2412
Doc size:   18.0MB
Preparing doc bundle ...
Uploading prod-sindresorhus-defaults-main-4dda07fe.zip to s3://spi-docs-inbox/prod-sindresorhus-defaults-main-4dda07fe.zip
Copying... [11%]
Copying... [20%]
Copying... [31%]
Copying... [41%]
Copying... [52%]
Copying... [61%]
Copying... [70%]
Copying... [81%]
Copying... [91%]
Copying... [100%]
Done.