The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AttributeKit, reference main (f8d01c), with Swift 6.1 for macOS (SPM) on 31 May 2025 16:34:28 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gor-gyolchanyan-legacy/attribute-kit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gor-gyolchanyan-legacy/attribute-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f8d01cc Fix a typo in the documentation.
Cloned https://github.com/gor-gyolchanyan-legacy/attribute-kit.git
Revision (git rev-parse @):
f8d01ccc186bddb6ffe7c9160362c1570beb9e7d
SUCCESS checkout https://github.com/gor-gyolchanyan-legacy/attribute-kit.git at main
========================================
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": "attribute-kit",
      "name": "AttributeKit",
      "url": "https://github.com/gor-gyolchanyan-legacy/attribute-kit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/attribute-kit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/gor-gyolchanyan-legacy/attribute-kit.git
[1/332] Fetching attribute-kit
Fetched https://github.com/gor-gyolchanyan-legacy/attribute-kit.git from cache (0.68s)
Creating working copy for https://github.com/gor-gyolchanyan-legacy/attribute-kit.git
Working copy of https://github.com/gor-gyolchanyan-legacy/attribute-kit.git resolved at main (f8d01cc)
warning: '.resolve-product-dependencies': dependency 'attribute-kit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gor-gyolchanyan-legacy/attribute-kit.git
https://github.com/gor-gyolchanyan-legacy/attribute-kit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AttributeKit",
  "name" : "AttributeKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AttributeKit",
      "targets" : [
        "AttributeKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestForAttributeKit",
      "module_type" : "SwiftTarget",
      "name" : "TestForAttributeKit",
      "path" : "Tests/TestForAttributeKit",
      "sources" : [
        "#Inftastructure/AttributeHavingName/Inspector/AttributeAccessor-AttributeInspectorForHavingName.swift",
        "#Inftastructure/AttributeHavingName/Inspector/AttributeInspectorForHavingName+AttributeInspector.swift",
        "#Inftastructure/AttributeHavingName/Inspector/AttributeInspectorForHavingName.swift",
        "#Inftastructure/AttributeHavingName/Specifier/AttributeSpecifierHavingName.swift",
        "#Inftastructure/DisplayName/AttributeAccessor-DisplayName.swift",
        "#Inftastructure/DisplayName/AttributeAccessor-EffectiveDisplayName.swift",
        "#Inftastructure/DisplayName/AttributeSpecifier/DisplayNameAttributeSpecifier+AttributeSpecifier.swift",
        "#Inftastructure/DisplayName/AttributeSpecifier/DisplayNameAttributeSpecifier+AttributeSpecifierrHavingName.swift",
        "#Inftastructure/DisplayName/AttributeSpecifier/DisplayNameAttributeSpecifier.swift",
        "#Inftastructure/User/UserAsClass.swift",
        "#Inftastructure/User/UserAsStruct.swift",
        "MainTestCase.swift"
      ],
      "target_dependencies" : [
        "AttributeKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AttributeKit",
      "module_type" : "SwiftTarget",
      "name" : "AttributeKit",
      "path" : "Sources/AttributeKit",
      "product_memberships" : [
        "AttributeKit"
      ],
      "sources" : [
        "Attribute/Accessor/AttributeAccessor-AttributeInspector.swift",
        "Attribute/Accessor/AttributeAccessor-AttributeSpecifier.swift",
        "Attribute/Accessor/AttributeAccessor.swift",
        "Attribute/Accessor/Key/AttributeAccessor.Key+Equatable.swift",
        "Attribute/Accessor/Key/AttributeAccessor.Key+Hashable.swift",
        "Attribute/Accessor/Key/AttributeAccessor.Key.swift",
        "Attribute/Accessor/Value/AttributeAccessor.Value.swift",
        "Attribute/Inspector/AttributeInspector.swift",
        "Attribute/Specifier/AttributeSpecifier.swift",
        "Attribute/Storage/AttributeStorage.swift",
        "Attribute/Storage/Has/HasAttributeStorage.swift",
        "Attribute/Storage/Object/AttributeStorageObject.swift",
        "Attribute/Storage/Object/Has/HasAttributeStorageObject.swift",
        "Attribute/Storage/Object/Has/ObjectiveC~AnyObject-HasAttributeStorageObject.swift",
        "Attribute/Storage/Object/Has/ObjectiveC~Foundation.NSObject+HasAttributeStorageObject.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/17] Compiling AttributeKit AttributeStorageObject.swift
[4/18] Compiling AttributeKit AttributeSpecifier.swift
[5/18] Compiling AttributeKit AttributeStorage.swift
error: compile command failed due to signal 4 (use -v to see invocation)
[6/18] Compiling AttributeKit AttributeAccessor.Key+Hashable.swift
[7/18] Compiling AttributeKit AttributeAccessor.Key.swift
[8/18] Compiling AttributeKit HasAttributeStorage.swift
[9/18] Compiling AttributeKit AttributeAccessor.Value.swift
[10/18] Compiling AttributeKit AttributeInspector.swift
[11/18] Compiling AttributeKit AttributeAccessor.swift
[12/18] Compiling AttributeKit AttributeAccessor.Key+Equatable.swift
[13/18] Emitting module AttributeKit
/Users/admin/builder/spi-builder-workspace/Sources/AttributeKit/Attribute/Storage/Object/Has/ObjectiveC~AnyObject-HasAttributeStorageObject.swift:47:21: warning: var 'associationKeyForAttributeStorageObject' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 |     /// The Objective-C association key for ``HasAttributeStorageObject/attributeStorageObject-8fv47``.
47 |     fileprivate var associationKeyForAttributeStorageObject: UnsafeMutableRawPointer = .init(&associationKeyForAttributeStorageObject)
   |                     |- warning: var 'associationKeyForAttributeStorageObject' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'associationKeyForAttributeStorageObject' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make var 'associationKeyForAttributeStorageObject' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | #endif
49 |
[14/18] Compiling AttributeKit HasAttributeStorageObject.swift
[15/18] Compiling AttributeKit AttributeAccessor-AttributeInspector.swift
[16/18] Compiling AttributeKit AttributeAccessor-AttributeSpecifier.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/16] Compiling AttributeKit HasAttributeStorage.swift
[3/17] Compiling AttributeKit HasAttributeStorageObject.swift
error: compile command failed due to signal 4 (use -v to see invocation)
BUILD FAILURE 6.1 macosSpm