The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ManagedModels, reference 0.8.14 (4c4769), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 09:52:11 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Data-swift/ManagedModels.git
Reference: 0.8.14
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Data-swift/ManagedModels
 * tag               0.8.14     -> FETCH_HEAD
HEAD is now at 4c4769f Merge branch 'develop'
Cloned https://github.com/Data-swift/ManagedModels.git
Revision (git rev-parse @):
4c4769f14424a7d68ed51bbf417b0a9e5d695ae2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Data-swift/ManagedModels.git at 0.8.14
Fetching https://github.com/swiftlang/swift-syntax.git
[1/66833] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.34s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.0 (2.93s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.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",
  "dependencies": [
    {
      "identity": "managedmodels",
      "name": "ManagedModels",
      "url": "https://github.com/Data-swift/ManagedModels.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ManagedModels",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/swiftlang/swift-syntax.git",
          "version": "600.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Data-swift/ManagedModels.git
[11/1086] Fetching managedmodels
Fetched https://github.com/Data-swift/ManagedModels.git from cache (0.97s)
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (0.91s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.0 (0.02s)
Creating working copy for https://github.com/Data-swift/ManagedModels.git
Working copy of https://github.com/Data-swift/ManagedModels.git resolved at 0.8.14 (4c4769f)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.0
warning: '.resolve-product-dependencies': dependency 'managedmodels' is not used by any target
Found 1 product dependencies
  - swift-syntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Data-swift/ManagedModels.git
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "600.0.1"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "ManagedModels",
  "name" : "ManagedModels",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "ManagedModels",
      "targets" : [
        "ManagedModels"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ManagedModelMacros",
      "targets" : [
        "ManagedModelMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ManagedModels",
      "module_type" : "SwiftTarget",
      "name" : "ManagedModels",
      "path" : "Sources/ManagedModels",
      "product_memberships" : [
        "ManagedModels"
      ],
      "sources" : [
        "Container/ModelConfiguration.swift",
        "Container/ModelContainer.swift",
        "Container/NSPersistentContainer+Data.swift",
        "Container/NSPersistentStoreDescription+Data.swift",
        "Context/ModelContext.swift",
        "Context/NSManagedObjectContext+Data.swift",
        "Migration/MigrationStage.swift",
        "Migration/SchemaMigrationPlan.swift",
        "ModelMacroDefinition.swift",
        "PersistentModel/PersistentIdentifier.swift",
        "PersistentModel/PersistentModel+KVC.swift",
        "PersistentModel/PersistentModel.swift",
        "PersistentModel/PropertyMetadata.swift",
        "PersistentModel/RelationshipCollection.swift",
        "ReExports.swift",
        "Schema/Attribute.swift",
        "Schema/AttributeOption.swift",
        "Schema/Entity.swift",
        "Schema/Relationship.swift",
        "Schema/RelationshipOption.swift",
        "Schema/RelationshipTargetType.swift",
        "Schema/Schema.swift",
        "Schema/SchemaProperty.swift",
        "Schema/SchemaVersion.swift",
        "Schema/VersionedSchema.swift",
        "SchemaCompatibility/CodableTransformer.swift",
        "SchemaCompatibility/CoreDataPrimitiveValue.swift",
        "SchemaCompatibility/NSAttributeDescription+Data.swift",
        "SchemaCompatibility/NSAttributeType+Data.swift",
        "SchemaCompatibility/NSDeleteRule+Data.swift",
        "SchemaCompatibility/NSEntityDescription+Data.swift",
        "SchemaCompatibility/NSManagedObjectModel+Data.swift",
        "SchemaCompatibility/NSPropertyDescription+Data.swift",
        "SchemaCompatibility/NSRelationshipDescription+Data.swift",
        "SchemaGeneration/NSEntityDescription+Generation.swift",
        "SchemaGeneration/NSRelationshipDescription+Inverse.swift",
        "SchemaGeneration/SchemaBuilder.swift",
        "SwiftUI/FetchRequest+Extras.swift",
        "SwiftUI/ModelContainer+SwiftUI.swift",
        "SwiftUI/ModelContext+SwiftUI.swift",
        "Utilities/AnyOptional.swift",
        "Utilities/NSSortDescriptors+Extras.swift",
        "Utilities/OrderedSet.swift"
      ],
      "target_dependencies" : [
        "ManagedModelMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ManagedModelTests",
      "module_type" : "SwiftTarget",
      "name" : "ManagedModelTests",
      "path" : "Tests/ManagedModelTests",
      "sources" : [
        "BasicModelTests.swift",
        "CodablePropertiesTests.swift",
        "CodableRawRepresentableTests.swift",
        "CoreDataAssumptionsTests.swift",
        "FetchRequestTests.swift",
        "Fixtures.swift",
        "RelationshipSetupTests.swift",
        "SchemaGenerationTests.swift",
        "Schemas/CodablePropertySchema.swift",
        "Schemas/ExpandedPersonAddressSchema.swift",
        "Schemas/PersonAddressOptionalToOne.swift",
        "Schemas/PersonAddressSchema.swift",
        "Schemas/PersonAddressSchemaNoInverse.swift",
        "Schemas/ToDoListSchema.swift",
        "Schemas/TransformablePropertySchema.swift",
        "SwiftUITestCase.swift",
        "TransformablePropertiesTests.swift"
      ],
      "target_dependencies" : [
        "ManagedModels"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ManagedModelMacrosTests",
      "module_type" : "SwiftTarget",
      "name" : "ManagedModelMacrosTests",
      "path" : "Tests/ManagedModelMacrosTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "ManagedModelMacrosTests.swift"
      ],
      "target_dependencies" : [
        "ManagedModelMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ManagedModelMacros",
      "module_type" : "SwiftTarget",
      "name" : "ManagedModelMacros",
      "path" : "Sources/ManagedModelMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "ManagedModels",
        "ManagedModelMacros"
      ],
      "sources" : [
        "CompilerPlugin.swift",
        "MacroDiagnostic.swift",
        "ModelMacro/GenerateInitializers.swift",
        "ModelMacro/MetadataSlot.swift",
        "ModelMacro/ModelExtensions.swift",
        "ModelMacro/ModelMacro.swift",
        "ModelMacro/ModelMemberAttributes.swift",
        "ModelMacro/ModelMembers.swift",
        "Models/ModelInitializers.swift",
        "Models/ModelProperty.swift",
        "PropertyMacros/AttributeMacro.swift",
        "PropertyMacros/PersistedPropertyMacro.swift",
        "PropertyMacros/RelationshipMacro.swift",
        "PropertyMacros/TransientMacro.swift",
        "Utilities/AttributeTypes.swift",
        "Utilities/ClassDeclSyntax+Extras.swift",
        "Utilities/ContextHelpers.swift",
        "Utilities/DeclHelpers.swift",
        "Utilities/DeclModifierListSyntax+Extras.swift",
        "Utilities/ExpressionType.swift",
        "Utilities/TypeSyntax+Extras.swift"
      ],
      "type" : "macro"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/20] Write sources
[16/20] Compiling _SwiftSyntaxCShims dummy.c
[17/20] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/26] Emitting module SwiftSyntax600
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[20/26] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[21/26] Emitting module SwiftSyntax510
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
[22/26] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/26] Emitting module SwiftSyntax509
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'StrictConcurrency' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: error: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
BUILD FAILURE 6.0 macosSpm