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.2 (beta) for Linux on 25 Jun 2025 11:00:30 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/google/flatbuffers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/8] Emitting module Common
[6/8] Compiling Common Scalar.swift
[7/8] Compiling Common Int+extension.swift
[8/8] Compiling Common padding.swift
[10/43] Emitting module FlexBuffers
[11/43] Compiling FlexBuffers ByteBuffer.swift
/host/spi-builder-workspace/swift/Sources/FlexBuffers/ByteBuffer.swift:296:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused [#no-usage]
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 [#no-usage]
297 |       _storage.withUnsafeRawPointer {
298 |         memcpy(
[12/43] Compiling FlexBuffers FlexBufferType.swift
/host/spi-builder-workspace/swift/Sources/FlexBuffers/ByteBuffer.swift:296:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused [#no-usage]
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 [#no-usage]
297 |       _storage.withUnsafeRawPointer {
298 |         memcpy(
[13/44] Compiling FlexBuffers Vector.swift
[14/44] Compiling FlexBuffers BitWidth.swift
[15/44] Compiling FlexBuffers FlexBufferVector.swift
[16/44] Compiling FlexBuffers Map.swift
[17/44] Compiling FlexBuffers Reference.swift
[18/46] Compiling FlexBuffers functions.swift
[19/46] Compiling FlexBuffers FlexBuffersWriter.swift
[20/46] Compiling FlexBuffers Sized.swift
[21/46] Compiling FlexBuffers TypedVector.swift
[22/46] Compiling FlexBuffers FixedTypedVector.swift
[26/46] Compiling FlexBuffers _InternalByteBuffer.swift
/host/spi-builder-workspace/swift/Sources/FlatBuffers/ByteBuffer.swift:296:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused [#no-usage]
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 [#no-usage]
297 |       _storage.withUnsafeRawPointer {
298 |         memcpy(
/host/spi-builder-workspace/swift/Sources/FlatBuffers/ByteBuffer.swift:296:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused [#no-usage]
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 [#no-usage]
297 |       _storage.withUnsafeRawPointer {
298 |         memcpy(
/host/spi-builder-workspace/swift/Sources/FlatBuffers/ByteBuffer.swift:296:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused [#no-usage]
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 [#no-usage]
297 |       _storage.withUnsafeRawPointer {
298 |         memcpy(
[30/46] Emitting module FlatBuffers
[34/46] Compiling FlatBuffers Verifier.swift
/host/spi-builder-workspace/swift/Sources/FlatBuffers/_InternalByteBuffer.swift:256:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused [#no-usage]
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 [#no-usage]
257 |       memcpy(
258 |         _storage.memory.advanced(by: index),
[35/46] Compiling FlatBuffers _InternalByteBuffer.swift
/host/spi-builder-workspace/swift/Sources/FlatBuffers/_InternalByteBuffer.swift:256:5: warning: result of call to 'withUnsafePointer(to:_:)' is unused [#no-usage]
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 [#no-usage]
257 |       memcpy(
258 |         _storage.memory.advanced(by: index),
[36/46] Compiling FlexBuffers Constants.swift
[37/46] Compiling FlexBuffers Value.swift
/host/spi-builder-workspace/swift/Sources/FlexBuffers/Utils/functions.swift:93:41: warning: 'vectorString' is deprecated: use FBT_VECTOR or FBT_VECTOR_KEY instead. [#DeprecatedDeclaration]
 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. [#DeprecatedDeclaration]
 94 | }
 95 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/swift/Sources/FlexBuffers/Utils/functions.swift:93:41: warning: 'vectorString' is deprecated: use FBT_VECTOR or FBT_VECTOR_KEY instead. [#DeprecatedDeclaration]
 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. [#DeprecatedDeclaration]
 94 | }
 95 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[41/47] Compiling FlatBuffers String+extension.swift
[42/47] Compiling FlatBuffers Struct.swift
[43/47] Compiling FlatBuffers Table.swift
[44/47] Compiling FlatBuffers TableVerifier.swift
Build complete! (24.54s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FlatBuffers",
  "name" : "FlatBuffers",
  "path" : "/host/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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.