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 0.2.1 (266dac), with Swift 6.0 for macOS (SPM) on 13 Sep 2024 17:07:54 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: 0.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonbs/Prettier
 * tag               0.2.1      -> FETCH_HEAD
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 0.2.1
========================================
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
[2/27] Copying parser-yaml.js
[4/27] Write sources
[5/27] Copying parser-php.js
[5/27] Write sources
[5/27] Copying parser-typescript.js
[5/27] Copying parser-markdown.js
[9/27] Copying parser-flow.js
[9/27] Copying parser-postcss.js
[9/27] Copying parser-meriyah.js
[9/27] Copying parser-html.js
[9/27] Copying parser-graphql.js
[9/27] Copying parser-glimmer.js
[15/27] Copying parser-espree.js
[15/27] Write sources
[15/27] Copying standalone.js
[15/27] Write sources
[17/27] Copying parser-babel.js
[20/27] Write sources
[26/27] Write swift-version-117DEE11B69C53C9.txt
[28/41] Compiling Prettier Plugin.swift
[29/41] Compiling Prettier ParsingErrorDetails.swift
[30/41] 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
[31/42] Compiling Prettier HTMLWhitespaceSensitivityStrategy.swift
[32/42] Compiling Prettier ProseWrapStrategy.swift
[33/42] Compiling Prettier QuotePropertyStrategy.swift
[34/42] Compiling Prettier TrailingCommaStrategy.swift
[35/42] Compiling Prettier Parser.swift
[36/42] Compiling Prettier ArrowFunctionParenthesesStrategy.swift
[37/42] Compiling Prettier ConfigurationKey.swift
[38/42] Compiling Prettier EmbeddedLanguageFormattingStrategy.swift
[39/42] Compiling Prettier EndOfLineStrategy.swift
[40/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
[41/42] Compiling Prettier FormatWithCursorResult.swift
[42/42] Compiling Prettier resource_bundle_accessor.swift
[43/87] Compiling PrettierYAML resource_bundle_accessor.swift
[44/87] Compiling PrettierGraphQL GraphQLPlugin.swift
[45/87] Compiling PrettierGraphQL resource_bundle_accessor.swift
[46/87] Compiling PrettierGraphQL GraphQLParser.swift
[47/87] Emitting module PrettierGraphQL
[48/87] Compiling PrettierYAML YAMLPlugin.swift
[49/87] Emitting module PrettierYAML
[50/87] Compiling PrettierYAML YAMLParser.swift
[51/87] Compiling PrettierPHP resource_bundle_accessor.swift
[52/90] Compiling PrettierPHP PHPParser.swift
[53/90] Compiling PrettierPHP PHPPlugin.swift
[54/90] Emitting module PrettierPHP
[55/99] Emitting module PrettierGlimmer
[56/99] Compiling PrettierMarkdown MDXParser.swift
[57/99] Compiling PrettierMarkdown MarkdownPlugin.swift
[58/99] Compiling PrettierMarkdown resource_bundle_accessor.swift
[59/99] Compiling PrettierMarkdown MarkdownParser.swift
[60/99] Compiling PrettierHTML LWCParser.swift
[61/99] Compiling PrettierPostCSS SCSSParser.swift
[62/99] Compiling PrettierPostCSS PostCSSPlugin.swift
[63/99] Compiling PrettierPostCSS CSSParser.swift
[64/99] Compiling PrettierPostCSS resource_bundle_accessor.swift
[65/99] Compiling PrettierPostCSS LessParser.swift
[66/99] Emitting module PrettierPostCSS
[67/99] Emitting module PrettierMarkdown
[68/99] Compiling PrettierHTML VueParser.swift
[69/99] Compiling PrettierHTML HTMLParser.swift
[70/99] Compiling PrettierHTML HTMLPlugin.swift
[71/99] Emitting module PrettierHTML
[72/99] Compiling PrettierHTML AngularParser.swift
[73/99] Compiling PrettierHTML resource_bundle_accessor.swift
[74/99] Compiling PrettierGlimmer GlimmerParser.swift
[75/99] Compiling PrettierGlimmer GlimmerPlugin.swift
[76/99] Compiling PrettierGlimmer resource_bundle_accessor.swift
[77/99] Emitting module PrettierTypeScript
[78/99] Compiling PrettierTypeScript resource_bundle_accessor.swift
[79/99] Compiling PrettierTypeScript TypeScriptPlugin.swift
[80/99] Compiling PrettierTypeScript TypeScriptParser.swift
[81/99] Compiling PrettierFlow FlowPlugin.swift
[82/99] Emitting module PrettierFlow
[83/99] Compiling PrettierFlow resource_bundle_accessor.swift
[84/99] Compiling PrettierMeriyah MeriyahPlugin.swift
[85/99] Compiling PrettierMeriyah MeriyahParser.swift
[86/99] Emitting module PrettierMeriyah
[87/99] Compiling PrettierMeriyah resource_bundle_accessor.swift
[88/99] Emitting module PrettierEspree
[89/99] Compiling PrettierEspree resource_bundle_accessor.swift
[90/99] Compiling PrettierEspree EspreePlugin.swift
[91/99] Compiling PrettierBabel JSONStringifyParser.swift
[92/99] Compiling PrettierBabel resource_bundle_accessor.swift
[93/99] Compiling PrettierBabel JSONParser.swift
[94/99] Compiling PrettierBabel BabelTSParser.swift
[95/99] Compiling PrettierBabel BabelPlugin.swift
[96/99] Compiling PrettierBabel BabelFlowParser.swift
[97/99] Compiling PrettierBabel BabelParser.swift
[98/99] Emitting module PrettierBabel
[99/99] Compiling PrettierBabel JSON5Parser.swift
Build complete! (23.77s)
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.