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 Linux on 18 Jan 2025 16:07:59 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
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
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "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",
        "GlibcInterop"
      ],
      "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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-system.git
[1/3984] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.33s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.50s)
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
Building for debugging...
[0/9] Write sources
[6/9] Compiling CSystem shims.c
[7/9] Compiling GlibcInterop FSIOC.c
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/47] Emitting module SystemPackage
[11/50] Emitting module ConcurrencyPlus
[12/50] Compiling SystemPackage Util+StringArray.swift
[13/50] Compiling SystemPackage Util.swift
[14/50] Compiling SystemPackage UtilConsumers.swift
[15/50] Compiling SystemPackage MachPort.swift
[16/50] Compiling SystemPackage PlatformString.swift
[17/50] Compiling SystemPackage SystemString.swift
[18/50] Compiling SystemPackage FilePathParsing.swift
[19/50] Compiling SystemPackage FilePathString.swift
[20/50] Compiling SystemPackage FilePathSyntax.swift
[21/50] Compiling SystemPackage FilePathTemp.swift
[22/50] Compiling SystemPackage Errno.swift
[23/50] Compiling SystemPackage ErrnoWindows.swift
[24/50] Compiling SystemPackage FileDescriptor.swift
[25/50] Compiling SystemPackage FileHelpers.swift
[26/50] Compiling SystemPackage FileOperations.swift
[27/50] Compiling SystemPackage FilePath.swift
[28/50] Compiling SystemPackage FilePathComponentView.swift
[29/50] Compiling SystemPackage FilePathComponents.swift
[30/50] Compiling SystemPackage Mocking.swift
[31/50] Compiling SystemPackage RawBuffer.swift
[32/50] Compiling SystemPackage Syscalls.swift
[33/50] Compiling SystemPackage WindowsSyscallAdapters.swift
[34/50] Compiling SystemPackage Backcompat.swift
[35/50] Compiling SystemPackage CInterop.swift
[36/50] Compiling SystemPackage Constants.swift
[37/50] Compiling SystemPackage Exports.swift
[38/50] Compiling SystemPackage FilePathTempPosix.swift
[39/50] Compiling SystemPackage FilePathTempWindows.swift
[40/50] Compiling SystemPackage FilePathWindows.swift
[41/50] Compiling SystemPackage FilePermissions.swift
[43/51] Compiling DatePlus Date+Arithmetic.swift
[44/51] Emitting module DatePlus
[45/51] Compiling DatePlus Calendar+MeasurableComponent.swift
[46/51] Compiling DatePlus Date+Parsing.swift
[47/51] Compiling DatePlus Date+QuickAccessor.swift
[48/51] Compiling ConcurrencyPlus Task.swift
[49/51] Compiling ConcurrencyPlus TaskExecutor.swift
[50/52] Compiling DatePlus Date+Components.swift
[51/52] Compiling DatePlus Date+Comparison.swift
[54/68] Compiling FoundationPlusEssential Numeric.swift
[55/68] Compiling FoundationPlusEssential String.swift
[56/70] Compiling FoundationPlusEssential Collection.swift
[57/70] Compiling FoundationPlusEssential MutableCollection.swift
[58/70] Compiling FoundationPlusEssential Clock.swift
[59/70] Compiling FoundationPlusEssential BidirectionalCollection.swift
[60/70] Compiling FoundationPlusEssential URL.swift
[61/70] Compiling FoundationPlusEssential Utils.swift
[62/70] Compiling FoundationPlusEssential DurationCompat.swift
[63/70] Compiling FoundationPlusEssential Export.swift
[64/70] Compiling FoundationPlusEssential RangeReplaceableCollection.swift
[65/70] Compiling FoundationPlusEssential Sequence.swift
[66/70] Compiling FoundationPlusEssential Duration.swift
[67/70] Compiling FoundationPlusEssential DurationCompat+DurationProtocol.swift
[68/70] Emitting module FoundationPlusEssential
[69/70] Compiling FoundationPlusEssential ArithmeticOperator.swift
[70/70] Compiling FoundationPlusEssential Canceller.swift
[72/100] Compiling FileManagerPlus FileManager+Utils.swift
[73/100] Compiling FileManagerPlus FileManager+POSIXPermission.swift
[74/100] Compiling FileManagerPlus POSIXError+errno.swift
[75/100] Compiling FileManagerPlus PlatformFileFlags+Darwin.swift
[76/103] Compiling FileManagerPlus PosixTimeSpec.swift
[77/103] Compiling FileManagerPlus WindowsError.swift
[78/103] Compiling FileManagerPlus WindowsFileAccessMode.swift
[79/103] Compiling FileManagerPlus WindowsFileTime.swift
[80/103] Compiling FileManagerPlus PlatformFileFlags+Linux.swift
[81/103] Compiling FileManagerPlus PlatformFileFlags+Windows.swift
[82/103] Compiling FileManagerPlus PlatformFileFlags.swift
[83/103] Compiling FileManagerPlus PosixFileType.swift
[84/103] Compiling FileManagerPlus CocoaError+FileError.swift
[85/103] Compiling FileManagerPlus Data.swift
[86/103] Compiling FileManagerPlus Export.swift
[87/103] Compiling FileManagerPlus FileHandle+Async.swift
[88/103] Emitting module FileManagerPlus
[89/103] Compiling FileManagerPlus FileManager+MoveCopy.swift
[90/103] Compiling FileManagerPlus FileManager+Paths.swift
[91/103] Compiling FileManagerPlus FileManager+ReadWrite.swift
[92/103] Compiling FileManagerPlus FileManager+Remove.swift
[93/103] Compiling FileManagerPlus WindowsFileUtils.swift
[94/103] Compiling FileManagerPlus WindowsString.swift
[95/103] Compiling FileManagerPlus URL+filePath.swift
[96/103] Compiling FileManagerPlus FileHandle+FilePath.swift
[97/103] Compiling FileManagerPlus FileManager+FileInfo.swift
[98/103] Compiling FileManagerPlus FileManager+FileInfoOperations.swift
[99/103] Compiling FileManagerPlus FileTimeStamp.swift
[100/103] Compiling FileManagerPlus FileManager+CreateFileHandle.swift
[101/103] Compiling FileManagerPlus FileManager+CreateItem.swift
[102/103] Compiling FileManagerPlus FileManager+FileAttributesWrapper.swift
[103/103] Compiling FileManagerPlus FileManager+Link.swift
[105/106] Emitting module FoundationPlus
[106/106] Compiling FoundationPlus Export.swift
Build complete! (17.83s)
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" : "/host/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",
      "product_memberships" : [
        "FoundationPlus"
      ],
      "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",
        "GlibcInterop"
      ],
      "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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.