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 main (302d78), with Swift 6.0 for macOS (SPM) on 18 Jan 2025 16:08:55 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Star-Lord-PHB/foundation-plus
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 302d78d Create LICENSE
Cloned https://github.com/Star-Lord-PHB/foundation-plus.git
Revision (git rev-parse @):
302d78da9ee044ea622ecfd4ee24384210f056e7
SUCCESS checkout https://github.com/Star-Lord-PHB/foundation-plus.git at main
Fetching https://github.com/apple/swift-system.git
[1/3984] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.01s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.47s)
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/408] Fetching foundation-plus
Fetched https://github.com/Star-Lord-PHB/foundation-plus.git from cache (0.85s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.49s)
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 main (302d78d)
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/50] Compiling SystemPackage MachPort.swift
[12/50] Compiling SystemPackage PlatformString.swift
[13/50] Compiling SystemPackage SystemString.swift
[14/50] Compiling SystemPackage RawBuffer.swift
[15/50] Compiling SystemPackage Syscalls.swift
[16/50] Compiling SystemPackage WindowsSyscallAdapters.swift
[17/50] Compiling SystemPackage FilePermissions.swift
[18/50] Compiling SystemPackage Backcompat.swift
[19/50] Compiling SystemPackage CInterop.swift
[20/50] Compiling SystemPackage FilePathTempPosix.swift
[21/50] Compiling SystemPackage FilePathTempWindows.swift
[22/50] Compiling SystemPackage FilePathWindows.swift
[23/50] Compiling SystemPackage Errno.swift
[24/50] Compiling SystemPackage ErrnoWindows.swift
[25/50] Compiling SystemPackage FileDescriptor.swift
[26/50] Compiling SystemPackage FileHelpers.swift
[27/50] Compiling SystemPackage FileOperations.swift
[28/50] Compiling SystemPackage FilePath.swift
[29/50] Compiling SystemPackage Constants.swift
[30/50] Compiling SystemPackage Exports.swift
[31/50] Compiling SystemPackage Mocking.swift
[32/50] Compiling SystemPackage FilePathString.swift
[33/50] Compiling SystemPackage FilePathSyntax.swift
[34/50] Compiling SystemPackage FilePathTemp.swift
[35/50] Compiling SystemPackage FilePathComponentView.swift
[36/50] Compiling SystemPackage FilePathComponents.swift
[37/50] Compiling SystemPackage FilePathParsing.swift
[38/50] Compiling SystemPackage Util+StringArray.swift
[39/50] Compiling SystemPackage Util.swift
[40/50] Compiling SystemPackage UtilConsumers.swift
[41/50] Compiling DatePlus Date+QuickAccessor.swift
[42/50] Compiling DatePlus Date+Parsing.swift
[43/50] Compiling ConcurrencyPlus TaskExecutor.swift
[44/50] Compiling ConcurrencyPlus Task.swift
[45/50] Emitting module ConcurrencyPlus
[46/50] Compiling DatePlus Calendar+MeasurableComponent.swift
[47/50] Emitting module DatePlus
[48/50] Compiling DatePlus Date+Comparison.swift
[49/50] Compiling DatePlus Date+Components.swift
[50/50] Compiling DatePlus Date+Arithmetic.swift
[51/66] Compiling FoundationPlusEssential URL.swift
[52/67] Compiling FoundationPlusEssential Numeric.swift
[53/67] Compiling FoundationPlusEssential Utils.swift
[54/67] Compiling FoundationPlusEssential String.swift
[55/67] Compiling FoundationPlusEssential DurationCompat.swift
[56/67] Compiling FoundationPlusEssential Export.swift
[57/67] Compiling FoundationPlusEssential RangeReplaceableCollection.swift
[58/67] Compiling FoundationPlusEssential Sequence.swift
[59/67] Compiling FoundationPlusEssential Collection.swift
[60/67] Compiling FoundationPlusEssential MutableCollection.swift
[61/67] Compiling FoundationPlusEssential Duration.swift
[62/67] Compiling FoundationPlusEssential DurationCompat+DurationProtocol.swift
[63/67] Compiling FoundationPlusEssential Clock.swift
[64/67] Compiling FoundationPlusEssential BidirectionalCollection.swift
[65/67] Compiling FoundationPlusEssential ArithmeticOperator.swift
[66/67] Compiling FoundationPlusEssential Canceller.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] Emitting module FileManagerPlus
[72/99] Compiling FileManagerPlus WindowsFileUtils.swift
[73/99] Compiling FileManagerPlus WindowsString.swift
[74/99] Compiling FileManagerPlus URL+filePath.swift
[75/99] Compiling FileManagerPlus WindowsError.swift
[76/99] Compiling FileManagerPlus WindowsFileAccessMode.swift
[77/99] Compiling FileManagerPlus WindowsFileTime.swift
[78/99] Compiling FileManagerPlus FileManager+Paths.swift
[79/99] Compiling FileManagerPlus FileManager+ReadWrite.swift
[80/99] Compiling FileManagerPlus FileManager+Remove.swift
[81/99] Compiling FileManagerPlus PlatformFileFlags+Darwin.swift
[82/99] Compiling FileManagerPlus PlatformFileFlags+Linux.swift
[83/99] Compiling FileManagerPlus PlatformFileFlags+Windows.swift
[84/99] Compiling FileManagerPlus CocoaError+FileError.swift
[85/99] Compiling FileManagerPlus Data.swift
[86/99] Compiling FileManagerPlus Export.swift
[87/99] Compiling FileManagerPlus FileHandle+Async.swift
[88/99] Compiling FileManagerPlus FileHandle+FilePath.swift
[89/99] Compiling FileManagerPlus FileManager+FileInfo.swift
[90/99] Compiling FileManagerPlus FileManager+FileInfoOperations.swift
[91/99] Compiling FileManagerPlus FileTimeStamp.swift
[92/99] Compiling FileManagerPlus FileManager+CreateFileHandle.swift
[93/99] Compiling FileManagerPlus FileManager+CreateItem.swift
[94/99] Compiling FileManagerPlus FileManager+Utils.swift
[95/99] Compiling FileManagerPlus FileManager+POSIXPermission.swift
[96/99] Compiling FileManagerPlus POSIXError+errno.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! (23.70s)
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.