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 main (e7cbe2), with Swift 6.0 for Linux on 3 Nov 2024 09:22:10 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e7cbe21 Corrected 'Line' Description Syntax (#17)
Cloned https://github.com/richardpiazza/SwiftSVG.git
Revision (git rev-parse @):
e7cbe21d68f0aef5f1e8fd3c3eb0d738672b039e
SUCCESS checkout https://github.com/richardpiazza/SwiftSVG.git at main
========================================
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-4606859-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.19s)
[601/10011] Fetching xmlcoder
Fetched https://github.com/CoreOffice/XMLCoder.git from cache (0.38s)
Computing version for https://github.com/richardpiazza/Swift2D.git
Computed https://github.com/richardpiazza/Swift2D.git at 2.1.0 (0.47s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.17.1 (0.49s)
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/Swift2D.git
Working copy of https://github.com/richardpiazza/Swift2D.git resolved at 2.1.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/58] Compiling Swift2D Size+Computed.swift
[6/59] Compiling Swift2D Rect+Computed.swift
[7/59] Compiling Swift2D Size.swift
[8/59] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[9/59] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[10/59] Compiling XMLCoder DynamicNodeEncoding.swift
[11/59] Compiling XMLCoder EncodingErrorExtension.swift
[12/59] Compiling XMLCoder SingleValueEncodingContainer.swift
[13/59] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[14/65] Compiling Swift2D Rect+CoreGraphics.swift
[15/65] Compiling Swift2D Rect.swift
[16/65] Compiling Swift2D Size+CoreGraphics.swift
[17/65] Emitting module XMLCoder
[18/65] Compiling Swift2D Point.swift
[19/65] Emitting module Swift2D
[20/65] Compiling XMLCoder Attribute.swift
[21/65] Compiling XMLCoder BoolBox.swift
[24/66] Compiling XMLCoder Box.swift
[25/66] Compiling XMLCoder ChoiceBox.swift
[26/66] Compiling XMLCoder DataBox.swift
[27/66] Compiling XMLCoder DateBox.swift
[28/66] Compiling XMLCoder DecimalBox.swift
[29/66] Compiling XMLCoder StringBox.swift
[30/66] Compiling XMLCoder UIntBox.swift
[31/66] Compiling XMLCoder URLBox.swift
[32/66] Compiling XMLCoder UnkeyedBox.swift
[33/66] Compiling XMLCoder ValueBox.swift
[34/66] Compiling XMLCoder Element.swift
[35/66] Compiling XMLCoder DoubleBox.swift
[36/66] Compiling XMLCoder FloatBox.swift
[37/66] Compiling XMLCoder IntBox.swift
[38/66] Compiling XMLCoder KeyedBox.swift
[39/66] Compiling XMLCoder NullBox.swift
[40/66] Compiling XMLCoder SharedBox.swift
[41/66] Compiling XMLCoder SingleKeyedBox.swift
[43/66] Compiling XMLCoder DynamicNodeDecoding.swift
[44/66] Compiling XMLCoder SingleValueDecodingContainer.swift
[45/66] Compiling XMLCoder XMLChoiceDecodingContainer.swift
[46/66] Compiling XMLCoder XMLDecoder.swift
[47/66] Compiling XMLCoder XMLDecoderImplementation.swift
[48/66] Compiling XMLCoder XMLDecodingStorage.swift
[49/66] Compiling XMLCoder XMLCoderElement.swift
[50/66] Compiling XMLCoder XMLDocumentType.swift
[51/66] Compiling XMLCoder XMLHeader.swift
[52/66] Compiling XMLCoder XMLKey.swift
[53/66] Compiling XMLCoder XMLStackParser.swift
[54/66] Compiling XMLCoder DecodingErrorExtension.swift
[55/66] Compiling XMLCoder ElementAndAttribute.swift
[56/66] Compiling XMLCoder ISO8601DateFormatter.swift
[57/66] Compiling XMLCoder KeyedStorage.swift
[58/66] Compiling XMLCoder Metatypes.swift
[59/66] Compiling XMLCoder String+Extensions.swift
[60/66] Compiling XMLCoder XMLChoiceCodingKey.swift
[61/66] Compiling XMLCoder XMLEncoder.swift
[62/66] Compiling XMLCoder XMLEncoderImplementation.swift
[63/66] Compiling XMLCoder XMLEncodingStorage.swift
[64/66] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[65/66] Compiling XMLCoder XMLReferencingEncoder.swift
[66/66] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[68/94] Compiling SwiftSVG Circle.swift
[69/94] Compiling SwiftSVG CommandRepresentable.swift
[70/94] Compiling SwiftSVG Container.swift
[71/94] Compiling SwiftSVG CoreAttributes.swift
[72/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 |         }
[73/97] Compiling SwiftSVG Group.swift
[74/97] Compiling SwiftSVG EllipseProcessor.swift
[75/97] Compiling SwiftSVG PathProcessor.swift
[76/97] Compiling SwiftSVG PolygonProcressor.swift
[77/97] Compiling SwiftSVG Polyline.swift
[78/97] Compiling SwiftSVG PresentationAttributes.swift
[79/97] Compiling SwiftSVG Rectangle.swift
[80/97] Compiling SwiftSVG SVG+Swift2D.swift
[81/97] Compiling SwiftSVG SVG.swift
[82/97] Compiling SwiftSVG Stroke.swift
[83/97] Compiling SwiftSVG Path.Component.swift
[84/97] Compiling SwiftSVG Path.ComponentParser.swift
[85/97] Compiling SwiftSVG Path.swift
[86/97] Compiling SwiftSVG Polygon.swift
[87/97] Compiling SwiftSVG Element.swift
[88/97] Compiling SwiftSVG Ellipse.swift
[89/97] Compiling SwiftSVG Point+SwiftSVG.swift
[90/97] Compiling SwiftSVG Fill.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! (21.15s)
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.