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 Linux on 25 Jun 2025 11:00:24 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 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.1
Building package at path:  $PWD
https://github.com/google/flatbuffers.git
https://github.com/google/flatbuffers.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/8] Compiling Common Scalar.swift
[6/8] Compiling Common padding.swift
[7/8] Emitting module Common
[8/8] Compiling Common Int+extension.swift
[10/43] Compiling FlatBuffers ByteBuffer.swift
[11/43] Compiling FlatBuffers Constants.swift
[12/44] Compiling FlatBuffers VeriferOptions.swift
[13/44] Compiling FlatBuffers Verifiable.swift
[14/46] Compiling FlatBuffers FlatbuffersErrors.swift
[15/46] Compiling FlatBuffers Message.swift
[16/46] Compiling FlatBuffers Mutable.swift
[17/46] Compiling FlatBuffers Enum.swift
[18/46] Compiling FlatBuffers String+extension.swift
[19/46] Compiling FlatBuffers FlatBuffersUtils.swift
[21/46] Compiling FlatBuffers FlatBufferBuilder.swift
[22/46] Compiling FlatBuffers FlatBufferObject.swift
[23/46] Emitting module FlatBuffers
/host/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(
/host/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(
[26/46] Emitting module FlexBuffers
/host/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 |
[28/46] Compiling FlatBuffers Struct.swift
[29/46] Compiling FlatBuffers NativeObject.swift
[30/46] Compiling FlatBuffers Offset.swift
[31/46] Compiling FlatBuffers Root.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
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(
/host/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(
/host/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(
[39/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
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),
[40/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
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),
/host/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 |
/host/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 |
/host/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 |
/host/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 |
[46/47] Compiling FlatBuffers Table.swift
[47/47] Compiling FlatBuffers TableVerifier.swift
Build complete! (17.63s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.