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 FoundationPlus, reference 0.2.2 (012a2f), with Swift 6.0 for macOS (SPM) on 17 Jan 2025 13:39:28 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Star-Lord-PHB/foundation-plus.git
Reference: 0.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Star-Lord-PHB/foundation-plus
 * tag               0.2.2      -> FETCH_HEAD
HEAD is now at 012a2f2 Merge branch 'main' of https://github.com/Star-Lord-PHB/FoundationPlus
Cloned https://github.com/Star-Lord-PHB/foundation-plus.git
Revision (git rev-parse @):
012a2f2b2b26414674194c8a6ceb1729876980f7
SUCCESS checkout https://github.com/Star-Lord-PHB/foundation-plus.git at 0.2.2
Fetching https://github.com/apple/swift-system.git
[1/3960] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.46s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
========================================
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": "foundation-plus",
      "name": "FoundationPlus",
      "url": "https://github.com/Star-Lord-PHB/foundation-plus.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/foundation-plus",
      "dependencies": [
        {
          "identity": "swift-system",
          "name": "swift-system",
          "url": "https://github.com/apple/swift-system.git",
          "version": "1.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Star-Lord-PHB/foundation-plus.git
[1/405] Fetching foundation-plus
Fetched https://github.com/Star-Lord-PHB/foundation-plus.git from cache (0.91s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.54s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.02s)
Creating working copy for https://github.com/Star-Lord-PHB/foundation-plus.git
Working copy of https://github.com/Star-Lord-PHB/foundation-plus.git resolved at 0.2.2 (012a2f2)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
warning: '.resolve-product-dependencies': dependency 'foundation-plus' is not used by any target
Found 1 product dependencies
  - swift-system
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Star-Lord-PHB/foundation-plus.git
https://github.com/Star-Lord-PHB/foundation-plus.git
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    }
  ],
  "manifest_display_name" : "FoundationPlus",
  "name" : "FoundationPlus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "FoundationPlus",
      "targets" : [
        "FoundationPlus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GlibcInterop",
      "module_type" : "ClangTarget",
      "name" : "GlibcInterop",
      "path" : "Sources/GlibcInterop",
      "sources" : [
        "FSIOC.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FoundationPlusTests",
      "module_type" : "SwiftTarget",
      "name" : "FoundationPlusTests",
      "path" : "Tests/FoundationPlusTests",
      "sources" : [
        "CollectionTest/CollectionPerformanceTest.swift",
        "CollectionTest/CollectionTest.swift",
        "CollectionTest/NonBidirectionalCollection.swift",
        "CollectionTest/NonBidirectionalCollectionTest.swift",
        "DateTest/CreateDateTest.swift",
        "DateTest/DateArithmeticTest.swift",
        "DateTest/DateComparisonTest.swift",
        "DateTest/DateComponentsTest.swift",
        "DateTest/DateQuickAccessorTest.swift",
        "DateTest/DateTest.swift",
        "DurationCompatTest.swift",
        "ExecuteTest.swift",
        "FileManagerTest/CopyFileTest.swift",
        "FileManagerTest/CreateFileTest.swift",
        "FileManagerTest/FileInfoTest.swift",
        "FileManagerTest/FileManagerTest.swift",
        "FileManagerTest/Helpers.swift",
        "FileManagerTest/MoveFileTest.swift",
        "FileManagerTest/PathTest.swift",
        "FileManagerTest/ReadHandleCreationTest.swift",
        "FileManagerTest/ReadWriteTest.swift",
        "FileManagerTest/RemoveFileTest.swift",
        "FileManagerTest/SymbolicLinkTest.swift",
        "FileManagerTest/WriteHandleCreationTest.swift",
        "LaunchTaskTest.swift",
        "TaskExecutorTest.swift"
      ],
      "target_dependencies" : [
        "FoundationPlus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FoundationPlusEssential",
      "module_type" : "SwiftTarget",
      "name" : "FoundationPlusEssential",
      "path" : "Sources/Essential",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "ArithmeticOperator.swift",
        "Canceller.swift",
        "Clock.swift",
        "Collection/BidirectionalCollection.swift",
        "Collection/Collection.swift",
        "Collection/MutableCollection.swift",
        "Collection/RangeReplaceableCollection.swift",
        "Collection/Sequence.swift",
        "Duration/Duration.swift",
        "Duration/DurationCompat+DurationProtocol.swift",
        "Duration/DurationCompat.swift",
        "Export.swift",
        "Numeric.swift",
        "String.swift",
        "URL.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "ConcurrencyPlus"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FoundationPlus",
      "module_type" : "SwiftTarget",
      "name" : "FoundationPlus",
      "path" : "Sources/FoundationPlus",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "Export.swift"
      ],
      "target_dependencies" : [
        "FoundationPlusEssential",
        "FileManagerPlus",
        "ConcurrencyPlus",
        "DatePlus"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FileManagerPlus",
      "module_type" : "SwiftTarget",
      "name" : "FileManagerPlus",
      "path" : "Sources/FileManagerPlus",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "CocoaError+FileError.swift",
        "Data.swift",
        "Export.swift",
        "FileHandle+Async.swift",
        "FileHandle+FilePath.swift",
        "FileInfo/FileManager+FileInfo.swift",
        "FileInfo/FileManager+FileInfoOperations.swift",
        "FileInfo/FileTimeStamp.swift",
        "FileManager+CreateFileHandle.swift",
        "FileManager+CreateItem.swift",
        "FileManager+FileAttributesWrapper.swift",
        "FileManager+Link.swift",
        "FileManager+MoveCopy.swift",
        "FileManager+Paths.swift",
        "FileManager+ReadWrite.swift",
        "FileManager+Remove.swift",
        "FileManager+Utils.swift",
        "Platform/FileManager+POSIXPermission.swift",
        "Platform/POSIXError+errno.swift",
        "Platform/PlatformFileFlags+Darwin.swift",
        "Platform/PlatformFileFlags+Linux.swift",
        "Platform/PlatformFileFlags+Windows.swift",
        "Platform/PlatformFileFlags.swift",
        "Platform/PosixFileType.swift",
        "Platform/PosixTimeSpec.swift",
        "Platform/WindowsError.swift",
        "Platform/WindowsFileAccessMode.swift",
        "Platform/WindowsFileTime.swift",
        "Platform/WindowsFileUtils.swift",
        "Platform/WindowsString.swift",
        "URL+filePath.swift"
      ],
      "target_dependencies" : [
        "ConcurrencyPlus",
        "FoundationPlusEssential"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DatePlus",
      "module_type" : "SwiftTarget",
      "name" : "DatePlus",
      "path" : "Sources/DatePlus",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "Calendar+MeasurableComponent.swift",
        "Date+Arithmetic.swift",
        "Date+Comparison.swift",
        "Date+Components.swift",
        "Date+Parsing.swift",
        "Date+QuickAccessor.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ConcurrencyPlus",
      "module_type" : "SwiftTarget",
      "name" : "ConcurrencyPlus",
      "path" : "Sources/ConcurrencyPlus",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "Task.swift",
        "TaskExecutor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/9] Write sources
[6/9] Compiling CSystem shims.c
[7/9] Compiling GlibcInterop FSIOC.c
[8/9] Write swift-version-5BDAB9E9C0126B9D.txt
[10/47] Emitting module SystemPackage
[11/47] Compiling SystemPackage Errno.swift
[12/47] Compiling SystemPackage ErrnoWindows.swift
[13/47] Compiling SystemPackage FileDescriptor.swift
[14/50] Compiling SystemPackage FilePathTempPosix.swift
[15/50] Compiling SystemPackage FilePathTempWindows.swift
[16/50] Compiling SystemPackage FilePathWindows.swift
[17/50] Compiling SystemPackage FilePermissions.swift
[18/50] Compiling SystemPackage Backcompat.swift
[19/50] Compiling SystemPackage CInterop.swift
[20/50] Compiling SystemPackage RawBuffer.swift
[21/50] Compiling SystemPackage Syscalls.swift
[22/50] Compiling SystemPackage WindowsSyscallAdapters.swift
[23/50] Compiling SystemPackage FileHelpers.swift
[24/50] Compiling SystemPackage FileOperations.swift
[25/50] Compiling SystemPackage FilePath.swift
[26/50] Compiling SystemPackage Constants.swift
[27/50] Compiling SystemPackage Exports.swift
[28/50] Compiling SystemPackage Mocking.swift
[29/50] Compiling SystemPackage FilePathString.swift
[30/50] Compiling SystemPackage FilePathSyntax.swift
[31/50] Compiling SystemPackage FilePathTemp.swift
[32/50] Compiling SystemPackage FilePathComponentView.swift
[33/50] Compiling SystemPackage FilePathComponents.swift
[34/50] Compiling SystemPackage FilePathParsing.swift
[35/50] Compiling SystemPackage MachPort.swift
[36/50] Compiling SystemPackage PlatformString.swift
[37/50] Compiling SystemPackage SystemString.swift
[38/50] Compiling SystemPackage Util+StringArray.swift
[39/50] Compiling SystemPackage Util.swift
[40/50] Compiling SystemPackage UtilConsumers.swift
[41/50] Compiling ConcurrencyPlus TaskExecutor.swift
[42/50] Compiling ConcurrencyPlus Task.swift
[43/50] Emitting module ConcurrencyPlus
[44/50] Compiling DatePlus Date+QuickAccessor.swift
[45/50] Compiling DatePlus Date+Comparison.swift
[46/50] Compiling DatePlus Date+Parsing.swift
[47/50] Compiling DatePlus Date+Arithmetic.swift
[48/50] Compiling DatePlus Calendar+MeasurableComponent.swift
[49/50] Emitting module DatePlus
[50/50] Compiling DatePlus Date+Components.swift
[51/66] Compiling FoundationPlusEssential URL.swift
[52/66] Compiling FoundationPlusEssential Numeric.swift
[53/67] Compiling FoundationPlusEssential String.swift
[54/67] Compiling FoundationPlusEssential Utils.swift
[55/67] Compiling FoundationPlusEssential DurationCompat.swift
[56/67] Compiling FoundationPlusEssential Export.swift
[57/67] Compiling FoundationPlusEssential Collection.swift
[58/67] Compiling FoundationPlusEssential MutableCollection.swift
[59/67] Compiling FoundationPlusEssential RangeReplaceableCollection.swift
[60/67] Compiling FoundationPlusEssential Sequence.swift
[61/67] Compiling FoundationPlusEssential ArithmeticOperator.swift
[62/67] Compiling FoundationPlusEssential Canceller.swift
[63/67] Compiling FoundationPlusEssential Clock.swift
[64/67] Compiling FoundationPlusEssential BidirectionalCollection.swift
[65/67] Compiling FoundationPlusEssential Duration.swift
[66/67] Compiling FoundationPlusEssential DurationCompat+DurationProtocol.swift
[67/67] Emitting module FoundationPlusEssential
[68/96] Compiling FileManagerPlus PlatformFileFlags.swift
[69/96] Compiling FileManagerPlus PosixFileType.swift
[70/96] Compiling FileManagerPlus PosixTimeSpec.swift
[71/99] Compiling FileManagerPlus PlatformFileFlags+Darwin.swift
[72/99] Compiling FileManagerPlus PlatformFileFlags+Linux.swift
[73/99] Compiling FileManagerPlus PlatformFileFlags+Windows.swift
[74/99] Compiling FileManagerPlus FileManager+Utils.swift
[75/99] Compiling FileManagerPlus FileManager+POSIXPermission.swift
[76/99] Compiling FileManagerPlus POSIXError+errno.swift
[77/99] Compiling FileManagerPlus CocoaError+FileError.swift
[78/99] Compiling FileManagerPlus Data.swift
[79/99] Compiling FileManagerPlus Export.swift
[80/99] Compiling FileManagerPlus FileHandle+Async.swift
[81/99] Compiling FileManagerPlus WindowsError.swift
[82/99] Compiling FileManagerPlus WindowsFileAccessMode.swift
[83/99] Compiling FileManagerPlus WindowsFileTime.swift
[84/99] Compiling FileManagerPlus FileManager+Paths.swift
[85/99] Compiling FileManagerPlus FileManager+ReadWrite.swift
[86/99] Compiling FileManagerPlus FileManager+Remove.swift
[87/99] Emitting module FileManagerPlus
[88/99] Compiling FileManagerPlus WindowsFileUtils.swift
[89/99] Compiling FileManagerPlus WindowsString.swift
[90/99] Compiling FileManagerPlus URL+filePath.swift
[91/99] Compiling FileManagerPlus FileHandle+FilePath.swift
[92/99] Compiling FileManagerPlus FileManager+FileInfo.swift
[93/99] Compiling FileManagerPlus FileManager+FileInfoOperations.swift
[94/99] Compiling FileManagerPlus FileTimeStamp.swift
[95/99] Compiling FileManagerPlus FileManager+CreateFileHandle.swift
[96/99] Compiling FileManagerPlus FileManager+CreateItem.swift
[97/99] Compiling FileManagerPlus FileManager+FileAttributesWrapper.swift
[98/99] Compiling FileManagerPlus FileManager+Link.swift
[99/99] Compiling FileManagerPlus FileManager+MoveCopy.swift
[100/101] Compiling FoundationPlus Export.swift
[101/101] Emitting module FoundationPlus
Build complete! (21.73s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    }
  ],
  "manifest_display_name" : "FoundationPlus",
  "name" : "FoundationPlus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "FoundationPlus",
      "targets" : [
        "FoundationPlus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GlibcInterop",
      "module_type" : "ClangTarget",
      "name" : "GlibcInterop",
      "path" : "Sources/GlibcInterop",
      "sources" : [
        "FSIOC.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FoundationPlusTests",
      "module_type" : "SwiftTarget",
      "name" : "FoundationPlusTests",
      "path" : "Tests/FoundationPlusTests",
      "sources" : [
        "CollectionTest/CollectionPerformanceTest.swift",
        "CollectionTest/CollectionTest.swift",
        "CollectionTest/NonBidirectionalCollection.swift",
        "CollectionTest/NonBidirectionalCollectionTest.swift",
        "DateTest/CreateDateTest.swift",
        "DateTest/DateArithmeticTest.swift",
        "DateTest/DateComparisonTest.swift",
        "DateTest/DateComponentsTest.swift",
        "DateTest/DateQuickAccessorTest.swift",
        "DateTest/DateTest.swift",
        "DurationCompatTest.swift",
        "ExecuteTest.swift",
        "FileManagerTest/CopyFileTest.swift",
        "FileManagerTest/CreateFileTest.swift",
        "FileManagerTest/FileInfoTest.swift",
        "FileManagerTest/FileManagerTest.swift",
        "FileManagerTest/Helpers.swift",
        "FileManagerTest/MoveFileTest.swift",
        "FileManagerTest/PathTest.swift",
        "FileManagerTest/ReadHandleCreationTest.swift",
        "FileManagerTest/ReadWriteTest.swift",
        "FileManagerTest/RemoveFileTest.swift",
        "FileManagerTest/SymbolicLinkTest.swift",
        "FileManagerTest/WriteHandleCreationTest.swift",
        "LaunchTaskTest.swift",
        "TaskExecutorTest.swift"
      ],
      "target_dependencies" : [
        "FoundationPlus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FoundationPlusEssential",
      "module_type" : "SwiftTarget",
      "name" : "FoundationPlusEssential",
      "path" : "Sources/Essential",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "ArithmeticOperator.swift",
        "Canceller.swift",
        "Clock.swift",
        "Collection/BidirectionalCollection.swift",
        "Collection/Collection.swift",
        "Collection/MutableCollection.swift",
        "Collection/RangeReplaceableCollection.swift",
        "Collection/Sequence.swift",
        "Duration/Duration.swift",
        "Duration/DurationCompat+DurationProtocol.swift",
        "Duration/DurationCompat.swift",
        "Export.swift",
        "Numeric.swift",
        "String.swift",
        "URL.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "ConcurrencyPlus"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FoundationPlus",
      "module_type" : "SwiftTarget",
      "name" : "FoundationPlus",
      "path" : "Sources/FoundationPlus",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "Export.swift"
      ],
      "target_dependencies" : [
        "FoundationPlusEssential",
        "FileManagerPlus",
        "ConcurrencyPlus",
        "DatePlus"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FileManagerPlus",
      "module_type" : "SwiftTarget",
      "name" : "FileManagerPlus",
      "path" : "Sources/FileManagerPlus",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "CocoaError+FileError.swift",
        "Data.swift",
        "Export.swift",
        "FileHandle+Async.swift",
        "FileHandle+FilePath.swift",
        "FileInfo/FileManager+FileInfo.swift",
        "FileInfo/FileManager+FileInfoOperations.swift",
        "FileInfo/FileTimeStamp.swift",
        "FileManager+CreateFileHandle.swift",
        "FileManager+CreateItem.swift",
        "FileManager+FileAttributesWrapper.swift",
        "FileManager+Link.swift",
        "FileManager+MoveCopy.swift",
        "FileManager+Paths.swift",
        "FileManager+ReadWrite.swift",
        "FileManager+Remove.swift",
        "FileManager+Utils.swift",
        "Platform/FileManager+POSIXPermission.swift",
        "Platform/POSIXError+errno.swift",
        "Platform/PlatformFileFlags+Darwin.swift",
        "Platform/PlatformFileFlags+Linux.swift",
        "Platform/PlatformFileFlags+Windows.swift",
        "Platform/PlatformFileFlags.swift",
        "Platform/PosixFileType.swift",
        "Platform/PosixTimeSpec.swift",
        "Platform/WindowsError.swift",
        "Platform/WindowsFileAccessMode.swift",
        "Platform/WindowsFileTime.swift",
        "Platform/WindowsFileUtils.swift",
        "Platform/WindowsString.swift",
        "URL+filePath.swift"
      ],
      "target_dependencies" : [
        "ConcurrencyPlus",
        "FoundationPlusEssential"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DatePlus",
      "module_type" : "SwiftTarget",
      "name" : "DatePlus",
      "path" : "Sources/DatePlus",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "Calendar+MeasurableComponent.swift",
        "Date+Arithmetic.swift",
        "Date+Comparison.swift",
        "Date+Components.swift",
        "Date+Parsing.swift",
        "Date+QuickAccessor.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ConcurrencyPlus",
      "module_type" : "SwiftTarget",
      "name" : "ConcurrencyPlus",
      "path" : "Sources/ConcurrencyPlus",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "sources" : [
        "Task.swift",
        "TaskExecutor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.