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 Dflat, reference unstable (65334e), with Swift 5.9 for watchOS using Xcode 15.2 on 18 Jul 2024 23:35:16 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme Dflat-Package -destination generic/platform=watchOS

Build Log

========================================
RunAll
========================================
Builder version: 4.46.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liuliu/dflat.git
Reference: unstable
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/liuliu/dflat
 * branch            unstable   -> FETCH_HEAD
 * [new branch]      unstable   -> origin/unstable
HEAD is now at 65334e3 Update binding to the same C counterpart.
Cloned https://github.com/liuliu/dflat.git
Revision (git rev-parse @):
65334e3804e58a3669337bc40eab6673205a43e4
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/liuliu/dflat.git at unstable
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             5.9
Building package at path:  $workDir
https://github.com/liuliu/dflat.git
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/google/flatbuffers.git
Fetching from https://github.com/apple/swift-docc-plugin
Fetching from https://github.com/apple/swift-atomics.git
Fetching from https://github.com/apple/swift-docc-symbolkit
Creating working copy of package ‘swift-atomics’
Checking out 1.2.0 of package ‘swift-atomics’
Creating working copy of package ‘swift-docc-plugin’
Checking out 1.3.0 of package ‘swift-docc-plugin’
Creating working copy of package ‘swift-docc-symbolkit’
Checking out 1.0.0 of package ‘swift-docc-symbolkit’
Creating working copy of package ‘flatbuffers’
Checking out c92e78a9f841a6110ec27180d68d1f7f2afda21d of package ‘flatbuffers’
Resolve Package Graph
Resolved source packages:
  FlatBuffers: https://github.com/google/flatbuffers.git @ c92e78a
  Dflat: /Users/admin/builder/spi-builder-workspace
  SymbolKit: https://github.com/apple/swift-docc-symbolkit @ 1.0.0
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
  SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.3.0
