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 2 Nov 2024 20:57:51 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: 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
========================================
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
[4/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 main (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
[2/27] Copying parser-glimmer.js
[2/27] Copying parser-html.js
[2/27] Copying parser-markdown.js
[2/27] Copying parser-flow.js
[2/27] Copying parser-typescript.js
[2/27] Copying parser-postcss.js
[2/27] Copying parser-espree.js
[2/27] Copying parser-yaml.js
[2/27] Copying parser-graphql.js
[2/27] Copying parser-php.js
[11/27] Write sources
[13/27] Copying parser-babel.js
[13/27] Write sources
[19/27] Copying parser-meriyah.js
[20/27] Write sources
[21/27] Copying standalone.js
[22/27] Write sources
[26/27] Write swift-version--7754E27361AE5C74.txt
[28/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
[29/42] Compiling Prettier ParsingErrorDetails.swift
[30/42] Compiling Prettier Plugin.swift
[31/42] Compiling Prettier Parser.swift
[32/42] Compiling Prettier FormatWithCursorResult.swift
[33/42] Compiling Prettier ArrowFunctionParenthesesStrategy.swift
[34/42] Compiling Prettier ConfigurationKey.swift
[35/42] Compiling Prettier QuotePropertyStrategy.swift
[36/42] Compiling Prettier TrailingCommaStrategy.swift
[37/42] Compiling Prettier EmbeddedLanguageFormattingStrategy.swift
[38/42] Compiling Prettier EndOfLineStrategy.swift
[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 HTMLWhitespaceSensitivityStrategy.swift
[41/42] Compiling Prettier ProseWrapStrategy.swift
[42/42] Compiling Prettier resource_bundle_accessor.swift
[43/87] Emitting module PrettierTypeScript
[44/87] Compiling PrettierTypeScript resource_bundle_accessor.swift
[45/87] Compiling PrettierTypeScript TypeScriptPlugin.swift
[46/87] Compiling PrettierTypeScript TypeScriptParser.swift
[47/87] Compiling PrettierMeriyah MeriyahParser.swift
[48/87] Compiling PrettierFlow resource_bundle_accessor.swift
[49/87] Emitting module PrettierGlimmer
[50/87] Emitting module PrettierPostCSS
[51/87] Compiling PrettierPostCSS CSSParser.swift
[52/87] Compiling PrettierPHP PHPParser.swift
[53/87] Emitting module PrettierPHP
[54/87] Compiling PrettierGraphQL GraphQLParser.swift
[55/87] Compiling PrettierMarkdown MDXParser.swift
[56/87] Emitting module PrettierMeriyah
[57/87] Compiling PrettierGlimmer GlimmerPlugin.swift
[58/87] Compiling PrettierGlimmer resource_bundle_accessor.swift
[59/87] Compiling PrettierGlimmer GlimmerParser.swift
[60/87] Compiling PrettierMeriyah MeriyahPlugin.swift
[61/90] Compiling PrettierHTML AngularParser.swift
[62/90] Emitting module PrettierGraphQL
[63/90] Emitting module PrettierFlow
[64/90] Compiling PrettierFlow FlowPlugin.swift
[65/90] Compiling PrettierPHP PHPPlugin.swift
[66/90] Compiling PrettierPHP resource_bundle_accessor.swift
[67/90] Compiling PrettierHTML VueParser.swift
[68/90] Compiling PrettierHTML resource_bundle_accessor.swift
[69/90] Compiling PrettierYAML resource_bundle_accessor.swift
[70/90] Compiling PrettierHTML LWCParser.swift
[71/90] Compiling PrettierHTML HTMLPlugin.swift
[72/90] Compiling PrettierMarkdown MarkdownParser.swift
[73/90] Compiling PrettierHTML HTMLParser.swift
[74/90] Emitting module PrettierHTML
[75/90] Emitting module PrettierMarkdown
[76/90] Compiling PrettierPostCSS PostCSSPlugin.swift
[77/90] Compiling PrettierPostCSS LessParser.swift
[78/90] Compiling PrettierYAML YAMLParser.swift
[79/90] Emitting module PrettierYAML
[80/90] Compiling PrettierYAML YAMLPlugin.swift
[81/90] Compiling PrettierGraphQL GraphQLPlugin.swift
[82/90] Compiling PrettierGraphQL resource_bundle_accessor.swift
[83/90] Compiling PrettierPostCSS SCSSParser.swift
[84/90] Compiling PrettierPostCSS resource_bundle_accessor.swift
[85/90] Compiling PrettierMarkdown MarkdownPlugin.swift
[86/90] Compiling PrettierMarkdown resource_bundle_accessor.swift
[87/90] Compiling PrettierMeriyah resource_bundle_accessor.swift
[88/99] Compiling PrettierEspree resource_bundle_accessor.swift
[89/99] Compiling PrettierEspree EspreePlugin.swift
[90/99] Emitting module PrettierEspree
[91/99] Compiling PrettierBabel BabelPlugin.swift
[92/99] Compiling PrettierBabel BabelFlowParser.swift
[93/99] Emitting module PrettierBabel
[94/99] Compiling PrettierBabel BabelParser.swift
[95/99] Compiling PrettierBabel JSON5Parser.swift
[96/99] Compiling PrettierBabel BabelTSParser.swift
[97/99] Compiling PrettierBabel JSONStringifyParser.swift
[98/99] Compiling PrettierBabel JSONParser.swift
[99/99] Compiling PrettierBabel resource_bundle_accessor.swift
Build complete! (18.72s)
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.