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 Linux on 3 Nov 2024 09:21:55 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/richardpiazza/SwiftSVG.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/CoreOffice/XMLCoder.git
Fetching https://github.com/richardpiazza/Swift2D.git
[1/231] Fetching swift2d
[232/10242] Fetching swift2d, xmlcoder
Fetched https://github.com/richardpiazza/Swift2D.git from cache (0.35s)
Fetched https://github.com/CoreOffice/XMLCoder.git from cache (0.36s)
Computing version for https://github.com/richardpiazza/Swift2D.git
Computed https://github.com/richardpiazza/Swift2D.git at 2.1.0 (0.42s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.17.1 (0.43s)
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/58] Emitting module XMLCoder
[6/64] Compiling XMLCoder DoubleBox.swift
[7/64] Compiling XMLCoder FloatBox.swift
[8/64] Compiling XMLCoder IntBox.swift
[9/64] Compiling XMLCoder KeyedBox.swift
[10/64] Compiling XMLCoder NullBox.swift
[11/64] Compiling XMLCoder SharedBox.swift
[12/64] Compiling XMLCoder SingleKeyedBox.swift
[13/64] Compiling Swift2D Size+CoreGraphics.swift
[14/65] Compiling Swift2D Rect+Computed.swift
[15/65] Compiling Swift2D Rect+CoreGraphics.swift
[16/65] Compiling Swift2D Size+Computed.swift
[17/65] Compiling Swift2D Rect.swift
[18/65] Compiling XMLCoder XMLEncoder.swift
[19/65] Compiling XMLCoder XMLEncoderImplementation.swift
[20/65] Compiling XMLCoder XMLEncodingStorage.swift
[21/65] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[22/65] Compiling XMLCoder XMLReferencingEncoder.swift
[23/65] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[24/65] Compiling XMLCoder StringBox.swift
[25/65] Compiling XMLCoder UIntBox.swift
[26/65] Compiling XMLCoder URLBox.swift
[27/65] Compiling XMLCoder UnkeyedBox.swift
[28/65] Compiling XMLCoder ValueBox.swift
[29/65] Compiling XMLCoder Element.swift
[30/65] Compiling XMLCoder ElementAndAttribute.swift
[31/65] Compiling XMLCoder ISO8601DateFormatter.swift
[32/65] Compiling XMLCoder KeyedStorage.swift
[33/65] Compiling XMLCoder Metatypes.swift
[34/65] Compiling XMLCoder String+Extensions.swift
[35/65] Compiling XMLCoder XMLChoiceCodingKey.swift
[36/65] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[37/65] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[38/65] Compiling XMLCoder DynamicNodeEncoding.swift
[39/65] Compiling XMLCoder EncodingErrorExtension.swift
[40/65] Compiling XMLCoder SingleValueEncodingContainer.swift
[41/65] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[42/65] Compiling XMLCoder XMLCoderElement.swift
[43/65] Compiling XMLCoder XMLDocumentType.swift
[44/65] Compiling XMLCoder XMLHeader.swift
[45/65] Compiling XMLCoder XMLKey.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 XMLDecoder.swift
[52/65] Compiling XMLCoder XMLDecoderImplementation.swift
[53/65] Compiling XMLCoder XMLDecodingStorage.swift
[54/65] Compiling XMLCoder Attribute.swift
[55/65] Compiling XMLCoder BoolBox.swift
[56/65] Compiling XMLCoder Box.swift
[57/65] Compiling XMLCoder ChoiceBox.swift
[58/65] Compiling XMLCoder DataBox.swift
[59/65] Compiling XMLCoder DateBox.swift
[60/65] Compiling XMLCoder DecimalBox.swift
[61/66] Emitting module Swift2D
[62/66] Compiling Swift2D Point.swift
[65/66] Compiling Swift2D Size.swift
[68/94] Compiling SwiftSVG Element.swift
[69/94] Compiling SwiftSVG Ellipse.swift
[70/94] Compiling SwiftSVG Point+SwiftSVG.swift
[71/94] Compiling SwiftSVG Fill.swift
[72/97] Compiling SwiftSVG Circle.swift
[73/97] Compiling SwiftSVG CommandRepresentable.swift
[74/97] Compiling SwiftSVG Container.swift
[75/97] Compiling SwiftSVG CoreAttributes.swift
[76/97] Compiling SwiftSVG SVG+Swift2D.swift
[77/97] Compiling SwiftSVG SVG.swift
[78/97] Compiling SwiftSVG Stroke.swift
[79/97] Compiling SwiftSVG Group.swift
[80/97] Compiling SwiftSVG EllipseProcessor.swift
[81/97] Compiling SwiftSVG PathProcessor.swift
[82/97] Compiling SwiftSVG PolygonProcressor.swift
[83/97] Emitting module SwiftSVG
/host/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
/host/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 |         }
[84/97] Compiling SwiftSVG Polyline.swift
[85/97] Compiling SwiftSVG PresentationAttributes.swift
[86/97] Compiling SwiftSVG Rectangle.swift
[87/97] Compiling SwiftSVG Path.Component.swift
[88/97] Compiling SwiftSVG Path.ComponentParser.swift
[89/97] Compiling SwiftSVG Path.swift
[90/97] Compiling SwiftSVG Polygon.swift
[91/97] Compiling SwiftSVG PolylineProcessor.swift
/host/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
/host/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 |         }
[92/97] Compiling SwiftSVG RectangleProcessor.swift
/host/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
/host/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 |         }
[93/97] Compiling SwiftSVG Line.swift
/host/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
/host/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/97] Compiling SwiftSVG Path.Command.swift
/host/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
/host/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 |         }
[95/97] Compiling SwiftSVG StylingAttributes.swift
[96/97] Compiling SwiftSVG Text.swift
[97/97] Compiling SwiftSVG Transformation.swift
Build complete! (16.87s)
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" : "/host/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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.