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

Successful build of FlatBuffers, reference master (5f453e), with Swift 6.0 for macOS (SPM) on 12 Nov 2024 12:22:11 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.57.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 5f453ef Removes 'size' and 'alignment' as Rust keywords (#8139)
Cloned https://github.com/google/flatbuffers.git
Revision (git rev-parse @):
5f453ef738d74a29f1391b8f2e4bbfa8e6ac6a0e
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/83566] Fetching flatbuffers
Fetched https://github.com/google/flatbuffers.git from cache (5.33s)
Creating working copy for https://github.com/google/flatbuffers.git
Working copy of https://github.com/google/flatbuffers.git resolved at master (5f453ef)
warning: '.resolve-product-dependencies': dependency 'flatbuffers' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/google/flatbuffers.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/21] Compiling FlatBuffers TableVerifier.swift
[4/21] Compiling FlatBuffers VeriferOptions.swift
[5/23] Compiling FlatBuffers Root.swift
[6/23] Compiling FlatBuffers String+extension.swift
[7/23] Compiling FlatBuffers Struct.swift
[8/23] Compiling FlatBuffers Table.swift
[9/23] Compiling FlatBuffers NativeObject.swift
[10/23] Compiling FlatBuffers Offset.swift
[11/23] Compiling FlatBuffers FlatbuffersErrors.swift
[12/23] Compiling FlatBuffers Int+extension.swift
[13/23] Compiling FlatBuffers FlatBufferObject.swift
[14/23] Compiling FlatBuffers FlatBuffersUtils.swift
[15/23] Emitting module FlatBuffers
[16/23] Compiling FlatBuffers Message.swift
[17/23] Compiling FlatBuffers Mutable.swift
[18/23] Compiling FlatBuffers ByteBuffer.swift
[19/23] Compiling FlatBuffers Constants.swift
[20/23] Compiling FlatBuffers Enum.swift
[21/23] Compiling FlatBuffers FlatBufferBuilder.swift
[22/23] Compiling FlatBuffers Verifiable.swift
[23/23] Compiling FlatBuffers Verifier.swift
Build complete! (15.08s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FlatBuffers",
  "name" : "FlatBuffers",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "FlatBuffers",
      "targets" : [
        "FlatBuffers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FlatBuffers",
      "module_type" : "SwiftTarget",
      "name" : "FlatBuffers",
      "path" : "swift/Sources",
      "product_memberships" : [
        "FlatBuffers"
      ],
      "sources" : [
        "FlatBuffers/ByteBuffer.swift",
        "FlatBuffers/Constants.swift",
        "FlatBuffers/Enum.swift",
        "FlatBuffers/FlatBufferBuilder.swift",
        "FlatBuffers/FlatBufferObject.swift",
        "FlatBuffers/FlatBuffersUtils.swift",
        "FlatBuffers/FlatbuffersErrors.swift",
        "FlatBuffers/Int+extension.swift",
        "FlatBuffers/Message.swift",
        "FlatBuffers/Mutable.swift",
        "FlatBuffers/NativeObject.swift",
        "FlatBuffers/Offset.swift",
        "FlatBuffers/Root.swift",
        "FlatBuffers/String+extension.swift",
        "FlatBuffers/Struct.swift",
        "FlatBuffers/Table.swift",
        "FlatBuffers/TableVerifier.swift",
        "FlatBuffers/VeriferOptions.swift",
        "FlatBuffers/Verifiable.swift",
        "FlatBuffers/Verifier.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.