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, reference master (7b259e), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 06:07:36 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.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
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/bannzai/Ocha.git
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/behrang/YamlSwift.git
Fetching https://github.com/kylef/Spectre.git
[1/1384] Fetching yamlswift
[29/2159] Fetching yamlswift, ocha
[91/3180] Fetching yamlswift, ocha, spectre
[255/4591] Fetching yamlswift, ocha, spectre, pathkit
[439/6179] Fetching yamlswift, ocha, spectre, pathkit, commander
[1047/11042] Fetching yamlswift, ocha, spectre, pathkit, commander, swiftshell
Fetched https://github.com/behrang/YamlSwift.git from cache (1.32s)
Fetched https://github.com/kylef/Spectre.git from cache (1.32s)
Fetched https://github.com/kylef/Commander.git from cache (1.32s)
Fetched https://github.com/kylef/PathKit.git from cache (1.32s)
Fetching https://github.com/bannzai/Ragnarok.git
[1/66683] Fetching swift-syntax
[2/67537] Fetching swift-syntax, ragnarok
Fetched https://github.com/bannzai/Ragnarok.git from cache (0.72s)
[8002/66683] Fetching swift-syntax
Fetched https://github.com/kareman/SwiftShell.git from cache (3.44s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.44s)
Fetched https://github.com/bannzai/Ocha.git from cache (3.44s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (2.43s)
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.60s)
Computing version for https://github.com/behrang/YamlSwift.git
Computed https://github.com/behrang/YamlSwift.git at 3.4.4 (0.54s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (2.47s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.56s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.56s)
Computing version for https://github.com/bannzai/Ragnarok.git
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (0.54s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (0.57s)
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/Ragnarok.git
Working copy of https://github.com/bannzai/Ragnarok.git resolved at 1.0.2
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/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
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/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.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/Ocha.git
Working copy of https://github.com/bannzai/Ocha.git resolved at 1.1.0
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 |
========================================
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": "teapot",
      "name": "Teapot",
      "url": "https://github.com/bannzai/teapot.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/teapot",
      "dependencies": [
        {
          "identity": "swiftshell",
          "name": "SwiftShell",
          "url": "https://github.com/kareman/SwiftShell.git",
          "version": "4.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftShell",
          "dependencies": [
          ]
        },
        {
          "identity": "pathkit",
          "name": "PathKit",
          "url": "https://github.com/kylef/PathKit.git",
          "version": "0.9.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
          "dependencies": [
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.9.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "yamlswift",
          "name": "Yaml",
          "url": "https://github.com/behrang/YamlSwift.git",
          "version": "3.4.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/YamlSwift",
          "dependencies": [
          ]
        },
        {
          "identity": "ocha",
          "name": "Ocha",
          "url": "https://github.com/bannzai/Ocha.git",
          "version": "1.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Ocha",
          "dependencies": [
            {
              "identity": "swiftshell",
              "name": "SwiftShell",
              "url": "https://github.com/kareman/SwiftShell.git",
              "version": "4.1.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftShell",
              "dependencies": [
              ]
            },
            {
              "identity": "pathkit",
              "name": "PathKit",
              "url": "https://github.com/kylef/PathKit.git",
              "version": "0.9.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
              "dependencies": [
                {
                  "identity": "spectre",
                  "name": "Spectre",
                  "url": "https://github.com/kylef/Spectre.git",
                  "version": "0.9.2",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
                  "dependencies": [
                  ]
                }
              ]
            },
            {
              "identity": "ragnarok",
              "name": "Ragnarok",
              "url": "https://github.com/bannzai/Ragnarok.git",
              "version": "1.0.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Ragnarok",
              "dependencies": [
                {
                  "identity": "swift-syntax",
                  "name": "SwiftSyntax",
                  "url": "https://github.com/apple/swift-syntax.git",
                  "version": "0.50700.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "commander",
          "name": "Commander",
          "url": "https://github.com/kylef/Commander.git",
          "version": "0.9.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Commander",
          "dependencies": [
            {
              "identity": "spectre",
              "name": "Spectre",
              "url": "https://github.com/kylef/Spectre.git",
              "version": "0.9.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/bannzai/teapot.git
[14/683] Fetching teapot
Fetched https://github.com/bannzai/teapot.git from cache (0.77s)
Fetching https://github.com/kylef/PathKit.git from cache
Fetching https://github.com/behrang/YamlSwift.git from cache
Fetching https://github.com/bannzai/Ocha.git from cache
Fetching https://github.com/kylef/Commander.git from cache
Fetching https://github.com/kareman/SwiftShell.git from cache
Fetched https://github.com/bannzai/Ocha.git from cache (0.50s)
Fetched https://github.com/kareman/SwiftShell.git from cache (0.50s)
Fetched https://github.com/kylef/Commander.git from cache (0.50s)
Fetched https://github.com/behrang/YamlSwift.git from cache (0.50s)
Fetched https://github.com/kylef/PathKit.git from cache (0.50s)
Computing version for https://github.com/bannzai/Ocha.git
Computed https://github.com/bannzai/Ocha.git at 1.1.0 (0.02s)
Fetching https://github.com/bannzai/Ragnarok.git from cache
Fetched https://github.com/bannzai/Ragnarok.git from cache (0.49s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.03s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.45s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.02s)
Computing version for https://github.com/bannzai/Ragnarok.git
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (0.02s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.83s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.55s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.53s)
Computing version for https://github.com/behrang/YamlSwift.git
Computed https://github.com/behrang/YamlSwift.git at 3.4.4 (0.02s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50700.1 (0.66s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
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/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.2
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50700.1
Creating working copy for https://github.com/bannzai/teapot.git
Working copy of https://github.com/bannzai/teapot.git resolved at master (7b259e5)
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
[16375/20720765] Downloading https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip
Downloading binary artifact https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip
Downloaded https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip (1.87s)
warning: 'ragnarok': the target name ragnarok has different case on the filesystem and the Package.swift manifest file
Found 5 product dependencies
  - SwiftShell
  - PathKit
  - Yaml
  - Ocha
  - Commander
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/bannzai/teapot.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
Building for debugging...
[0/12] Write sources
[4/12] Write Teapot-entitlement.plist
[7/12] Write sources
[8/12] Write swift-version--7754E27361AE5C74.txt
[10/46] Emitting module Ocha
[11/46] Compiling Commander Group.swift
[12/46] Compiling Commander ArgumentParser.swift
[13/46] Emitting module Commander
[14/46] Compiling Commander Error.swift
[15/46] Compiling Commander ArgumentDescription.swift
[16/46] Compiling Commander ArgumentConvertible.swift
[17/46] Compiling Commander Command.swift
[18/46] Compiling Commander CommandRunner.swift
[19/46] Compiling Commander CommandType.swift
[20/46] Compiling Commander Commands.swift
[21/46] Compiling SwiftShell Context.swift
[22/47] Compiling Ocha WatchingPathable.swift
[23/47] Compiling SwiftShell Files.swift
[24/47] Compiling SwiftShell FileHandle.swift
[25/47] Compiling SwiftShell Array.swift
[26/47] Compiling SwiftShell Process.swift
[27/47] Compiling Yaml YAMLTokenizer.swift
[28/47] Compiling Yaml Yaml.swift
[29/47] Compiling Yaml YAMLRegex.swift
[30/47] Compiling Yaml YAMLResult.swift
[31/47] Compiling Yaml YAMLOperators.swift
[32/47] Emitting module Yaml
[33/47] Compiling Yaml YAMLParser.swift
[34/47] Compiling SwiftShell Command.swift
[35/47] Compiling SwiftShell Bash.swift
[36/47] Emitting module SwiftShell
[37/47] Compiling SwiftShell Lazy-split.swift
[38/47] Compiling SwiftShell Stream.swift
[39/47] Compiling Ocha Watcher.swift
[40/47] Compiling Ocha Event.swift
[41/47] Compiling Ocha EventSet.swift
[42/47] Compiling PathKit PathKit.swift
[43/47] Emitting module PathKit
[44/47] Compiling SwiftShell String.swift
[45/63] Compiling TeapotCore Translator.swift
[46/64] Compiling TeapotCore Alias.swift
[47/64] Compiling TeapotCore ConfigurationTranslator.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] Compiling TeapotCore Collector.swift
[56/64] Compiling TeapotCore FilePathCollector.swift
[57/64] Emitting module TeapotCore
[58/64] Compiling TeapotCore Executor.swift
[59/64] Compiling TeapotCore TeapotCommandExecutor.swift
[60/64] Compiling TeapotCore Runner.swift
[61/64] Compiling TeapotCore Setup.swift
[62/66] Compiling Teapot main.swift
[63/66] Emitting module Teapot
[63/66] Write Objects.LinkFileList
[64/66] Linking Teapot
[65/66] Applying Teapot
Build complete! (37.11s)
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.