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 SwiftPrompt, reference main (e3484d), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 17:35:53 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CheekyGhost-Labs/SwiftPrompt.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CheekyGhost-Labs/SwiftPrompt
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e3484d9 Merge pull request #5 from CheekyGhost-Labs/develop
Cloned https://github.com/CheekyGhost-Labs/SwiftPrompt.git
Revision (git rev-parse @):
e3484d9323a1f780ac53047efb5191261d36f5de
SUCCESS checkout https://github.com/CheekyGhost-Labs/SwiftPrompt.git at main
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/pakLebah/ANSITerminal
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-tools-support-core.git from cache
[1/1196] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow.git from cache (0.82s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.90s)
[1/94] Fetching ansiterminal
Fetched https://github.com/pakLebah/ANSITerminal from cache (4.00s)
Computing version for https://github.com/pakLebah/ANSITerminal
Fetched https://github.com/apple/swift-system.git from cache (4.01s)
Computed https://github.com/pakLebah/ANSITerminal at 0.0.3 (4.94s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.0.1 (0.61s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.4.0 (0.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.54s)
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/pakLebah/ANSITerminal
Working copy of https://github.com/pakLebah/ANSITerminal resolved at 0.0.3
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.0.1
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.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": "swiftprompt",
      "name": "SwiftPrompt",
      "url": "https://github.com/CheekyGhost-Labs/SwiftPrompt.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftPrompt",
      "dependencies": [
        {
          "identity": "swift-tools-support-core",
          "name": "swift-tools-support-core",
          "url": "https://github.com/apple/swift-tools-support-core.git",
          "version": "0.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-tools-support-core",
          "dependencies": [
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.1.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "rainbow",
          "name": "Rainbow",
          "url": "https://github.com/onevcat/Rainbow.git",
          "version": "4.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
          "dependencies": [
          ]
        },
        {
          "identity": "ansiterminal",
          "name": "ANSITerminal",
          "url": "https://github.com/pakLebah/ANSITerminal",
          "version": "0.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ANSITerminal",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/CheekyGhost-Labs/SwiftPrompt.git
[1/64] Fetching swiftprompt
Fetched https://github.com/CheekyGhost-Labs/SwiftPrompt.git from cache (1.00s)
Fetching https://github.com/onevcat/Rainbow.git from cache
Fetching https://github.com/pakLebah/ANSITerminal from cache
Fetching https://github.com/apple/swift-tools-support-core.git from cache
Fetched https://github.com/onevcat/Rainbow.git from cache (0.44s)
Fetched https://github.com/pakLebah/ANSITerminal from cache (0.74s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.75s)
Computing version for https://github.com/pakLebah/ANSITerminal
Computed https://github.com/pakLebah/ANSITerminal at 0.0.3 (0.81s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.4.0 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.62s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (0.03s)
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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.0
Creating working copy for https://github.com/pakLebah/ANSITerminal
Working copy of https://github.com/pakLebah/ANSITerminal resolved at 0.0.3
Creating working copy for https://github.com/CheekyGhost-Labs/SwiftPrompt.git
Working copy of https://github.com/CheekyGhost-Labs/SwiftPrompt.git resolved at main (e3484d9)
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.4.0
warning: '.resolve-product-dependencies': dependency 'swiftprompt' is not used by any target
Found 3 product dependencies
  - swift-tools-support-core
  - Rainbow
  - ANSITerminal
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CheekyGhost-Labs/SwiftPrompt.git
https://github.com/CheekyGhost-Labs/SwiftPrompt.git
{
  "dependencies" : [
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "exact" : [
          "0.4.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "ansiterminal",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pakLebah/ANSITerminal"
    }
  ],
  "manifest_display_name" : "SwiftPrompt",
  "name" : "SwiftPrompt",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "SwiftPrompt",
      "targets" : [
        "SwiftPrompt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftPromptExample",
      "targets" : [
        "SwiftPromptExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftPromptTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPromptTests",
      "path" : "Tests/SwiftPromptTests",
      "sources" : [
        "SwiftPromptTests.swift"
      ],
      "target_dependencies" : [
        "SwiftPrompt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftPromptExample",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPromptExample",
      "path" : "Sources/SwiftPromptExample",
      "product_memberships" : [
        "SwiftPromptExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftPrompt"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftPrompt",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPrompt",
      "path" : "Sources/SwiftPrompt",
      "product_dependencies" : [
        "Rainbow",
        "SwiftToolsSupport-auto",
        "ANSITerminal"
      ],
      "product_memberships" : [
        "SwiftPrompt",
        "SwiftPromptExample"
      ],
      "sources" : [
        "Internal/Prompts/InputPrompt.swift",
        "Internal/Prompts/OptionSetPrompt.swift",
        "Internal/Utility/ANSIIChar.swift",
        "Internal/Utility/OptionSetState.swift",
        "Internal/Utility/PromptUtils.swift",
        "Internal/Utility/ValidationResult.swift",
        "Public/Entities/PromptOption.swift",
        "SwiftPrompt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
Building for debugging...
[0/16] Write SwiftPromptExample-entitlement.plist
[0/16] Write sources
[9/16] Compiling TSCclibc process.c
[10/16] Compiling CSystem shims.c
[11/16] Compiling TSCclibc libc.c
[12/16] Write swift-version-2F0A5646E1D333AE.txt
[14/55] Emitting module SystemPackage
[15/57] Compiling SystemPackage Util.swift
[16/57] Compiling SystemPackage UtilConsumers.swift
[17/57] Compiling SystemPackage FileOperations.swift
[18/57] Compiling SystemPackage FilePath.swift
[19/57] Compiling SystemPackage FilePathComponentView.swift
[20/57] Compiling SystemPackage FilePathComponents.swift
[21/57] Compiling SystemPackage FilePathParsing.swift
[22/57] Compiling SystemPackage FilePathString.swift
[23/57] Compiling SystemPackage FilePathSyntax.swift
[24/57] Compiling ANSITerminal ansiScreen.swift
[25/57] Compiling ANSITerminal ansiAttribute.swift
[26/57] Compiling ANSITerminal ansiKeyboard.swift
[27/57] Compiling SystemPackage Errno.swift
[28/57] Compiling SystemPackage FileDescriptor.swift
[29/57] Compiling SystemPackage FileHelpers.swift
[30/57] Compiling SystemPackage PlatformString.swift
[31/57] Compiling SystemPackage SystemString.swift
[32/57] Compiling TSCLibc libc.swift
[33/57] Emitting module TSCLibc
[34/57] Compiling SystemPackage Syscalls.swift
[35/57] Compiling ANSITerminal ANSITerminal.swift
[36/57] Compiling SystemPackage WindowsSyscallAdapters.swift
[37/57] Emitting module ANSITerminal
[38/57] Compiling SystemPackage CInterop.swift
[39/57] Compiling SystemPackage Constants.swift
[40/57] Compiling SystemPackage Exports.swift
[41/57] Compiling SystemPackage Mocking.swift
[42/57] Compiling SystemPackage FilePathWindows.swift
[43/57] Compiling SystemPackage FilePermissions.swift
[44/98] Emitting module Rainbow
[45/99] Compiling Rainbow StringGenerator.swift
[46/99] Compiling Rainbow Style.swift
[47/99] Compiling Rainbow String+Rainbow.swift
[48/99] Compiling TSCBasic Await.swift
[49/99] Compiling TSCBasic Base64URL.swift
[50/99] Compiling Rainbow ModesExtractor.swift
[51/99] Compiling Rainbow ControlCode.swift
[52/99] Compiling Rainbow Color.swift
[53/99] Compiling Rainbow OutputTarget.swift
[54/99] Compiling Rainbow Rainbow.swift
[55/99] Compiling Rainbow ColorApproximation.swift
[56/99] Compiling TSCBasic Closable.swift
[57/99] Compiling TSCBasic CodableResult.swift
[58/99] Compiling TSCBasic CollectionAlgorithms.swift
[59/99] Compiling TSCBasic CollectionExtensions.swift
[60/99] Compiling TSCBasic Condition.swift
[61/103] Emitting module TSCBasic
[64/103] Compiling TSCBasic ByteString.swift
[65/103] Compiling TSCBasic CStringArray.swift
[66/103] Compiling TSCBasic CacheableSequence.swift
[67/103] Compiling TSCBasic JSONMapper.swift
[68/103] Compiling TSCBasic KeyedPair.swift
[69/103] Compiling TSCBasic LazyCache.swift
[70/103] Compiling TSCBasic Lock.swift
[71/103] Compiling TSCBasic ProcessSet.swift
[72/103] Compiling TSCBasic RegEx.swift
[73/103] Compiling TSCBasic Result.swift
[74/103] Compiling TSCBasic SortedArray.swift
[75/103] Compiling TSCBasic OSLog.swift
[76/103] Compiling TSCBasic ObjectIdentifierProtocol.swift
[77/103] Compiling TSCBasic OrderedDictionary.swift
[78/103] Compiling TSCBasic OrderedSet.swift
[79/103] Compiling TSCBasic StringConversions.swift
[80/103] Compiling TSCBasic SynchronizedQueue.swift
[81/103] Compiling TSCBasic TemporaryFile.swift
[82/103] Compiling TSCBasic TerminalController.swift
[83/103] Compiling TSCBasic Thread.swift
[84/103] Compiling TSCBasic Tuple.swift
[85/103] Compiling TSCBasic WritableByteStream.swift
[86/103] Compiling TSCBasic misc.swift
[87/103] Compiling TSCBasic Path.swift
[88/103] Compiling TSCBasic PathShims.swift
[89/103] Compiling TSCBasic Process.swift
[90/103] Compiling TSCBasic ProcessEnv.swift
[91/103] Compiling TSCBasic DeltaAlgorithm.swift
[92/103] Compiling TSCBasic DiagnosticsEngine.swift
[93/103] Compiling TSCBasic DictionaryExtensions.swift
[94/103] Compiling TSCBasic DictionaryLiteralExtensions.swift
[95/103] Compiling TSCBasic EditDistance.swift
[96/103] Compiling TSCBasic FileInfo.swift
[97/103] Compiling TSCBasic FileSystem.swift
[98/103] Compiling TSCBasic GraphAlgorithms.swift
[99/103] Compiling TSCBasic HashAlgorithms.swift
[100/103] Compiling TSCBasic JSON.swift
[101/139] Compiling TSCUtility BuildFlags.swift
[102/139] Compiling TSCUtility CollectionExtensions.swift
[103/139] Compiling TSCUtility Context.swift
[104/139] Compiling TSCUtility Diagnostics.swift
[105/142] Emitting module TSCUtility
[106/142] Compiling TSCUtility OSLog.swift
[107/142] Compiling TSCUtility OrderedZip.swift
[108/142] Compiling TSCUtility PkgConfig.swift
[109/142] Compiling TSCUtility Platform.swift
[110/142] Compiling TSCUtility Versioning.swift
[111/142] Compiling TSCUtility dlopen.swift
[112/142] Compiling TSCUtility misc.swift
[113/142] Compiling TSCUtility Archiver.swift
[114/142] Compiling TSCUtility ArgumentParser.swift
[115/142] Compiling TSCUtility ArgumentParserShellCompletion.swift
[116/142] Compiling TSCUtility Array+Extensions.swift
[117/142] Compiling TSCUtility FSWatch.swift
[118/142] Compiling TSCUtility FloatingPointExtensions.swift
[119/142] Compiling TSCUtility Git.swift
[120/142] Compiling TSCUtility Hex.swift
[121/142] Compiling TSCUtility Bits.swift
[122/142] Compiling TSCUtility Bitstream.swift
[123/142] Compiling TSCUtility BitstreamReader.swift
[124/142] Compiling TSCUtility BitstreamWriter.swift
[125/142] Compiling TSCUtility URL.swift
[126/142] Compiling TSCUtility Verbosity.swift
[127/142] Compiling TSCUtility Version.swift
[128/142] Compiling TSCUtility PolymorphicCodable.swift
[129/142] Compiling TSCUtility ProgressAnimation.swift
[130/142] Compiling TSCUtility SerializedDiagnostics.swift
[131/142] Compiling TSCUtility SimplePersistence.swift
[132/142] Compiling TSCUtility IndexStore.swift
[133/142] Compiling TSCUtility InterruptHandler.swift
[134/142] Compiling TSCUtility JSONMessageStreamingParser.swift
[135/142] Compiling TSCUtility Netrc.swift
[136/142] Compiling TSCUtility StringExtensions.swift
[137/142] Compiling TSCUtility StringMangling.swift
[138/142] Compiling TSCUtility Tracing.swift
[139/142] Compiling TSCUtility Triple.swift
[140/151] Compiling SwiftPrompt ValidationResult.swift
[141/151] Compiling SwiftPrompt PromptOption.swift
[142/151] Compiling SwiftPrompt SwiftPrompt.swift
[143/151] Compiling SwiftPrompt OptionSetState.swift
[144/151] Compiling SwiftPrompt ANSIIChar.swift
[145/151] Compiling SwiftPrompt PromptUtils.swift
[146/151] Emitting module SwiftPrompt
[147/151] Compiling SwiftPrompt InputPrompt.swift
[148/151] Compiling SwiftPrompt OptionSetPrompt.swift
[149/153] Emitting module SwiftPromptExample
[150/153] Compiling SwiftPromptExample main.swift
[150/153] Write Objects.LinkFileList
[151/153] Linking SwiftPromptExample
[152/153] Applying SwiftPromptExample
Build complete! (12.39s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "exact" : [
          "0.4.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.1",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "ansiterminal",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pakLebah/ANSITerminal"
    }
  ],
  "manifest_display_name" : "SwiftPrompt",
  "name" : "SwiftPrompt",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "SwiftPrompt",
      "targets" : [
        "SwiftPrompt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftPromptExample",
      "targets" : [
        "SwiftPromptExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftPromptTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPromptTests",
      "path" : "Tests/SwiftPromptTests",
      "sources" : [
        "SwiftPromptTests.swift"
      ],
      "target_dependencies" : [
        "SwiftPrompt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftPromptExample",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPromptExample",
      "path" : "Sources/SwiftPromptExample",
      "product_memberships" : [
        "SwiftPromptExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftPrompt"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftPrompt",
      "module_type" : "SwiftTarget",
      "name" : "SwiftPrompt",
      "path" : "Sources/SwiftPrompt",
      "product_dependencies" : [
        "Rainbow",
        "SwiftToolsSupport-auto",
        "ANSITerminal"
      ],
      "product_memberships" : [
        "SwiftPrompt",
        "SwiftPromptExample"
      ],
      "sources" : [
        "Internal/Prompts/InputPrompt.swift",
        "Internal/Prompts/OptionSetPrompt.swift",
        "Internal/Utility/ANSIIChar.swift",
        "Internal/Utility/OptionSetState.swift",
        "Internal/Utility/PromptUtils.swift",
        "Internal/Utility/ValidationResult.swift",
        "Public/Entities/PromptOption.swift",
        "SwiftPrompt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.