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.0 for Linux on 30 Nov 2024 13:46:50 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alephao/swift-rlp.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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/alephao/swift-rlp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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/apple/swift-argument-parser.git
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.05s)
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.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.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/19] Emitting module ArgumentParserToolInfo
[8/19] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/20] Compiling SwiftRLP RLPValue.swift
[10/20] Wrapping AST for ArgumentParserToolInfo for debugging
[12/58] Compiling ArgumentParser OptionGroup.swift
[13/58] Compiling ArgumentParser AsyncParsableCommand.swift
[14/58] Compiling ArgumentParser CommandConfiguration.swift
[15/58] Compiling ArgumentParser CommandGroup.swift
[16/58] Compiling ArgumentParser EnumerableFlag.swift
[17/63] Compiling ArgumentParser Name.swift
[18/63] Compiling ArgumentParser Parsed.swift
[19/63] Compiling ArgumentParser ParsedValues.swift
[20/63] Compiling ArgumentParser ParserError.swift
[21/63] Compiling ArgumentParser SplitArguments.swift
[22/63] Compiling ArgumentParser ArgumentVisibility.swift
[23/63] Compiling ArgumentParser CompletionKind.swift
[24/63] Compiling ArgumentParser Errors.swift
[25/63] Compiling ArgumentParser Flag.swift
[26/63] Compiling ArgumentParser NameSpecification.swift
[27/63] Compiling ArgumentParser Option.swift
[28/63] Emitting module ArgumentParser
[29/63] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/63] Compiling ArgumentParser CompletionsGenerator.swift
[31/63] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/63] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/63] Compiling ArgumentParser Argument.swift
[34/63] Compiling ArgumentParser ArgumentHelp.swift
[35/63] Compiling ArgumentParser CollectionExtensions.swift
[36/63] Compiling ArgumentParser Platform.swift
[37/63] Compiling ArgumentParser SequenceExtensions.swift
[38/63] Compiling ArgumentParser StringExtensions.swift
[39/63] Compiling ArgumentParser Tree.swift
[40/63] Compiling ArgumentParser ArgumentDefinition.swift
[41/63] Compiling ArgumentParser ArgumentSet.swift
[42/63] Compiling ArgumentParser CommandParser.swift
[43/63] Compiling ArgumentParser InputKey.swift
[44/63] Compiling ArgumentParser InputOrigin.swift
[45/63] Compiling ArgumentParser ExpressibleByArgument.swift
[46/63] Compiling ArgumentParser ParsableArguments.swift
[47/63] Compiling ArgumentParser ParsableArgumentsValidation.swift
[48/63] Compiling ArgumentParser ParsableCommand.swift
[49/63] Compiling ArgumentParser ArgumentDecoder.swift
[50/63] Compiling SwiftRLP RLPEncoder.swift
[51/63] Emitting module SwiftRLP
[52/63] Compiling SwiftRLP RLPError.swift
[53/63] Compiling SwiftRLP RLPDecoder.swift
[55/64] Compiling ArgumentParser DumpHelpGenerator.swift
[56/64] Compiling ArgumentParser HelpCommand.swift
[57/64] Compiling ArgumentParser HelpGenerator.swift
[58/64] Compiling ArgumentParser MessageInfo.swift
[59/64] Compiling ArgumentParser UsageGenerator.swift
[59/65] Wrapping AST for SwiftRLP for debugging
[61/65] Wrapping AST for ArgumentParser for debugging
[63/67] Emitting module cli
/host/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]
[64/67] Compiling cli RLPCli.swift
/host/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]
[65/68] Wrapping AST for cli for debugging
[66/68] Write Objects.LinkFileList
[67/68] Linking cli
Build complete! (23.24s)
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" : "/host/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"
}
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.