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 2 Nov 2024 20:57:41 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.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.56.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "prettier",
      "name": "Prettier",
      "url": "https://github.com/simonbs/Prettier.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Prettier",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/simonbs/Prettier.git
[1/400] Fetching prettier
Fetched https://github.com/simonbs/Prettier.git from cache (1.26s)
Creating working copy for https://github.com/simonbs/Prettier.git
Working copy of https://github.com/simonbs/Prettier.git resolved at 0.2.1 (266dac5)
warning: '.resolve-product-dependencies': dependency 'prettier' is not used by any target
Found 0 product dependencies
========================================
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.1.0.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
[6/27] Copying parser-markdown.js
[6/27] Copying parser-meriyah.js
[6/27] Copying parser-typescript.js
[6/27] Copying parser-postcss.js
[8/27] Copying parser-graphql.js
[11/27] Copying parser-flow.js
[11/27] Copying parser-php.js
[11/27] Copying parser-html.js
[14/27] Copying parser-babel.js
[14/27] Copying parser-yaml.js
[14/27] Write sources
[19/27] Copying parser-glimmer.js
[20/27] Copying parser-espree.js
[20/27] Write sources
[22/27] Copying standalone.js
[24/27] Write sources
[26/27] Write swift-version--7754E27361AE5C74.txt
[28/41] Compiling Prettier Parser.swift
[29/41] Compiling Prettier ParsingErrorDetails.swift
[30/41] Compiling Prettier FormatWithCursorResult.swift
[31/41] Compiling Prettier QuotePropertyStrategy.swift
[32/41] Compiling Prettier TrailingCommaStrategy.swift
[33/41] Compiling Prettier ArrowFunctionParenthesesStrategy.swift
[34/41] Compiling Prettier ConfigurationKey.swift
[35/41] Compiling Prettier EmbeddedLanguageFormattingStrategy.swift
[36/41] Compiling Prettier EndOfLineStrategy.swift
[37/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
[38/41] Compiling Prettier HTMLWhitespaceSensitivityStrategy.swift
[39/41] Compiling Prettier ProseWrapStrategy.swift
[40/41] 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/41] Compiling Prettier Plugin.swift
[42/42] Compiling Prettier resource_bundle_accessor.swift
[43/87] Compiling PrettierYAML YAMLParser.swift
[44/87] Compiling PrettierYAML resource_bundle_accessor.swift
[45/87] Emitting module PrettierYAML
[46/87] Compiling PrettierYAML YAMLPlugin.swift
[47/90] Emitting module PrettierHTML
[48/90] Compiling PrettierHTML HTMLParser.swift
[49/90] Compiling PrettierHTML AngularParser.swift
[50/90] Emitting module PrettierGraphQL
[51/90] Compiling PrettierGlimmer resource_bundle_accessor.swift
[52/90] Compiling PrettierGlimmer GlimmerParser.swift
[53/90] Compiling PrettierGlimmer GlimmerPlugin.swift
[54/90] Compiling PrettierGraphQL GraphQLPlugin.swift
[55/90] Compiling PrettierGraphQL resource_bundle_accessor.swift
[56/90] Compiling PrettierHTML HTMLPlugin.swift
[57/90] Compiling PrettierGraphQL GraphQLParser.swift
[58/90] Compiling PrettierHTML LWCParser.swift
[59/90] Compiling PrettierTypeScript TypeScriptParser.swift
[60/90] Emitting module PrettierPostCSS
[61/90] Emitting module PrettierGlimmer
[62/90] Compiling PrettierTypeScript TypeScriptPlugin.swift
[63/90] Compiling PrettierTypeScript resource_bundle_accessor.swift
[64/90] Compiling PrettierMarkdown resource_bundle_accessor.swift
[65/90] Compiling PrettierMarkdown MDXParser.swift
[66/90] Emitting module PrettierMarkdown
[67/90] Compiling PrettierMarkdown MarkdownParser.swift
[68/90] Compiling PrettierMarkdown MarkdownPlugin.swift
[69/90] Compiling PrettierMeriyah MeriyahParser.swift
[70/90] Emitting module PrettierMeriyah
[71/90] Compiling PrettierPostCSS LessParser.swift
[72/90] Compiling PrettierPostCSS CSSParser.swift
[73/90] Compiling PrettierPostCSS PostCSSPlugin.swift
[74/90] Emitting module PrettierTypeScript
[75/90] Compiling PrettierMeriyah resource_bundle_accessor.swift
[76/90] Compiling PrettierMeriyah MeriyahPlugin.swift
[77/90] Compiling PrettierHTML resource_bundle_accessor.swift
[78/90] Compiling PrettierHTML VueParser.swift
[79/90] Emitting module PrettierFlow
[80/90] Emitting module PrettierPHP
[81/90] Compiling PrettierPHP PHPPlugin.swift
[82/90] Compiling PrettierPHP resource_bundle_accessor.swift
[83/90] Compiling PrettierPHP PHPParser.swift
[84/90] Compiling PrettierPostCSS resource_bundle_accessor.swift
[85/90] Compiling PrettierPostCSS SCSSParser.swift
[86/90] Compiling PrettierFlow resource_bundle_accessor.swift
[87/90] Compiling PrettierFlow FlowPlugin.swift
[88/99] Compiling PrettierEspree resource_bundle_accessor.swift
[89/99] Emitting module PrettierEspree
[90/99] Compiling PrettierEspree EspreePlugin.swift
[91/99] Emitting module PrettierBabel
[92/99] Compiling PrettierBabel BabelFlowParser.swift
[93/99] Compiling PrettierBabel BabelTSParser.swift
[94/99] Compiling PrettierBabel BabelPlugin.swift
[95/99] Compiling PrettierBabel JSONParser.swift
[96/99] Compiling PrettierBabel JSON5Parser.swift
[97/99] Compiling PrettierBabel JSONStringifyParser.swift
[98/99] Compiling PrettierBabel BabelParser.swift
[99/99] Compiling PrettierBabel resource_bundle_accessor.swift
Build complete! (18.55s)
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.