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 AtariKit, reference master (1038a5), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 08:44:34 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/octadero/atarikit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/octadero/atarikit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1038a54 Fixed memory leak issues.
Cloned https://github.com/octadero/atarikit.git
Revision (git rev-parse @):
1038a54d163eb3dfd0fcd619b32eaeffc81ff1a4
SUCCESS checkout https://github.com/octadero/atarikit.git at master
Fetching https://github.com/Octadero/CALE.git
[1/17] Fetching cale
Fetched https://github.com/Octadero/CALE.git from cache (0.61s)
Computing version for https://github.com/Octadero/CALE.git
Computed https://github.com/Octadero/CALE.git at 0.0.2 (0.67s)
Creating working copy for https://github.com/Octadero/CALE.git
Working copy of https://github.com/Octadero/CALE.git resolved at 0.0.2
========================================
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": "atarikit",
      "name": "AtariKit",
      "url": "https://github.com/octadero/atarikit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/atarikit",
      "dependencies": [
        {
          "identity": "cale",
          "name": "CALE",
          "url": "https://github.com/Octadero/CALE.git",
          "version": "0.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CALE",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/octadero/atarikit.git
[1/117] Fetching atarikit
Fetched https://github.com/octadero/atarikit.git from cache (0.88s)
Fetching https://github.com/Octadero/CALE.git from cache
Fetched https://github.com/Octadero/CALE.git from cache (0.48s)
Computing version for https://github.com/Octadero/CALE.git
Computed https://github.com/Octadero/CALE.git at 0.0.2 (0.02s)
Creating working copy for https://github.com/Octadero/CALE.git
Working copy of https://github.com/Octadero/CALE.git resolved at 0.0.2
Creating working copy for https://github.com/octadero/atarikit.git
Working copy of https://github.com/octadero/atarikit.git resolved at master (1038a54)
warning: 'cale': ignoring declared target(s) 'CALE' in the system package
warning: '.resolve-product-dependencies': dependency 'atarikit' is not used by any target
Found 1 product dependencies
  - CALE
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/octadero/atarikit.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/4] Write sources
[1/4] Write swift-version--7754E27361AE5C74.txt
[3/6] Emitting module AtariKit
[4/6] Compiling AtariKit AtariKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:80:23: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 78 |
 79 |         // deallocate default value
 80 |         bufferPointer.deallocate(capacity: 0)
    |                       `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
 81 |         bufferPointer = UnsafeMutablePointer<UInt8>.allocate(capacity: count)
 82 |         bufferPointer.initialize(to: 0, count: count)
/Users/admin/builder/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:82:23: warning: 'initialize(to:count:)' is deprecated: renamed to 'initialize(repeating:count:)'
 80 |         bufferPointer.deallocate(capacity: 0)
 81 |         bufferPointer = UnsafeMutablePointer<UInt8>.allocate(capacity: count)
 82 |         bufferPointer.initialize(to: 0, count: count)
    |                       |- warning: 'initialize(to:count:)' is deprecated: renamed to 'initialize(repeating:count:)'
    |                       `- note: use 'initialize(repeating:count:)' instead
 83 |     }
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:100:17: warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
 98 |         let buffer = UnsafeBufferPointer(start: actions, count: count)
 99 |         let arrayOfActions = Array(buffer)
100 |         actions.deinitialize()
    |                 `- warning: 'deinitialize()' is deprecated: the default argument to deinitialize(count:) has been removed, please specify the count explicitly
101 |
102 |         return arrayOfActions.flatMap { EnvironmentAction(rawValue: $0) }
/Users/admin/builder/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:102:31: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
100 |         actions.deinitialize()
101 |
102 |         return arrayOfActions.flatMap { EnvironmentAction(rawValue: $0) }
    |                               |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |                               `- note: use 'compactMap(_:)' instead
103 |     }
104 |
/Users/admin/builder/spi-builder-workspace/Sources/AtariKit/AtariKit.swift:167:23: warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
165 |
166 |     deinit {
167 |         bufferPointer.deallocate(capacity: pixelsCount)
    |                       `- warning: 'deallocate(capacity:)' is deprecated: Swift currently only supports freeing entire heap blocks, use deallocate() instead
168 |         CALE.ALE_del(aleInterface)
169 |     }
[4/6] Write Objects.LinkFileList
[5/6] Archiving libAtariKit.a
Build complete! (6.09s)
warning: 'cale': ignoring declared target(s) 'CALE' in the system package
warning: 'spi-builder-workspace': dependency 'cale' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for ale
Build complete.
{
  "c_language_standard" : "c11",
  "cxx_language_standard" : "c++11",
  "dependencies" : [
    {
      "identity" : "cale",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Octadero/CALE.git"
    }
  ],
  "manifest_display_name" : "AtariKit",
  "name" : "AtariKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AtariKit",
      "targets" : [
        "AtariKit"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AtariKitTests",
      "module_type" : "SwiftTarget",
      "name" : "AtariKitTests",
      "path" : "Tests/AtariKitTests",
      "sources" : [
        "AtariKitTests.swift"
      ],
      "target_dependencies" : [
        "AtariKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AtariKit",
      "module_type" : "SwiftTarget",
      "name" : "AtariKit",
      "path" : "Sources/AtariKit",
      "product_memberships" : [
        "AtariKit"
      ],
      "sources" : [
        "AtariKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.