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.0 for macOS (SPM) on 29 Nov 2024 20:01:34 UTC.

Swift 6 data race errors: 0

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.1
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/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/pakLebah/ANSITerminal
Fetching https://github.com/onevcat/Rainbow.git
[1/1126] Fetching rainbow
[159/5045] Fetching rainbow, swift-system
[238/5140] Fetching rainbow, swift-system, ansiterminal
[5116/11688] Fetching rainbow, swift-system, ansiterminal, swift-tools-support-core
Fetched https://github.com/apple/swift-system.git from cache (1.43s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.43s)
Fetched https://github.com/pakLebah/ANSITerminal from cache (1.43s)
Fetched https://github.com/onevcat/Rainbow.git from cache (1.43s)
Computing version for https://github.com/pakLebah/ANSITerminal
Computed https://github.com/pakLebah/ANSITerminal at 0.0.3 (3.17s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.0.1 (2.85s)
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.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.56s)
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
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-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
========================================
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.0.1",
          "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.02s)
Fetching https://github.com/pakLebah/ANSITerminal from cache
Fetching https://github.com/onevcat/Rainbow.git from cache
Fetching https://github.com/apple/swift-tools-support-core.git from cache
Fetched https://github.com/onevcat/Rainbow.git from cache (0.45s)
Fetched https://github.com/pakLebah/ANSITerminal from cache (0.47s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.81s)
Computing version for https://github.com/pakLebah/ANSITerminal
Computed https://github.com/pakLebah/ANSITerminal at 0.0.3 (0.02s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.0.1 (0.02s)
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.02s)
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.48s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.02s)
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/pakLebah/ANSITerminal
Working copy of https://github.com/pakLebah/ANSITerminal resolved at 0.0.3
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.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
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.0
Building package at path:  $PWD
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.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
Building for debugging...
[0/16] Write sources
[4/16] Write SwiftPromptExample-entitlement.plist
[5/16] Write sources
[9/16] Compiling CSystem shims.c
[9/16] Compiling TSCclibc process.c
[11/16] Compiling TSCclibc libc.c
[12/16] Write swift-version--7754E27361AE5C74.txt
[14/55] Emitting module SystemPackage
[15/57] Compiling ANSITerminal ansiKeyboard.swift
[16/57] Compiling ANSITerminal ansiScreen.swift
[17/57] Emitting module TSCLibc
[18/57] Compiling TSCLibc libc.swift
[19/57] Emitting module ANSITerminal
[20/57] Compiling SystemPackage Syscalls.swift
[21/57] Compiling SystemPackage WindowsSyscallAdapters.swift
[22/57] Compiling SystemPackage PlatformString.swift
[23/57] Compiling SystemPackage SystemString.swift
[24/57] Compiling ANSITerminal ANSITerminal.swift
[25/57] Compiling ANSITerminal ansiAttribute.swift
[26/57] Compiling SystemPackage Exports.swift
[27/57] Compiling SystemPackage Mocking.swift
[28/57] Compiling SystemPackage CInterop.swift
[29/57] Compiling SystemPackage Constants.swift
[30/57] Compiling SystemPackage FilePathString.swift
[31/57] Compiling SystemPackage FilePathSyntax.swift
[32/57] Compiling SystemPackage FilePathWindows.swift
[33/57] Compiling SystemPackage FilePermissions.swift
[34/57] Compiling Rainbow StringGenerator.swift
[35/58] Compiling Rainbow String+Rainbow.swift
[36/58] Compiling Rainbow Style.swift
[37/58] Compiling SystemPackage FileOperations.swift
[38/58] Compiling SystemPackage FilePath.swift
[39/58] Compiling SystemPackage FilePathComponentView.swift
[40/58] Compiling SystemPackage FilePathComponents.swift
[41/58] Compiling SystemPackage FilePathParsing.swift
[42/58] Compiling SystemPackage Errno.swift
[43/58] Compiling SystemPackage FileDescriptor.swift
[44/58] Compiling SystemPackage FileHelpers.swift
[45/58] Compiling SystemPackage Util.swift
[46/58] Compiling SystemPackage UtilConsumers.swift
[47/99] Compiling Rainbow Rainbow.swift
[48/99] Compiling Rainbow ModesExtractor.swift
[49/99] Compiling Rainbow ControlCode.swift
[50/99] Compiling Rainbow ColorApproximation.swift
[51/99] Compiling TSCBasic Path.swift
[52/99] Compiling TSCBasic PathShims.swift
[53/99] Emitting module Rainbow
[54/99] Compiling Rainbow Color.swift
[55/99] Compiling Rainbow OutputTarget.swift
[56/99] Compiling TSCBasic JSONMapper.swift
[57/99] Compiling TSCBasic KeyedPair.swift
[58/99] Compiling TSCBasic LazyCache.swift
[59/99] Compiling TSCBasic Lock.swift
[60/103] Compiling TSCBasic DeltaAlgorithm.swift
[61/103] Compiling TSCBasic DiagnosticsEngine.swift
[62/103] Compiling TSCBasic DictionaryExtensions.swift
[63/103] Compiling TSCBasic DictionaryLiteralExtensions.swift
[64/103] Compiling TSCBasic EditDistance.swift
[65/103] Compiling TSCBasic StringConversions.swift
[66/103] Compiling TSCBasic SynchronizedQueue.swift
[67/103] Compiling TSCBasic TemporaryFile.swift
[68/103] Compiling TSCBasic TerminalController.swift
[69/103] Compiling TSCBasic ProcessSet.swift
[70/103] Compiling TSCBasic RegEx.swift
[71/103] Compiling TSCBasic Result.swift
[72/103] Compiling TSCBasic SortedArray.swift
[73/103] Compiling TSCBasic OSLog.swift
[74/103] Compiling TSCBasic ObjectIdentifierProtocol.swift
[75/103] Compiling TSCBasic OrderedDictionary.swift
[76/103] Compiling TSCBasic OrderedSet.swift
[77/103] Compiling TSCBasic Await.swift
[78/103] Compiling TSCBasic Base64URL.swift
[79/103] Compiling TSCBasic ByteString.swift
[80/103] Compiling TSCBasic CStringArray.swift
[81/103] Compiling TSCBasic CacheableSequence.swift
[82/103] Emitting module TSCBasic
[83/103] Compiling TSCBasic Thread.swift
[84/103] Compiling TSCBasic Tuple.swift
[85/103] Compiling TSCBasic WritableByteStream.swift
[86/103] Compiling TSCBasic misc.swift
[89/103] Compiling TSCBasic Process.swift
[90/103] Compiling TSCBasic ProcessEnv.swift
[91/103] Compiling TSCBasic Closable.swift
[92/103] Compiling TSCBasic CodableResult.swift
[93/103] Compiling TSCBasic CollectionAlgorithms.swift
[94/103] Compiling TSCBasic CollectionExtensions.swift
[95/103] Compiling TSCBasic Condition.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] Compiling TSCUtility URL.swift
[106/142] Compiling TSCUtility Verbosity.swift
[107/142] Compiling TSCUtility Version.swift
[108/142] Compiling TSCUtility Versioning.swift
[109/142] Compiling TSCUtility dlopen.swift
[110/142] Compiling TSCUtility misc.swift
[111/142] Compiling TSCUtility OSLog.swift
[112/142] Compiling TSCUtility OrderedZip.swift
[113/142] Compiling TSCUtility PkgConfig.swift
[114/142] Compiling TSCUtility Platform.swift
[115/142] Compiling TSCUtility PolymorphicCodable.swift
[116/142] Compiling TSCUtility ProgressAnimation.swift
[117/142] Compiling TSCUtility SerializedDiagnostics.swift
[118/142] Compiling TSCUtility SimplePersistence.swift
[119/142] Compiling TSCUtility IndexStore.swift
[120/142] Compiling TSCUtility InterruptHandler.swift
[121/142] Compiling TSCUtility JSONMessageStreamingParser.swift
[122/142] Compiling TSCUtility Netrc.swift
[123/142] Compiling TSCUtility Archiver.swift
[124/142] Compiling TSCUtility ArgumentParser.swift
[125/142] Compiling TSCUtility ArgumentParserShellCompletion.swift
[126/142] Compiling TSCUtility Array+Extensions.swift
[127/142] Compiling TSCUtility StringExtensions.swift
[128/142] Compiling TSCUtility StringMangling.swift
[129/142] Compiling TSCUtility Tracing.swift
[130/142] Compiling TSCUtility Triple.swift
[131/142] Emitting module TSCUtility
[132/142] Compiling TSCUtility FSWatch.swift
[133/142] Compiling TSCUtility FloatingPointExtensions.swift
[134/142] Compiling TSCUtility Git.swift
[135/142] Compiling TSCUtility Hex.swift
[136/142] Compiling TSCUtility Bits.swift
[137/142] Compiling TSCUtility Bitstream.swift
[138/142] Compiling TSCUtility BitstreamReader.swift
[139/142] Compiling TSCUtility BitstreamWriter.swift
[140/151] Compiling SwiftPrompt PromptOption.swift
[141/151] Compiling SwiftPrompt SwiftPrompt.swift
[142/151] Compiling SwiftPrompt ValidationResult.swift
[143/151] Compiling SwiftPrompt PromptUtils.swift
[144/151] Compiling SwiftPrompt OptionSetState.swift
[145/151] Compiling SwiftPrompt OptionSetPrompt.swift
[146/151] Compiling SwiftPrompt ANSIIChar.swift
[147/151] Emitting module SwiftPrompt
[148/151] Compiling SwiftPrompt InputPrompt.swift
[149/153] Compiling SwiftPromptExample main.swift
[150/153] Emitting module SwiftPromptExample
[150/153] Write Objects.LinkFileList
[151/153] Linking SwiftPromptExample
[152/153] Applying SwiftPromptExample
Build complete! (34.73s)
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.