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 BerkananFoundation, reference master (fdc3d3), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 04:44:57 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zssz/BerkananFoundation.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zssz/BerkananFoundation
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fdc3d36 First commit
Cloned https://github.com/zssz/BerkananFoundation.git
Revision (git rev-parse @):
fdc3d368825be15810195113b4275970bdda6b3a
SUCCESS checkout https://github.com/zssz/BerkananFoundation.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": "berkananfoundation",
      "name": "BerkananFoundation",
      "url": "https://github.com/zssz/BerkananFoundation.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BerkananFoundation",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/zssz/BerkananFoundation.git
[2/23] Fetching berkananfoundation
Fetched https://github.com/zssz/BerkananFoundation.git from cache (0.60s)
Creating working copy for https://github.com/zssz/BerkananFoundation.git
Working copy of https://github.com/zssz/BerkananFoundation.git resolved at master (fdc3d36)
warning: '.resolve-product-dependencies': dependency 'berkananfoundation' 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/zssz/BerkananFoundation.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/6] Compiling BerkananFoundation String+Quotes.swift
[4/6] Compiling BerkananFoundation Types+DataRepresentable.swift
[5/6] Emitting module BerkananFoundation
[6/6] Compiling BerkananFoundation DataRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/BerkananFoundation/DataRepresentable.swift:36:25: warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
34 |   public var dataRepresentation: Data {
35 |     var value = self
36 |     return Data(buffer: UnsafeBufferPointer(start: &value, count: 1))
   |                         |                          |- note: implicit argument conversion from 'Self' to 'UnsafePointer<Self>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
   |                         |                          `- note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                         `- warning: initialization of 'UnsafeBufferPointer<Self>' results in a dangling buffer pointer
37 |   }
38 | }
Build complete! (7.12s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BerkananFoundation",
  "name" : "BerkananFoundation",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "BerkananFoundation",
      "targets" : [
        "BerkananFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BerkananFoundationTests",
      "module_type" : "SwiftTarget",
      "name" : "BerkananFoundationTests",
      "path" : "Tests/BerkananFoundationTests",
      "sources" : [
        "BerkananFoundationTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "BerkananFoundation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BerkananFoundation",
      "module_type" : "SwiftTarget",
      "name" : "BerkananFoundation",
      "path" : "Sources/BerkananFoundation",
      "product_memberships" : [
        "BerkananFoundation"
      ],
      "sources" : [
        "DataRepresentable.swift",
        "String+Quotes.swift",
        "Types+DataRepresentable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.