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 Prettier, reference main (266dac), with Swift 6.0 for macOS (SPM) on 13 Sep 2024 17:08:08 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simonbs/Prettier.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonbs/Prettier
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 266dac5 Adds workflows (#6)
Cloned https://github.com/simonbs/Prettier.git
Revision (git rev-parse @):
266dac500bded844a56771bc1fb2abaa60f6e7b6
SUCCESS checkout https://github.com/simonbs/Prettier.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/simonbs/Prettier.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/27] Write sources
[7/27] Copying parser-yaml.js
[7/27] Copying parser-postcss.js
[7/27] Copying parser-meriyah.js
[7/27] Copying parser-espree.js
[7/27] Copying parser-markdown.js
[7/27] Copying parser-typescript.js
[7/27] Copying parser-flow.js
[7/27] Copying parser-html.js
[7/27] Copying parser-graphql.js
[7/27] Copying parser-php.js
[7/27] Write sources
[7/27] Copying parser-glimmer.js
[19/27] Write sources
[24/27] Copying standalone.js
[24/27] Copying parser-babel.js
[26/27] Write swift-version-117DEE11B69C53C9.txt
[28/41] Compiling Prettier HTMLWhitespaceSensitivityStrategy.swift
[29/41] Compiling Prettier ProseWrapStrategy.swift
[30/41] Compiling Prettier Parser.swift
[31/42] Compiling Prettier EmbeddedLanguageFormattingStrategy.swift
[32/42] Compiling Prettier EndOfLineStrategy.swift
[33/42] Compiling Prettier ParsingErrorDetails.swift
[34/42] Compiling Prettier Plugin.swift
[35/42] Compiling Prettier QuotePropertyStrategy.swift
[36/42] Compiling Prettier TrailingCommaStrategy.swift
[37/42] Compiling Prettier FormatWithCursorResult.swift
[38/42] Compiling Prettier PrettierFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prettier/PrettierFormatter.swift:9:10: warning: associated value 'parsingError' of 'Sendable'-conforming enum 'PrettierFormatterError' has non-sendable type 'ParsingErrorDetails'; this is an error in the Swift 6 language mode
  7 |     case failedCallingFormatFunction
  8 |     case unexpectedResultFromFormatFunction
  9 |     case parsingError(ParsingErrorDetails)
    |          `- warning: associated value 'parsingError' of 'Sendable'-conforming enum 'PrettierFormatterError' has non-sendable type 'ParsingErrorDetails'; this is an error in the Swift 6 language mode
 10 |     case unknown
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/Prettier/ParsingErrorDetails.swift:4:15: note: consider making struct 'ParsingErrorDetails' conform to the 'Sendable' protocol
 2 |
 3 | /// Details supplied by PrettierFormatterError when parsing fails.
 4 | public struct ParsingErrorDetails: CustomDebugStringConvertible {
   |               `- note: consider making struct 'ParsingErrorDetails' conform to the 'Sendable' protocol
 5 |     public struct Location {
 6 |         let line: Int
[39/42] Emitting module Prettier
/Users/admin/builder/spi-builder-workspace/Sources/Prettier/PrettierFormatter.swift:9:10: warning: associated value 'parsingError' of 'Sendable'-conforming enum 'PrettierFormatterError' has non-sendable type 'ParsingErrorDetails'; this is an error in the Swift 6 language mode
  7 |     case failedCallingFormatFunction
  8 |     case unexpectedResultFromFormatFunction
  9 |     case parsingError(ParsingErrorDetails)
    |          `- warning: associated value 'parsingError' of 'Sendable'-conforming enum 'PrettierFormatterError' has non-sendable type 'ParsingErrorDetails'; this is an error in the Swift 6 language mode
 10 |     case unknown
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/Prettier/ParsingErrorDetails.swift:4:15: note: consider making struct 'ParsingErrorDetails' conform to the 'Sendable' protocol
 2 |
 3 | /// Details supplied by PrettierFormatterError when parsing fails.
 4 | public struct ParsingErrorDetails: CustomDebugStringConvertible {
   |               `- note: consider making struct 'ParsingErrorDetails' conform to the 'Sendable' protocol
 5 |     public struct Location {
 6 |         let line: Int
[40/42] Compiling Prettier ArrowFunctionParenthesesStrategy.swift
[41/42] Compiling Prettier ConfigurationKey.swift
[42/42] Compiling Prettier resource_bundle_accessor.swift
[43/87] Compiling PrettierYAML resource_bundle_accessor.swift
[44/87] Compiling PrettierTypeScript resource_bundle_accessor.swift
[45/87] Compiling PrettierYAML YAMLParser.swift
[46/87] Compiling PrettierYAML YAMLPlugin.swift
[47/87] Emitting module PrettierYAML
[48/87] Compiling PrettierPostCSS CSSParser.swift
[49/87] Compiling PrettierPHP PHPParser.swift
[50/87] Compiling PrettierPostCSS SCSSParser.swift
[51/87] Emitting module PrettierTypeScript
[52/87] Compiling PrettierTypeScript TypeScriptParser.swift
[53/87] Compiling PrettierTypeScript TypeScriptPlugin.swift
[54/87] Emitting module PrettierFlow
[55/87] Emitting module PrettierMeriyah
[56/87] Compiling PrettierPostCSS PostCSSPlugin.swift
[57/90] Compiling PrettierPostCSS LessParser.swift
[58/90] Compiling PrettierFlow resource_bundle_accessor.swift
[59/90] Compiling PrettierFlow FlowPlugin.swift
[60/90] Compiling PrettierPostCSS resource_bundle_accessor.swift
[61/90] Emitting module PrettierPHP
[62/90] Compiling PrettierMarkdown MarkdownPlugin.swift
[63/90] Compiling PrettierMeriyah MeriyahParser.swift
[64/90] Compiling PrettierMeriyah MeriyahPlugin.swift
[65/90] Compiling PrettierGlimmer GlimmerParser.swift
[66/90] Compiling PrettierMarkdown MDXParser.swift
[67/90] Emitting module PrettierMarkdown
[68/90] Compiling PrettierHTML HTMLPlugin.swift
[69/90] Compiling PrettierHTML LWCParser.swift
[70/90] Compiling PrettierMarkdown resource_bundle_accessor.swift
[71/90] Emitting module PrettierGraphQL
[72/90] Compiling PrettierHTML HTMLParser.swift
[73/90] Compiling PrettierMarkdown MarkdownParser.swift
[74/90] Compiling PrettierHTML AngularParser.swift
[75/90] Compiling PrettierMeriyah resource_bundle_accessor.swift
[76/90] Emitting module PrettierPostCSS
[77/90] Emitting module PrettierGlimmer
[78/90] Emitting module PrettierHTML
[79/90] Compiling PrettierGraphQL GraphQLPlugin.swift
[80/90] Compiling PrettierGraphQL GraphQLParser.swift
[81/90] Compiling PrettierGraphQL resource_bundle_accessor.swift
[82/90] Compiling PrettierHTML resource_bundle_accessor.swift
[83/90] Compiling PrettierHTML VueParser.swift
[84/90] Compiling PrettierPHP resource_bundle_accessor.swift
[85/90] Compiling PrettierGlimmer GlimmerPlugin.swift
[86/90] Compiling PrettierGlimmer resource_bundle_accessor.swift
[87/90] Compiling PrettierPHP PHPPlugin.swift
[88/99] Emitting module PrettierEspree
[89/99] Compiling PrettierEspree resource_bundle_accessor.swift
[90/99] Compiling PrettierEspree EspreePlugin.swift
[91/99] Emitting module PrettierBabel
[92/99] Compiling PrettierBabel BabelFlowParser.swift
[93/99] Compiling PrettierBabel JSON5Parser.swift
[94/99] Compiling PrettierBabel BabelPlugin.swift
[95/99] Compiling PrettierBabel JSONStringifyParser.swift
[96/99] Compiling PrettierBabel JSONParser.swift
[97/99] Compiling PrettierBabel resource_bundle_accessor.swift
[98/99] Compiling PrettierBabel BabelTSParser.swift
[99/99] Compiling PrettierBabel BabelParser.swift
Build complete! (20.35s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Prettier",
  "name" : "Prettier",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Prettier",
      "targets" : [
        "Prettier"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrettierBabel",
      "targets" : [
        "PrettierBabel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrettierEspree",
      "targets" : [
        "PrettierEspree"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrettierFlow",
      "targets" : [
        "PrettierFlow"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrettierGlimmer",
      "targets" : [
        "PrettierGlimmer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrettierGraphQL",
      "targets" : [
        "PrettierGraphQL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrettierHTML",
      "targets" : [
        "PrettierHTML"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrettierMarkdown",
      "targets" : [
        "PrettierMarkdown"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrettierMeriyah",
      "targets" : [
        "PrettierMeriyah"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrettierPHP",
      "targets" : [
        "PrettierPHP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrettierPostCSS",
      "targets" : [
        "PrettierPostCSS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrettierTypeScript",
      "targets" : [
        "PrettierTypeScript"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PrettierYAML",
      "targets" : [
        "PrettierYAML"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PrettierYAML",
      "module_type" : "SwiftTarget",
      "name" : "PrettierYAML",
      "path" : "Sources/PrettierYAML",
      "product_memberships" : [
        "PrettierYAML"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrettierYAML/parser-yaml.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "YAMLParser.swift",
        "YAMLPlugin.swift"
      ],
      "target_dependencies" : [
        "Prettier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettierTypeScript",
      "module_type" : "SwiftTarget",
      "name" : "PrettierTypeScript",
      "path" : "Sources/PrettierTypeScript",
      "product_memberships" : [
        "PrettierTypeScript"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrettierTypeScript/parser-typescript.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "TypeScriptParser.swift",
        "TypeScriptPlugin.swift"
      ],
      "target_dependencies" : [
        "Prettier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettierTests",
      "module_type" : "SwiftTarget",
      "name" : "PrettierTests",
      "path" : "Tests/PrettierTests",
      "sources" : [
        "PrettierFormatterTests.swift"
      ],
      "target_dependencies" : [
        "Prettier",
        "PrettierBabel",
        "PrettierMarkdown",
        "PrettierPHP",
        "PrettierPostCSS",
        "PrettierHTML"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PrettierPostCSS",
      "module_type" : "SwiftTarget",
      "name" : "PrettierPostCSS",
      "path" : "Sources/PrettierPostCSS",
      "product_memberships" : [
        "PrettierPostCSS"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrettierPostCSS/parser-postcss.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CSSParser.swift",
        "LessParser.swift",
        "PostCSSPlugin.swift",
        "SCSSParser.swift"
      ],
      "target_dependencies" : [
        "Prettier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettierPHP",
      "module_type" : "SwiftTarget",
      "name" : "PrettierPHP",
      "path" : "Sources/PrettierPHP",
      "product_memberships" : [
        "PrettierPHP"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrettierPHP/parser-php.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "PHPParser.swift",
        "PHPPlugin.swift"
      ],
      "target_dependencies" : [
        "Prettier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettierMeriyah",
      "module_type" : "SwiftTarget",
      "name" : "PrettierMeriyah",
      "path" : "Sources/PrettierMeriyah",
      "product_memberships" : [
        "PrettierMeriyah"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrettierMeriyah/parser-meriyah.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "MeriyahParser.swift",
        "MeriyahPlugin.swift"
      ],
      "target_dependencies" : [
        "Prettier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettierMarkdown",
      "module_type" : "SwiftTarget",
      "name" : "PrettierMarkdown",
      "path" : "Sources/PrettierMarkdown",
      "product_memberships" : [
        "PrettierMarkdown"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrettierMarkdown/parser-markdown.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "MDXParser.swift",
        "MarkdownParser.swift",
        "MarkdownPlugin.swift"
      ],
      "target_dependencies" : [
        "Prettier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettierHTML",
      "module_type" : "SwiftTarget",
      "name" : "PrettierHTML",
      "path" : "Sources/PrettierHTML",
      "product_memberships" : [
        "PrettierHTML"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrettierHTML/parser-html.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AngularParser.swift",
        "HTMLParser.swift",
        "HTMLPlugin.swift",
        "LWCParser.swift",
        "VueParser.swift"
      ],
      "target_dependencies" : [
        "Prettier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettierGraphQL",
      "module_type" : "SwiftTarget",
      "name" : "PrettierGraphQL",
      "path" : "Sources/PrettierGraphQL",
      "product_memberships" : [
        "PrettierGraphQL"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrettierGraphQL/parser-graphql.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "GraphQLParser.swift",
        "GraphQLPlugin.swift"
      ],
      "target_dependencies" : [
        "Prettier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettierGlimmer",
      "module_type" : "SwiftTarget",
      "name" : "PrettierGlimmer",
      "path" : "Sources/PrettierGlimmer",
      "product_memberships" : [
        "PrettierGlimmer"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrettierGlimmer/parser-glimmer.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "GlimmerParser.swift",
        "GlimmerPlugin.swift"
      ],
      "target_dependencies" : [
        "Prettier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettierFlow",
      "module_type" : "SwiftTarget",
      "name" : "PrettierFlow",
      "path" : "Sources/PrettierFlow",
      "product_memberships" : [
        "PrettierFlow"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrettierFlow/parser-flow.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "FlowPlugin.swift"
      ],
      "target_dependencies" : [
        "Prettier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettierEspree",
      "module_type" : "SwiftTarget",
      "name" : "PrettierEspree",
      "path" : "Sources/PrettierEspree",
      "product_memberships" : [
        "PrettierEspree"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrettierEspree/parser-espree.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "EspreePlugin.swift"
      ],
      "target_dependencies" : [
        "Prettier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PrettierBabel",
      "module_type" : "SwiftTarget",
      "name" : "PrettierBabel",
      "path" : "Sources/PrettierBabel",
      "product_memberships" : [
        "PrettierBabel"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrettierBabel/parser-babel.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BabelFlowParser.swift",
        "BabelParser.swift",
        "BabelPlugin.swift",
        "BabelTSParser.swift",
        "JSON5Parser.swift",
        "JSONParser.swift",
        "JSONStringifyParser.swift"
      ],
      "target_dependencies" : [
        "Prettier"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Prettier",
      "module_type" : "SwiftTarget",
      "name" : "Prettier",
      "path" : "Sources/Prettier",
      "product_memberships" : [
        "Prettier",
        "PrettierBabel",
        "PrettierEspree",
        "PrettierFlow",
        "PrettierGlimmer",
        "PrettierGraphQL",
        "PrettierHTML",
        "PrettierMarkdown",
        "PrettierMeriyah",
        "PrettierPHP",
        "PrettierPostCSS",
        "PrettierTypeScript",
        "PrettierYAML"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Prettier/standalone.js",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Configuration/ArrowFunctionParenthesesStrategy.swift",
        "Configuration/ConfigurationKey.swift",
        "Configuration/EmbeddedLanguageFormattingStrategy.swift",
        "Configuration/EndOfLineStrategy.swift",
        "Configuration/HTMLWhitespaceSensitivityStrategy.swift",
        "Configuration/ProseWrapStrategy.swift",
        "Configuration/QuotePropertyStrategy.swift",
        "Configuration/TrailingCommaStrategy.swift",
        "FormatWithCursorResult.swift",
        "Parser.swift",
        "ParsingErrorDetails.swift",
        "Plugin.swift",
        "PrettierFormatter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.