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 v0.0.6 (a10665), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 13:53:16 UTC.

Swift 6 data race errors: 1

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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alephao/swift-rlp.git
Reference: v0.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alephao/swift-rlp
 * tag               v0.0.6     -> FETCH_HEAD
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 v0.0.6
Fetching https://github.com/apple/swift-argument-parser.git
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.66s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (0.49s)
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.73s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.58s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.04s)
Creating working copy for https://github.com/alephao/swift-rlp.git
Working copy of https://github.com/alephao/swift-rlp.git resolved at v0.0.6 (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.0
Building package at path:  $PWD
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.1.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
[5/10] Write cli-entitlement.plist
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/17] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/17] Emitting module ArgumentParserToolInfo
[10/55] Compiling SwiftRLP RLPValue.swift
[11/55] Compiling ArgumentParser ArgumentHelp.swift
[12/55] Compiling ArgumentParser ArgumentVisibility.swift
[13/55] Compiling ArgumentParser CompletionKind.swift
[14/55] Compiling ArgumentParser Errors.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 InputOrigin.swift
[20/59] Compiling ArgumentParser Name.swift
[21/59] Compiling ArgumentParser Parsed.swift
[22/59] Compiling ArgumentParser ParsedValues.swift
[23/59] Compiling SwiftRLP RLPEncoder.swift
[24/59] Compiling SwiftRLP RLPDecoder.swift
[25/59] Emitting module SwiftRLP
[26/59] Compiling SwiftRLP RLPError.swift
[27/59] Compiling ArgumentParser Flag.swift
[28/59] Compiling ArgumentParser NameSpecification.swift
[29/59] Compiling ArgumentParser Option.swift
[30/59] Compiling ArgumentParser OptionGroup.swift
[31/59] Compiling ArgumentParser Platform.swift
[32/59] Compiling ArgumentParser SequenceExtensions.swift
[33/59] Compiling ArgumentParser StringExtensions.swift
[34/59] Compiling ArgumentParser Tree.swift
[35/59] Compiling ArgumentParser HelpGenerator.swift
[36/59] Compiling ArgumentParser MessageInfo.swift
[37/59] Compiling ArgumentParser UsageGenerator.swift
[38/59] Compiling ArgumentParser CollectionExtensions.swift
[39/59] Compiling ArgumentParser ParserError.swift
[40/59] Compiling ArgumentParser SplitArguments.swift
[41/59] Compiling ArgumentParser DumpHelpGenerator.swift
[42/59] Compiling ArgumentParser HelpCommand.swift
[43/59] Compiling ArgumentParser BashCompletionsGenerator.swift
[44/59] Compiling ArgumentParser CompletionsGenerator.swift
[45/59] Compiling ArgumentParser FishCompletionsGenerator.swift
[46/59] Compiling ArgumentParser ZshCompletionsGenerator.swift
[47/59] Compiling ArgumentParser Argument.swift
[48/59] Emitting module ArgumentParser
[49/59] Compiling ArgumentParser ParsableArguments.swift
[50/59] Compiling ArgumentParser ParsableArgumentsValidation.swift
[51/59] Compiling ArgumentParser ParsableCommand.swift
[52/59] Compiling ArgumentParser ArgumentDecoder.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: annotate 'configuration' 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
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: annotate 'configuration' 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
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! (13.30s)
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.