The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Bariloche, reference master (bb2856), with Swift 6.1 for macOS (SPM) on 25 Sep 2025 07:46:32 UTC.

Swift 6 data race errors: 2

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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/subito-it/bariloche.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/subito-it/bariloche
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bb2856b Add support for multiple arguments
Cloned https://github.com/subito-it/bariloche.git
Revision (git rev-parse @):
bb2856b0eb513b8ee7d98e4d774ee55eef62d103
SUCCESS checkout https://github.com/subito-it/bariloche.git at master
Fetching https://github.com/onevcat/Rainbow
[1/1339] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.86s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.4 (3.46s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.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": "bariloche",
      "name": "Bariloche",
      "url": "https://github.com/subito-it/bariloche.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/bariloche",
      "dependencies": [
        {
          "identity": "rainbow",
          "name": "Rainbow",
          "url": "https://github.com/onevcat/Rainbow",
          "version": "3.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/subito-it/bariloche.git
[1/201] Fetching bariloche
Fetched https://github.com/subito-it/bariloche.git from cache (0.78s)
Fetching https://github.com/onevcat/Rainbow from cache
Fetched https://github.com/onevcat/Rainbow from cache (0.43s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.49s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/subito-it/bariloche.git
Working copy of https://github.com/subito-it/bariloche.git resolved at master (bb2856b)
warning: '.resolve-product-dependencies': dependency 'bariloche' is not used by any target
Found 1 product dependencies
  - Rainbow
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/subito-it/bariloche.git
https://github.com/subito-it/bariloche.git
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    }
  ],
  "manifest_display_name" : "Bariloche",
  "name" : "Bariloche",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Bariloche",
      "targets" : [
        "Bariloche"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BarilocheExample",
      "targets" : [
        "BarilocheExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "BarilocheTests",
      "module_type" : "SwiftTarget",
      "name" : "BarilocheTests",
      "path" : "Tests/BarilocheTests",
      "sources" : [
        "CommandUtilitiesTests.swift",
        "ParserTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Bariloche"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BarilocheExample",
      "module_type" : "SwiftTarget",
      "name" : "BarilocheExample",
      "path" : "Sources/BarilocheExample",
      "product_memberships" : [
        "BarilocheExample"
      ],
      "sources" : [
        "Cat-Like/CatCommand.swift",
        "CocoaPods-Like/CacheCommand.swift",
        "CocoaPods-Like/CocoaPodsCommand.swift",
        "CocoaPods-Like/SearchCommand.swift",
        "CocoaPods-Like/TestCommand.swift",
        "CocoaPods-Like/TestSub1Command.swift",
        "CocoaPods-Like/TestSub2Command.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Bariloche"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Bariloche",
      "module_type" : "SwiftTarget",
      "name" : "Bariloche",
      "path" : "Sources/Bariloche",
      "product_dependencies" : [
        "Rainbow"
      ],
      "product_memberships" : [
        "Bariloche",
        "BarilocheExample"
      ],
      "sources" : [
        "Argument.swift",
        "Autocomplete.swift",
        "Bariloche.swift",
        "BaseArgument.swift",
        "Command.swift",
        "Flag.swift",
        "Internal/AutocompleteWriter.swift",
        "Internal/Command+Assertions.swift",
        "Internal/Command+Mirror.swift",
        "Internal/OutputStreamer.swift",
        "Internal/Parser.swift",
        "Internal/Process+Shell.swift",
        "Internal/StringTypeConverter.swift",
        "Internal/UsagePrinter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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/8] Write sources
[2/8] Write BarilocheExample-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/19] Compiling Rainbow StringGenerator.swift
[7/20] Compiling Rainbow Style.swift
[8/20] Compiling Rainbow String+Rainbow.swift
[9/20] Compiling Rainbow Color.swift
[10/20] Compiling Rainbow XcodeColorsSupport.swift
[11/20] Compiling Rainbow BackgroundColor.swift
[12/20] Compiling Rainbow CodesParser.swift
[13/20] Emitting module Rainbow
[14/20] Compiling Rainbow OutputTarget.swift
[15/20] Compiling Rainbow ModesExtractor.swift
[16/20] Compiling Rainbow ControlCode.swift
[17/20] Compiling Rainbow Rainbow.swift
[18/34] Compiling Bariloche StringTypeConverter.swift
[19/34] Compiling Bariloche OutputStreamer.swift
[20/34] Compiling Bariloche Process+Shell.swift
[21/35] Compiling Bariloche Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bariloche/Internal/Parser.swift:13:14: warning: associated value 'missingArgument' of 'Sendable'-conforming enum 'Error' has non-sendable type 'BaseArgument'; this is an error in the Swift 6 language mode
 11 |     enum Error: Swift.Error {
 12 |         case invalidArgument(String)
 13 |         case missingArgument([BaseArgument])
    |              `- warning: associated value 'missingArgument' of 'Sendable'-conforming enum 'Error' has non-sendable type 'BaseArgument'; this is an error in the Swift 6 language mode
 14 |     }
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/Bariloche/BaseArgument.swift:8:14: note: class 'BaseArgument' does not conform to the 'Sendable' protocol
  6 | //
  7 |
  8 | public class BaseArgument: Equatable, CustomStringConvertible {
    |              `- note: class 'BaseArgument' does not conform to the 'Sendable' protocol
  9 |     public enum Kind: Equatable {
 10 |         case positional
[22/35] Compiling Bariloche Command+Mirror.swift
[23/35] Compiling Bariloche Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bariloche/Flag.swift:48:16: warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public class Flag: Equatable, CustomStringConvertible {
   |              `- note: class 'Flag' does not conform to the 'Sendable' protocol
 9 |     public let short: String?
10 |     public let long: String?
   :
46 |
47 | extension Flag {
48 |     static let help = Flag(short: "h", long: "help", help: "Show help banner of specified command")
   |                |- warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'help' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | }
50 |
[24/35] Compiling Bariloche Flag.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bariloche/Flag.swift:48:16: warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public class Flag: Equatable, CustomStringConvertible {
   |              `- note: class 'Flag' does not conform to the 'Sendable' protocol
 9 |     public let short: String?
10 |     public let long: String?
   :
46 |
47 | extension Flag {
48 |     static let help = Flag(short: "h", long: "help", help: "Show help banner of specified command")
   |                |- warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'help' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | }
50 |
[25/35] Compiling Bariloche Argument.swift
[26/35] Compiling Bariloche Autocomplete.swift
[27/35] Compiling Bariloche Bariloche.swift
[28/35] Compiling Bariloche BaseArgument.swift
[29/35] Emitting module Bariloche
/Users/admin/builder/spi-builder-workspace/Sources/Bariloche/Flag.swift:48:16: warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public class Flag: Equatable, CustomStringConvertible {
   |              `- note: class 'Flag' does not conform to the 'Sendable' protocol
 9 |     public let short: String?
10 |     public let long: String?
   :
46 |
47 | extension Flag {
48 |     static let help = Flag(short: "h", long: "help", help: "Show help banner of specified command")
   |                |- warning: static property 'help' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'help' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/Bariloche/Internal/Parser.swift:13:14: warning: associated value 'missingArgument' of 'Sendable'-conforming enum 'Error' has non-sendable type 'BaseArgument'; this is an error in the Swift 6 language mode
 11 |     enum Error: Swift.Error {
 12 |         case invalidArgument(String)
 13 |         case missingArgument([BaseArgument])
    |              `- warning: associated value 'missingArgument' of 'Sendable'-conforming enum 'Error' has non-sendable type 'BaseArgument'; this is an error in the Swift 6 language mode
 14 |     }
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/Bariloche/BaseArgument.swift:8:14: note: class 'BaseArgument' does not conform to the 'Sendable' protocol
  6 | //
  7 |
  8 | public class BaseArgument: Equatable, CustomStringConvertible {
    |              `- note: class 'BaseArgument' does not conform to the 'Sendable' protocol
  9 |     public enum Kind: Equatable {
 10 |         case positional
[30/35] Compiling Bariloche AutocompleteWriter.swift
[31/35] Compiling Bariloche Command+Assertions.swift
[32/35] Compiling Bariloche UsagePrinter.swift
[33/44] Compiling BarilocheExample main.swift
[34/44] Compiling BarilocheExample TestSub1Command.swift
[35/44] Compiling BarilocheExample TestSub2Command.swift
[36/44] Compiling BarilocheExample TestCommand.swift
[37/44] Compiling BarilocheExample CocoaPodsCommand.swift
[38/44] Compiling BarilocheExample CacheCommand.swift
[39/44] Emitting module BarilocheExample
[40/44] Compiling BarilocheExample CatCommand.swift
[41/44] Compiling BarilocheExample SearchCommand.swift
[41/44] Write Objects.LinkFileList
[42/44] Linking BarilocheExample
[43/44] Applying BarilocheExample
Build complete! (9.32s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    }
  ],
  "manifest_display_name" : "Bariloche",
  "name" : "Bariloche",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Bariloche",
      "targets" : [
        "Bariloche"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BarilocheExample",
      "targets" : [
        "BarilocheExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "BarilocheTests",
      "module_type" : "SwiftTarget",
      "name" : "BarilocheTests",
      "path" : "Tests/BarilocheTests",
      "sources" : [
        "CommandUtilitiesTests.swift",
        "ParserTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Bariloche"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BarilocheExample",
      "module_type" : "SwiftTarget",
      "name" : "BarilocheExample",
      "path" : "Sources/BarilocheExample",
      "product_memberships" : [
        "BarilocheExample"
      ],
      "sources" : [
        "Cat-Like/CatCommand.swift",
        "CocoaPods-Like/CacheCommand.swift",
        "CocoaPods-Like/CocoaPodsCommand.swift",
        "CocoaPods-Like/SearchCommand.swift",
        "CocoaPods-Like/TestCommand.swift",
        "CocoaPods-Like/TestSub1Command.swift",
        "CocoaPods-Like/TestSub2Command.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Bariloche"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Bariloche",
      "module_type" : "SwiftTarget",
      "name" : "Bariloche",
      "path" : "Sources/Bariloche",
      "product_dependencies" : [
        "Rainbow"
      ],
      "product_memberships" : [
        "Bariloche",
        "BarilocheExample"
      ],
      "sources" : [
        "Argument.swift",
        "Autocomplete.swift",
        "Bariloche.swift",
        "BaseArgument.swift",
        "Command.swift",
        "Flag.swift",
        "Internal/AutocompleteWriter.swift",
        "Internal/Command+Assertions.swift",
        "Internal/Command+Mirror.swift",
        "Internal/OutputStreamer.swift",
        "Internal/Parser.swift",
        "Internal/Process+Shell.swift",
        "Internal/StringTypeConverter.swift",
        "Internal/UsagePrinter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.