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 SwiftPowerAssert, reference 0.12.0 (2fa10d), with Swift 6.0 for Linux on 1 Nov 2024 03:15:40 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kishikawakatsumi/swift-power-assert.git
Reference: 0.12.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/kishikawakatsumi/swift-power-assert
 * tag               0.12.0     -> FETCH_HEAD
HEAD is now at 2fa10dc Merge pull request #257 from kishikawakatsumi/refactor2
Cloned https://github.com/kishikawakatsumi/swift-power-assert.git
Revision (git rev-parse @):
2fa10dcbbff807fad73b4e2469b43300a50e9bbc
SUCCESS checkout https://github.com/kishikawakatsumi/swift-power-assert.git at 0.12.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kishikawakatsumi/swift-power-assert.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 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-syntax.git
[1/66388] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.32s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (2.81s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Building for debugging...
[0/33] Write sources
[16/33] Write swift-version-24593BA9C3E375BF.txt
[18/41] Emitting module SwiftSyntax509
[19/41] Compiling SwiftSyntax509 Empty.swift
[20/42] Wrapping AST for SwiftSyntax509 for debugging
[22/87] Compiling SwiftSyntax AbsolutePosition.swift
[23/87] Compiling SwiftSyntax Assert.swift
[24/87] Compiling SwiftSyntax BumpPtrAllocator.swift
[25/87] Compiling SwiftSyntax CommonAncestor.swift
[26/87] Compiling SwiftSyntax Convenience.swift
[27/87] Compiling SwiftSyntax MemoryLayout.swift
[28/87] Compiling SwiftSyntax MissingNodeInitializers.swift
[29/93] Compiling StringWidth StringWidth.swift
[30/93] Compiling SwiftSyntax RawSyntax.swift
[31/93] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[32/93] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[33/93] Compiling SwiftSyntax RawSyntaxTokenView.swift
[34/93] Compiling SwiftSyntax SourceLength.swift
[35/93] Compiling SwiftSyntax SourceLocation.swift
[36/93] Compiling SwiftSyntax SourcePresence.swift
[37/93] Emitting module StringWidth
[38/93] Compiling StringWidth CodePointWidth.swift
[41/94] Emitting module StringWidth
[42/94] Compiling StringWidth StringWidth.swift
[43/95] Wrapping AST for StringWidth for debugging
[45/95] Emitting module SwiftSyntax
[46/95] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[47/95] Compiling SwiftSyntax Syntax.swift
[48/95] Compiling SwiftSyntax SyntaxArena.swift
[49/95] Compiling SwiftSyntax SyntaxChildren.swift
[50/95] Compiling SwiftSyntax SyntaxCollection.swift
[51/95] Compiling SwiftSyntax SyntaxData.swift
[52/95] Compiling SwiftSyntax SyntaxText.swift
[53/95] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[54/95] Compiling SwiftSyntax TokenDiagnostic.swift
[55/95] Compiling SwiftSyntax TokenSyntax.swift
[56/95] Compiling SwiftSyntax Trivia.swift
[57/95] Compiling SwiftSyntax Utils.swift
[58/95] Compiling SwiftSyntax SyntaxCollections.swift
[59/95] Compiling SwiftSyntax SyntaxEnum.swift
[60/95] Compiling SwiftSyntax SyntaxKind.swift
[61/95] Compiling SwiftSyntax SyntaxRewriter.swift
[62/95] Compiling SwiftSyntax SyntaxTraits.swift
[63/95] Compiling SwiftSyntax SyntaxTransform.swift
[64/95] Compiling SwiftSyntax SyntaxDeclNodes.swift
[65/95] Compiling SwiftSyntax SyntaxExprNodes.swift
[66/95] Compiling SwiftSyntax SyntaxNodes.swift
[67/95] Compiling SwiftSyntax SyntaxPatternNodes.swift
[68/95] Compiling SwiftSyntax SyntaxStmtNodes.swift
[69/95] Compiling SwiftSyntax SyntaxTypeNodes.swift
[70/95] Compiling SwiftSyntax SyntaxVisitor.swift
[71/95] Compiling SwiftSyntax TokenKind.swift
[72/95] Compiling SwiftSyntax Tokens.swift
[73/95] Compiling SwiftSyntax TriviaPieces.swift
[74/95] Compiling SwiftSyntax RawSyntaxNodes.swift
[75/95] Compiling SwiftSyntax RawSyntaxValidation.swift
[76/95] Compiling SwiftSyntax ChildNameForKeyPath.swift
[77/95] Compiling SwiftSyntax Keyword.swift
[78/95] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[79/95] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[80/95] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[81/95] Compiling SwiftSyntax SyntaxBaseNodes.swift
[82/96] Wrapping AST for SwiftSyntax for debugging
[84/147] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[85/147] Compiling SwiftBasicFormat Syntax+Extensions.swift
[86/147] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[87/147] Compiling SwiftDiagnostics Note.swift
[88/147] Compiling SwiftDiagnostics FixIt.swift
[89/147] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[90/147] Compiling SwiftDiagnostics Message.swift
[91/147] Compiling SwiftDiagnostics Convenience.swift
[92/147] Compiling SwiftDiagnostics Diagnostic.swift
[93/147] Emitting module SwiftDiagnostics
[94/147] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[96/148] Emitting module SwiftBasicFormat
[97/148] Compiling SwiftBasicFormat BasicFormat.swift
[97/149] Wrapping AST for SwiftDiagnostics for debugging
[99/149] Wrapping AST for SwiftBasicFormat for debugging
[101/149] Compiling SwiftParser TokenPrecedence.swift
[102/149] Compiling SwiftParser TokenSpec.swift
[103/149] Compiling SwiftParser TokenSpecSet.swift
[104/149] Compiling SwiftParser TopLevel.swift
[105/149] Compiling SwiftParser TriviaParser.swift
[106/149] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[107/149] Compiling SwiftParser StringLiterals.swift
[108/149] Compiling SwiftParser SwiftParserCompatibility.swift
[109/149] Compiling SwiftParser SyntaxUtils.swift
[110/149] Compiling SwiftParser TokenConsumer.swift
[111/154] Compiling SwiftParser Modifiers.swift
[112/154] Compiling SwiftParser Names.swift
[113/154] Compiling SwiftParser Nominals.swift
[114/154] Compiling SwiftParser Parameters.swift
[115/154] Compiling SwiftParser ParseSourceFile.swift
[116/154] Compiling SwiftParser Lexer.swift
[117/154] Compiling SwiftParser RegexLiteralLexer.swift
[118/154] Compiling SwiftParser UnicodeScalarExtensions.swift
[119/154] Compiling SwiftParser Lookahead.swift
[120/154] Compiling SwiftParser LoopProgressCondition.swift
[121/154] Compiling SwiftParser Parser.swift
[122/154] Compiling SwiftParser Patterns.swift
[123/154] Compiling SwiftParser Recovery.swift
[124/154] Compiling SwiftParser Specifiers.swift
[125/154] Compiling SwiftParser Statements.swift
[126/154] Emitting module SwiftParser
[127/154] Compiling SwiftParser Attributes.swift
[128/154] Compiling SwiftParser Availability.swift
[129/154] Compiling SwiftParser CharacterInfo.swift
[130/154] Compiling SwiftParser CollectionNodes+Parsable.swift
[131/154] Compiling SwiftParser Declarations.swift
[132/154] Compiling SwiftParser Directives.swift
[133/154] Compiling SwiftParser ExperimentalFeatures.swift
[134/154] Compiling SwiftParser Expressions.swift
[135/154] Compiling SwiftParser IncrementalParseTransition.swift
[136/154] Compiling SwiftParser Cursor.swift
[137/154] Compiling SwiftParser Lexeme.swift
[138/154] Compiling SwiftParser LexemeSequence.swift
[139/154] Compiling SwiftParser Types.swift
[140/154] Compiling SwiftParser IsLexerClassified.swift
[141/154] Compiling SwiftParser LayoutNodes+Parsable.swift
[142/154] Compiling SwiftParser Parser+TokenSpecSet.swift
[143/154] Compiling SwiftParser TokenSpecStaticMembers.swift
[144/155] Wrapping AST for SwiftParser for debugging
[146/178] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[147/179] Compiling SwiftOperators PrecedenceGroup.swift
[148/180] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[149/180] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[150/180] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[151/180] Compiling SwiftOperators PrecedenceGraph.swift
[152/180] Compiling SwiftOperators OperatorTable.swift
[153/180] Compiling SwiftOperators OperatorTable+Semantics.swift
[154/180] Compiling SwiftOperators SyntaxSynthesis.swift
[155/180] Compiling SwiftParserDiagnostics MissingNodesError.swift
[156/180] Compiling SwiftParserDiagnostics MissingTokenError.swift
[157/180] Emitting module SwiftOperators
[158/180] Compiling SwiftOperators OperatorTable+Folding.swift
[159/181] Wrapping AST for SwiftOperators for debugging
[161/181] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[162/181] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[163/181] Compiling SwiftParserDiagnostics Utils.swift
[164/181] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[165/181] Compiling SwiftParserDiagnostics PresenceUtils.swift
[168/181] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[169/181] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[172/181] Emitting module SwiftParserDiagnostics
[173/182] Wrapping AST for SwiftParserDiagnostics for debugging
[175/196] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[176/196] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[177/196] Compiling SwiftSyntaxBuilder Indenter.swift
[178/196] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[179/196] Emitting module SwiftSyntaxBuilder
[180/197] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[181/197] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[182/197] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[183/197] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[184/197] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[185/197] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[186/197] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[187/197] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[188/197] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[189/197] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[190/198] Wrapping AST for SwiftSyntaxBuilder for debugging
[192/212] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[193/212] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[194/213] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[195/213] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[196/213] Compiling SwiftSyntaxMacros Macro.swift
[197/213] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[198/213] Compiling SwiftSyntaxMacros MemberMacro.swift
[199/213] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[200/213] Compiling SwiftSyntaxMacros Macro+Format.swift
[201/213] Compiling SwiftSyntaxMacros PeerMacro.swift
[202/213] Compiling SwiftSyntaxMacros AccessorMacro.swift
[203/213] Compiling SwiftSyntaxMacros AttachedMacro.swift
[204/213] Emitting module SwiftSyntaxMacros
[205/213] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[206/213] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[207/214] Wrapping AST for SwiftSyntaxMacros for debugging
[209/222] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[210/222] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[211/222] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[212/222] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[213/222] Emitting module SwiftSyntaxMacroExpansion
[214/222] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[215/222] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[216/222] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[217/223] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[219/230] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[220/230] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[221/230] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[222/230] Emitting module SwiftCompilerPluginMessageHandling
[223/230] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[224/230] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[225/230] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[226/231] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[228/233] Emitting module SwiftCompilerPlugin
[229/233] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[230/234] Wrapping AST for SwiftCompilerPlugin for debugging
[232/239] Compiling PowerAssertPlugin SingleLineFormatter.swift
[233/239] Compiling PowerAssertPlugin PowerAssertMacro.swift
/host/spi-builder-workspace/Sources/PowerAssertPlugin/PowerAssertMacro.swift:5:21: warning: static property 'formatMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | public struct PowerAssertMacro: ExpressionMacro {
 5 |   public static var formatMode: FormatMode = .disabled
   |                     |- warning: static property 'formatMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'formatMode' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: annotate 'formatMode' 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
 6 |
 7 |   public static func expansion(
[234/239] Compiling PowerAssertPlugin PowerAssertPlugin.swift
[235/239] Emitting module PowerAssertPlugin
/host/spi-builder-workspace/Sources/PowerAssertPlugin/PowerAssertMacro.swift:5:21: warning: static property 'formatMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | public struct PowerAssertMacro: ExpressionMacro {
 5 |   public static var formatMode: FormatMode = .disabled
   |                     |- warning: static property 'formatMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'formatMode' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: annotate 'formatMode' 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
 6 |
 7 |   public static func expansion(
[236/239] Compiling PowerAssertPlugin PowerAssertRewriter.swift
[237/240] Wrapping AST for PowerAssertPlugin for debugging
[238/240] Write Objects.LinkFileList
[239/240] Linking PowerAssertPlugin-tool
[241/245] Compiling PowerAssert Diff.swift
[242/245] Compiling PowerAssert Console.swift
[243/245] Emitting module PowerAssert
[244/245] Compiling PowerAssert PowerAssert.swift
[245/245] Compiling PowerAssert Macros.swift
Build complete! (157.96s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-08-07-a",
            "upper_bound" : "510.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "SwiftPowerAssert",
  "name" : "SwiftPowerAssert",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "PowerAssert",
      "targets" : [
        "PowerAssert"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PowerAssertPlugin",
      "targets" : [
        "PowerAssertPlugin"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StringWidth",
      "module_type" : "SwiftTarget",
      "name" : "StringWidth",
      "path" : "Sources/StringWidth",
      "product_memberships" : [
        "PowerAssert",
        "PowerAssertPlugin"
      ],
      "sources" : [
        "CodePointWidth.swift",
        "StringWidth.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PowerAssertTests",
      "module_type" : "SwiftTarget",
      "name" : "PowerAssertTests",
      "path" : "Tests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "AssertTests.swift",
        "ConsoleTests.swift",
        "DiffTests.swift",
        "EmojiPresentationTests.swift",
        "ExprSyntaxTests.swift",
        "Fixtures.swift",
        "Helpers.swift",
        "LineDiffTests.swift",
        "MacroExpansionTests.swift",
        "OutputStyleTests.swift",
        "StringWidthTests.swift",
        "WordDiffTests.swift"
      ],
      "target_dependencies" : [
        "PowerAssertPlugin",
        "PowerAssert"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PowerAssertPlugin",
      "module_type" : "SwiftTarget",
      "name" : "PowerAssertPlugin",
      "path" : "Sources/PowerAssertPlugin",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "PowerAssert",
        "PowerAssertPlugin"
      ],
      "sources" : [
        "PowerAssertMacro.swift",
        "PowerAssertPlugin.swift",
        "PowerAssertRewriter.swift",
        "SingleLineFormatter.swift"
      ],
      "target_dependencies" : [
        "StringWidth"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "PowerAssert",
      "module_type" : "SwiftTarget",
      "name" : "PowerAssert",
      "path" : "Sources/PowerAssert",
      "product_memberships" : [
        "PowerAssert"
      ],
      "sources" : [
        "Console.swift",
        "Diff.swift",
        "Macros.swift",
        "PowerAssert.swift"
      ],
      "target_dependencies" : [
        "PowerAssertPlugin",
        "StringWidth"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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.