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 ArchitectureVam, reference 0.3.1 (1fd373), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 03:28:38 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/insub4067/ArchitectureVam.git
Reference: 0.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/insub4067/ArchitectureVam
 * tag               0.3.1      -> FETCH_HEAD
HEAD is now at 1fd373d Update README.md
Cloned https://github.com/insub4067/ArchitectureVam.git
Revision (git rev-parse @):
1fd373db49c3db28d32de8fd1fdeb7f28e734488
SUCCESS checkout https://github.com/insub4067/ArchitectureVam.git at 0.3.1
========================================
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": "architecturevam",
      "name": "ArchitectureVam",
      "url": "https://github.com/insub4067/ArchitectureVam.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ArchitectureVam",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/insub4067/ArchitectureVam.git
[1/155] Fetching architecturevam
Fetched https://github.com/insub4067/ArchitectureVam.git from cache (0.66s)
Creating working copy for https://github.com/insub4067/ArchitectureVam.git
Working copy of https://github.com/insub4067/ArchitectureVam.git resolved at 0.3.1 (1fd373d)
warning: '.resolve-product-dependencies': dependency 'architecturevam' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/insub4067/ArchitectureVam.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ArchitectureVam",
  "name" : "ArchitectureVam",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "ArchitectureVam",
      "targets" : [
        "ArchitectureVam"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Example/Counter/Counter/Assets.xcassets",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Example/Counter/Counter/Preview Content/Preview Assets.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Counter/Counter/ContentView.swift",
        "Counter/Counter/ContentViewAction.swift",
        "Counter/Counter/ContentViewModel.swift",
        "Counter/Counter/CounterApp.swift"
      ],
      "target_dependencies" : [
        "ArchitectureVam"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ArchitectureVamTests",
      "module_type" : "SwiftTarget",
      "name" : "ArchitectureVamTests",
      "path" : "Tests/ArchitectureVamTests",
      "sources" : [
        "VamTests.swift"
      ],
      "target_dependencies" : [
        "ArchitectureVam"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArchitectureVam",
      "module_type" : "SwiftTarget",
      "name" : "ArchitectureVam",
      "path" : "Sources/ArchitectureVam",
      "product_memberships" : [
        "ArchitectureVam"
      ],
      "sources" : [
        "Action/Action.swift",
        "Action/Actionable.swift",
        "Model/Model.swift",
        "Model/Modelable.swift",
        "VamView/VamView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
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/5] Write sources
[2/5] Copying Preview Assets.xcassets
[3/5] Copying Assets.xcassets
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/11] Compiling ArchitectureVam Modelable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Compiling ArchitectureVam Actionable.swift
[8/11] Compiling ArchitectureVam Action.swift
[9/11] Emitting module ArchitectureVam
/Users/admin/builder/spi-builder-workspace/Sources/ArchitectureVam/Model/Model.swift:10:30: error: 'ObservableObject' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | @MainActor open class Model: ObservableObject, Modelable {
   |                       |      `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing class
11 |
12 |     public init() { }
/Users/admin/builder/spi-builder-workspace/Sources/ArchitectureVam/VamView/VamView.swift:10:26: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public protocol VamView: View {
   |                 |        `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     associatedtype Action: Actionable
[10/11] Compiling ArchitectureVam Model.swift
/Users/admin/builder/spi-builder-workspace/Sources/ArchitectureVam/Model/Model.swift:10:30: error: 'ObservableObject' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | @MainActor open class Model: ObservableObject, Modelable {
   |                       |      `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing class
11 |
12 |     public init() { }
[11/11] Compiling ArchitectureVam VamView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ArchitectureVam/VamView/VamView.swift:10:26: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public protocol VamView: View {
   |                 |        `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     associatedtype Action: Actionable
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/Example/Counter/Counter/Counter.entitlements
BUILD FAILURE 6.0 macosSpm