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 CodableValue, reference 6.0.2 (e627e8), with Swift 6.0 for macOS (SPM) on 13 Oct 2024 04:54:18 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.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.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Denis5161/CodableValue.git
Reference: 6.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Denis5161/CodableValue
 * tag               6.0.2      -> FETCH_HEAD
HEAD is now at e627e89 Add .spi.yml file
Cloned https://github.com/Denis5161/CodableValue.git
Revision (git rev-parse @):
e627e896db96924bc9fc22b8ee1d2bb939c7a39a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Denis5161/CodableValue.git at 6.0.2
========================================
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": "codablevalue",
      "name": "CodableValue",
      "url": "https://github.com/Denis5161/CodableValue.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CodableValue",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Denis5161/CodableValue.git
[1/456] Fetching codablevalue
Fetched https://github.com/Denis5161/CodableValue.git from cache (2.04s)
Creating working copy for https://github.com/Denis5161/CodableValue.git
Working copy of https://github.com/Denis5161/CodableValue.git resolved at 6.0.2 (e627e89)
warning: '.resolve-product-dependencies': dependency 'codablevalue' 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/Denis5161/CodableValue.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.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/2] Write sources
[1/2] Write swift-version--4A847ED0836F2485.txt
[3/11] Compiling CodableValue UIImage+Ext.swift
[4/11] Compiling CodableValue UIColor+Ext.swift
[5/11] Compiling CodableValue Optional+Ext.swift
[6/11] Compiling CodableValue DecodingValueError.swift
[7/11] Compiling CodableValue CodableValueSupported.swift
[8/11] Compiling CodableValue CodableValue.swift
[9/11] Compiling CodableValue NSColor+Ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableValue/AppKit/NSColor+Ext.swift:13:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'SupportedCodableTypes' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension NSColor: CodableValueSupported {
13 |     public static let type = SupportedCodableTypes.color
   |                       |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'SupportedCodableTypes' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableValue/Shared/CodableValueSupported.swift:23:13: note: consider making enum 'SupportedCodableTypes' conform to the 'Sendable' protocol
21 | ///
22 | /// - Important: Using mismatching types will throw a `DecodingValueError` when `CodableValue` is initialized from a Decoder.
23 | public enum SupportedCodableTypes: String, Codable { case image, color }
   |             `- note: consider making enum 'SupportedCodableTypes' conform to the 'Sendable' protocol
24 |
[10/11] Compiling CodableValue NSImage+Ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodableValue/AppKit/NSImage+Ext.swift:13:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'SupportedCodableTypes' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension NSImage: CodableValueSupported {
13 |     public static let type = SupportedCodableTypes.image
   |                       |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'SupportedCodableTypes' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableValue/Shared/CodableValueSupported.swift:23:13: note: consider making enum 'SupportedCodableTypes' conform to the 'Sendable' protocol
21 | ///
22 | /// - Important: Using mismatching types will throw a `DecodingValueError` when `CodableValue` is initialized from a Decoder.
23 | public enum SupportedCodableTypes: String, Codable { case image, color }
   |             `- note: consider making enum 'SupportedCodableTypes' conform to the 'Sendable' protocol
24 |
[11/11] Emitting module CodableValue
/Users/admin/builder/spi-builder-workspace/Sources/CodableValue/AppKit/NSColor+Ext.swift:13:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'SupportedCodableTypes' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension NSColor: CodableValueSupported {
13 |     public static let type = SupportedCodableTypes.color
   |                       |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'SupportedCodableTypes' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableValue/Shared/CodableValueSupported.swift:23:13: note: consider making enum 'SupportedCodableTypes' conform to the 'Sendable' protocol
21 | ///
22 | /// - Important: Using mismatching types will throw a `DecodingValueError` when `CodableValue` is initialized from a Decoder.
23 | public enum SupportedCodableTypes: String, Codable { case image, color }
   |             `- note: consider making enum 'SupportedCodableTypes' conform to the 'Sendable' protocol
24 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableValue/AppKit/NSImage+Ext.swift:13:23: warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'SupportedCodableTypes' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension NSImage: CodableValueSupported {
13 |     public static let type = SupportedCodableTypes.image
   |                       |- warning: static property 'type' is not concurrency-safe because non-'Sendable' type 'SupportedCodableTypes' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/CodableValue/Shared/CodableValueSupported.swift:23:13: note: consider making enum 'SupportedCodableTypes' conform to the 'Sendable' protocol
21 | ///
22 | /// - Important: Using mismatching types will throw a `DecodingValueError` when `CodableValue` is initialized from a Decoder.
23 | public enum SupportedCodableTypes: String, Codable { case image, color }
   |             `- note: consider making enum 'SupportedCodableTypes' conform to the 'Sendable' protocol
24 |
Build complete! (13.54s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CodableValue",
  "name" : "CodableValue",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "CodableValue",
      "targets" : [
        "CodableValue"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Tests",
      "module_type" : "SwiftTarget",
      "name" : "Tests",
      "path" : "Tests/Tests",
      "sources" : [
        "ImageEncodingFileTypes.swift",
        "TestsAppKit.swift",
        "TestsUIKit.swift"
      ],
      "target_dependencies" : [
        "CodableValue"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CodableValue",
      "module_type" : "SwiftTarget",
      "name" : "CodableValue",
      "path" : "Sources/CodableValue",
      "product_memberships" : [
        "CodableValue"
      ],
      "sources" : [
        "AppKit/NSColor+Ext.swift",
        "AppKit/NSImage+Ext.swift",
        "Shared/CodableValue.swift",
        "Shared/CodableValueSupported.swift",
        "Shared/DecodingValueError.swift",
        "Shared/Optional+Ext.swift",
        "UIKit/UIColor+Ext.swift",
        "UIKit/UIImage+Ext.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/denis5161/codablevalue/6.0.2
Repository:               Denis5161/CodableValue
Swift version used:       6.0
Target:                   CodableValue
Extracting symbol information for 'CodableValue'...
Finished extracting symbol information for 'CodableValue'. (5.02s)
Building documentation for 'CodableValue'...
Finished building documentation for 'CodableValue' (0.13s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/denis5161/codablevalue/6.0.2
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.53s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.73s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3143] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.69s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--4A847ED0836F2485.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit GenericConstraint.swift
[8/57] Compiling SymbolKit GenericParameter.swift
[9/57] Compiling SymbolKit Generics.swift
[10/57] Compiling SymbolKit Namespace.swift
[11/57] Compiling SymbolKit DeclarationFragments.swift
[12/57] Compiling SymbolKit Fragment.swift
[13/57] Compiling SymbolKit FragmentKind.swift
[14/57] Compiling SymbolKit FunctionParameter.swift
[15/57] Compiling SymbolKit FunctionSignature.swift
[16/57] Compiling SymbolKit SourceRange.swift
[17/57] Compiling SymbolKit Metadata.swift
[18/57] Compiling SymbolKit Module.swift
[19/57] Compiling SymbolKit OperatingSystem.swift
[20/57] Compiling SymbolKit Platform.swift
[21/57] Compiling SymbolKit Names.swift
[22/57] Compiling SymbolKit SPI.swift
[23/57] Compiling SymbolKit Snippet.swift
[24/57] Compiling SymbolKit Extension.swift
[25/57] Compiling SymbolKit Identifier.swift
[26/57] Compiling SymbolKit KindIdentifier.swift
[27/57] Compiling SymbolKit Location.swift
[28/57] Compiling SymbolKit Mutability.swift
[29/57] Compiling SymbolKit SemanticVersion.swift
[30/57] Compiling SymbolKit AccessControl.swift
[31/57] Compiling SymbolKit Availability.swift
[32/57] Compiling SymbolKit AvailabilityItem.swift
[33/57] Compiling SymbolKit Domain.swift
[34/57] Compiling SymbolKit Symbol.swift
[35/57] Compiling SymbolKit SymbolKind.swift
[36/57] Compiling SymbolKit SymbolGraph.swift
[37/57] Compiling SymbolKit GraphCollector.swift
[38/57] Compiling SymbolKit Mixin+Equals.swift
[39/57] Compiling SymbolKit Mixin+Hash.swift
[40/57] Compiling SymbolKit Mixin.swift
[41/57] Compiling SymbolKit LineList.swift
[42/57] Compiling SymbolKit Position.swift
[43/57] Compiling SymbolKit Relationship.swift
[44/57] Compiling SymbolKit RelationshipKind.swift
[45/57] Compiling SymbolKit SourceOrigin.swift
[46/57] Compiling SymbolKit GenericConstraints.swift
[47/57] Compiling SymbolKit Swift.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets Snippet.swift
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (5.98s)
Building for debugging...
[0/1] Write swift-version--4A847ED0836F2485.txt
[2/10] Compiling CodableValue UIImage+Ext.swift
[3/10] Compiling CodableValue DecodingValueError.swift
[4/10] Compiling CodableValue UIColor+Ext.swift
[5/10] Compiling CodableValue CodableValue.swift
[6/10] Compiling CodableValue NSColor+Ext.swift
[7/10] Compiling CodableValue NSImage+Ext.swift
[8/10] Compiling CodableValue Optional+Ext.swift
[9/10] Compiling CodableValue CodableValueSupported.swift
[10/10] Emitting module CodableValue
Build of target: 'CodableValue' complete! (1.38s)
     142
2	/Users/admin/builder/spi-builder-workspace/.docs/denis5161/codablevalue/6.0.2
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/denis5161/codablevalue/6.0.2
File count: 142
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-denis5161-codablevalue-6.0.2-4070f007.zip to s3://spi-docs-inbox/prod-denis5161-codablevalue-6.0.2-4070f007.zip
Copying... [16%]
Copying... [32%]
Copying... [47%]
Copying... [63%]
Copying... [79%]
Copying... [95%]
Copying... [100%]
Done.