resolved source packages: FlatBuffers, Dflat, SymbolKit, swift-atomics, SwiftDocCPlugin
{
  "dependencies" : [
    {
      "identity" : "flatbuffers",
      "requirement" : {
        "revision" : [
          "c92e78a9f841a6110ec27180d68d1f7f2afda21d"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/flatbuffers.git"
    },
    {
      "identity" : "swift-atomics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-atomics.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Dflat",
  "name" : "Dflat",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Dflat",
      "targets" : [
        "Dflat"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "SQLiteDflat",
      "targets" : [
        "SQLiteDflat"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_SQLiteDflatOSShim",
      "module_type" : "ClangTarget",
      "name" : "_SQLiteDflatOSShim",
      "path" : "src/sqlite",
      "product_memberships" : [
        "SQLiteDflat"
      ],
      "sources" : [
        "os.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Tests",
      "module_type" : "SwiftTarget",
      "name" : "Tests",
      "path" : "src/tests",
      "sources" : [
        "AsyncTests.swift",
        "ConcurrencyTests.swift",
        "DictionaryTests.swift",
        "ExprTests.swift",
        "FetchTests.swift",
        "ObjectRepositoryTests.swift",
        "SQLiteWorkspaceCRUDTests.swift",
        "SchemaUpgradeTests.swift",
        "SerialTests.swift",
        "SubscribeTests.swift",
        "monster_data_model_generated.swift",
        "monster_generated.swift",
        "monster_mutating_generated.swift",
        "monster_query_generated.swift",
        "monster_v2_data_model_generated.swift",
        "monster_v2_generated.swift",
        "monster_v2_mutating_generated.swift",
        "monster_v2_query_generated.swift",
        "monster_v3_data_model_generated.swift",
        "monster_v3_generated.swift",
        "monster_v3_mutating_generated.swift",
        "monster_v3_query_generated.swift",
        "namespace.swift",
        "orb_weapon_data_model_generated.swift",
        "orb_weapon_generated.swift",
        "orb_weapon_mutating_generated.swift"
      ],
      "target_dependencies" : [
        "SQLiteDflat"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SQLiteDflat",
      "module_type" : "SwiftTarget",
      "name" : "SQLiteDflat",
      "path" : "src/sqlite",
      "product_memberships" : [
        "SQLiteDflat"
      ],
      "sources" : [
        "OSShim.swift",
        "SQLiteAtom.swift",
        "SQLiteConnection.swift",
        "SQLiteConnectionPool.swift",
        "SQLiteExpr.swift",
        "SQLiteFetchedResult.swift",
        "SQLiteObjectRepository.swift",
        "SQLitePersistenceToolbox.swift",
        "SQLitePublisher.swift",
        "SQLiteQueryBuilder.swift",
        "SQLiteResultPublisher.swift",
        "SQLiteTableSpace.swift",
        "SQLiteTableState.swift",
        "SQLiteTransactionContext.swift",
        "SQLiteValue.swift",
        "SQLiteWorkspace.swift",
        "SQLiteWorkspaceDictionary.swift",
        "SQLiteWorkspaceState.swift",
        "dict/dict_data_model_generated.swift",
        "dict/dict_generated.swift",
        "dict/dict_mutating_generated.swift",
        "dict/dict_query_generated.swift"
      ],
      "target_dependencies" : [
        "Dflat",
        "_SQLiteDflatOSShim"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Dflat",
      "module_type" : "SwiftTarget",
      "name" : "Dflat",
      "path" : "src",
      "product_dependencies" : [
        "FlatBuffers",
        "Atomics"
      ],
      "product_memberships" : [
        "Dflat",
        "SQLiteDflat"
      ],
      "sources" : [
        "Atom.swift",
        "ChangeRequest.swift",
        "Expr.swift",
        "FetchedResult.swift",
        "FlatBuffersCodable.swift",
        "Publisher.swift",
        "QueryBuilder.swift",
        "SQLiteExpr.swift",
        "TransactionContext.swift",
        "Workspace.swift",
        "exprs/Addition.swift",
        "exprs/And.swift",
        "exprs/EqualTo.swift",
        "exprs/Field.swift",
        "exprs/In.swift",
        "exprs/IsNotNull.swift",
        "exprs/IsNull.swift",
        "exprs/LessThan.swift",
        "exprs/LessThanOrEqualTo.swift",
        "exprs/Mod.swift",
        "exprs/Not.swift",
        "exprs/NotEqualTo.swift",
        "exprs/NotIn.swift",
        "exprs/Or.swift",
        "exprs/Subtraction.swift",
        "exprs/Value.swift",
        "exprs/sqlite/SQLiteAddition.swift",
        "exprs/sqlite/SQLiteAnd.swift",
        "exprs/sqlite/SQLiteEqualTo.swift",
        "exprs/sqlite/SQLiteField.swift",
        "exprs/sqlite/SQLiteIn.swift",
        "exprs/sqlite/SQLiteIsNotNull.swift",
        "exprs/sqlite/SQLiteIsNull.swift",
        "exprs/sqlite/SQLiteLessThan.swift",
        "exprs/sqlite/SQLiteLessThanOrEqualTo.swift",
        "exprs/sqlite/SQLiteMod.swift",
        "exprs/sqlite/SQLiteNot.swift",
        "exprs/sqlite/SQLiteNotEqualTo.swift",
        "exprs/sqlite/SQLiteNotIn.swift",
        "exprs/sqlite/SQLiteOr.swift",
        "exprs/sqlite/SQLiteSubtraction.swift",
        "exprs/sqlite/SQLiteValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "Dflat",
      "Dflat-Package",
      "SQLiteDflat"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme Dflat-Package -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Dflat-Package -destination generic/platform=watchOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  SymbolKit: https://github.com/apple/swift-docc-symbolkit @ 1.0.0
  FlatBuffers: https://github.com/google/flatbuffers.git @ c92e78a
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
  Dflat: /Users/admin/builder/spi-builder-workspace
  SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.3.0
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (11 targets)
    Target 'Tests' in project 'Dflat'
        ➜ Explicit dependency on target 'Dflat' in project 'Dflat'
        ➜ Explicit dependency on target '_SQLiteDflatOSShim' in project 'Dflat'
        ➜ Explicit dependency on target 'SQLiteDflat' in project 'Dflat'
        ➜ Explicit dependency on target 'FlatBuffers' in project 'FlatBuffers'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target 'SQLiteDflat' in project 'Dflat'
        ➜ Explicit dependency on target 'SQLiteDflat' in project 'Dflat'
        ➜ Explicit dependency on target 'Dflat' in project 'Dflat'
        ➜ Explicit dependency on target '_SQLiteDflatOSShim' in project 'Dflat'
        ➜ Explicit dependency on target 'FlatBuffers' in project 'FlatBuffers'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target 'SQLiteDflat' in project 'Dflat'
        ➜ Explicit dependency on target 'Dflat' in project 'Dflat'
        ➜ Explicit dependency on target '_SQLiteDflatOSShim' in project 'Dflat'
        ➜ Explicit dependency on target 'FlatBuffers' in project 'FlatBuffers'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target '_SQLiteDflatOSShim' in project 'Dflat' (no dependencies)
    Target 'Dflat' in project 'Dflat'
        ➜ Explicit dependency on target 'Dflat' in project 'Dflat'
        ➜ Explicit dependency on target 'FlatBuffers' in project 'FlatBuffers'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target 'Dflat' in project 'Dflat'
        ➜ Explicit dependency on target 'FlatBuffers' in project 'FlatBuffers'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target 'Atomics' in project 'swift-atomics'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
        ➜ Explicit dependency on target '_AtomicsShims' in project 'swift-atomics'
    Target 'Atomics' in project 'swift-atomics'
        ➜ Explicit dependency on target '_AtomicsShims' in project 'swift-atomics'
    Target '_AtomicsShims' in project 'swift-atomics' (no dependencies)
    Target 'FlatBuffers' in project 'FlatBuffers'
        ➜ Explicit dependency on target 'FlatBuffers' in project 'FlatBuffers'
    Target 'FlatBuffers' in project 'FlatBuffers' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 38c98ddd960ed124e2be8224fcede1e5
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/38c98ddd960ed124e2be8224fcede1e5.xcbuilddata
error: The package product 'FlatBuffers' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'Dflat' from project 'Dflat')
error: The package product 'Atomics' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'Dflat' from project 'Dflat')
error: The package product 'FlatBuffers' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'SQLiteDflat' from project 'Dflat')
error: The package product 'Atomics' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'SQLiteDflat' from project 'Dflat')
** BUILD FAILED **
Command line invocation:
    /Applications/Xcode-15.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Dflat-Package -destination generic/platform=watchOS
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  Dflat: /Users/admin/builder/spi-builder-workspace
  SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.3.0
  swift-atomics: https://github.com/apple/swift-atomics.git @ 1.2.0
  SymbolKit: https://github.com/apple/swift-docc-symbolkit @ 1.0.0
  FlatBuffers: https://github.com/google/flatbuffers.git @ c92e78a
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (11 targets)
    Target 'Tests' in project 'Dflat'
        ➜ Explicit dependency on target 'Dflat' in project 'Dflat'
        ➜ Explicit dependency on target '_SQLiteDflatOSShim' in project 'Dflat'
        ➜ Explicit dependency on target 'SQLiteDflat' in project 'Dflat'
        ➜ Explicit dependency on target 'FlatBuffers' in project 'FlatBuffers'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target 'SQLiteDflat' in project 'Dflat'
        ➜ Explicit dependency on target 'SQLiteDflat' in project 'Dflat'
        ➜ Explicit dependency on target 'Dflat' in project 'Dflat'
        ➜ Explicit dependency on target '_SQLiteDflatOSShim' in project 'Dflat'
        ➜ Explicit dependency on target 'FlatBuffers' in project 'FlatBuffers'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target 'SQLiteDflat' in project 'Dflat'
        ➜ Explicit dependency on target 'Dflat' in project 'Dflat'
        ➜ Explicit dependency on target '_SQLiteDflatOSShim' in project 'Dflat'
        ➜ Explicit dependency on target 'FlatBuffers' in project 'FlatBuffers'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target '_SQLiteDflatOSShim' in project 'Dflat' (no dependencies)
    Target 'Dflat' in project 'Dflat'
        ➜ Explicit dependency on target 'Dflat' in project 'Dflat'
        ➜ Explicit dependency on target 'FlatBuffers' in project 'FlatBuffers'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target 'Dflat' in project 'Dflat'
        ➜ Explicit dependency on target 'FlatBuffers' in project 'FlatBuffers'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
    Target 'Atomics' in project 'swift-atomics'
        ➜ Explicit dependency on target 'Atomics' in project 'swift-atomics'
        ➜ Explicit dependency on target '_AtomicsShims' in project 'swift-atomics'
    Target 'Atomics' in project 'swift-atomics'
        ➜ Explicit dependency on target '_AtomicsShims' in project 'swift-atomics'
    Target '_AtomicsShims' in project 'swift-atomics' (no dependencies)
    Target 'FlatBuffers' in project 'FlatBuffers'
        ➜ Explicit dependency on target 'FlatBuffers' in project 'FlatBuffers'
    Target 'FlatBuffers' in project 'FlatBuffers' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
Build description signature: 38c98ddd960ed124e2be8224fcede1e5
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/38c98ddd960ed124e2be8224fcede1e5.xcbuilddata
error: The package product 'FlatBuffers' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'SQLiteDflat' from project 'Dflat')
error: The package product 'Atomics' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'SQLiteDflat' from project 'Dflat')
error: The package product 'FlatBuffers' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'Dflat' from project 'Dflat')
error: The package product 'Atomics' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'Dflat' from project 'Dflat')
** BUILD FAILED **
BUILD FAILURE 5.9 watchOS