This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 swift-package-factory with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-package-factory.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tayloraswift/swift-package-factory
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at babb16e swift-DEVELOPMENT-SNAPSHOT-2022-12-17-a
Cloned https://github.com/tayloraswift/swift-package-factory.git
Revision (git rev-parse @):
babb16e83198e53da6541cb19978d3e3356a3ab8
SUCCESS checkout https://github.com/tayloraswift/swift-package-factory.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/tayloraswift/swift-package-factory.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin FactoryPlugin
Building for debugging...
[1/26] Write sources
[9/26] Write swift-package-factory-entitlement.plist
[10/26] Write sources
[15/26] Compiling CSystem shims.c
[16/26] Write swift-version-6F35C1178C84523A.txt
[18/99] Emitting module SystemPackage
[19/101] Emitting module InvalidExamples
[20/101] Compiling InvalidExamples InvalidMatrix.spf.swift
/Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf.swift:5:9: warning: variable 'x' was never used; consider replacing with '_' or removing it
 3 |
 4 |     // this works because this is a declaration
 5 |     var x:Int = 0
   |         `- warning: variable 'x' was never used; consider replacing with '_' or removing it
 6 |
 7 |     // this works because this is a declaration
/Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf.swift:8:9: warning: variable 'y' was never used; consider replacing with '_' or removing it
 6 |
 7 |     // this works because this is a declaration
 8 |     var y:Int = 0
   |         `- warning: variable 'y' was never used; consider replacing with '_' or removing it
 9 |
10 |     // this works because this is a declaration
/Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf.swift:11:9: warning: variable 'z' was never used; consider replacing with '_' or removing it
 9 |
