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 Android on 25 Jun 2025 10:58:16 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/8] Compiling Common padding.swift
[6/8] Compiling Common Scalar.swift
[7/8] Emitting module Common
[8/8] Compiling Common Int+extension.swift
[10/43] Compiling FlatBuffers FlatbuffersErrors.swift
[11/43] Compiling FlatBuffers Message.swift
[12/43] Compiling FlatBuffers Mutable.swift
[13/43] Compiling FlatBuffers NativeObject.swift
[14/43] Compiling FlatBuffers Constants.swift
[15/43] Compiling FlatBuffers Enum.swift
[16/44] Emitting module FlatBuffers
[17/46] Emitting module FlexBuffers
[18/46] Compiling FlatBuffers FlatBuffersUtils.swift
[19/46] Compiling FlatBuffers ByteBuffer.swift
[20/46] Compiling FlatBuffers FlatBufferBuilder.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(
[21/46] Compiling FlatBuffers FlatBufferObject.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(
[22/46] Compiling FlatBuffers Offset.swift
[23/46] Compiling FlatBuffers Root.swift
[30/46] Compiling FlatBuffers VeriferOptions.swift
[31/46] Compiling FlatBuffers Verifiable.swift
[32/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(
[39/46] Compiling FlexBuffers functions.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>
[40/46] Compiling FlexBuffers FlexBuffersWriter.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>
[42/47] 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),
[43/47] 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),
[44/47] Compiling FlatBuffers Table.swift
[45/47] Compiling FlatBuffers TableVerifier.swift
Build complete! (17.71s)
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"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.