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 FlatBuffers, reference master (31beb0), with Swift 6.1 for macOS (SPM) on 25 Jun 2025 10:58:19 UTC.

Swift 6 data race errors: 1

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/flatbuffers.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/google/flatbuffers
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 31beb0f Bugfix: grpc python code generation location and file suffix (#8359)
Cloned https://github.com/google/flatbuffers.git
Revision (git rev-parse @):
31beb0fb2fa3cbd77e18c0481cb268b7b3404e69
SUCCESS checkout https://github.com/google/flatbuffers.git at master
========================================
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": "flatbuffers",
      "name": "FlatBuffers",
      "url": "https://github.com/google/flatbuffers.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/flatbuffers",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/google/flatbuffers.git
[1/87534] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (4.58s)
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at master (31beb0f)
warning: '.resolve-product-dependencies': dependency 'flatbuffers' 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/google/flatbuffers.git
https://github.com/google/flatbuffers.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FlatBuffers",
  "name" : "FlatBuffers",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "FlatBuffers",
      "targets" : [
        "FlatBuffers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FlexBuffers",
      "targets" : [
        "FlexBuffers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FlexBuffers",
      "module_type" : "SwiftTarget",
      "name" : "FlexBuffers",
      "path" : "swift/Sources/FlexBuffers",
      "product_memberships" : [
        "FlexBuffers"
      ],
      "sources" : [
        "ByteBuffer.swift",
        "FlexBufferType.swift",
        "Reader/FixedTypedVector.swift",
        "Reader/FlexBufferVector.swift",
        "Reader/Map.swift",
        "Reader/Reference.swift",
        "Reader/Sized.swift",
        "Reader/TypedVector.swift",
        "Reader/Vector.swift",
        "Utils/BitWidth.swift",
        "Utils/Constants.swift",
        "Utils/Value.swift",
        "Utils/functions.swift",
        "Writer/FlexBuffersWriter.swift",
        "_InternalByteBuffer.swift"
      ],
      "target_dependencies" : [
        "Common"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FlatBuffers",
      "module_type" : "SwiftTarget",
      "name" : "FlatBuffers",
      "path" : "swift/Sources/FlatBuffers",
      "product_memberships" : [
        "FlatBuffers"
      ],
      "sources" : [
        "ByteBuffer.swift",
        "Constants.swift",
        "Enum.swift",
        "FlatBufferBuilder.swift",
        "FlatBufferObject.swift",
        "FlatBuffersUtils.swift",
        "FlatbuffersErrors.swift",
        "Message.swift",
        "Mutable.swift",
        "NativeObject.swift",
        "Offset.swift",
        "Root.swift",
        "String+extension.swift",
        "Struct.swift",
        "Table.swift",
        "TableVerifier.swift",
        "VeriferOptions.swift",
        "Verifiable.swift",
        "Verifier.swift",
        "_InternalByteBuffer.swift"
      ],
      "target_dependencies" : [
        "Common"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Common",
      "module_type" : "SwiftTarget",
      "name" : "Common",
      "path" : "swift/Sources/Common",
      "product_memberships" : [
        "FlatBuffers",
        "FlexBuffers"
      ],
      "sources" : [
        "Int+extension.swift",
        "Scalar.swift",
        "padding.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/8] Compiling Common padding.swift
[6/8] Compiling Common Int+extension.swift
[7/8] Emitting module Common
[8/8] Compiling Common Scalar.swift
[9/42] Compiling FlatBuffers FlatBufferObject.swift
[10/42] Compiling FlatBuffers FlatBuffersUtils.swift
[11/44] Compiling FlexBuffers ByteBuffer.swift
[12/44] Compiling FlexBuffers FlexBufferType.swift
[13/44] Compiling FlatBuffers Offset.swift
[14/44] Compiling FlatBuffers Root.swift
[15/44] Compiling FlatBuffers Mutable.swift
[16/44] Compiling FlatBuffers NativeObject.swift
[17/44] Compiling FlatBuffers VeriferOptions.swift
[18/44] Compiling FlatBuffers Verifiable.swift
[19/44] Compiling FlatBuffers Enum.swift
[20/44] Compiling FlatBuffers FlatBufferBuilder.swift
[21/45] Compiling FlatBuffers ByteBuffer.swift
[22/45] Compiling FlatBuffers Constants.swift
/Users/admin/builder/spi-builder-workspace/swift/Sources/FlexBuffers/ByteBuffer.swift:296:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused
294 |     assert(index < _storage.capacity, "Write index is out of writing bound")
295 |     assert(index >= 0, "Writer index should be above zero")
296 |     withUnsafePointer(to: value) { ptr in
    |     `- warning: result of call to 'withUnsafePointer(to:_:)' is unused
297 |       _storage.withUnsafeRawPointer {
298 |         memcpy(
/Users/admin/builder/spi-builder-workspace/swift/Sources/FlexBuffers/ByteBuffer.swift:296:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused
294 |     assert(index < _storage.capacity, "Write index is out of writing bound")
295 |     assert(index >= 0, "Writer index should be above zero")
296 |     withUnsafePointer(to: value) { ptr in
    |     `- warning: result of call to 'withUnsafePointer(to:_:)' is unused
297 |       _storage.withUnsafeRawPointer {
298 |         memcpy(
[25/45] Emitting module FlexBuffers
/Users/admin/builder/spi-builder-workspace/swift/Sources/FlexBuffers/Utils/Value.swift:98:14: warning: static property 'nil' is not concurrency-safe because non-'Sendable' type 'Value' may have shared mutable state; this is an error in the Swift 6 language mode
 17 | import Foundation
 18 |
 19 | public struct Value: Equatable {
    |               `- note: consider making struct 'Value' conform to the 'Sendable' protocol
 20 |
 21 |   @usableFromInline
    :
 96 |   }
 97 |
 98 |   static let `nil` = Value()
    |              |- warning: static property 'nil' is not concurrency-safe because non-'Sendable' type 'Value' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'nil' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/swift/Sources/FlatBuffers/ByteBuffer.swift:296:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused
294 |     assert(index < _storage.capacity, "Write index is out of writing bound")
295 |     assert(index >= 0, "Writer index should be above zero")
296 |     withUnsafePointer(to: value) { ptr in
    |     `- warning: result of call to 'withUnsafePointer(to:_:)' is unused
297 |       _storage.withUnsafeRawPointer {
298 |         memcpy(
/Users/admin/builder/spi-builder-workspace/swift/Sources/FlatBuffers/ByteBuffer.swift:296:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused
294 |     assert(index < _storage.capacity, "Write index is out of writing bound")
295 |     assert(index >= 0, "Writer index should be above zero")
296 |     withUnsafePointer(to: value) { ptr in
    |     `- warning: result of call to 'withUnsafePointer(to:_:)' is unused
297 |       _storage.withUnsafeRawPointer {
298 |         memcpy(
[30/45] Emitting module FlatBuffers
[31/45] Compiling FlexBuffers Value.swift
/Users/admin/builder/spi-builder-workspace/swift/Sources/FlexBuffers/Utils/Value.swift:98:14: warning: static property 'nil' is not concurrency-safe because non-'Sendable' type 'Value' may have shared mutable state; this is an error in the Swift 6 language mode
 17 | import Foundation
 18 |
 19 | public struct Value: Equatable {
    |               `- note: consider making struct 'Value' conform to the 'Sendable' protocol
 20 |
 21 |   @usableFromInline
    :
 96 |   }
 97 |
 98 |   static let `nil` = Value()
    |              |- warning: static property 'nil' is not concurrency-safe because non-'Sendable' type 'Value' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'nil' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 | }
100 |
[32/45] Compiling FlexBuffers Constants.swift
[37/45] Compiling FlexBuffers functions.swift
/Users/admin/builder/spi-builder-workspace/swift/Sources/FlexBuffers/Utils/functions.swift:93:41: warning: 'vectorString' is deprecated: use FBT_VECTOR or FBT_VECTOR_KEY instead.
 91 | @inline(__always)
 92 | func isTypedVectorType(type: FlexBufferType) -> Bool {
 93 |   return type >= .vectorInt && type <= .vectorString || type == .vectorBool
    |                                         `- warning: 'vectorString' is deprecated: use FBT_VECTOR or FBT_VECTOR_KEY instead.
 94 | }
 95 |
[38/45] Compiling FlexBuffers FlexBuffersWriter.swift
[39/45] Compiling FlexBuffers _InternalByteBuffer.swift
[40/45] Compiling FlatBuffers String+extension.swift
[41/45] Compiling FlatBuffers Struct.swift
[42/45] Compiling FlatBuffers Table.swift
[43/45] Compiling FlatBuffers TableVerifier.swift
[44/45] Compiling FlatBuffers Verifier.swift
/Users/admin/builder/spi-builder-workspace/swift/Sources/FlatBuffers/_InternalByteBuffer.swift:256:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused
254 |     assert(index < _storage.capacity, "Write index is out of writing bound")
255 |     assert(index >= 0, "Writer index should be above zero")
256 |     withUnsafePointer(to: value) {
    |     `- warning: result of call to 'withUnsafePointer(to:_:)' is unused
257 |       memcpy(
258 |         _storage.memory.advanced(by: index),
[45/45] Compiling FlatBuffers _InternalByteBuffer.swift
/Users/admin/builder/spi-builder-workspace/swift/Sources/FlatBuffers/_InternalByteBuffer.swift:256:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused
254 |     assert(index < _storage.capacity, "Write index is out of writing bound")
255 |     assert(index >= 0, "Writer index should be above zero")
256 |     withUnsafePointer(to: value) {
    |     `- warning: result of call to 'withUnsafePointer(to:_:)' is unused
257 |       memcpy(
258 |         _storage.memory.advanced(by: index),
Build complete! (7.24s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FlatBuffers",
  "name" : "FlatBuffers",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "FlatBuffers",
      "targets" : [
        "FlatBuffers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FlexBuffers",
      "targets" : [
        "FlexBuffers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FlexBuffers",
      "module_type" : "SwiftTarget",
      "name" : "FlexBuffers",
      "path" : "swift/Sources/FlexBuffers",
      "product_memberships" : [
        "FlexBuffers"
      ],
      "sources" : [
        "ByteBuffer.swift",
        "FlexBufferType.swift",
        "Reader/FixedTypedVector.swift",
        "Reader/FlexBufferVector.swift",
        "Reader/Map.swift",
        "Reader/Reference.swift",
        "Reader/Sized.swift",
        "Reader/TypedVector.swift",
        "Reader/Vector.swift",
        "Utils/BitWidth.swift",
        "Utils/Constants.swift",
        "Utils/Value.swift",
        "Utils/functions.swift",
        "Writer/FlexBuffersWriter.swift",
        "_InternalByteBuffer.swift"
      ],
      "target_dependencies" : [
        "Common"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FlatBuffers",
      "module_type" : "SwiftTarget",
      "name" : "FlatBuffers",
      "path" : "swift/Sources/FlatBuffers",
      "product_memberships" : [
        "FlatBuffers"
      ],
      "sources" : [
        "ByteBuffer.swift",
        "Constants.swift",
        "Enum.swift",
        "FlatBufferBuilder.swift",
        "FlatBufferObject.swift",
        "FlatBuffersUtils.swift",
        "FlatbuffersErrors.swift",
        "Message.swift",
        "Mutable.swift",
        "NativeObject.swift",
        "Offset.swift",
        "Root.swift",
        "String+extension.swift",
        "Struct.swift",
        "Table.swift",
        "TableVerifier.swift",
        "VeriferOptions.swift",
        "Verifiable.swift",
        "Verifier.swift",
        "_InternalByteBuffer.swift"
      ],
      "target_dependencies" : [
        "Common"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Common",
      "module_type" : "SwiftTarget",
      "name" : "Common",
      "path" : "swift/Sources/Common",
      "product_memberships" : [
        "FlatBuffers",
        "FlexBuffers"
      ],
      "sources" : [
        "Int+extension.swift",
        "Scalar.swift",
        "padding.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.