This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Teapot with Swift 6.0 (beta) for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bannzai/teapot.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bannzai/teapot
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7b259e5 Merge pull request #12 from bannzai/fix/command/mark_of_file
Cloned https://github.com/bannzai/teapot.git
Revision (git rev-parse @):
7b259e520136febf157165dd1f5fb862d27710c9
SUCCESS checkout https://github.com/bannzai/teapot.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/bannzai/teapot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/12] Write sources
[0/12] Write Teapot-entitlement.plist
[0/12] Write sources
[8/12] Write swift-version-6F35C1178C84523A.txt
[10/46] Emitting module Commander
[11/46] Compiling Commander ArgumentConvertible.swift
[12/46] Compiling Commander ArgumentDescription.swift
[13/46] Compiling Commander Group.swift
[14/46] Compiling Commander ArgumentParser.swift
[15/46] Compiling Commander Commands.swift
[16/46] Compiling Commander CommandType.swift
[17/46] Compiling Commander Command.swift
[18/46] Compiling Commander CommandRunner.swift
[19/46] Compiling Commander Error.swift
[20/46] Compiling SwiftShell Lazy-split.swift
[21/46] Compiling SwiftShell Stream.swift
[22/46] Compiling Yaml Yaml.swift
[23/46] Compiling Yaml YAMLResult.swift
[24/46] Compiling Yaml YAMLTokenizer.swift
[25/47] Compiling Ocha WatchingPathable.swift
[26/47] Compiling Yaml YAMLRegex.swift
[27/47] Emitting module PathKit
[28/47] Compiling PathKit PathKit.swift
[29/47] Compiling SwiftShell Files.swift
[30/47] Compiling SwiftShell Array.swift
[31/47] Compiling SwiftShell Process.swift
[32/47] Compiling SwiftShell Bash.swift
[33/47] Compiling SwiftShell Command.swift
[34/47] Emitting module SwiftShell
[35/47] Compiling SwiftShell Context.swift
[36/47] Compiling SwiftShell FileHandle.swift
[37/47] Compiling Ocha EventSet.swift
[38/47] Emitting module Ocha
[39/47] Compiling Ocha Watcher.swift
[40/47] Compiling Ocha Event.swift
[41/47] Compiling Yaml YAMLOperators.swift
[42/47] Emitting module Yaml
[43/47] Compiling Yaml YAMLParser.swift
[44/47] Compiling SwiftShell String.swift
[45/63] Compiling TeapotCore Translator.swift
[46/63] Compiling TeapotCore ConfigurationTranslator.swift
[47/64] Compiling TeapotCore Alias.swift
[48/64] Compiling TeapotCore Watcher.swift
[49/64] Compiling TeapotCore ConfigReader.swift
[50/64] Compiling TeapotCore Glob.swift
[51/64] Compiling TeapotCore YamlReadError.swift
[52/64] Compiling TeapotCore YamlReader.swift
[53/64] Compiling TeapotCore Extractor.swift
[54/64] Compiling TeapotCore FilePathExtractor.swift
[55/64] Emitting module TeapotCore
[56/64] Compiling TeapotCore Collector.swift
[57/64] Compiling TeapotCore FilePathCollector.swift
[58/64] Compiling TeapotCore Runner.swift
[59/64] Compiling TeapotCore Setup.swift
[60/64] Compiling TeapotCore Executor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Context.swift:142:12: warning: let 'main' is not concurrency-safe because non-'Sendable' type 'MainContext' may have shared mutable state; this is an error in the Swift 6 language mode
 90 | }
 91 |
 92 | public final class MainContext: Context, CommandRunning {
    |                    `- note: class 'MainContext' does not conform to the 'Sendable' protocol
 93 | 	/// The default character encoding used throughout SwiftShell.
 94 | 	/// Only affects stdin, stdout and stderror if they have not been used yet.
    :
140 | }
141 |
142 | public let main = MainContext()
    |            |- warning: let 'main' is not concurrency-safe because non-'Sendable' type 'MainContext' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'main' 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
143 |
144 | #endif
[61/64] Compiling TeapotCore TeapotCommandExecutor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Context.swift:142:12: warning: let 'main' is not concurrency-safe because non-'Sendable' type 'MainContext' may have shared mutable state; this is an error in the Swift 6 language mode
 90 | }
 91 |
 92 | public final class MainContext: Context, CommandRunning {
    |                    `- note: class 'MainContext' does not conform to the 'Sendable' protocol
 93 | 	/// The default character encoding used throughout SwiftShell.
 94 | 	/// Only affects stdin, stdout and stderror if they have not been used yet.
    :
140 | }
141 |
142 | public let main = MainContext()
    |            |- warning: let 'main' is not concurrency-safe because non-'Sendable' type 'MainContext' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'main' 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
