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 SwiftRLP, reference main (a10665), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 08:03:39 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alephao/swift-rlp.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alephao/swift-rlp
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a10665a feat: rename to swift-rlp, SwiftRLP
Cloned https://github.com/alephao/swift-rlp.git
Revision (git rev-parse @):
a10665a247500121f54b198be8aa531876e624ef
SUCCESS checkout https://github.com/alephao/swift-rlp.git at main
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.30s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (2.81s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.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": "swift-rlp",
      "name": "SwiftRLP",
      "url": "https://github.com/alephao/swift-rlp.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-rlp",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/alephao/swift-rlp.git
[1/452] Fetching swift-rlp
Fetched https://github.com/alephao/swift-rlp.git from cache (0.72s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.93s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (2.00s)
Creating working copy for https://github.com/alephao/swift-rlp.git
Working copy of https://github.com/alephao/swift-rlp.git resolved at main (a10665a)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/alephao/swift-rlp.git
https://github.com/alephao/swift-rlp.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "SwiftRLP",
  "name" : "SwiftRLP",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "SwiftRLP",
      "targets" : [
        "SwiftRLP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "cli",
      "targets" : [
        "cli"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "cli",
      "module_type" : "SwiftTarget",
      "name" : "cli",
      "path" : "Sources/cli",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "cli"
      ],
      "sources" : [
        "RLPCli.swift"
      ],
      "target_dependencies" : [
        "SwiftRLP"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftRLPTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRLPTests",
      "path" : "Tests/SwiftRLPTests",
      "sources" : [
        "RLPDecoderTests.swift",
        "RLPEncoderTests.swift"
      ],
      "target_dependencies" : [
        "SwiftRLP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftRLP",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRLP",
      "path" : "Sources/SwiftRLP",
      "product_memberships" : [
        "SwiftRLP",
        "cli"
      ],
      "sources" : [
        "RLPDecoder.swift",
        "RLPEncoder.swift",
        "RLPError.swift",
        "RLPValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write sources
[4/10] Write cli-entitlement.plist
[5/10] Write sources
[6/10] Write swift-version-2F0A5646E1D333AE.txt
[8/17] Emitting module ArgumentParserToolInfo
[9/17] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/55] Emitting module ArgumentParser
[11/59] Compiling ArgumentParser InputOrigin.swift
[12/59] Compiling ArgumentParser Name.swift
[13/59] Compiling ArgumentParser Parsed.swift
[14/59] Compiling ArgumentParser ParsedValues.swift
[15/59] Compiling ArgumentParser AsyncParsableCommand.swift
[16/59] Compiling ArgumentParser CommandConfiguration.swift
[17/59] Compiling ArgumentParser EnumerableFlag.swift
[18/59] Compiling ArgumentParser ExpressibleByArgument.swift
[19/59] Compiling ArgumentParser Platform.swift
[20/59] Compiling ArgumentParser SequenceExtensions.swift
[21/59] Compiling ArgumentParser StringExtensions.swift
[22/59] Compiling ArgumentParser Tree.swift
[23/59] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/59] Compiling ArgumentParser CompletionsGenerator.swift
[25/59] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/59] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/59] Compiling ArgumentParser Argument.swift
[28/59] Compiling ArgumentParser ParsableArguments.swift
[29/59] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/59] Compiling ArgumentParser ParsableCommand.swift
[31/59] Compiling ArgumentParser ArgumentDecoder.swift
[32/59] Compiling SwiftRLP RLPError.swift
[33/59] Compiling SwiftRLP RLPValue.swift
[34/59] Emitting module SwiftRLP
[35/59] Compiling SwiftRLP RLPEncoder.swift
[36/59] Compiling SwiftRLP RLPDecoder.swift
[37/59] Compiling ArgumentParser ArgumentHelp.swift
[38/59] Compiling ArgumentParser ArgumentVisibility.swift
[39/59] Compiling ArgumentParser CompletionKind.swift
[40/59] Compiling ArgumentParser Errors.swift
[41/59] Compiling ArgumentParser ParserError.swift
[42/59] Compiling ArgumentParser SplitArguments.swift
[43/59] Compiling ArgumentParser DumpHelpGenerator.swift
[44/59] Compiling ArgumentParser HelpCommand.swift
[45/59] Compiling ArgumentParser Flag.swift
[46/59] Compiling ArgumentParser NameSpecification.swift
[47/59] Compiling ArgumentParser Option.swift
[48/59] Compiling ArgumentParser OptionGroup.swift
[49/59] Compiling ArgumentParser HelpGenerator.swift
[50/59] Compiling ArgumentParser MessageInfo.swift
[51/59] Compiling ArgumentParser UsageGenerator.swift
[52/59] Compiling ArgumentParser CollectionExtensions.swift
[53/59] Compiling ArgumentParser ArgumentDefinition.swift
[54/59] Compiling ArgumentParser ArgumentSet.swift
[55/59] Compiling ArgumentParser CommandParser.swift
[56/59] Compiling ArgumentParser InputKey.swift
[57/61] Emitting module cli
/Users/admin/builder/spi-builder-workspace/Sources/cli/RLPCli.swift:31:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |     }
30 |
31 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |         abstract: "A utility for performing rlp encoding/decoding.",
33 |         subcommands: [Encode.self, Decode.self]
[58/61] Compiling cli RLPCli.swift
/Users/admin/builder/spi-builder-workspace/Sources/cli/RLPCli.swift:31:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |     }
30 |
31 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |         abstract: "A utility for performing rlp encoding/decoding.",
33 |         subcommands: [Encode.self, Decode.self]
[58/61] Write Objects.LinkFileList
[59/61] Linking cli
[60/61] Applying cli
Build complete! (7.47s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "SwiftRLP",
  "name" : "SwiftRLP",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "SwiftRLP",
      "targets" : [
        "SwiftRLP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "cli",
      "targets" : [
        "cli"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "cli",
      "module_type" : "SwiftTarget",
      "name" : "cli",
      "path" : "Sources/cli",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "cli"
      ],
      "sources" : [
        "RLPCli.swift"
      ],
      "target_dependencies" : [
        "SwiftRLP"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftRLPTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRLPTests",
      "path" : "Tests/SwiftRLPTests",
      "sources" : [
        "RLPDecoderTests.swift",
        "RLPEncoderTests.swift"
      ],
      "target_dependencies" : [
        "SwiftRLP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftRLP",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRLP",
      "path" : "Sources/SwiftRLP",
      "product_memberships" : [
        "SwiftRLP",
        "cli"
      ],
      "sources" : [
        "RLPDecoder.swift",
        "RLPEncoder.swift",
        "RLPError.swift",
        "RLPValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.