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 DataStructure, reference master (2b38bd), with Swift 6.0 for macOS (SPM) on 30 Oct 2024 19:21:49 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/ikhsan/datastructure.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ikhsan/datastructure
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2b38bdf Use swift tools 4.1
Cloned https://github.com/ikhsan/datastructure.git
Revision (git rev-parse @):
2b38bdf5505c7f5b9b7f604d8324c0c58462bd80
SUCCESS checkout https://github.com/ikhsan/datastructure.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": "datastructure",
      "name": "DataStructure",
      "url": "https://github.com/ikhsan/datastructure.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/datastructure",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ikhsan/datastructure.git
[1/263] Fetching datastructure
Fetched https://github.com/ikhsan/datastructure.git from cache (1.39s)
Creating working copy for https://github.com/ikhsan/datastructure.git
Working copy of https://github.com/ikhsan/datastructure.git resolved at master (2b38bdf)
warning: '.resolve-product-dependencies': dependency 'datastructure' 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/ikhsan/datastructure.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/9] Compiling DataStructure LinkedList.swift
[4/9] Compiling DataStructure Stack.swift
[5/9] Compiling DataStructure Graph.swift
[6/9] Compiling DataStructure Queue.swift
[7/9] Emitting module DataStructure
[8/9] Compiling DataStructure BinaryTree.swift
[9/9] Compiling DataStructure Tree.swift
Build complete! (9.53s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DataStructure",
  "name" : "DataStructure",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DataStructure",
      "targets" : [
        "DataStructure"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataStructureTests",
      "module_type" : "SwiftTarget",
      "name" : "DataStructureTests",
      "path" : "Tests/DataStructureTests",
      "sources" : [
        "BinaryTreeTests.swift",
        "GraphTests.swift",
        "LinkedListTests.swift",
        "QueueTests.swift",
        "StackTests.swift",
        "TreeTests.swift"
      ],
      "target_dependencies" : [
        "DataStructure"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataStructure",
      "module_type" : "SwiftTarget",
      "name" : "DataStructure",
      "path" : "Sources/DataStructure",
      "product_memberships" : [
        "DataStructure"
      ],
      "sources" : [
        "BinaryTree.swift",
        "Graph.swift",
        "LinkedList.swift",
        "Queue.swift",
        "Stack.swift",
        "Tree.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.