143 |
144 | #endif
[62/66] Emitting module Teapot
[63/66] Compiling Teapot main.swift
[63/66] Write Objects.LinkFileList
[64/66] Linking Teapot
[65/66] Applying Teapot
Build complete! (42.73s)
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/bannzai/Ocha.git
Fetching https://github.com/bannzai/Ragnarok.git
Fetching https://github.com/kylef/Commander.git
[1/854] Fetching ragnarok
[36/1629] Fetching ragnarok, ocha
[52/3217] Fetching ragnarok, ocha, commander
[84/4238] Fetching ragnarok, ocha, commander, spectre
[580/9101] Fetching ragnarok, ocha, commander, spectre, swiftshell
[1094/10512] Fetching ragnarok, ocha, commander, spectre, swiftshell, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (1.04s)
Fetched https://github.com/kylef/Commander.git from cache (1.04s)
Fetching https://github.com/behrang/YamlSwift.git
[3232/7513] Fetching ragnarok, ocha, spectre, swiftshell
[7514/68399] Fetching ragnarok, ocha, spectre, swiftshell, swift-syntax
[8732/69783] Fetching ragnarok, ocha, spectre, swiftshell, swift-syntax, yamlswift
Fetched https://github.com/behrang/YamlSwift.git from cache (0.95s)
[19691/68399] Fetching ragnarok, ocha, spectre, swiftshell, swift-syntax
Fetched https://github.com/bannzai/Ocha.git from cache (3.18s)
Fetched https://github.com/kareman/SwiftShell.git from cache (3.18s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.18s)
Computing version for https://github.com/kylef/Commander.git
Fetched https://github.com/bannzai/Ragnarok.git from cache (3.18s)
Fetched https://github.com/kylef/Spectre.git from cache (3.18s)
Computed https://github.com/kylef/Commander.git at 0.8.0 (2.65s)
Computing version for https://github.com/bannzai/Ocha.git
warning: 'ocha': /Package.swift:37:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |
36 |   var targetDependencies: [PackageDescription.Target.Dependency] {
37 |     return exampleDependencies + [targetDependency].flatMap{ $0 }
   |                                                     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                     `- note: use 'compactMap(_:)' instead
38 |   }
39 |
Computed https://github.com/bannzai/Ocha.git at 1.1.0 (0.78s)
Computing version for https://github.com/behrang/YamlSwift.git
Computed https://github.com/behrang/YamlSwift.git at 3.4.4 (0.68s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (2.33s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.68s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.68s)
Computing version for https://github.com/bannzai/Ragnarok.git
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (0.68s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (0.75s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50000.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.8.0
Creating working copy for https://github.com/bannzai/Ragnarok.git
Working copy of https://github.com/bannzai/Ragnarok.git resolved at 1.0.2
Creating working copy for https://github.com/behrang/YamlSwift.git
Working copy of https://github.com/behrang/YamlSwift.git resolved at 3.4.4
Creating working copy for https://github.com/bannzai/Ocha.git
Working copy of https://github.com/bannzai/Ocha.git resolved at 1.1.0
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.2
warning: 'ocha': /Users/admin/builder/spi-builder-workspace/.build/checkouts/Ocha/Package.swift:37:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |
36 |   var targetDependencies: [PackageDescription.Target.Dependency] {
37 |     return exampleDependencies + [targetDependency].flatMap{ $0 }
   |                                                     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                     `- note: use 'compactMap(_:)' instead
38 |   }
39 |
warning: 'ragnarok': the target name ragnarok has different case on the filesystem and the Package.swift manifest file
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftshell",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.2",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kareman/SwiftShell.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "yamlswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.4.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/behrang/YamlSwift.git"
    },
    {
      "identity" : "ocha",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bannzai/Ocha.git"
    },
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    }
  ],
  "manifest_display_name" : "Teapot",
  "name" : "Teapot",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Teapot",
      "targets" : [
        "Teapot"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TeapotCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "TeapotCoreTests",
      "path" : "Tests/TeapotCoreTests",
      "product_dependencies" : [
        "Ocha"
      ],
      "sources" : [
        "Mock.swift",
        "StartTests.swift"
      ],
      "target_dependencies" : [
        "TeapotCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TeapotCore",
      "module_type" : "SwiftTarget",
      "name" : "TeapotCore",
      "path" : "Sources/TeapotCore",
      "product_dependencies" : [
        "Ocha",
        "SwiftShell",
        "PathKit",
        "Yaml"
      ],
      "product_memberships" : [
        "Teapot"
      ],
      "sources" : [
        "Collector/Collector.swift",
        "Collector/FilePathCollector.swift",
        "Executor/Executor.swift",
        "Executor/TeapotCommandExecutor.swift",
        "Extractor/Extractor.swift",
        "Extractor/FilePathExtractor.swift",
        "Reader/ConfigReader.swift",
        "Reader/Glob.swift",
        "Reader/YamlReadError.swift",
        "Reader/YamlReader.swift",
        "Runner.swift",
        "Setup.swift",
        "Structure/Alias.swift",
        "Translator/ConfigurationTranslator.swift",
        "Translator/Translator.swift",
        "Watcher/Watcher.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Teapot",
      "module_type" : "SwiftTarget",
      "name" : "Teapot",
      "path" : "Sources/Teapot",
      "product_dependencies" : [
        "Commander"
      ],
      "product_memberships" : [
        "Teapot"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TeapotCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.