The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Sitrep, reference main (a303a4), with Swift 6.1 for Linux on 2 May 2025 12:56:37 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/twostraws/Sitrep.git
Reference: main
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
 * 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
========================================
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" : [
        "Sitrep.swift"
      ],
      "target_dependencies" : [
        "SitrepCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/10449] Fetching yams
[733/25405] Fetching yams, swift-argument-parser
[21854/95696] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.22s)
[20290/80740] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.70s)
[21088/70291] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (6.43s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (9.01s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.71s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (1.21s)
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
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
[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 parser.c
[13/32] Compiling api.c
[14/32] Compiling scanner.c
[15/32] Compiling emitter.c
[16/32] Write swift-version-24593BA9C3E375BF.txt
[18/91] Emitting module ArgumentParserToolInfo
[19/91] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/92] Wrapping AST for ArgumentParserToolInfo for debugging
[22/92] Compiling SwiftSyntax Syntax.swift
[23/92] Compiling SwiftSyntax SyntaxArena.swift
[24/94] Emitting module Yams
[25/132] Compiling ArgumentParser CompletionsGenerator.swift
[26/132] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/132] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/132] Compiling ArgumentParser Argument.swift
[29/132] Compiling ArgumentParser ArgumentHelp.swift
[33/137] Compiling ArgumentParser ArgumentDefinition.swift
[34/137] Compiling ArgumentParser ArgumentVisibility.swift
[35/137] Compiling ArgumentParser CompletionKind.swift
[36/137] Compiling ArgumentParser Errors.swift
[37/137] Compiling ArgumentParser ParsableCommand.swift
[38/137] Compiling ArgumentParser ArgumentDecoder.swift
[39/137] Compiling ArgumentParser BashCompletionsGenerator.swift
[40/137] Compiling ArgumentParser ArgumentSet.swift
[41/137] Compiling ArgumentParser CommandParser.swift
[42/137] Compiling ArgumentParser ExpressibleByArgument.swift
[43/137] Compiling ArgumentParser ParsableArguments.swift
[44/137] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/137] Compiling ArgumentParser Flag.swift
[46/137] Compiling ArgumentParser NameSpecification.swift
[47/137] Compiling ArgumentParser Option.swift
[48/138] Wrapping AST for Yams for debugging
[53/138] Compiling ArgumentParser InputKey.swift
[54/138] Compiling ArgumentParser InputOrigin.swift
[55/138] Emitting module ArgumentParser
[56/143] Compiling ArgumentParser Name.swift
[57/143] Compiling ArgumentParser Parsed.swift
[58/143] Compiling ArgumentParser ParsedValues.swift
[59/143] Compiling ArgumentParser ParserError.swift
[60/143] Compiling ArgumentParser SplitArguments.swift
[61/143] Compiling ArgumentParser CollectionExtensions.swift
[62/143] Compiling ArgumentParser Platform.swift
[63/143] Compiling ArgumentParser SequenceExtensions.swift
[64/143] Compiling ArgumentParser StringExtensions.swift
[65/143] Compiling ArgumentParser Tree.swift
[72/143] Compiling ArgumentParser DumpHelpGenerator.swift
[73/143] Compiling ArgumentParser HelpCommand.swift
[74/143] Compiling ArgumentParser HelpGenerator.swift
[75/143] Compiling ArgumentParser MessageInfo.swift
[76/143] Compiling ArgumentParser UsageGenerator.swift
[77/143] Compiling ArgumentParser OptionGroup.swift
[78/143] Compiling ArgumentParser AsyncParsableCommand.swift
[79/143] Compiling ArgumentParser CommandConfiguration.swift
[80/143] Compiling ArgumentParser CommandGroup.swift
[81/143] Compiling ArgumentParser EnumerableFlag.swift
[98/144] Wrapping AST for ArgumentParser for debugging
[100/144] Emitting module SwiftSyntax
[133/145] Wrapping AST for SwiftSyntax for debugging
[134/145] Write Objects.LinkFileList
[135/151] Archiving libSwiftSyntax.a
[137/151] Emitting module SwiftDiagnostics
[138/151] Compiling SwiftDiagnostics FixIt.swift
[139/151] Compiling SwiftDiagnostics Note.swift
[140/151] Compiling SwiftDiagnostics Message.swift
[141/151] Compiling SwiftDiagnostics Diagnostic.swift
[142/151] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[143/152] Wrapping AST for SwiftDiagnostics for debugging
[145/178] Emitting module SwiftParser
[146/181] Compiling SwiftParser DeclarationModifier.swift
[147/181] Compiling SwiftParser Parser+Entry.swift
[148/181] Compiling SwiftParser TypeAttribute.swift
[149/181] Compiling SwiftParser TriviaParser.swift
[150/181] Compiling SwiftParser Types.swift
[151/181] Compiling SwiftParser DeclarationAttribute.swift
[152/181] Compiling SwiftParser Nominals.swift
[153/181] Compiling SwiftParser Parser.swift
[154/181] Compiling SwiftParser Patterns.swift
[155/181] Compiling SwiftParser RawTokenKindSubset.swift
[156/181] Compiling SwiftParser Attributes.swift
[157/181] Compiling SwiftParser Availability.swift
[158/181] Compiling SwiftParser CharacterInfo.swift
[159/181] Compiling SwiftParser Declarations.swift
[160/181] Compiling SwiftParser Lookahead.swift
[161/181] Compiling SwiftParser LoopProgressCondition.swift
[162/181] Compiling SwiftParser Modifiers.swift
[163/181] Compiling SwiftParser Names.swift
[164/181] Compiling SwiftParser Recovery.swift
[165/181] Compiling SwiftParser Statements.swift
[166/181] Compiling SwiftParser SyntaxUtils.swift
[167/181] Compiling SwiftParser TokenConsumer.swift
[168/181] Compiling SwiftParser TokenPrecedence.swift
[169/181] Compiling SwiftParser TopLevel.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 SyntaxParser.swift
[178/185] Compiling SwiftSyntaxParser Diagnostic.swift
[179/186] Wrapping AST for SwiftSyntaxParser for debugging
[180/186] Write Objects.LinkFileList
[181/186] Archiving libSwiftSyntaxParser.a
[183/198] Compiling SitrepCore Function.swift
[184/198] Compiling SitrepCore Node.swift
[185/198] Compiling SitrepCore BodyStripper.swift
[186/198] Compiling SitrepCore Comment.swift
[187/198] 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 |     )
[188/199] Compiling SitrepCore Results.swift
[189/199] Compiling SitrepCore Report.swift
[190/199] Compiling SitrepCore Scan.swift
[191/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 |     )
[192/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 |     )
[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/202] Emitting module Sitrep
[199/202] Compiling Sitrep Sitrep.swift
[200/203] Wrapping AST for Sitrep for debugging
[201/203] Write Objects.LinkFileList
[202/203] Linking Sitrep
Build complete! (197.58s)
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" : [
        "Sitrep.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.