10 |     // this works because this is a declaration
11 |     var z:Int = 0
   |         `- warning: variable 'z' was never used; consider replacing with '_' or removing it
12 |
13 |     #if NEVER
[21/101] Compiling ValidExamples ContainerTypes.spf.swift
[22/101] Compiling ValidExamples Empty.swift
[23/101] Compiling SystemPackage Util.swift
[24/101] Compiling SystemPackage UtilConsumers.swift
[25/101] Compiling ValidExamples Basic.spf.swift
[26/101] Emitting module ValidExamples
[27/101] Compiling ValidExamples DocComments.spf.swift
[28/101] Compiling ValidExamples PrimaryAssociatedtypeDowngrade.spf.swift
[29/101] Compiling ValidExamples Scopes.spf.swift
[30/101] Compiling ValidExamples Nested.spf.swift
[31/101] Compiling ValidExamples Zip.spf.swift
[32/101] Compiling ValidExamples OtherAttributes.spf.swift
[33/101] Compiling SwiftSyntax SyntaxText.swift
[34/101] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[35/101] Compiling SwiftSyntax SyntaxVerifier.swift
[36/101] Compiling SwiftSyntax Utils.swift
[37/105] Compiling SwiftSyntax SourceLocation.swift
[38/105] Compiling SwiftSyntax SourcePresence.swift
[39/105] Compiling SystemPackage PlatformString.swift
[40/105] Compiling SwiftSyntax SyntaxEnum.swift
[41/105] Compiling SwiftSyntax RawSyntaxTokenView.swift
[42/105] Compiling SwiftSyntax RawSyntaxNodes.swift
[43/105] Compiling SwiftSyntax RawSyntaxValidation.swift
[44/105] Compiling SwiftSyntax SourceLength.swift
[45/105] Compiling SwiftSyntax SyntaxOtherNodes.swift
[46/105] Compiling SwiftSyntax RawSyntax.swift
[47/105] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[48/105] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[49/105] Compiling SwiftSyntax IncrementalParseTransition.swift
[50/105] Compiling SwiftSyntax MemoryLayout.swift
[51/105] Compiling SystemPackage FileOperations.swift
[52/105] Compiling SwiftSyntax SyntaxChildren.swift
[53/105] Compiling SwiftSyntax SyntaxData.swift
[54/105] Compiling SwiftSyntax AbsolutePosition.swift
[55/105] Compiling SwiftSyntax BumpPtrAllocator.swift
[56/105] Compiling SwiftSyntax CommonAncestor.swift
[57/108] Compiling SystemExtras FilePath.swift
[58/108] Compiling SystemExtras FilePath.DirectoryView.swift
[59/108] Emitting module SystemExtras
[65/108] Compiling SwiftSyntax Misc.swift
[66/108] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[67/108] Compiling SwiftSyntax SyntaxBaseNodes.swift
[68/108] Compiling SwiftSyntax SyntaxCollections.swift
[69/108] Emitting module SwiftSyntax
[70/108] Compiling SwiftSyntax Tokens.swift
[71/108] Compiling SwiftSyntax Trivia.swift
[72/108] Compiling SwiftSyntax SyntaxDeclNodes.swift
[73/108] Compiling SwiftSyntax SyntaxExprNodes.swift
[91/108] Compiling SwiftSyntax SyntaxRewriter.swift
[92/108] Compiling SwiftSyntax SyntaxTraits.swift
[93/108] Compiling SwiftSyntax SyntaxTransform.swift
[94/108] Compiling SwiftSyntax SyntaxVisitor.swift
[95/108] Compiling SwiftSyntax TokenKind.swift
[96/108] Compiling SwiftSyntax SyntaxNodes.swift
[97/108] Compiling SwiftSyntax SyntaxPatternNodes.swift
[98/108] Compiling SwiftSyntax SyntaxStmtNodes.swift
[99/108] Compiling SwiftSyntax SyntaxTypeNodes.swift
[99/108] Write Objects.LinkFileList
[100/119] Archiving libSwiftSyntax.a
[102/119] Compiling SwiftDiagnostics Message.swift
[103/119] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[104/119] Compiling SwiftDiagnostics Note.swift
[105/119] Emitting module SwiftDiagnostics
[106/119] Compiling SwiftDiagnostics Diagnostic.swift
[107/119] Compiling SwiftDiagnostics FixIt.swift
[108/145] Compiling SwiftBasicFormat Utils.swift
[109/145] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[110/145] Compiling SwiftBasicFormat Trivia+Indented.swift
[111/145] Emitting module SwiftBasicFormat
[112/145] Compiling SwiftBasicFormat BasicFormat.swift
[113/145] Compiling SwiftParser SyntaxUtils.swift
[114/145] Compiling SwiftParser TokenConsumer.swift
[115/145] Compiling SwiftParser TokenPrecedence.swift
[116/147] Compiling SwiftParser DeclarationModifier.swift
[117/147] Compiling SwiftParser TypeAttribute.swift
[118/147] Compiling SwiftParser Attributes.swift
[119/147] Compiling SwiftParser Availability.swift
[120/147] Compiling SwiftParser CharacterInfo.swift
[121/147] Emitting module SwiftParser
[122/147] Compiling SwiftParser RawTokenKindSubset.swift
[123/147] Compiling SwiftParser Recovery.swift
[124/147] Compiling SwiftParser Statements.swift
[125/147] Compiling SwiftParser Types.swift
[126/147] Compiling SwiftParser DeclarationAttribute.swift
[127/147] Compiling SwiftParser TopLevel.swift
[128/147] Compiling SwiftParser TriviaParser.swift
[129/147] Compiling SwiftParser Nominals.swift
[130/147] Compiling SwiftParser Parser.swift
[131/147] Compiling SwiftParser Patterns.swift
[132/147] Compiling SwiftParser Lexer.swift
[133/147] Compiling SwiftParser LexerDiagnosticMessages.swift
[134/147] Compiling SwiftParser Lookahead.swift
[135/147] Compiling SwiftParser LoopProgressCondition.swift
[136/147] Compiling SwiftParser Modifiers.swift
[137/147] Compiling SwiftParser Names.swift
[138/147] Compiling SwiftParser Declarations.swift
[139/147] Compiling SwiftParser Directives.swift
[140/147] Compiling SwiftParser Expressions.swift
[141/158] Compiling SwiftParserDiagnostics Utils.swift
[142/158] Emitting module SwiftParserDiagnostics
[143/158] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[144/158] Compiling SwiftParserDiagnostics PresenceUtils.swift
[145/158] Compiling SwiftParserDiagnostics MissingNodesError.swift
[146/158] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[147/158] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[148/158] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[149/170] Compiling SwiftSyntaxBuilder Typealiases.swift
[150/170] Compiling SwiftSyntaxBuilder Token.swift
[151/171] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[152/171] Compiling SwiftSyntaxBuilder BuildableCollectionNodes.swift
[153/171] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[154/171] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[155/171] Compiling SwiftSyntaxBuilder HasTrailingComma.swift
[156/171] Compiling SwiftSyntaxBuilder Indenter.swift
[157/171] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[158/171] Emitting module SwiftSyntaxBuilder
[159/171] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[160/171] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[161/171] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[161/171] Write Objects.LinkFileList
/Applications/Xcode-15.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Utils.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftSyntax.build/Utils.swift.o(Utils.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftParserDiagnostics.build/Utils.swift.o(Utils.swift.o)'
/Applications/Xcode-15.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Utils.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftParserDiagnostics.build/Utils.swift.o(Utils.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftBasicFormat.build/Utils.swift.o(Utils.swift.o)'
[162/171] Archiving libSwiftSyntaxBuilder.a
[164/171] Compiling SwiftSyntaxParser Diagnostic.swift
[165/171] Emitting module SwiftSyntaxParser
[166/171] Compiling SwiftSyntaxParser SyntaxParser.swift
[166/171] Write Objects.LinkFileList
/Applications/Xcode-15.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Diagnostic.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftDiagnostics.build/Diagnostic.swift.o(Diagnostic.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwiftSyntaxParser.build/Diagnostic.swift.o(Diagnostic.swift.o)'
[167/179] Archiving libSwiftSyntaxParser.a
[169/179] Compiling Factory LexicalScope.swift
[170/179] Compiling Factory Transformer.swift
[171/179] Compiling Factory Loop.swift
[172/179] Compiling Factory Error.swift
[173/179] Compiling Factory MatrixElement.swift
[174/179] Emitting module Factory
[175/179] Compiling Factory Factory.swift
[176/179] Compiling Factory Instantiator.swift
[177/181] Emitting module swift_package_factory
[178/181] Compiling swift_package_factory Main.swift
[178/181] Write Objects.LinkFileList
[179/181] Linking swift-package-factory
[180/181] Applying swift-package-factory
Build complete! (81.34s)
Fetching https://github.com/apple/swift-syntax.git
[1/60938] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.21s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/kelvin13/swift-system-extras.git
[1/40] Fetching swift-system-extras
[41/3558] Fetching swift-system-extras, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.07s)
Fetched https://github.com/kelvin13/swift-system-extras.git from cache (1.07s)
Computing version for https://github.com/kelvin13/swift-system-extras.git
Computed https://github.com/kelvin13/swift-system-extras.git at 0.2.0 (0.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.2.1 (0.67s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at swift-DEVELOPMENT-SNAPSHOT-2022-12-17-a (e4a3ce8)
Creating working copy for https://github.com/kelvin13/swift-system-extras.git
Working copy of https://github.com/kelvin13/swift-system-extras.git resolved at 0.2.0
warning: 'spi-builder-workspace': found 8 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/DocComments.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/OtherAttributes.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Basic.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Nested.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Scopes.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/ContainerTypes.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/PrimaryAssociatedtypeDowngrade.spf
    /Users/admin/builder/spi-builder-workspace/Examples/ValidExamples/Zip.spf
warning: 'spi-builder-workspace': found 7 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/UndefinedBasis.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/IdentifierSafety.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidRetroProtocol.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidRetro.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidMatrix.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasisSyntax.spf
    /Users/admin/builder/spi-builder-workspace/Examples/InvalidExamples/InvalidBasis.spf
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-system-extras",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kelvin13/swift-system-extras.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "branch" : [
          "swift-DEVELOPMENT-SNAPSHOT-2022-12-17-a"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "swift-package-factory",
  "name" : "swift-package-factory",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "swift-package-factory",
      "targets" : [
        "swift-package-factory"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Factory",
      "targets" : [
        "Factory"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FactoryPlugin",
      "targets" : [
        "FactoryPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_package_factory",
      "module_type" : "SwiftTarget",
      "name" : "swift-package-factory",
      "path" : "Sources/swift-package-factory",
      "product_memberships" : [
        "swift-package-factory",
        "FactoryPlugin"
      ],
      "sources" : [
        "Main.swift"
      ],
      "target_dependencies" : [
        "Factory"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ValidExamples",
      "module_type" : "SwiftTarget",
      "name" : "ValidExamples",
      "path" : "Examples/ValidExamples",
      "sources" : [
        "Basic.spf.swift",
        "ContainerTypes.spf.swift",
        "DocComments.spf.swift",
        "Empty.swift",
        "Nested.spf.swift",
        "OtherAttributes.spf.swift",
        "PrimaryAssociatedtypeDowngrade.spf.swift",
        "Scopes.spf.swift",
        "Zip.spf.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InvalidExamples",
      "module_type" : "SwiftTarget",
      "name" : "InvalidExamples",
      "path" : "Examples/InvalidExamples",
      "sources" : [
        "InvalidMatrix.spf.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FactoryPlugin",
      "module_type" : "PluginTarget",
      "name" : "FactoryPlugin",
      "path" : "Plugins/FactoryPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "generate swift sources from factory sources",
          "type" : "custom",
          "verb" : "factory"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "factory emits source files",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "FactoryPlugin"
      ],
      "sources" : [
        "Main.swift",
        "MissingTargetError.swift",
        "ToolError.swift"
      ],
      "target_dependencies" : [
        "swift-package-factory"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Factory",
      "module_type" : "SwiftTarget",
      "name" : "Factory",
      "path" : "Sources/Factory",
      "product_dependencies" : [
        "SystemExtras",
        "SwiftSyntax",
        "SwiftSyntaxParser",
        "SwiftSyntaxBuilder"
      ],
      "product_memberships" : [
        "swift-package-factory",
        "Factory",
        "FactoryPlugin"
      ],
      "sources" : [
        "Error.swift",
        "Factory.swift",
        "Instantiator.swift",
        "LexicalScope.swift",
        "Loop.swift",
        "MatrixElement.swift",
        "Transformer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.