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 Sitrep, reference main (a303a4), with Swift 6.1 for macOS (SPM) on 2 May 2025 12:54:32 UTC.

Swift 6 data race errors: 1

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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/twostraws/Sitrep.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/twostraws/Sitrep
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a303a41 Merge pull request #42 from henrik-dmg/main
Cloned https://github.com/twostraws/Sitrep.git
Revision (git rev-parse @):
a303a41dfbf482b6e9ea51862833ff1551dffdc2
SUCCESS checkout https://github.com/twostraws/Sitrep.git at main
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
[1/70291] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.04s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.04s)
Fetched https://github.com/jpsim/Yams.git from cache (3.05s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (4.13s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.5 (0.58s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.0 (0.68s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.5
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.2
========================================
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": "sitrep",
      "name": "Sitrep",
      "url": "https://github.com/twostraws/Sitrep.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Sitrep",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "SwiftSyntax",
          "url": "https://github.com/apple/swift-syntax.git",
          "version": "508.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        },
        {
          "identity": "yams",
          "name": "Yams",
          "url": "https://github.com/jpsim/Yams.git",
          "version": "5.3.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/twostraws/Sitrep.git
[1/372] Fetching sitrep
Fetched https://github.com/twostraws/Sitrep.git from cache (0.88s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetched https://github.com/jpsim/Yams.git from cache (0.52s)
Fetched https://github.com/apple/swift-syntax.git from cache (0.94s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.94s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (1.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.48s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.55s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Creating working copy for https://github.com/twostraws/Sitrep.git
Working copy of https://github.com/twostraws/Sitrep.git resolved at main (a303a41)
Found 3 product dependencies
  - SwiftSyntax
  - Yams
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/twostraws/Sitrep.git
https://github.com/twostraws/Sitrep.git
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "508.0.0",
            "upper_bound" : "509.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Sitrep",
  "name" : "Sitrep",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SitrepCore",
      "targets" : [
        "SitrepCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Sitrep",
      "targets" : [
        "Sitrep"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SitrepCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SitrepCoreTests",
      "path" : "Tests/SitrepCoreTests",
      "sources" : [
        "SitrepCoreTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SitrepCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SitrepCore",
      "module_type" : "SwiftTarget",
      "name" : "SitrepCore",
      "path" : "Sources/SitrepCore",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxParser",
        "Yams",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "SitrepCore",
        "Sitrep"
      ],
      "sources" : [
        "BodyStripper.swift",
        "Comment.swift",
        "Configuration.swift",
        "Extensions.swift",
        "File.swift",
        "FileVisitor.swift",
        "Function.swift",
        "Node.swift",
        "Report.swift",
        "Results.swift",
        "Scan.swift",
        "Type.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Sitrep",
      "module_type" : "SwiftTarget",
      "name" : "Sitrep",
      "path" : "Sources/Sitrep",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "Sitrep"
      ],
      "sources" : [
        "Sitrep.swift"
      ],
      "target_dependencies" : [
        "SitrepCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.8"
}
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/25] Write sources
[8/25] Write Sitrep-entitlement.plist
[10/25] Write sources
[11/25] Write swift-version-2F0A5646E1D333AE.txt
[12/66] Compiling reader.c
[13/66] Compiling writer.c
[14/66] Compiling parser.c
[15/66] Compiling api.c
[16/66] Compiling emitter.c
[17/66] Compiling scanner.c
[19/81] Emitting module ArgumentParserToolInfo
[20/81] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/119] Compiling ArgumentParser ArgumentHelp.swift
[22/119] Compiling ArgumentParser ArgumentVisibility.swift
[23/119] Compiling ArgumentParser CompletionKind.swift
[24/119] Compiling ArgumentParser Errors.swift
[25/119] Compiling ArgumentParser ParsableArguments.swift
[30/127] Emitting module ArgumentParser
[31/127] Compiling ArgumentParser Flag.swift
[32/127] Compiling ArgumentParser NameSpecification.swift
[33/127] Compiling ArgumentParser Option.swift
[34/127] Compiling ArgumentParser OptionGroup.swift
[35/127] Compiling ArgumentParser InputOrigin.swift
[36/127] Compiling ArgumentParser Name.swift
[37/127] Compiling ArgumentParser Parsed.swift
[38/127] Compiling ArgumentParser ParsedValues.swift
[39/127] Compiling ArgumentParser Platform.swift
[40/127] Compiling ArgumentParser SequenceExtensions.swift
[41/127] Compiling ArgumentParser StringExtensions.swift
[42/127] Compiling ArgumentParser Tree.swift
[43/127] Emitting module SwiftSyntax
[44/127] Compiling ArgumentParser BashCompletionsGenerator.swift
[45/127] Compiling ArgumentParser CompletionsGenerator.swift
[46/127] Compiling ArgumentParser FishCompletionsGenerator.swift
[47/127] Compiling ArgumentParser ZshCompletionsGenerator.swift
[48/127] Compiling ArgumentParser Argument.swift
[50/127] Compiling ArgumentParser ParsableArgumentsValidation.swift
[51/127] Compiling ArgumentParser ParsableCommand.swift
[52/127] Compiling ArgumentParser ArgumentDecoder.swift
[53/127] Compiling ArgumentParser ArgumentDefinition.swift
[54/127] Compiling ArgumentParser ArgumentSet.swift
[55/127] Compiling ArgumentParser CommandParser.swift
[56/127] Compiling ArgumentParser InputKey.swift
[57/127] Compiling Yams Resolver.swift
[58/127] Compiling Yams Tag.swift
[59/128] Compiling Yams String+Yams.swift
[62/128] Compiling Yams Representer.swift
[63/128] Compiling ArgumentParser AsyncParsableCommand.swift
[64/128] Compiling ArgumentParser CommandConfiguration.swift
[65/128] Compiling ArgumentParser EnumerableFlag.swift
[66/128] Compiling ArgumentParser ExpressibleByArgument.swift
[67/128] Compiling ArgumentParser ParserError.swift
[68/128] Compiling ArgumentParser SplitArguments.swift
[69/128] Compiling ArgumentParser DumpHelpGenerator.swift
[70/128] Compiling ArgumentParser HelpCommand.swift
[71/128] Compiling ArgumentParser HelpGenerator.swift
[72/128] Compiling ArgumentParser MessageInfo.swift
[73/128] Compiling ArgumentParser UsageGenerator.swift
[74/128] Compiling ArgumentParser CollectionExtensions.swift
[81/128] Emitting module Yams
[84/128] Compiling Yams YamlError.swift
[96/128] Compiling SwiftSyntax SyntaxTypeNodes.swift
[121/128] Write Objects.LinkFileList
[122/128] Archiving libSwiftSyntax.a
[124/134] Compiling SwiftDiagnostics Note.swift
[125/134] Compiling SwiftDiagnostics Message.swift
[126/134] Compiling SwiftDiagnostics FixIt.swift
[127/134] Emitting module SwiftDiagnostics
[128/134] Compiling SwiftDiagnostics Diagnostic.swift
[129/134] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[130/161] Compiling SwiftParser SyntaxUtils.swift
[131/161] Compiling SwiftParser TokenConsumer.swift
[132/161] Compiling SwiftParser TokenPrecedence.swift
[133/163] Compiling SwiftParser LoopProgressCondition.swift
[134/163] Compiling SwiftParser Modifiers.swift
[135/163] Compiling SwiftParser Names.swift
[136/163] Emitting module SwiftParser
[137/163] Compiling SwiftParser Nominals.swift
[138/163] Compiling SwiftParser Parser.swift
[139/163] Compiling SwiftParser Patterns.swift
[140/163] Compiling SwiftParser DeclarationAttribute.swift
[141/163] Compiling SwiftParser DeclarationModifier.swift
[142/163] Compiling SwiftParser Parser+Entry.swift
[143/163] Compiling SwiftParser TypeAttribute.swift
[144/163] Compiling SwiftParser Attributes.swift
[145/163] Compiling SwiftParser Availability.swift
[146/163] Compiling SwiftParser CharacterInfo.swift
[147/163] Compiling SwiftParser TopLevel.swift
[148/163] Compiling SwiftParser TriviaParser.swift
[149/163] Compiling SwiftParser Types.swift
[150/163] Compiling SwiftParser RawTokenKindSubset.swift
[151/163] Compiling SwiftParser Recovery.swift
[152/163] Compiling SwiftParser Statements.swift
[153/163] Compiling SwiftParser Declarations.swift
[154/163] Compiling SwiftParser Directives.swift
[155/163] Compiling SwiftParser Expressions.swift
[156/163] Compiling SwiftParser Lexer.swift
[157/163] Compiling SwiftParser LexerDiagnosticMessages.swift
[158/163] Compiling SwiftParser Lookahead.swift
[159/166] Compiling SwiftSyntaxParser SyntaxParser.swift
[160/166] Emitting module SwiftSyntaxParser
[161/166] Compiling SwiftSyntaxParser Diagnostic.swift
[161/166] Write Objects.LinkFileList
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Diagnostic.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftDiagnostics.build/Diagnostic.swift.o(Diagnostic.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftSyntaxParser.build/Diagnostic.swift.o(Diagnostic.swift.o)'
[162/166] Archiving libSwiftSyntaxParser.a
[164/178] Compiling SitrepCore Node.swift
[165/179] Compiling SitrepCore Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SitrepCore/Configuration.swift:8:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// Holds the complete set of configured values and defaults.
 5 | public struct Configuration: Codable {
   |               `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
 6 |     private let excluded: [String]
 7 |
 8 |     public static let `default`: Configuration = .init(
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         excluded: []
10 |     )
[166/179] Compiling SitrepCore Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SitrepCore/Configuration.swift:8:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// Holds the complete set of configured values and defaults.
 5 | public struct Configuration: Codable {
   |               `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
 6 |     private let excluded: [String]
 7 |
 8 |     public static let `default`: Configuration = .init(
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         excluded: []
10 |     )
[167/179] Emitting module SitrepCore
/Users/admin/builder/spi-builder-workspace/Sources/SitrepCore/Configuration.swift:8:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// Holds the complete set of configured values and defaults.
 5 | public struct Configuration: Codable {
   |               `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
 6 |     private let excluded: [String]
 7 |
 8 |     public static let `default`: Configuration = .init(
   |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         excluded: []
10 |     )
[168/179] Compiling SitrepCore Function.swift
[169/179] Compiling SitrepCore Report.swift
[170/179] Compiling SitrepCore Results.swift
[171/179] Compiling SitrepCore File.swift
[172/179] Compiling SitrepCore BodyStripper.swift
[173/179] Compiling SitrepCore Comment.swift
[174/179] Compiling SitrepCore FileVisitor.swift
[175/179] Compiling SitrepCore Scan.swift
[176/179] Compiling SitrepCore Type.swift
[177/181] Emitting module Sitrep
[178/181] Compiling Sitrep Sitrep.swift
[178/181] Write Objects.LinkFileList
[179/181] Linking Sitrep
[180/181] Applying Sitrep
Build complete! (26.16s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "508.0.0",
            "upper_bound" : "509.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Sitrep",
  "name" : "Sitrep",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SitrepCore",
      "targets" : [
        "SitrepCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Sitrep",
      "targets" : [
        "Sitrep"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SitrepCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SitrepCoreTests",
      "path" : "Tests/SitrepCoreTests",
      "sources" : [
        "SitrepCoreTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SitrepCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SitrepCore",
      "module_type" : "SwiftTarget",
      "name" : "SitrepCore",
      "path" : "Sources/SitrepCore",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxParser",
        "Yams",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "SitrepCore",
        "Sitrep"
      ],
      "sources" : [
        "BodyStripper.swift",
        "Comment.swift",
        "Configuration.swift",
        "Extensions.swift",
        "File.swift",
        "FileVisitor.swift",
        "Function.swift",
        "Node.swift",
        "Report.swift",
        "Results.swift",
        "Scan.swift",
        "Type.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Sitrep",
      "module_type" : "SwiftTarget",
      "name" : "Sitrep",
      "path" : "Sources/Sitrep",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "Sitrep"
      ],
      "sources" : [
        "Sitrep.swift"
      ],
      "target_dependencies" : [
        "SitrepCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.8"
}
Done.