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 Grain, reference 0.6.4 (a44e13), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 02:19:53 UTC.

Swift 6 data race errors: 8

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/muukii/Grain.git
Reference: 0.6.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/muukii/Grain
 * tag               0.6.4      -> FETCH_HEAD
HEAD is now at a44e13c Fix overload
Cloned https://github.com/muukii/Grain.git
Revision (git rev-parse @):
a44e13c2881c678c1bd5ac60c44da3ae60b445d4
SUCCESS checkout https://github.com/muukii/Grain.git at 0.6.4
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/apple/swift-system.git
[1/3919] Fetching swift-system
[1843/13855] Fetching swift-system, yams
[1844/26250] Fetching swift-system, yams, swift-argument-parser
[4615/32797] Fetching swift-system, yams, swift-argument-parser, swift-tools-support-core
[5160/62814] Fetching swift-system, yams, swift-argument-parser, swift-tools-support-core, alamofire
Fetched https://github.com/apple/swift-argument-parser from cache (3.06s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (3.06s)
Fetched https://github.com/apple/swift-system.git from cache (3.06s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.06s)
Fetched https://github.com/jpsim/Yams.git from cache (3.06s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.1 (0.60s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (0.60s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.3.0 (0.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.59s)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.6.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.4
========================================
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": "grain",
      "name": "Grain",
      "url": "https://github.com/muukii/Grain.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Grain",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-tools-support-core",
          "name": "swift-tools-support-core",
          "url": "https://github.com/apple/swift-tools-support-core.git",
          "version": "0.7.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-tools-support-core",
          "dependencies": [
          ]
        },
        {
          "identity": "alamofire",
          "name": "Alamofire",
          "url": "https://github.com/Alamofire/Alamofire.git",
          "version": "5.10.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
          "dependencies": [
          ]
        },
        {
          "identity": "yams",
          "name": "Yams",
          "url": "https://github.com/jpsim/Yams.git",
          "version": "5.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/muukii/Grain.git
[1/7881] Fetching grain
Fetched https://github.com/muukii/Grain.git from cache (1.15s)
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/apple/swift-tools-support-core.git from cache
Fetched https://github.com/jpsim/Yams.git from cache (0.75s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.75s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.75s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.75s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.57s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.49s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.1 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.46s)
Creating working copy for https://github.com/muukii/Grain.git
Working copy of https://github.com/muukii/Grain.git resolved at 0.6.4 (a44e13c)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.1
Found 4 product dependencies
  - swift-argument-parser
  - swift-tools-support-core
  - Alamofire
  - Yams
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/muukii/Grain.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManualPlugin
Building for debugging...
[1/27] Write sources
[7/27] Write grain-entitlement.plist
[7/27] Write sources
[9/27] Write swift-version--7754E27361AE5C74.txt
[10/27] Write sources
[11/27] Compiling TSCclibc process.c
[11/27] Compiling CSystem shims.c
[13/27] Write sources
[14/27] Compiling TSCclibc libc.c
[15/27] Write sources
[16/86] Compiling writer.c
[17/86] Compiling reader.c
[18/86] Compiling emitter.c
[19/86] Compiling parser.c
[20/86] Compiling api.c
[21/86] Compiling scanner.c
[23/101] Emitting module ArgumentParserToolInfo
[24/101] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/138] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/138] Compiling ArgumentParser CompletionsGenerator.swift
[27/139] Emitting module SystemPackage
[28/141] Compiling SystemPackage Util.swift
[29/141] Compiling SystemPackage UtilConsumers.swift
[30/141] Compiling ArgumentParser Argument.swift
[31/141] Compiling ArgumentParser ArgumentHelp.swift
[32/141] Compiling ArgumentParser ArgumentVisibility.swift
[33/141] Compiling ArgumentParser CompletionKind.swift
[34/144] Compiling TSCLibc libc.swift
[35/144] Emitting module TSCLibc
[36/144] Compiling ArgumentParser OptionGroup.swift
[37/144] Compiling ArgumentParser AsyncParsableCommand.swift
[38/144] Compiling ArgumentParser CommandConfiguration.swift
[39/144] Compiling ArgumentParser EnumerableFlag.swift
[40/144] Compiling ArgumentParser Errors.swift
[41/144] Compiling ArgumentParser Flag.swift
[42/144] Compiling ArgumentParser NameSpecification.swift
[43/144] Compiling ArgumentParser Option.swift
[44/144] Compiling ArgumentParser SequenceExtensions.swift
[45/144] Compiling ArgumentParser StringExtensions.swift
[46/144] Compiling ArgumentParser Tree.swift
[47/144] Compiling ArgumentParser Parsed.swift
[48/144] Compiling ArgumentParser ParsedValues.swift
[49/144] Emitting module Alamofire
[50/147] Emitting module ArgumentParser
[51/147] Compiling ArgumentParser InputOrigin.swift
[52/147] Compiling ArgumentParser Name.swift
[53/147] Compiling Yams Tag.swift
[54/147] Compiling ArgumentParser ParsableCommand.swift
[55/147] Compiling ArgumentParser ArgumentDecoder.swift
[56/147] Compiling ArgumentParser SplitArguments.swift
[57/147] Compiling ArgumentParser DumpHelpGenerator.swift
[58/147] Compiling ArgumentParser ArgumentDefinition.swift
[59/147] Compiling ArgumentParser ArgumentSet.swift
[60/147] Compiling ArgumentParser CommandParser.swift
[61/147] Compiling ArgumentParser ZshCompletionsGenerator.swift
[62/147] Compiling ArgumentParser ParserError.swift
[63/147] Compiling ArgumentParser HelpCommand.swift
[64/147] Compiling ArgumentParser ExpressibleByArgument.swift
[67/147] Compiling ArgumentParser FishCompletionsGenerator.swift
[68/147] Compiling ArgumentParser ParsableArguments.swift
[69/147] Compiling ArgumentParser ParsableArgumentsValidation.swift
[70/188] Compiling Yams YamlError.swift
[71/188] Compiling TSCBasic CollectionExtensions.swift
[72/188] Compiling TSCBasic Condition.swift
[73/188] Compiling TSCBasic JSONMapper.swift
[74/188] Compiling TSCBasic KeyedPair.swift
[75/188] Compiling TSCBasic FileInfo.swift
[76/188] Compiling TSCBasic FileSystem.swift
[77/188] Compiling TSCBasic GraphAlgorithms.swift
[78/188] Compiling TSCBasic HashAlgorithms.swift
[79/188] Compiling TSCBasic JSON.swift
[80/188] Compiling TSCBasic Closable.swift
[81/188] Compiling TSCBasic CodableResult.swift
[82/188] Compiling TSCBasic CollectionAlgorithms.swift
[85/188] Emitting module Yams
[88/188] Compiling TSCBasic Result.swift
[89/188] Compiling TSCBasic SortedArray.swift
[90/188] Compiling TSCBasic OSLog.swift
[91/188] Compiling TSCBasic DeltaAlgorithm.swift
[92/188] Compiling TSCBasic DiagnosticsEngine.swift
[93/188] Compiling TSCBasic DictionaryExtensions.swift
[106/188] Compiling TSCBasic ByteString.swift
[107/188] Compiling TSCBasic CStringArray.swift
[108/188] Compiling TSCBasic CacheableSequence.swift
[109/188] Compiling TSCBasic Path.swift
[110/188] Compiling TSCBasic LazyCache.swift
[111/188] Compiling TSCBasic Lock.swift
[112/188] Compiling TSCBasic Await.swift
[113/188] Compiling TSCBasic Base64URL.swift
[114/188] Compiling TSCBasic PathShims.swift
[115/188] Compiling TSCBasic Process.swift
[116/188] Compiling TSCBasic ProcessEnv.swift
[129/188] Compiling TSCBasic DictionaryLiteralExtensions.swift
[130/188] Compiling TSCBasic EditDistance.swift
[131/188] Compiling TSCBasic ProcessSet.swift
[132/188] Compiling TSCBasic RegEx.swift
[133/188] Compiling TSCBasic ObjectIdentifierProtocol.swift
[134/188] Compiling TSCBasic OrderedDictionary.swift
[135/188] Compiling TSCBasic OrderedSet.swift
[136/188] Compiling Yams String+Yams.swift
[137/188] Compiling Yams Resolver.swift
[140/188] Compiling Yams Representer.swift
[152/188] Emitting module TSCBasic
[175/192] Compiling TSCBasic StringConversions.swift
[176/192] Compiling TSCBasic SynchronizedQueue.swift
[177/192] Compiling TSCBasic TemporaryFile.swift
[178/192] Compiling TSCBasic TerminalController.swift
[179/192] Compiling TSCBasic Thread.swift
[180/192] Compiling TSCBasic Tuple.swift
[181/192] Compiling TSCBasic WritableByteStream.swift
[182/192] Compiling TSCBasic misc.swift
[188/229] Compiling TSCUtility BuildFlags.swift
[189/229] Compiling TSCUtility CollectionExtensions.swift
[190/229] Compiling TSCUtility Context.swift
[191/229] Compiling TSCUtility Diagnostics.swift
[192/233] Compiling TSCUtility Tracing.swift
[193/233] Compiling TSCUtility Triple.swift
[194/233] Compiling TSCUtility URL.swift
[195/233] Compiling TSCUtility Verbosity.swift
[196/233] Compiling TSCUtility OSLog.swift
[197/233] Compiling TSCUtility OrderedZip.swift
[198/233] Compiling TSCUtility PersistenceCache.swift
[199/233] Compiling TSCUtility PkgConfig.swift
[200/233] Compiling TSCUtility Version.swift
[201/233] Compiling TSCUtility Versioning.swift
[202/233] Compiling TSCUtility dlopen.swift
[203/233] Compiling TSCUtility misc.swift
[204/233] Compiling TSCUtility IndexStore.swift
[205/233] Compiling TSCUtility InterruptHandler.swift
[206/233] Compiling TSCUtility JSONMessageStreamingParser.swift
[207/233] Compiling TSCUtility Netrc.swift
[208/233] Compiling TSCUtility FSWatch.swift
[209/233] Compiling TSCUtility FloatingPointExtensions.swift
[210/233] Compiling TSCUtility Git.swift
[211/233] Compiling TSCUtility Hex.swift
[212/233] Compiling TSCUtility Archiver.swift
[213/233] Compiling TSCUtility ArgumentParser.swift
[214/233] Compiling TSCUtility ArgumentParserShellCompletion.swift
[215/233] Compiling TSCUtility Array+Extensions.swift
[216/233] Compiling TSCUtility SerializedDiagnostics.swift
[217/233] Compiling TSCUtility SimplePersistence.swift
[218/233] Compiling TSCUtility StringExtensions.swift
[219/233] Compiling TSCUtility StringMangling.swift
[220/233] Compiling TSCUtility Platform.swift
[221/233] Compiling TSCUtility PolymorphicCodable.swift
[222/233] Compiling TSCUtility ProgressAnimation.swift
[223/233] Compiling TSCUtility SQLite.swift
[224/233] Emitting module TSCUtility
[225/233] Compiling TSCUtility Bits.swift
[226/233] Compiling TSCUtility Bitstream.swift
[227/233] Compiling TSCUtility BitstreamReader.swift
[228/233] Compiling TSCUtility BitstreamWriter.swift
[229/237] Compiling GrainDescriptor Logger.swift
[230/237] Compiling GrainDescriptor Source.swift
/Users/admin/builder/spi-builder-workspace/Sources/GrainDescriptor/Source.swift:37:1: warning: conformance of 'Never' to 'Encodable' is only available in macOS 14.0 or newer; this is an error in the Swift 6 language mode
 35 | }
 36 |
 37 | extension Never: GrainView {
    | |- warning: conformance of 'Never' to 'Encodable' is only available in macOS 14.0 or newer; this is an error in the Swift 6 language mode
    | `- note: add @available attribute to enclosing extension
 38 |
 39 |   @_spi(JSONNever)
[231/237] Compiling GrainDescriptor Entrypoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/GrainDescriptor/Entrypoint.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'GrainDescriptor' may lead to instability during execution
  1 | import Alamofire
  2 | @_implementationOnly import Darwin.C
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'GrainDescriptor' may lead to instability during execution
  3 | import Foundation
  4 | import TSCBasic
/Users/admin/builder/spi-builder-workspace/Sources/GrainDescriptor/Entrypoint.swift:230:12: warning: let 'context' is not concurrency-safe because non-'Sendable' type 'Context' may have shared mutable state; this is an error in the Swift 6 language mode
 94 | }
 95 |
 96 | public struct Context: Codable {
    |               `- note: consider making struct 'Context' conform to the 'Sendable' protocol
 97 |
 98 |   public enum DomainError: Int, Error {
    :
228 | }
229 |
230 | public let context: Context = {
    |            |- warning: let 'context' is not concurrency-safe because non-'Sendable' type 'Context' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'context' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 |   if let optIdx = CommandLine.arguments.firstIndex(of: "-context") {
232 |     let encodedContext = CommandLine.arguments[optIdx + 1]
[232/237] Emitting module GrainDescriptor
/Users/admin/builder/spi-builder-workspace/Sources/GrainDescriptor/Entrypoint.swift:2:22: warning: using '@_implementationOnly' without enabling library evolution for 'GrainDescriptor' may lead to instability during execution
  1 | import Alamofire
  2 | @_implementationOnly import Darwin.C
    |                      `- warning: using '@_implementationOnly' without enabling library evolution for 'GrainDescriptor' may lead to instability during execution
  3 | import Foundation
  4 | import TSCBasic
/Users/admin/builder/spi-builder-workspace/Sources/GrainDescriptor/Entrypoint.swift:230:12: warning: let 'context' is not concurrency-safe because non-'Sendable' type 'Context' may have shared mutable state; this is an error in the Swift 6 language mode
 94 | }
 95 |
 96 | public struct Context: Codable {
    |               `- note: consider making struct 'Context' conform to the 'Sendable' protocol
 97 |
 98 |   public enum DomainError: Int, Error {
    :
228 | }
229 |
230 | public let context: Context = {
    |            |- warning: let 'context' is not concurrency-safe because non-'Sendable' type 'Context' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'context' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 |   if let optIdx = CommandLine.arguments.firstIndex(of: "-context") {
232 |     let encodedContext = CommandLine.arguments[optIdx + 1]
/Users/admin/builder/spi-builder-workspace/Sources/GrainDescriptor/Source.swift:37:1: warning: conformance of 'Never' to 'Encodable' is only available in macOS 14.0 or newer; this is an error in the Swift 6 language mode
 35 | }
 36 |
 37 | extension Never: GrainView {
    | |- warning: conformance of 'Never' to 'Encodable' is only available in macOS 14.0 or newer; this is an error in the Swift 6 language mode
    | `- note: add @available attribute to enclosing extension
 38 |
 39 |   @_spi(JSONNever)
[232/237] Write Objects.LinkFileList
[234/242] Compiling Grain Logger.swift
[234/242] Linking libGrainDescriptor.dylib
[236/242] Compiling Grain FileSystem+.swift
[237/242] Compiling Grain PlatformVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/Grain/PlatformVersion.swift:8:21: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'PlatformVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// Represents a platform version.
 5 | public struct PlatformVersion: Equatable, Hashable, Codable {
   |               `- note: consider making struct 'PlatformVersion' conform to the 'Sendable' protocol
 6 |
 7 |   /// The unknown platform version.
 8 |   public static let unknown: PlatformVersion = .init("0.0.0")
   |                     |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'PlatformVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |   /// The underlying version storage.
[238/242] Compiling Grain CLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:13:14: warning: static property 'fileNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |   var errorDescription: String?
 12 |
 13 |   static var fileNotFound: Self = .init(errorDescription: "File not found")
    |              |- warning: static property 'fileNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'fileNotFound' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'fileNotFound' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |   static var runtimeNotFound: Self = .init(errorDescription: "Runtime not found")
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:14:14: warning: static property 'runtimeNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |
 13 |   static var fileNotFound: Self = .init(errorDescription: "File not found")
 14 |   static var runtimeNotFound: Self = .init(errorDescription: "Runtime not found")
    |              |- warning: static property 'runtimeNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'runtimeNotFound' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'runtimeNotFound' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:39:18: warning: static property 'failedToCompile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |       var errorDescription: String?
 38 |
 39 |       static var failedToCompile: Self = .init(errorDescription: "Failed to compile")
    |                  |- warning: static property 'failedToCompile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                  |- note: convert 'failedToCompile' to a 'let' constant to make 'Sendable' shared state immutable
    |                  |- note: annotate 'failedToCompile' with '@MainActor' if property should only be accessed from the main actor
    |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |       static var couldNotCreateOutputFile: Self = .init(errorDescription: "Could not create output file")
 41 |       static var failureInMakingOutput: Self = .init(errorDescription: "Failure in makiing output")
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:40:18: warning: static property 'couldNotCreateOutputFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 38 |
 39 |       static var failedToCompile: Self = .init(errorDescription: "Failed to compile")
 40 |       static var couldNotCreateOutputFile: Self = .init(errorDescription: "Could not create output file")
    |                  |- warning: static property 'couldNotCreateOutputFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                  |- note: convert 'couldNotCreateOutputFile' to a 'let' constant to make 'Sendable' shared state immutable
    |                  |- note: annotate 'couldNotCreateOutputFile' with '@MainActor' if property should only be accessed from the main actor
    |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |       static var failureInMakingOutput: Self = .init(errorDescription: "Failure in makiing output")
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:41:18: warning: static property 'failureInMakingOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 39 |       static var failedToCompile: Self = .init(errorDescription: "Failed to compile")
 40 |       static var couldNotCreateOutputFile: Self = .init(errorDescription: "Could not create output file")
 41 |       static var failureInMakingOutput: Self = .init(errorDescription: "Failure in makiing output")
    |                  |- warning: static property 'failureInMakingOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                  |- note: convert 'failureInMakingOutput' to a 'let' constant to make 'Sendable' shared state immutable
    |                  |- note: annotate 'failureInMakingOutput' with '@MainActor' if property should only be accessed from the main actor
    |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |
 43 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:53:38: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 51 |
 52 |       let validatedPaths = targetFilePaths.map {
 53 |         AbsolutePath($0, relativeTo: localFileSystem.currentWorkingDirectory!)
    |                                      `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 54 |       }
 55 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1132:12: note: var declared here
1130 |
1131 | /// Public access to the local FS proxy.
1132 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1133 |
1134 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:63:77: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 61 |             let context = GrainDescriptor.Context(
 62 |               filePath: path,
 63 |               outputDir: outputDirectory.map { AbsolutePath($0, relativeTo: localFileSystem.currentWorkingDirectory!) },
    |                                                                             `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 64 |               userInfoString: userInfo
 65 |             )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1132:12: note: var declared here
1130 |
1131 | /// Public access to the local FS proxy.
1132 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1133 |
1134 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:76:13: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 74 |     private func render(_ targetFilePath: AbsolutePath, context: GrainDescriptor.Context) async throws {
 75 |
 76 |       guard localFileSystem.exists(targetFilePath) else {
    |             `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 77 |         throw CLIError.fileNotFound
 78 |       }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1132:12: note: var declared here
1130 |
1131 | /// Public access to the local FS proxy.
1132 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1133 |
1134 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:92:65: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 90 |
 91 |       /// a directory path of this process binary
 92 |       let applicationDirPath = try Utils.hostBinDir(fileSystem: localFileSystem)
    |                                                                 `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 93 |
 94 |       var runtimeFrameworksPath: AbsolutePath {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1132:12: note: var declared here
1130 |
1131 | /// Public access to the local FS proxy.
1132 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1133 |
1134 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:122:13: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 | """)
121 |
122 |       guard localFileSystem.exists(libraryPath) else {
    |             `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 |         throw CLIError.runtimeNotFound
124 |       }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/FileSystem.swift:1132:12: note: var declared here
1130 |
1131 | /// Public access to the local FS proxy.
1132 | public var localFileSystem: FileSystem = LocalFileSystem()
     |            `- note: var declared here
1133 |
1134 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:59:25: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 57 |
 58 |         for path in validatedPaths {
 59 |           group.addTask {
    |                         `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 60 |
 61 |             let context = GrainDescriptor.Context(
 62 |               filePath: path,
 63 |               outputDir: outputDirectory.map { AbsolutePath($0, relativeTo: localFileSystem.currentWorkingDirectory!) },
    |                          `- note: closure captures 'self' which is accessible to code in the current task
 64 |               userInfoString: userInfo
 65 |             )
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:230:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
228 |     do {
229 |       try withTemporaryDirectory { path, completion -> Void in
230 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
231 |           do {
232 |             let r = try await work(path)
    |                               `- note: closure captures 'work' which is accessible to code in the current task
233 |             completion(path)
234 |             continuation.resume(returning: r)
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:234:26: warning: sending 'r' risks causing data races; this is an error in the Swift 6 language mode
232 |             let r = try await work(path)
233 |             completion(path)
234 |             continuation.resume(returning: r)
    |                          |- warning: sending 'r' risks causing data races; this is an error in the Swift 6 language mode
    |                          `- note: task-isolated 'r' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
235 |           } catch {
236 |             print(error)
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:269:24: warning: sending 'r' risks causing data races; this is an error in the Swift 6 language mode
267 |         switch result {
268 |         case .success(let r):
269 |           continuation.resume(returning: r)
    |                        |- warning: sending 'r' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: task-isolated 'r' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
270 |         case .failure(let e):
271 |           continuation.resume(throwing: e)
[239/242] Emitting module Grain
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:13:14: warning: static property 'fileNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |   var errorDescription: String?
 12 |
 13 |   static var fileNotFound: Self = .init(errorDescription: "File not found")
    |              |- warning: static property 'fileNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'fileNotFound' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'fileNotFound' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |   static var runtimeNotFound: Self = .init(errorDescription: "Runtime not found")
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:14:14: warning: static property 'runtimeNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 12 |
 13 |   static var fileNotFound: Self = .init(errorDescription: "File not found")
 14 |   static var runtimeNotFound: Self = .init(errorDescription: "Runtime not found")
    |              |- warning: static property 'runtimeNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'runtimeNotFound' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'runtimeNotFound' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:39:18: warning: static property 'failedToCompile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |       var errorDescription: String?
 38 |
 39 |       static var failedToCompile: Self = .init(errorDescription: "Failed to compile")
    |                  |- warning: static property 'failedToCompile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                  |- note: convert 'failedToCompile' to a 'let' constant to make 'Sendable' shared state immutable
    |                  |- note: annotate 'failedToCompile' with '@MainActor' if property should only be accessed from the main actor
    |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |       static var couldNotCreateOutputFile: Self = .init(errorDescription: "Could not create output file")
 41 |       static var failureInMakingOutput: Self = .init(errorDescription: "Failure in makiing output")
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:40:18: warning: static property 'couldNotCreateOutputFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 38 |
 39 |       static var failedToCompile: Self = .init(errorDescription: "Failed to compile")
 40 |       static var couldNotCreateOutputFile: Self = .init(errorDescription: "Could not create output file")
    |                  |- warning: static property 'couldNotCreateOutputFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                  |- note: convert 'couldNotCreateOutputFile' to a 'let' constant to make 'Sendable' shared state immutable
    |                  |- note: annotate 'couldNotCreateOutputFile' with '@MainActor' if property should only be accessed from the main actor
    |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |       static var failureInMakingOutput: Self = .init(errorDescription: "Failure in makiing output")
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/Grain/CLI.swift:41:18: warning: static property 'failureInMakingOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 39 |       static var failedToCompile: Self = .init(errorDescription: "Failed to compile")
 40 |       static var couldNotCreateOutputFile: Self = .init(errorDescription: "Could not create output file")
 41 |       static var failureInMakingOutput: Self = .init(errorDescription: "Failure in makiing output")
    |                  |- warning: static property 'failureInMakingOutput' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                  |- note: convert 'failureInMakingOutput' to a 'let' constant to make 'Sendable' shared state immutable
    |                  |- note: annotate 'failureInMakingOutput' with '@MainActor' if property should only be accessed from the main actor
    |                  `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |
 43 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Grain/PlatformVersion.swift:8:21: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'PlatformVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// Represents a platform version.
 5 | public struct PlatformVersion: Equatable, Hashable, Codable {
   |               `- note: consider making struct 'PlatformVersion' conform to the 'Sendable' protocol
 6 |
 7 |   /// The unknown platform version.
 8 |   public static let unknown: PlatformVersion = .init("0.0.0")
   |                     |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'PlatformVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |
10 |   /// The underlying version storage.
[239/242] Write Objects.LinkFileList
[240/242] Linking grain
[241/242] Applying grain
Build complete! (45.77s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.7",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.6.2",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "Grain",
  "name" : "Grain",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "GrainDescriptor",
      "targets" : [
        "GrainDescriptor"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "grain",
      "targets" : [
        "Grain",
        "GrainDescriptor"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GrainDescriptorTests",
      "module_type" : "SwiftTarget",
      "name" : "GrainDescriptorTests",
      "path" : "Tests/GrainDescriptorTests",
      "sources" : [
        "APNs.swift",
        "Tests.swift"
      ],
      "target_dependencies" : [
        "GrainDescriptor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GrainDescriptor",
      "module_type" : "SwiftTarget",
      "name" : "GrainDescriptor",
      "path" : "Sources/GrainDescriptor",
      "product_dependencies" : [
        "Yams",
        "Alamofire",
        "SwiftToolsSupport-auto"
      ],
      "product_memberships" : [
        "GrainDescriptor",
        "grain"
      ],
      "sources" : [
        "Entrypoint.swift",
        "Logger.swift",
        "Source.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Grain",
      "module_type" : "SwiftTarget",
      "name" : "Grain",
      "path" : "Sources/Grain",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftToolsSupport-auto"
      ],
      "product_memberships" : [
        "grain"
      ],
      "sources" : [
        "CLI.swift",
        "FileSystem+.swift",
        "Logger.swift",
        "PlatformVersion.swift"
      ],
      "target_dependencies" : [
        "GrainDescriptor"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Done.