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.0 for Linux on 29 Nov 2024 11:02:18 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.58.1
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.0
Building package at path:  $PWD
https://github.com/twostraws/Sitrep.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
[1/9936] Fetching yams
[300/22331] Fetching yams, swift-argument-parser
[18159/89014] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.26s)
[11595/76619] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (2.15s)
[23340/66683] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (7.24s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (3.28s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.70s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.74s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[10/32] Compiling reader.c
[11/32] Compiling writer.c
[12/32] Compiling api.c
[13/32] Compiling parser.c
[14/32] Write swift-version-24593BA9C3E375BF.txt
[14/32] Compiling emitter.c
[16/32] Compiling scanner.c
[18/87] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[19/87] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[20/87] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/87] Emitting module ArgumentParserToolInfo
[22/89] Wrapping AST for ArgumentParserToolInfo for debugging
[24/127] Compiling ArgumentParser ExpressibleByArgument.swift
[25/127] Compiling ArgumentParser ParsableArguments.swift
[26/127] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/127] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/127] Compiling ArgumentParser Errors.swift
[29/127] Compiling ArgumentParser Flag.swift
[30/127] Emitting module Yams
[31/127] Compiling ArgumentParser Argument.swift
[32/127] Compiling ArgumentParser ArgumentHelp.swift
[33/127] Compiling Yams YamlError.swift
[34/127] Compiling ArgumentParser ArgumentVisibility.swift
[35/127] Compiling ArgumentParser CompletionKind.swift
[36/127] Compiling ArgumentParser NameSpecification.swift
[37/127] Compiling ArgumentParser Option.swift
[38/128] Wrapping AST for Yams for debugging
[40/128] Emitting module ArgumentParser
[41/133] Compiling ArgumentParser CollectionExtensions.swift
[42/133] Compiling ArgumentParser Platform.swift
[43/133] Compiling ArgumentParser SequenceExtensions.swift
[44/133] Compiling ArgumentParser StringExtensions.swift
[45/133] Compiling ArgumentParser Tree.swift
[46/133] Compiling ArgumentParser BashCompletionsGenerator.swift
[47/133] Compiling ArgumentParser CompletionsGenerator.swift
[52/133] Compiling ArgumentParser Name.swift
[53/133] Compiling ArgumentParser Parsed.swift
[54/133] Compiling ArgumentParser ParsedValues.swift
[55/133] Compiling ArgumentParser ParserError.swift
[56/133] Compiling ArgumentParser SplitArguments.swift
[57/133] Compiling ArgumentParser DumpHelpGenerator.swift
[58/133] Compiling ArgumentParser HelpCommand.swift
[59/133] Compiling ArgumentParser HelpGenerator.swift
[60/133] Compiling ArgumentParser MessageInfo.swift
[61/133] Compiling ArgumentParser UsageGenerator.swift
[68/133] Compiling ArgumentParser OptionGroup.swift
[69/133] Compiling ArgumentParser AsyncParsableCommand.swift
[70/133] Compiling ArgumentParser CommandConfiguration.swift
[71/133] Compiling ArgumentParser CommandGroup.swift
[72/133] Compiling ArgumentParser EnumerableFlag.swift
[75/133] Compiling ArgumentParser ParsableArgumentsValidation.swift
[76/133] Compiling ArgumentParser ParsableCommand.swift
[77/133] Compiling ArgumentParser ArgumentDecoder.swift
[78/133] Compiling ArgumentParser ArgumentDefinition.swift
[79/133] Compiling ArgumentParser ArgumentSet.swift
[80/133] Compiling ArgumentParser CommandParser.swift
[81/133] Compiling ArgumentParser InputKey.swift
[82/133] Compiling ArgumentParser InputOrigin.swift
[83/134] Wrapping AST for ArgumentParser for debugging
[91/134] Emitting module SwiftSyntax
[123/139] Compiling SwiftSyntax SyntaxExprNodes.swift
[124/139] Compiling SwiftSyntax SyntaxNodes.swift
[125/139] Compiling SwiftSyntax SyntaxPatternNodes.swift
[126/139] Compiling SwiftSyntax SyntaxStmtNodes.swift
[127/139] Compiling SwiftSyntax SyntaxTypeNodes.swift
[128/140] Wrapping AST for SwiftSyntax for debugging
[129/140] Write Objects.LinkFileList
[130/146] Archiving libSwiftSyntax.a
[132/146] Compiling SwiftDiagnostics Note.swift
[133/146] Compiling SwiftDiagnostics Message.swift
[134/146] Emitting module SwiftDiagnostics
[135/146] Compiling SwiftDiagnostics Diagnostic.swift
[136/146] Compiling SwiftDiagnostics FixIt.swift
[137/146] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[138/147] Wrapping AST for SwiftDiagnostics for debugging
[140/173] Compiling SwiftParser TokenConsumer.swift
[141/173] Compiling SwiftParser TokenPrecedence.swift
[142/173] Compiling SwiftParser TopLevel.swift
[143/176] Compiling SwiftParser DeclarationModifier.swift
[144/176] Compiling SwiftParser Parser+Entry.swift
[145/176] Compiling SwiftParser TypeAttribute.swift
[146/176] Compiling SwiftParser TriviaParser.swift
[147/176] Compiling SwiftParser Types.swift
[148/176] Compiling SwiftParser DeclarationAttribute.swift
[149/176] Compiling SwiftParser Recovery.swift
[150/176] Compiling SwiftParser Statements.swift
[151/176] Compiling SwiftParser SyntaxUtils.swift
[152/176] Compiling SwiftParser Lookahead.swift
[153/176] Compiling SwiftParser LoopProgressCondition.swift
[154/176] Compiling SwiftParser Modifiers.swift
[155/176] Compiling SwiftParser Names.swift
[156/176] Compiling SwiftParser Nominals.swift
[157/176] Compiling SwiftParser Parser.swift
[158/176] Compiling SwiftParser Patterns.swift
[159/176] Compiling SwiftParser RawTokenKindSubset.swift
[160/176] Emitting module SwiftParser
[161/176] Compiling SwiftParser Attributes.swift
[162/176] Compiling SwiftParser Availability.swift
[163/176] Compiling SwiftParser CharacterInfo.swift
[164/176] Compiling SwiftParser Declarations.swift
[165/176] Compiling SwiftParser Directives.swift
[166/176] Compiling SwiftParser Expressions.swift
[167/176] Compiling SwiftParser Lexer.swift
[168/176] Compiling SwiftParser LexerDiagnosticMessages.swift
[169/177] Wrapping AST for SwiftParser for debugging
[171/180] Compiling SwiftSyntaxParser SyntaxParser.swift
[172/180] Compiling SwiftSyntaxParser Diagnostic.swift
[173/180] Emitting module SwiftSyntaxParser
[174/181] Wrapping AST for SwiftSyntaxParser for debugging
[175/181] Write Objects.LinkFileList
[176/193] Archiving libSwiftSyntaxParser.a
[178/193] Compiling SitrepCore Report.swift
[179/194] Compiling SitrepCore Results.swift
[180/194] Compiling SitrepCore Scan.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: annotate 'default' 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
 9 |         excluded: []
10 |     )
[181/194] 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: annotate 'default' 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
 9 |         excluded: []
10 |     )
[182/194] 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: annotate 'default' 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
 9 |         excluded: []
10 |     )
[183/194] Compiling SitrepCore BodyStripper.swift
[184/194] Compiling SitrepCore Comment.swift
[185/194] 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: annotate 'default' 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
 9 |         excluded: []
10 |     )
[186/194] Compiling SitrepCore Function.swift
[187/194] Compiling SitrepCore Node.swift
[188/194] Compiling SitrepCore File.swift
[189/194] Compiling SitrepCore FileVisitor.swift
[190/194] Compiling SitrepCore Type.swift
[191/195] Wrapping AST for SitrepCore for debugging
[193/198] Emitting module Sitrep
[194/198] Compiling Sitrep main.swift
[195/198] Compiling Sitrep Command.swift
[196/199] Wrapping AST for Sitrep for debugging
[197/199] Write Objects.LinkFileList
[198/199] Linking Sitrep
Build complete! (157.39s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.