The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Prettier, reference 0.2.1 (266dac), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 04:03:43 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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.31s)
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/27] Write sources
[1/27] Copying parser-typescript.js
[1/27] Copying parser-markdown.js
[1/27] Copying parser-yaml.js
[1/27] Copying parser-php.js
[1/27] Copying parser-flow.js
[1/27] Copying parser-html.js
[1/27] Copying parser-espree.js
[1/27] Copying parser-graphql.js
[5/27] Copying parser-postcss.js
[10/27] Write sources
[11/27] Copying parser-meriyah.js
[11/27] Write sources
[11/27] Copying parser-glimmer.js
[11/27] Write sources
[13/27] Copying standalone.js
[13/27] Copying parser-babel.js
[18/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/41] Compiling Prettier Plugin.swift
[30/41] Compiling Prettier ParsingErrorDetails.swift
[31/42] Compiling Prettier Parser.swift
[32/42] Compiling Prettier HTMLWhitespaceSensitivityStrategy.swift
[33/42] Compiling Prettier ProseWrapStrategy.swift
[34/42] Compiling Prettier QuotePropertyStrategy.swift
[35/42] Compiling Prettier TrailingCommaStrategy.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 PrettierMarkdown MarkdownParser.swift
[44/87] Compiling PrettierMarkdown MDXParser.swift
[45/87] Compiling PrettierHTML LWCParser.swift
[46/87] Compiling PrettierGlimmer GlimmerParser.swift
[47/87] Compiling PrettierMeriyah resource_bundle_accessor.swift
[48/87] Compiling PrettierTypeScript TypeScriptPlugin.swift
[49/87] Compiling PrettierTypeScript TypeScriptParser.swift
[50/87] Compiling PrettierTypeScript resource_bundle_accessor.swift
[51/87] Emitting module PrettierTypeScript
[52/87] Compiling PrettierHTML HTMLParser.swift
[53/87] Compiling PrettierFlow FlowPlugin.swift
[54/87] Compiling PrettierPostCSS SCSSParser.swift
[55/87] Emitting module PrettierMarkdown
[56/87] Compiling PrettierMeriyah MeriyahParser.swift
[57/87] Emitting module PrettierMeriyah
[58/87] Compiling PrettierMeriyah MeriyahPlugin.swift
[59/87] Compiling PrettierYAML YAMLPlugin.swift
[60/87] Compiling PrettierYAML YAMLParser.swift
[61/87] Emitting module PrettierYAML
[62/87] Compiling PrettierYAML resource_bundle_accessor.swift
[63/87] Compiling PrettierHTML VueParser.swift
[64/87] Compiling PrettierHTML resource_bundle_accessor.swift
[65/87] Compiling PrettierHTML AngularParser.swift
[66/87] Compiling PrettierFlow resource_bundle_accessor.swift
[67/87] Emitting module PrettierPHP
[68/87] Compiling PrettierMarkdown resource_bundle_accessor.swift
[69/87] Compiling PrettierPostCSS resource_bundle_accessor.swift
[70/87] Emitting module PrettierGlimmer
[71/87] Emitting module PrettierFlow
[72/87] Compiling PrettierHTML HTMLPlugin.swift
[73/87] Compiling PrettierMarkdown MarkdownPlugin.swift
[74/87] Compiling PrettierPostCSS LessParser.swift
[75/87] Compiling PrettierPostCSS CSSParser.swift
[76/87] Emitting module PrettierPostCSS
[77/87] Compiling PrettierPostCSS PostCSSPlugin.swift
[78/87] Compiling PrettierGlimmer GlimmerPlugin.swift
[79/87] Compiling PrettierGlimmer resource_bundle_accessor.swift
[80/87] Emitting module PrettierHTML
[81/87] Emitting module PrettierGraphQL
[82/87] Compiling PrettierGraphQL GraphQLParser.swift
[83/87] Compiling PrettierGraphQL resource_bundle_accessor.swift
[84/87] Compiling PrettierGraphQL GraphQLPlugin.swift
[85/87] Compiling PrettierPHP PHPPlugin.swift
[86/87] Compiling PrettierPHP PHPParser.swift
[87/87] Compiling PrettierPHP resource_bundle_accessor.swift
[88/99] Emitting module PrettierEspree
[89/99] Compiling PrettierEspree EspreePlugin.swift
[90/99] Compiling PrettierEspree resource_bundle_accessor.swift
[91/99] Compiling PrettierBabel BabelFlowParser.swift
[92/99] Compiling PrettierBabel BabelTSParser.swift
[93/99] Emitting module PrettierBabel
[94/99] Compiling PrettierBabel BabelParser.swift
[95/99] Compiling PrettierBabel JSONStringifyParser.swift
[96/99] Compiling PrettierBabel BabelPlugin.swift
[97/99] Compiling PrettierBabel JSON5Parser.swift
[98/99] Compiling PrettierBabel JSONParser.swift
[99/99] Compiling PrettierBabel resource_bundle_accessor.swift
Build complete! (16.19s)
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.