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 SwiftSVG, reference 0.11.0 (7238a6), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 09:31:04 UTC.

Swift 6 data race errors: 2

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/richardpiazza/SwiftSVG.git
Reference: 0.11.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/SwiftSVG
 * tag               0.11.0     -> FETCH_HEAD
HEAD is now at 7238a60 Smooth Curves (#13)
Cloned https://github.com/richardpiazza/SwiftSVG.git
Revision (git rev-parse @):
7238a601fc0e074543e3fa1b1912bf7afa9d32bf
SUCCESS checkout https://github.com/richardpiazza/SwiftSVG.git at 0.11.0
Fetching https://github.com/richardpiazza/Swift2D.git
Fetching https://github.com/CoreOffice/XMLCoder.git
[1/231] Fetching swift2d
[179/10242] Fetching swift2d, xmlcoder
Fetched https://github.com/richardpiazza/Swift2D.git from cache (0.78s)
[401/10011] Fetching xmlcoder
Fetched https://github.com/CoreOffice/XMLCoder.git from cache (1.20s)
Computing version for https://github.com/richardpiazza/Swift2D.git
Computed https://github.com/richardpiazza/Swift2D.git at 2.1.0 (0.66s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.15.0 (0.64s)
Creating working copy for https://github.com/CoreOffice/XMLCoder.git
Working copy of https://github.com/CoreOffice/XMLCoder.git resolved at 0.15.0
Creating working copy for https://github.com/richardpiazza/Swift2D.git
Working copy of https://github.com/richardpiazza/Swift2D.git resolved at 2.1.0
========================================
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": "swiftsvg",
      "name": "SwiftSVG",
      "url": "https://github.com/richardpiazza/SwiftSVG.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSVG",
      "dependencies": [
        {
          "identity": "xmlcoder",
          "name": "XMLCoder",
          "url": "https://github.com/CoreOffice/XMLCoder.git",
          "version": "0.17.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XMLCoder",
          "dependencies": [
          ]
        },
        {
          "identity": "swift2d",
          "name": "Swift2D",
          "url": "https://github.com/richardpiazza/Swift2D.git",
          "version": "2.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift2D",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/richardpiazza/SwiftSVG.git
[6/542] Fetching swiftsvg
Fetched https://github.com/richardpiazza/SwiftSVG.git from cache (0.78s)
Fetching https://github.com/CoreOffice/XMLCoder.git from cache
Fetching https://github.com/richardpiazza/Swift2D.git from cache
Fetched https://github.com/richardpiazza/Swift2D.git from cache (0.49s)
Fetched https://github.com/CoreOffice/XMLCoder.git from cache (0.49s)
Computing version for https://github.com/richardpiazza/Swift2D.git
Computed https://github.com/richardpiazza/Swift2D.git at 2.1.0 (0.02s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.17.1 (0.03s)
Creating working copy for https://github.com/richardpiazza/Swift2D.git
Working copy of https://github.com/richardpiazza/Swift2D.git resolved at 2.1.0
Creating working copy for https://github.com/CoreOffice/XMLCoder.git
Working copy of https://github.com/CoreOffice/XMLCoder.git resolved at 0.17.1
Creating working copy for https://github.com/richardpiazza/SwiftSVG.git
Working copy of https://github.com/richardpiazza/SwiftSVG.git resolved at 0.11.0 (7238a60)
warning: '.resolve-product-dependencies': dependency 'swiftsvg' is not used by any target
Found 2 product dependencies
  - XMLCoder
  - Swift2D
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/richardpiazza/SwiftSVG.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/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/60] Compiling Swift2D Size.swift
[6/60] Compiling Swift2D Size+Computed.swift
[7/60] Compiling Swift2D Size+CoreGraphics.swift
[8/60] Compiling Swift2D Rect.swift
[9/60] Compiling Swift2D Rect+Computed.swift
[10/60] Compiling Swift2D Point+CoreGraphics.swift
[11/60] Compiling Swift2D Point.swift
[12/60] Compiling Swift2D Point+Computed.swift
[13/60] Emitting module Swift2D
[14/60] Compiling Swift2D Rect+CoreGraphics.swift
[15/60] Emitting module XMLCoder
[16/60] Compiling XMLCoder UIntBox.swift
[17/60] Compiling XMLCoder URLBox.swift
[18/60] Compiling XMLCoder UnkeyedBox.swift
[19/60] Compiling XMLCoder ValueBox.swift
[20/60] Compiling XMLCoder Element.swift
[21/65] Compiling XMLCoder ElementAndAttribute.swift
[22/65] Compiling XMLCoder ISO8601DateFormatter.swift
[23/65] Compiling XMLCoder KeyedStorage.swift
[24/65] Compiling XMLCoder Metatypes.swift
[25/65] Compiling XMLCoder String+Extensions.swift
[26/65] Compiling XMLCoder XMLChoiceCodingKey.swift
[27/65] Compiling XMLCoder XMLCoderElement.swift
[28/65] Compiling XMLCoder XMLDocumentType.swift
[29/65] Compiling XMLCoder XMLHeader.swift
[30/65] Compiling XMLCoder XMLKey.swift
[31/65] Compiling XMLCoder Attribute.swift
[32/65] Compiling XMLCoder BoolBox.swift
[33/65] Compiling XMLCoder Box.swift
[34/65] Compiling XMLCoder ChoiceBox.swift
[35/65] Compiling XMLCoder DataBox.swift
[36/65] Compiling XMLCoder DynamicNodeEncoding.swift
[37/65] Compiling XMLCoder EncodingErrorExtension.swift
[38/65] Compiling XMLCoder SingleValueEncodingContainer.swift
[39/65] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[40/65] Compiling XMLCoder XMLEncoder.swift
[41/65] Compiling XMLCoder DateBox.swift
[42/65] Compiling XMLCoder DecimalBox.swift
[43/65] Compiling XMLCoder DoubleBox.swift
[44/65] Compiling XMLCoder FloatBox.swift
[45/65] Compiling XMLCoder IntBox.swift
[46/65] Compiling XMLCoder XMLStackParser.swift
[47/65] Compiling XMLCoder DecodingErrorExtension.swift
[48/65] Compiling XMLCoder DynamicNodeDecoding.swift
[49/65] Compiling XMLCoder SingleValueDecodingContainer.swift
[50/65] Compiling XMLCoder XMLChoiceDecodingContainer.swift
[51/65] Compiling XMLCoder KeyedBox.swift
[52/65] Compiling XMLCoder NullBox.swift
[53/65] Compiling XMLCoder SharedBox.swift
[54/65] Compiling XMLCoder SingleKeyedBox.swift
[55/65] Compiling XMLCoder StringBox.swift
[56/65] Compiling XMLCoder XMLDecoder.swift
[57/65] Compiling XMLCoder XMLDecoderImplementation.swift
[58/65] Compiling XMLCoder XMLDecodingStorage.swift
[59/65] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[60/65] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[61/65] Compiling XMLCoder XMLEncoderImplementation.swift
[62/65] Compiling XMLCoder XMLEncodingStorage.swift
[63/65] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[64/65] Compiling XMLCoder XMLReferencingEncoder.swift
[65/65] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[66/93] Compiling SwiftSVG PresentationAttributes.swift
[67/93] Compiling SwiftSVG Rectangle.swift
[68/93] Compiling SwiftSVG SVG+Swift2D.swift
[69/95] Compiling SwiftSVG CoreAttributes.swift
[70/95] Compiling SwiftSVG Element.swift
[71/95] Compiling SwiftSVG Ellipse.swift
[72/95] Compiling SwiftSVG EllipseProcessor.swift
[73/95] Compiling SwiftSVG PathProcessor.swift
[74/95] Compiling SwiftSVG PolygonProcressor.swift
[75/95] Compiling SwiftSVG Circle.swift
[76/95] Compiling SwiftSVG CommandRepresentable.swift
[77/95] Compiling SwiftSVG Container.swift
[78/95] Compiling SwiftSVG PolylineProcessor.swift
[79/95] Compiling SwiftSVG RectangleProcessor.swift
[80/95] Compiling SwiftSVG Line.swift
[81/95] Compiling SwiftSVG Path.swift
[82/95] Compiling SwiftSVG Polygon.swift
[83/95] Compiling SwiftSVG Polyline.swift
[84/95] Compiling SwiftSVG SVG.swift
[85/95] Compiling SwiftSVG Stroke.swift
[86/95] Compiling SwiftSVG StylingAttributes.swift
[87/95] Compiling SwiftSVG Path.Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSVG/Path.Command.swift:56:18: warning: associated value 'invalidAdjustment' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
  6 |     ///
  7 |     /// Each command is composed of a command letter and numbers that represent the command parameters.
  8 |     enum Command: Equatable, CustomStringConvertible {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
  9 |         /// Moves the current drawing point
 10 |         case moveTo(point: Point)
    :
 54 |         public enum Error: Swift.Error {
 55 |             case message(String)
 56 |             case invalidAdjustment(Path.Command)
    |                  `- warning: associated value 'invalidAdjustment' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
 57 |             case invalidArgumentPosition(Int, Path.Command)
 58 |             case invalidRelativeCommand
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSVG/Path.Command.swift:57:18: warning: associated value 'invalidArgumentPosition' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
  6 |     ///
  7 |     /// Each command is composed of a command letter and numbers that represent the command parameters.
  8 |     enum Command: Equatable, CustomStringConvertible {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
  9 |         /// Moves the current drawing point
 10 |         case moveTo(point: Point)
    :
 55 |             case message(String)
 56 |             case invalidAdjustment(Path.Command)
 57 |             case invalidArgumentPosition(Int, Path.Command)
    |                  `- warning: associated value 'invalidArgumentPosition' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
 58 |             case invalidRelativeCommand
 59 |         }
[88/95] Compiling SwiftSVG Path.Component.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSVG/Path.Command.swift:56:18: warning: associated value 'invalidAdjustment' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
  6 |     ///
  7 |     /// Each command is composed of a command letter and numbers that represent the command parameters.
  8 |     enum Command: Equatable, CustomStringConvertible {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
  9 |         /// Moves the current drawing point
 10 |         case moveTo(point: Point)
    :
 54 |         public enum Error: Swift.Error {
 55 |             case message(String)
 56 |             case invalidAdjustment(Path.Command)
    |                  `- warning: associated value 'invalidAdjustment' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
 57 |             case invalidArgumentPosition(Int, Path.Command)
 58 |             case invalidRelativeCommand
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSVG/Path.Command.swift:57:18: warning: associated value 'invalidArgumentPosition' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
  6 |     ///
  7 |     /// Each command is composed of a command letter and numbers that represent the command parameters.
  8 |     enum Command: Equatable, CustomStringConvertible {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
  9 |         /// Moves the current drawing point
 10 |         case moveTo(point: Point)
    :
 55 |             case message(String)
 56 |             case invalidAdjustment(Path.Command)
 57 |             case invalidArgumentPosition(Int, Path.Command)
    |                  `- warning: associated value 'invalidArgumentPosition' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
 58 |             case invalidRelativeCommand
 59 |         }
[89/95] Compiling SwiftSVG Path.ComponentParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSVG/Path.Command.swift:56:18: warning: associated value 'invalidAdjustment' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
  6 |     ///
  7 |     /// Each command is composed of a command letter and numbers that represent the command parameters.
  8 |     enum Command: Equatable, CustomStringConvertible {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
  9 |         /// Moves the current drawing point
 10 |         case moveTo(point: Point)
    :
 54 |         public enum Error: Swift.Error {
 55 |             case message(String)
 56 |             case invalidAdjustment(Path.Command)
    |                  `- warning: associated value 'invalidAdjustment' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
 57 |             case invalidArgumentPosition(Int, Path.Command)
 58 |             case invalidRelativeCommand
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSVG/Path.Command.swift:57:18: warning: associated value 'invalidArgumentPosition' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
  6 |     ///
  7 |     /// Each command is composed of a command letter and numbers that represent the command parameters.
  8 |     enum Command: Equatable, CustomStringConvertible {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
  9 |         /// Moves the current drawing point
 10 |         case moveTo(point: Point)
    :
 55 |             case message(String)
 56 |             case invalidAdjustment(Path.Command)
 57 |             case invalidArgumentPosition(Int, Path.Command)
    |                  `- warning: associated value 'invalidArgumentPosition' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
 58 |             case invalidRelativeCommand
 59 |         }
[90/95] Compiling SwiftSVG Point+SwiftSVG.swift
[91/95] Compiling SwiftSVG Fill.swift
[92/95] Compiling SwiftSVG Group.swift
[93/95] Emitting module SwiftSVG
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSVG/Path.Command.swift:56:18: warning: associated value 'invalidAdjustment' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
  6 |     ///
  7 |     /// Each command is composed of a command letter and numbers that represent the command parameters.
  8 |     enum Command: Equatable, CustomStringConvertible {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
  9 |         /// Moves the current drawing point
 10 |         case moveTo(point: Point)
    :
 54 |         public enum Error: Swift.Error {
 55 |             case message(String)
 56 |             case invalidAdjustment(Path.Command)
    |                  `- warning: associated value 'invalidAdjustment' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
 57 |             case invalidArgumentPosition(Int, Path.Command)
 58 |             case invalidRelativeCommand
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSVG/Path.Command.swift:57:18: warning: associated value 'invalidArgumentPosition' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
  6 |     ///
  7 |     /// Each command is composed of a command letter and numbers that represent the command parameters.
  8 |     enum Command: Equatable, CustomStringConvertible {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
  9 |         /// Moves the current drawing point
 10 |         case moveTo(point: Point)
    :
 55 |             case message(String)
 56 |             case invalidAdjustment(Path.Command)
 57 |             case invalidArgumentPosition(Int, Path.Command)
    |                  `- warning: associated value 'invalidArgumentPosition' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Path.Command'; this is an error in the Swift 6 language mode
 58 |             case invalidRelativeCommand
 59 |         }
[94/95] Compiling SwiftSVG Text.swift
[95/95] Compiling SwiftSVG Transformation.swift
Build complete! (25.49s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "xmlcoder",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CoreOffice/XMLCoder.git"
    },
    {
      "identity" : "swift2d",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/richardpiazza/Swift2D.git"
    }
  ],
  "manifest_display_name" : "SwiftSVG",
  "name" : "SwiftSVG",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftSVG",
      "targets" : [
        "SwiftSVG"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSVGTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSVGTests",
      "path" : "Tests/SwiftSVGTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSVGTests/Resources/quad01.svg",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CommandRepresentableTests.swift",
        "Extensions.swift",
        "PathDataTests.swift",
        "PointTests.swift",
        "SVGTests.swift",
        "TranformationTests.swift"
      ],
      "target_dependencies" : [
        "SwiftSVG"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSVG",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSVG",
      "path" : "Sources/SwiftSVG",
      "product_dependencies" : [
        "XMLCoder",
        "Swift2D"
      ],
      "product_memberships" : [
        "SwiftSVG"
      ],
      "sources" : [
        "Circle.swift",
        "CommandRepresentable.swift",
        "Container.swift",
        "CoreAttributes.swift",
        "Element.swift",
        "Ellipse.swift",
        "Extensions/Point+SwiftSVG.swift",
        "Fill.swift",
        "Group.swift",
        "Internal/EllipseProcessor.swift",
        "Internal/PathProcessor.swift",
        "Internal/PolygonProcressor.swift",
        "Internal/PolylineProcessor.swift",
        "Internal/RectangleProcessor.swift",
        "Line.swift",
        "Path.Command.swift",
        "Path.Component.swift",
        "Path.ComponentParser.swift",
        "Path.swift",
        "Polygon.swift",
        "Polyline.swift",
        "PresentationAttributes.swift",
        "Rectangle.swift",
        "SVG+Swift2D.swift",
        "SVG.swift",
        "Stroke.swift",
        "StylingAttributes.swift",
        "Text.swift",
        "Transformation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.