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 3.0.0 (ffd112), with Swift 6.1 for Linux on 27 Apr 2025 12:48:15 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/twostraws/Sitrep.git
Reference: 3.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/twostraws/Sitrep
 * tag               3.0.0      -> FETCH_HEAD
HEAD is now at ffd1128 Moving up to the stable SwiftSyntax release for Swift 5.8.
Cloned https://github.com/twostraws/Sitrep.git
Revision (git rev-parse @):
ffd112887aad012299cb2b4d18540ed26b883d6e
SUCCESS checkout https://github.com/twostraws/Sitrep.git at 3.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/twostraws/Sitrep.git
https://github.com/twostraws/Sitrep.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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" : [
        "Command.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SitrepCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
[1/10289] Fetching yams
[1751/25239] Fetching yams, swift-argument-parser
[21742/95472] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (4.28s)
Fetched https://github.com/jpsim/Yams.git from cache (4.32s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.34s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (6.68s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.52s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.54s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[10/32] Compiling writer.c
[11/32] Compiling reader.c
[12/32] Compiling api.c
[13/32] Compiling parser.c
[14/32] Compiling emitter.c
[15/32] Write swift-version-24593BA9C3E375BF.txt
[15/32] Compiling scanner.c
[18/91] Emitting module Yams
[19/93] Compiling SwiftSyntax SourcePresence.swift
[20/93] Compiling SwiftSyntax Syntax.swift
[21/93] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/93] Emitting module ArgumentParserToolInfo
[23/94] Compiling SwiftSyntax AbsolutePosition.swift
[24/94] Compiling SwiftSyntax BumpPtrAllocator.swift
[25/94] Compiling SwiftSyntax CommonAncestor.swift
[26/94] Compiling SwiftSyntax IncrementalParseTransition.swift
[27/94] Compiling SwiftSyntax MemoryLayout.swift
[28/94] Compiling SwiftSyntax RawSyntax.swift
[29/99] Wrapping AST for ArgumentParserToolInfo for debugging
[31/137] Compiling ArgumentParser OptionGroup.swift
[32/137] Compiling ArgumentParser AsyncParsableCommand.swift
[33/137] Compiling ArgumentParser CommandConfiguration.swift
[34/137] Compiling ArgumentParser CommandGroup.swift
[35/137] Compiling ArgumentParser EnumerableFlag.swift
[36/137] Compiling ArgumentParser ParsableArguments.swift
[37/137] Compiling ArgumentParser ParsableArgumentsValidation.swift
[38/137] Compiling ArgumentParser ArgumentHelp.swift
[40/137] Compiling ArgumentParser ArgumentVisibility.swift
[41/137] Compiling ArgumentParser CompletionKind.swift
[42/137] Compiling ArgumentParser Errors.swift
[43/137] Compiling ArgumentParser ZshCompletionsGenerator.swift
[44/137] Compiling ArgumentParser Argument.swift
[45/137] Compiling ArgumentParser Flag.swift
[46/137] Compiling ArgumentParser NameSpecification.swift
[47/137] Compiling ArgumentParser Option.swift
[50/137] Compiling ArgumentParser ExpressibleByArgument.swift
[51/137] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/137] Compiling ArgumentParser CompletionsGenerator.swift
[53/137] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/138] Wrapping AST for Yams for debugging
[59/138] Compiling ArgumentParser ParsableCommand.swift
[60/138] Compiling ArgumentParser ArgumentDecoder.swift
[66/143] Emitting module ArgumentParser
[67/143] Compiling ArgumentParser CollectionExtensions.swift
[68/143] Compiling ArgumentParser Platform.swift
[69/143] Compiling ArgumentParser SequenceExtensions.swift
[70/143] Compiling ArgumentParser StringExtensions.swift
[71/143] Compiling ArgumentParser Tree.swift
[72/143] Compiling ArgumentParser Name.swift
[73/143] Compiling ArgumentParser Parsed.swift
[74/143] Compiling ArgumentParser ParsedValues.swift
[75/143] Compiling ArgumentParser ParserError.swift
[76/143] Compiling ArgumentParser SplitArguments.swift
[89/143] Compiling ArgumentParser DumpHelpGenerator.swift
[90/143] Compiling ArgumentParser HelpCommand.swift
[91/143] Compiling ArgumentParser HelpGenerator.swift
[92/143] Compiling ArgumentParser MessageInfo.swift
[93/143] Compiling ArgumentParser UsageGenerator.swift
[99/143] Compiling ArgumentParser ArgumentDefinition.swift
[100/143] Compiling ArgumentParser ArgumentSet.swift
[101/143] Compiling ArgumentParser CommandParser.swift
[102/143] Compiling ArgumentParser InputKey.swift
[103/143] Compiling ArgumentParser InputOrigin.swift
[104/144] Wrapping AST for ArgumentParser for debugging
[106/144] Emitting module SwiftSyntax
[133/145] Wrapping AST for SwiftSyntax for debugging
[134/145] Write Objects.LinkFileList
[135/151] Archiving libSwiftSyntax.a
[137/151] Compiling SwiftDiagnostics Note.swift
[138/151] Compiling SwiftDiagnostics Message.swift
[139/151] Compiling SwiftDiagnostics FixIt.swift
[140/151] Compiling SwiftDiagnostics Diagnostic.swift
[141/151] Emitting module SwiftDiagnostics
[142/151] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[143/152] Wrapping AST for SwiftDiagnostics for debugging
[145/178] Compiling SwiftParser Lookahead.swift
[146/178] Compiling SwiftParser LoopProgressCondition.swift
[147/178] Compiling SwiftParser Modifiers.swift
[148/178] Compiling SwiftParser Names.swift
[149/181] Emitting module SwiftParser
[150/181] Compiling SwiftParser Recovery.swift
[151/181] Compiling SwiftParser Statements.swift
[152/181] Compiling SwiftParser SyntaxUtils.swift
[153/181] Compiling SwiftParser TriviaParser.swift
[154/181] Compiling SwiftParser Types.swift
[155/181] Compiling SwiftParser DeclarationAttribute.swift
[156/181] Compiling SwiftParser DeclarationModifier.swift
[157/181] Compiling SwiftParser Parser+Entry.swift
[158/181] Compiling SwiftParser TypeAttribute.swift
[159/181] Compiling SwiftParser TokenConsumer.swift
[160/181] Compiling SwiftParser TokenPrecedence.swift
[161/181] Compiling SwiftParser TopLevel.swift
[162/181] Compiling SwiftParser Nominals.swift
[163/181] Compiling SwiftParser Parser.swift
[164/181] Compiling SwiftParser Patterns.swift
[165/181] Compiling SwiftParser RawTokenKindSubset.swift
[166/181] Compiling SwiftParser Attributes.swift
[167/181] Compiling SwiftParser Availability.swift
[168/181] Compiling SwiftParser CharacterInfo.swift
[169/181] Compiling SwiftParser Declarations.swift
[170/181] Compiling SwiftParser Directives.swift
[171/181] Compiling SwiftParser Expressions.swift
[172/181] Compiling SwiftParser Lexer.swift
[173/181] Compiling SwiftParser LexerDiagnosticMessages.swift
[174/182] Wrapping AST for SwiftParser for debugging
[176/185] Emitting module SwiftSyntaxParser
[177/185] Compiling SwiftSyntaxParser Diagnostic.swift
[178/185] Compiling SwiftSyntaxParser SyntaxParser.swift
[179/186] Wrapping AST for SwiftSyntaxParser for debugging
[180/186] Write Objects.LinkFileList
[181/198] Archiving libSwiftSyntaxParser.a
[183/198] Compiling SitrepCore Function.swift
[184/198] Compiling SitrepCore Node.swift
[185/199] Compiling SitrepCore Results.swift
[186/199] Compiling SitrepCore Report.swift
[187/199] Compiling SitrepCore Scan.swift
[188/199] Compiling SitrepCore Configuration.swift
/host/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 |     )
[189/199] Compiling SitrepCore Extensions.swift
/host/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 |     )
[190/199] Compiling SitrepCore BodyStripper.swift
[191/199] Compiling SitrepCore Comment.swift
[192/199] Emitting module SitrepCore
/host/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 |     )
[193/199] Compiling SitrepCore File.swift
[194/199] Compiling SitrepCore FileVisitor.swift
[195/199] Compiling SitrepCore Type.swift
[196/200] Wrapping AST for SitrepCore for debugging
[198/203] Emitting module Sitrep
[199/203] Compiling Sitrep main.swift
[200/203] Compiling Sitrep Command.swift
[201/204] Wrapping AST for Sitrep for debugging
[202/204] Write Objects.LinkFileList
[203/204] Linking Sitrep
Build complete! (79.09s)
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" : "/host/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" : [
        "Command.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SitrepCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.8"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.